Fix include paths in include/bits/types/*.h.
[glibc.git] / ChangeLog
blobe5711559276350a8c958d9c87e64bdac0abd156e
1 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
3         * include/bits/types/clock_t.h: Use #include <path> instead of
4         #include "../../path".
5         * include/bits/types/clockid_t.h: Likewise.
6         * include/bits/types/struct_iovec.h: Likewise.
7         * include/bits/types/struct_itimerspec.h: Likewise.
8         * include/bits/types/struct_osockaddr.h: Likewise.
9         * include/bits/types/struct_sigstack.h: Likewise.
10         * include/bits/types/struct_timespec.h: Likewise.
11         * include/bits/types/struct_timeval.h: Likewise.
12         * include/bits/types/struct_tm.h: Likewise.
13         * include/bits/types/time_t.h: Likewise.
14         * include/bits/types/timer_t.h: Likewise.
16         [BZ #14096]
17         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
18         America/New_York.
20 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
22         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
23         into ...
24         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
25         ifunc-sse4_1.h.
27 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
29         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
30         Remove check for NULL 'buf'.
31         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
33 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
35         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
36         include test-skeleton.c.
37         Include support/check.h and support/test-driver.c.
39 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
41         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
42         (_dl_aarch64_cap_flags): New array.
43         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
44         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
45         functions.
47         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
48         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
49         Likewise.
50         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
51         up hwcap and hwcap_mask.
53         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
54         (init_cpu_features): Use glibc.tune.hwcap_mask.
55         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
57         * elf/dl-hwcaps.h: New file.
58         * elf/dl-hwcaps.c: Include it.
59         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
60         glibc.tune.hwcap_mask.
61         * elf/dl-cache.c: Include dl-hwcaps.h.
62         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
63         glibc.tune.hwcap_mask.
64         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
65         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
66         _dl_hwcap_mask.
67         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
68         _dl_hwcap_mask.
69         (process_envvars)[HAVE_TUNABLES]: Likewise.
70         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
71         Likewise.
72         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
73         initialize dl_hwcap_mask when tunables are enabled.
75         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
76         guard.
77         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
79         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
80         * scripts/gen-tunables.awk: Include dl-procinfo.h.
81         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
83         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
84         * elf/dl-tunables.c: Likewise.
85         (do_tunable_update_val): New function.
86         (__tunable_set_val): New function.
87         (__tunable_get_val): Call CB only if the tunable was externally
88         initialized.
89         (tunables_strtoul): Replace strval with initialized.
90         * elf/dl-tunables.h (strval): Replace with a bool initialized.
91         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
92         prevent collision.
93         (__tunable_set_val): New function.
94         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
95         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
96         (TUNABLE_SET_VAL): Remove.
97         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
98         * README.tunables: Document the new macros.
99         * malloc/arena.c (ptmalloc_init): Adjust.
101 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
103         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
104         wcsnlen-sse4_1 and wcsnlen-c.
105         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
106         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
107         __wcsnlen_sse2.
108         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
109         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
110         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
111         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
112         * sysdeps/x86_64/wcsnlen.S: Removed.
114 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
116         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
117         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
118         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
119         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
121 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
123         * NEWS: Mention new spinlock implementation.
124         * include/atomic.h:
125         (__atomic_val_bysize): Cast type to omit volatile qualifier.
126         (atomic_exchange_acq): Likewise.
127         (atomic_load_relaxed): Likewise.
128         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
129         * nptl/pthread_spin_init.c (pthread_spin_init):
130         Use atomic_store_relaxed.
131         * nptl/pthread_spin_lock.c (pthread_spin_lock):
132         Use C11-like atomic macros.
133         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
134         Likewise.
135         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
136         Use atomic_store_release.
137         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
138         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
139         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
140         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
141         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
142         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
143         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
144         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
145         * sysdeps/alpha/atomic-machine.h: Likewise.
146         * sysdeps/arm/atomic-machine.h: Likewise.
147         * sysdeps/i386/atomic-machine.h: Likewise.
148         * sysdeps/ia64/atomic-machine.h: Likewise.
149         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
150         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
151         * sysdeps/microblaze/atomic-machine.h: Likewise.
152         * sysdeps/mips/atomic-machine.h: Likewise.
153         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
154         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
155         * sysdeps/s390/atomic-machine.h: Likewise.
156         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
157         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
158         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
159         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
160         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
161         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
162         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
163         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
164         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
165         * sysdeps/x86_64/atomic-machine.h: Likewise.
167 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
169         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
170         and use it instead of dl_x86_cpu_features.
171         (handle_intel): Replace maxidx with cpu_features.  Pass
172         cpu_features to intel_check_word.
173         (__cache_sysconf): Pass cpu_features to handle_intel.
174         (init_cacheinfo): Likewise.  Use cpu_features instead of
175         dl_x86_cpu_features.
177 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
179         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
180         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
181         memcmp-avx2 and wmemcmp-avx2.
182         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
183         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
184         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
185         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
186         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
187         2 machines if AVX unaligned load is fast and vzeroupper is
188         preferred.
189         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
190         2 machines if AVX unaligned load is fast and vzeroupper is
191         preferred.
193 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
195         * include/wchar.h (__wmemset_chk): New.
196         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
197         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
198         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
199         (WMEMSET_CHK_SYMBOL): Likewise.
200         (WMEMSET_SYMBOL): Likewise.
201         (__wmemset): Add hidden definition.
202         (wmemset): Add weak hidden definition.
203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
204         wmemset_chk-nonshared.
205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
206         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
207         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
208         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
209         and __wmemset_chk_avx512_unaligned.
210         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
211         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
212         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
213         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
214         (WMEMSET_SYMBOL): Likewise.
215         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
216         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
217         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
218         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
219         (WMEMSET_SYMBOL): Likewise.
220         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
221         (WMEMSET_CHK_SYMBOL): New.
222         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
223         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
224         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
225         (libc_hidden_builtin_def): Also define __GI_wmemset and
226         __GI___wmemset.
227         (weak_alias): New.
228         * sysdeps/x86_64/multiarch/wmemset.c: New file.
229         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
230         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
231         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
232         * sysdeps/x86_64/wmemset.c: Likewise.
233         * sysdeps/x86_64/wmemset_chk.c: Likewise.
235 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
236             H.J. Lu  <hongjiu.lu@intel.com>
238         * sysdeps/x86/init-arch.h (PASTER1): New.
239         (EVALUATOR1): Likewise.
240         (PASTER2): Likewise.
241         (EVALUATOR2): Likewise.
242         (REDIRECT_NAME): Likewise.
243         (OPTIMIZE): Likewise.
244         (IFUNC_SELECTOR): Likewise.
246 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
248         * sysdeps/x86_64/strlen.S (PMINU): New.
249         (PCMPEQ): Likewise.
250         (SHIFT_RETURN): Likewise.
251         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
252         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
253         pminub with PCMPEQ and PMINU.
254         * sysdeps/x86_64/wcsnlen.S: New file.
256 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
258         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
259         the lower 32 bits.  Remove redundant instructions.
261 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
263         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
264         0 as the high part of offset.
265         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
267 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
269         [BZ #21538]
270         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
271         [__USE_UNIX98].
272         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
273         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
274         Likewise.
275         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
276         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
277         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
278         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
279         Likewise.
281         [BZ #21517]
282         * bits/types/stack_t.h (stack_t): Remove struct tag.
283         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
284         Likewise.
285         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
286         Likewise.
287         * debug/segfault.c (install_handler): Use stack_t instead of
288         struct sigaltstack.
289         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
290         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
291         * include/signal.h (__sigaltstack): Likwise.
292         * signal/sigaltstack.c (__sigaltstack): Likewise.
293         * signal/signal.h (sigaltstack): Likewise.
294         * sysdeps/mach/hurd/i386/signal-defines.sym
295         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
296         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
297         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
298         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
299         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
300         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
301         elf_prstatus): Likewise.
302         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
303         Likewise.
304         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
305         Likewise.
306         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
307         Likewise.
308         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
309         elf_prstatus): Likewise.
310         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
311         Likewise.
312         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
313         Likewise.
315 2017-06-04  Zack Weinberg  <zackw@panix.com>
317         * sysdeps/gnu/errlist.c: Regenerate.
319 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
321         * benchtests/bench-memchr.c (do_test): Print out both length
322         and position.
323         (test_main): Also test the position close to the beginning for
324         memrchr.
326 2017-06-04  Zack Weinberg  <zackw@panix.com>
328         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
329         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
330         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
331         * nis/nis_destroygroup.c, nis/nis_domain_of.c
332         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
333         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
334         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
335         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
336         * nis/nis_print_group_entry.c, nis/nis_remove.c
337         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
338         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
339         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
340         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
341         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
342         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
343         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
344         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
345         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
346         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
347         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
348         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
349         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
350         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
351         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
352         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
353         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
354         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
355         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
356         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
358         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
359         abi-versions.h as well as shlib-compat.h.
360         * sunrpc/get_myaddr.c: Remove obsolete comment.
361         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
362         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
363         * resolv/res_libc.c: Include shlib-compat.h only once.
365 2017-06-03  Florian Weimer  <fweimer@redhat.com>
367         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
368         of strdup.
370 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
372         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
373         Set to the 3/4 of the total shared cache size.
375 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
377         * manual/errno.texi: Remove redundant error strings.
378         * manual/macros.texi (@errno): Render the error string in every
379         description.
381 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
383         [BZ #21543]
384         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
385         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
386         [__USE_XOPEN_EXTENDED].
388 2017-06-02  Florian Weimer  <fweimer@redhat.com>
390         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
391         strdupa.
392         (getcanonname): Use __strdup instead of strdup.
394 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
396         * misc/Makefile (CFLAGS-preadv2.c): New rule.
397         (CFLAGS-preadv64v2.c): Likewise.
398         (CFLAGS-pwritev2.c): Likewise.
399         (CFLAGS-pwritev64v2.c): Likewise.
401 2017-06-02  Florian Weimer  <fweimer@redhat.com>
403         Test res_init with several configuration files.
404         * resolv/Makefile [build-shared] (tests-internal): Add
405         tst-resolv-res_init, tst-resolv-res_init-thread.
406         (tst-resolv-res_init): Link against libdl, libresolv.
407         (tst-resolv-res_init-thread): Link against libdl, libresolv,
408         libpthread.
409         * resolv/tst-resolv-res_init.c: New file.
410         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
411         * resolv/tst-resolv-res_init-thread.c: Likewise.
412         * support/Makefile (libsupport-routines): Add support-xstat,
413         support_can_chroot, support_capture_subprocess_check,
414         support_isolate_in_subprocess, support_shared_allocate,
415         support_write_file_string, xchroot, xmkdir, xopen.
416         * support/capture_subprocess.h (enum support_capture_allow): Define.
417         (support_capture_subprocess_check): Declare.
418         * support/namespace.h (support_can_chroot)
419         (support_isolate_in_subprocess): Declare.
420         * support/support-xstat.c: New file.
421         * support/support.h (support_shared_allocate, support_shared_free)
422         (support_write_file_string): Declare.
423         * support/support_can_chroot.c: New file.
424         * support/support_capture_subprocess_check.c: Likewise.
425         * support/support_isolate_in_subprocess.c: Likewise.
426         * support/support_shared_allocate.c: Likewise.
427         * support/support_write_file_string.c: Likewise.
428         * support/xchroot.c: Likwise.
429         * support/xmkdir.c: Likwise.
430         * support/xopen.c: Likwise.
431         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
433 2017-06-02  Florian Weimer  <fweimer@redhat.com>
435         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
436         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
438 2017-06-02  Florian Weimer  <fweimer@redhat.com>
440         * malloc/Makefile (routines): Add dynarray_at_failure,
441         dynarray_emplace_enlarge, dynarray_finalize.
442         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
443         tst-dynarray-at-fail.
444         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
445         (tests-special): Add tst-dynarray-mem.out,
446         tst-dynarray-mem-fail.out.
447         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
448         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
449         mtrace.
450         * malloc/Versions (__libc_dynarray_at_failure)
451         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
452         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
453         GLIBC_PRIVATE.
454         * malloc/dynarray.h: New file.
455         * malloc/dynarray-skeleton.c: Likewise.
456         * malloc/dynarray_at_failure.c: Likewise.
457         * malloc/dynarray_emplace_enlarge.c: Likewise.
458         * malloc/dynarray_finalize.c: Likewise.
459         * malloc/dynarray_resize.c: Likewise.
460         * malloc/dynarray_resize_clear.c: Likewise.
461         * malloc/tst-dynarray.c: Likewise.
462         * malloc/tst-dynarray-fail.c: Likewise.
463         * malloc/tst-dynarray-at-fail.c: Likewise.
464         * malloc/tst-dynarray-shared.h: Likewise.
465         * support/Makefile (libsupport-routines): Add
466         support_capture_subprocess, xdup2, xpipe.
467         (tests): Add tst-support_capture_subprocess.
468         * support/capture_subprocess.h: New file.
469         * support/support_capture_subprocess.c: Likewise.
470         * support/tst-support_capture_subprocess.c: Likewise.
471         * support/xdup2.c: Likewise.
472         * support/xpipe.c: Likewise.
473         * support/xunistd.h (xdup2, xpipe): Declare.
475 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
477         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
478         macros MAX and MIN.
480 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
482         * conform/data/signal.h-data (sa_sigaction): Do not expect for
483         [XPG4].
484         (SA_SIGINFO): Likewise.
485         (SA_ONSTACK): Likewise.
486         (SA_RESETHAND): Likewise.
487         (SA_RESTART): Likewise.
488         (SA_NOCLDWAIT): Likewise.
489         (SA_NODEFER): Likewise.
490         (SS_ONSTACK): Likewise.
491         (SS_DISABLE): Likewise.
492         (MINSIGSTKSZ): Likewise.
493         (SIGSTKSZ): Likewise.
494         (ucontext_t): Likewise.
495         (stack_t): Likewise.
496         (struct sigstack): Likewise.
497         (SI_USER): Do not expect for [XPG4 || XPG42].
498         (SI_QUEUE): Likewise.
499         (SI_TIMER): Likewise.
500         (SI_ASYNCIO): Likewise.
501         (SI_MESGQ): Likewise.
502         (bsd_signal): Do not expect for [XPG4].
503         (killpg): Likewise.
504         (sigaltstack): Likewise.
505         (sighold): Likewise.
506         (sigignore): Likewise.
507         (siginterrupt): Likewise.
508         (sigpause): Likewise.
509         (sigrelse): Likewise.
510         (sigset): Likewise.
511         (sigwait): Do not expect for [XPG4 || XPG42].
513 2017-06-01  Zack Weinberg  <zackw@panix.com>
515         [BZ #21514]
516         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
517         pointing to the generated file in <builddir>/misc/bits/syscall.h.
519 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
521         [BZ #21457]
522         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
523         NGREG to __NGREG if [__USE_MISC].
524         (gregset_t): Define using __NGREG.
525         (__ctx): New macro.
526         (mcontext_t): Use __ctx in defining fields.
527         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
528         define NGREG to __NGREG if [__USE_MISC].
529         (gregset_t): Define using __NGREG.
530         (__ctx): New macro.
531         (__ctxt): Likewise.
532         (fpregset_t): Use __ctx and __ctxt in defining fields.
533         (mcontext_t): Likewise.
534         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
535         define NGREG to __NGREG if [__USE_MISC].
536         (gregset_t): Define using __NGREG.
537         (__ctx): New macro.
538         (mcontext_t): Use __ctx in defining fields.
539         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
540         define NGREG to __NGREG if [__USE_MISC].
541         (gregset_t): Define using __NGREG.
542         (__ctx): New macro.
543         (fpregset_t): Use __ctx in defining fields.
544         (mcontext_t): Likewise.
545         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
546         __NGREG and define NGREG to __NGREG if [__USE_MISC].
547         (gregset_t): Define using __NGREG.
548         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
549         [__USE_MISC].
550         (fpregset_t): Define using __NFPREG.
551         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
552         __NGREG and define NGREG to __NGREG if [__USE_MISC].
553         (gregset_t): Define using __NGREG.
554         (__ctx): New macro.
555         (fpregset_t): Use __ctx in defining fields.
556         (mcontext_t): Likewise.
557         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
558         __NGREG and define NGREG to __NGREG if [__USE_MISC].
559         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
560         [__USE_MISC].
561         (gregset_t): Define using __NGREG.
562         (__ctx): New macro.
563         (fpregset_t): Use __ctx in defining fields.
564         (mcontext_t): Likewise.
565         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
566         (mcontext_t): Use __ctx in defining fields.
567         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
568         macro.
569         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
570         __NGREG if [__USE_MISC].
571         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
572         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
573         (mcontext_t): Likewise.
574         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
575         __NGREG if [__USE_MISC].
576         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
577         to __NFPREG if [__USE_MISC].
578         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
579         to __NVRREG if [__USE_MISC].
580         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
581         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
582         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
583         [__WORDSIZE != 32] (vrregset_t): Likewise.
584         [__WORDSIZE != 32] (mcontext_t): Likewise.
585         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
586         (__psw_t): Use __ctx in defining fields.
587         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
588         [__USE_MISC].
589         (gregset_t): Define using __NGREG.
590         (fpreg_t): Use __ctx in defining fields.
591         (fpregset_t): Likewise.
592         (mcontext_t): Likewise.
593         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
594         __NGREG and define NGREG to __NGREG if [__USE_MISC].
595         (gregset_t): Define using __NGREG.
596         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
597         [__USE_MISC].
598         (fpregset_t): Define using __NFPREG.
599         (__ctx): New macro.
600         (mcontext_t): Use __ctx in defining fields.
601         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
602         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
603         __NGREG if [__USE_MISC].
604         [__x86_64__] (gregset_t): Define using __NGREG.
605         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
606         [__x86_64__] (struct _libc_fpstate): Likewise.
607         [__x86_64__] (mcontext_t): Likewise.
608         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
609         __NGREG if [__USE_MISC].
610         [!__x86_64__] (gregset_t): Define using __NGREG.
611         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
612         [!__x86_64__] (struct _libc_fpstate): Likewise.
613         [!__x86_64__] (mcontext_t): Likewise.
615 2017-06-01  Zack Weinberg  <zackw@panix.com>
617         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
618         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
619         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
620         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
621         libpthread.so no longer references __errno_location.
623 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
625         * NEWS: Add note about pwritev2 and preadv2 inclusion.
626         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
627         pwritev64v2.
628         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
629         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
630         pwritev64v2.
631         * misc/preadv2.c: New file.
632         * misc/preadv64v2.c: Likewise.
633         * misc/pwritev2.c: Likewise.
634         * misc/pwritev64v2.c: Likewise.
635         * misc/tst-preadvwritev2.c: Likewise.
636         * misc/tst-preadvwritev64v2.c: Likewise.
637         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
638         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
639         prototype.
640         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
641         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
642         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
643         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
644         (PWRITEV): Likewise.
645         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
646         ENOSYS.
647         * nptl/tst-cancel4.c (tf_pwritev2): New test.
648         (tf_preadv2): Likewise.
649         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
650         * sysdeps/posix/preadv2.c: Likewise.
651         * sysdeps/posix/preadv64v2.c: Likewise.
652         * sysdeps/posix/pwritev2.c: Likewise.
653         * sysdeps/posix/pwritev64v2.c: Likewise.
654         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
655         support in kernel.
656         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
657         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
658         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
659         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
660         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
661         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
662         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
663         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
664         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
665         support flags on Linux.
666         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
667         preadv2, preadv64v2, pwritev2, pwritev64v2.
668         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
669         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
670         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
671         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
672         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
673         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
674         Likewise.
675         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
676         Likewise.
677         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
678         Likewise.
679         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
680         Likewise.
681         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
682         Likewise.
683         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
684         Likewise.
685         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
686         Likewise.
687         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
689         (GLIBC_2.26): Likewise.
690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
691         (GLIBC_2.26): Likewise.
692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
693         Likewise.
694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
695         (GLIBC_2.26): Likewise.
696         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
697         Likewise.
698         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
699         Likewise.
700         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
701         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
702         Likewise.
703         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
704         Likewise.
705         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
706         Likewise.
707         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
708         Likewise.
709         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
710         Likewise.
711         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
712         Likewise.
713         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
714         Likewise.
716 2017-05-31  Andreas Schwab  <schwab@suse.de>
718         * nptl/tst-fork3.c: Include <support/test-driver.c>.
719         (main): Rename to do_test and make static.
721 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
723         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
724         ARCH_INIT_CPU_FEATURES.
725         (LIBC_START_MAIN): Call it.
726         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
727         (__libc_start_main): Remove.
728         (ARCH_INIT_CPU_FEATURES): New macro.
729         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
730         (ARCH_INIT_CPU_FEATURES): New macro.
732 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
733             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
735         * include/stdlib.h (__libc_reallocarray): New declaration.
736         * malloc/Makefile (routines): Add reallocarray.
737         (tests): Add tst-reallocarray.c.
738         * malloc/Versions: Add reallocarray and __libc_reallocarray.
739         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
740         function.
741         * malloc/malloc.h (reallocarray): New declaration.
742         * stdlib/stdlib.h (reallocarray): Likewise.
743         * malloc/reallocarray.c: New file.
744         * malloc/tst-reallocarray.c: New test file.
745         * manual/memory.texi: Document reallocarray.
746         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
747         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
748         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
749         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
750         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
751         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
752         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
753         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
754         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
755         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
756         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
757         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
758         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
759         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
761         Likewise.
762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
763         Likewise.
764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
766         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
767         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
768         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
769         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
770         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
773         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
774         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
775         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
777 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
779         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
780         the lower 32 bits.
782 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
784         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
785         $(build-pie-default) = yes]: Define.
787 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
789         * string/test-memchr.c (test_main): Add tests for n == 0.
791 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
793         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
794         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
795         (tests-internal): ... here.
797 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
798              H.J. Lu  <hongjiu.lu@intel.com>
800         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
801         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
802         (__tunable_set_val): Likewise.
804 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
806         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
807         dl-tunables.list in subdirectories.
809 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
810             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
811             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
813         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
814         (SNANF128): New macro.
815         * math/e_sqrtf128.c: New file.
816         * math/s_fmaxmag_template.c: Include math_private.h in order to
817         make inline expansion of fabs128().
818         * math/s_fminmag_template.c: Likewise.
820         * sysdeps/ieee754/float128/e_acosf128.c: New file.
821         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
822         * sysdeps/ieee754/float128/e_asinf128.c: New file.
823         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
824         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
825         * sysdeps/ieee754/float128/e_coshf128.c: New file.
826         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
827         * sysdeps/ieee754/float128/e_expf128.c: New file.
828         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
829         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
830         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
831         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
832         * sysdeps/ieee754/float128/e_j0f128.c: New file.
833         * sysdeps/ieee754/float128/e_j1f128.c: New file.
834         * sysdeps/ieee754/float128/e_jnf128.c: New file.
835         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
836         * sysdeps/ieee754/float128/e_log10f128.c: New file.
837         * sysdeps/ieee754/float128/e_log2f128.c: New file.
838         * sysdeps/ieee754/float128/e_logf128.c: New file.
839         * sysdeps/ieee754/float128/e_powf128.c: New file.
840         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
841         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
842         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
843         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
844         * sysdeps/ieee754/float128/float128_private.h: New file.
845         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
846         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
847         * sysdeps/ieee754/float128/k_cosf128.c: New file.
848         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
849         * sysdeps/ieee754/float128/k_sinf128.c: New file.
850         * sysdeps/ieee754/float128/k_tanf128.c: New file.
851         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
852         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
853         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
854         * sysdeps/ieee754/float128/s_atanf128.c: New file.
855         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
856         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
857         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
858         * sysdeps/ieee754/float128/s_cosf128.c: New file.
859         * sysdeps/ieee754/float128/s_erff128.c: New file.
860         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
861         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
862         * sysdeps/ieee754/float128/s_finitef128.c: New file.
863         * sysdeps/ieee754/float128/s_floorf128.c: New file.
864         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
865         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
866         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
867         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
868         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
869         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
870         * sysdeps/ieee754/float128/s_isinff128.c: New file.
871         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
872         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
873         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
874         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
875         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
876         * sysdeps/ieee754/float128/s_logbf128.c: New file.
877         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
878         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
879         * sysdeps/ieee754/float128/s_modff128.c: New file.
880         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
881         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
882         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
883         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
884         * sysdeps/ieee754/float128/s_remquof128.c: New file.
885         * sysdeps/ieee754/float128/s_rintf128.c: New file.
886         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
887         * sysdeps/ieee754/float128/s_roundf128.c: New file.
888         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
889         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
890         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
891         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
892         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
893         * sysdeps/ieee754/float128/s_significandf128.c: New file.
894         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
895         * sysdeps/ieee754/float128/s_sinf128.c: New file.
896         * sysdeps/ieee754/float128/s_tanf128.c: New file.
897         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
898         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
899         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
900         * sysdeps/ieee754/float128/s_truncf128.c: New file.
901         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
902         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
903         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
904         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
906         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
907         (__iscanonicalf128): Define as a macro.
909 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
911         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
912         (memmove): Use MEMMOVE for name.
913         (memcpy): Use MEMCPY for name.  Change internal labels
914         to external labels.
915         * sysdeps/aarch64/multiarch/Makefile: New file.
916         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
917         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
918         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
919         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
920         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
921         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
923 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
925         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
926         (_dl_arm_cap_flags): Fix array subscript.
927         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
928         Fix count.
930 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
932         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
934 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
936         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
937         (is_amd): Likewise.
938         (max_cpuid): Likewise.
939         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
940         (init_cacheinfo): Likewise.
942 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
944         [BZ #21511]
945         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
946         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
947         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
948         !__USE_XOPEN2K) || __USE_MISC].
949         * conform/data/signal.h-data (struct sigstack): Expect type only
950         if [!XOPEN2K8 && !POSIX2008].
951         (sigstack): Expect function only if [XPG42 || UNIX98].
953         [BZ #21457]
954         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
955         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
956         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
957         <bits/types/__sigset_t.h>.
958         (ucontext_t): Use sigset_t instead of __sigset_t.
959         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
960         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
961         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
962         <bits/types/__sigset_t.h>.
963         (ucontext_t): Use sigset_t instead of __sigset_t.
964         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
965         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
966         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
967         <bits/types/__sigset_t.h>.
968         (ucontext_t): Use sigset_t instead of __sigset_t.
969         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
970         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
971         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
972         <bits/types/__sigset_t.h>.
973         (ucontext_t): Use sigset_t instead of __sigset_t.
974         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
975         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
976         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
977         <bits/types/__sigset_t.h>.
978         (ucontext_t): Use sigset_t instead of __sigset_t.
979         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
980         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
981         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
982         <bits/types/__sigset_t.h>.
983         (ucontext_t): Use sigset_t instead of __sigset_t.
984         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
985         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
986         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
987         <bits/types/__sigset_t.h>.
988         (ucontext_t): Use sigset_t instead of __sigset_t.
989         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
990         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
991         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
992         <bits/types/__sigset_t.h>.
993         (ucontext_t): Use sigset_t instead of __sigset_t.
994         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
995         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
996         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
997         <bits/types/__sigset_t.h>.
998         (ucontext_t): Use sigset_t instead of __sigset_t.
999         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1000         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1001         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
1002         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
1003         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1004         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1005         <bits/types/__sigset_t.h>.
1006         (ucontext_t): Use sigset_t instead of __sigset_t.
1007         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
1008         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1009         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1010         <bits/types/__sigset_t.h>.
1011         (ucontext_t): Use sigset_t instead of __sigset_t.
1012         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
1013         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1014         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1015         <bits/types/__sigset_t.h>.
1016         (ucontext_t): Use sigset_t instead of __sigset_t.
1017         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
1018         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1019         <bits/ss_flags.h>.
1020         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
1021         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1022         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1023         <bits/types/__sigset_t.h>.
1024         (ucontext_t): Use sigset_t instead of __sigset_t.
1025         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
1026         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1027         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1028         <bits/types/__sigset_t.h>.
1029         (ucontext_t): Use sigset_t instead of __sigset_t.
1030         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
1031         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1032         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1033         <bits/types/__sigset_t.h>.
1034         (ucontext_t): Use sigset_t instead of __sigset_t.
1035         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
1036         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1037         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1038         <bits/types/__sigset_t.h>.
1039         (ucontext_t): Use sigset_t instead of __sigset_t.
1040         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
1041         <bits/types.h>.
1042         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
1043         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1044         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1045         <bits/types/__sigset_t.h>.
1046         (ucontext_t): Use sigset_t instead of __sigset_t.
1048 2017-05-22  Zack Weinberg  <zackw@panix.com>
1050         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
1051         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
1052         bits/siginfo-arch.h, only if not already defined.
1053         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
1054         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
1055         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
1056         Likewise.
1058         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
1059         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
1060         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1061         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
1062         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
1063         Unconditionally define __SI_* macros.
1065 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1067         [BZ #21393]
1068         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
1069         and add a check for dup3 failure.
1070         * libio/freopen64.c (freopen64): Likewise.
1071         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
1072         libsupport.
1073         (do_test_bz21398): New test.
1074         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
1076 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1078         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1079         Remove invalid comment.
1081 2017-05-21  Zack Weinberg  <zackw@panix.com>
1083         * signal/Makefile (headers): Add bits/types/sigval_t.h.
1085 2017-05-20  Zack Weinberg  <zackw@panix.com>
1087         * bits/sigevent-consts.h
1088         * bits/siginfo-consts.h
1089         * bits/types/__sigset_t.h
1090         * bits/types/sigevent_t.h
1091         * bits/types/siginfo_t.h
1092         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
1093         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
1094         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
1095         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
1096         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
1097         New system-dependent bits headers.
1099         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
1100         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
1101         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
1102         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
1103         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
1104         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1105         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
1106         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
1107         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
1108         New Linux-only system-dependent bits headers.
1110         * signal/bits/types/sig_atomic_t.h
1111         * signal/bits/types/sigset_t.h
1112         * signal/bits/types/sigval_t.h:
1113         New non-system-dependent bits headers.
1115         * sysdeps/generic/sigsetops.h
1116         * sysdeps/unix/sysv/linux/sigsetops.h:
1117         New internal headers.
1119         * include/bits/types/sig_atomic_t.h
1120         * include/bits/types/sigset_t.h
1121         * include/bits/types/sigval_t.h:
1122         New wrappers.
1124         * signal/sigsetops.h
1125         * bits/siginfo.h
1126         * bits/sigset.h
1127         * sysdeps/unix/sysv/linux/bits/siginfo.h
1128         * sysdeps/unix/sysv/linux/bits/sigset.h
1129         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
1130         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
1131         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
1132         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
1133         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
1134         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
1135         Deleted.
1137         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
1138         Update lists of installed headers.
1140         * posix/bits/types.h: Define __sig_atomic_t here.
1141         * signal/signal.h: Use the new bits headers; no need to handle
1142         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
1143         to define sigmask.
1144         * include/signal.h: No need to handle __need_sig_atomic_t
1145         nor __need_sigset_t.  Don't define __sigemptyset.
1147         * io/sys/poll.h, setjmp/setjmp.h
1148         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
1149         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
1150         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1151         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
1152         * sysdeps/pthread/bits/sigthread.h
1153         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1154         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1155         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1156         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1157         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1158         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1159         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1160         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1161         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1162         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1163         Use bits/types/__sigset_t.h.
1165         * misc/sys/select.h, posix/spawn.h
1166         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1167         * sysdeps/unix/sysv/linux/sys/epoll.h
1168         * sysdeps/unix/sysv/linux/sys/signalfd.h:
1169         Use bits/types/sigset_t.h.
1171         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
1172         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
1173         * socket/sys/socket.h: Don't include bits/sigset.h.
1175         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
1176         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
1177         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
1178         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
1179         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
1180         * sysdeps/unix/sysv/linux/nptl-signals.h:
1181         Include sigsetops.h.
1183         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
1184         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
1185         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
1186         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
1187         now return no value.
1189         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
1190         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
1191         "sigsetops.h".
1193         * signal/sigsetops.c: Explicitly define __sigismember,
1194         __sigaddset, and __sigdelset as compatibility symbols.
1196         * signal/Versions: Correct commentary on __sigpause,
1197         __sigaddset, __sigdelset, __sigismember.
1199         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
1200         __sigblock/__sigsetmask to use __sigprocmask and friends.
1202         * resolv/resolv.h: Remove __need_res_state logic.
1203         Move definition of res_state and related constants to ...
1204         * resolv/bits/types/res_state.h: ...this new file.
1205         * resolv/Makefile: Install bits/types/res_state.h.
1206         * include/bits/types/res_state.h: New wrapper.
1207         * include/list.h: Remove __need_list_t logic.
1208         Move definition of list_t to ...
1209         * include/list_t.h: ...this new file.
1211         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
1212         instead of list.h and resolv.h.
1214         * resolv/resolv.h: Remove __need_res_state logic.
1215         Move definition of res_state and related constants to ...
1216         * resolv/bits/types/res_state.h: ...this new file.
1217         * resolv/Makefile: Install bits/types/res_state.h.
1218         * include/bits/types/res_state.h: New wrapper.
1219         * include/list.h: Remove __need_list_t logic.
1220         Move definition of list_t to ...
1221         * include/list_t.h: ...this new file.
1223         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
1224         instead of list.h and resolv.h.
1226 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1228         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
1230 2017-05-20  Zack Weinberg  <zackw@panix.com>
1232         * sysdeps/arm/sysdep.h
1233         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
1235         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
1236         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
1237         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
1238         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
1239         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
1240         * sysdeps/arm/armv6t2/strlen.S
1241         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
1242         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
1243         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
1244         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
1245         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
1246         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
1248 2017-05-20  Zack Weinberg  <zackw@panix.com>
1250         Remove the NaCl port.
1251         * sysdeps/arm/nacl: Remove directory and contents.
1252         * sysdeps/nacl: Remove directory and contents.
1253         * abi-tags: Remove .*-.*-nacl.* entry.
1255 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
1257         * manual/errno.texi: Convert @comment-based errno documentation to
1258         @errno.
1259         * manual/macros.texi (@errno): New macro.  Consolidate errors,
1260         their values, and messages, adding the error string to the Concept
1261         Index.  Provide a warning in the comment about external (to the
1262         manual) dependencies.
1263         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
1264         * sysdeps/mach/hurd/errnos.awk: Likewise.
1266 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1268         * bits/ss_flags.h: New file.
1269         * bits/types/stack_t.h: Likewise.
1270         * include/bits/types/struct_sigstack.h: Likewise.
1271         * signal/bits/types/struct_sigstack.h: Likewise.
1272         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
1273         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
1274         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
1275         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
1276         bits/types/stack_t.h and bits/ss_flags.h.
1277         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
1278         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1279         <bits/ss_flags.h>.
1280         * bits/sigstack.h (struct sigstack): Remove.
1281         (stack_t): Likewise.
1282         (SS_ONSTACK): Likewise.
1283         (SS_DISABLE): Likewise.
1284         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1285         (struct sigstack): Likewise.
1286         (stack_t): Likewise.
1287         (SS_ONSTACK): Likewise.
1288         (SS_DISABLE): Likewise.
1289         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
1290         Likewise.
1291         (stack_t): Likewise.
1292         (SS_ONSTACK): Likewise.
1293         (SS_DISABLE): Likewise.
1294         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
1295         Likewise.
1296         (stack_t): Likewise.
1297         (SS_ONSTACK): Likewise.
1298         (SS_DISABLE): Likewise.
1299         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
1300         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
1301         Likewise.
1302         (stack_t): Likewise.
1303         (SS_ONSTACK): Likewise.
1304         (SS_DISABLE): Likewise.
1305         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1306         (struct sigstack): Likewise.
1307         (stack_t): Likewise.
1308         (SS_ONSTACK): Likewise.
1309         (SS_DISABLE): Likewise.
1310         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
1311         Likewise.
1312         (stack_t): Likewise.
1313         (SS_ONSTACK): Likewise.
1314         (SS_DISABLE): Likewise.
1315         * sysdeps/arm/sys/ucontext.h: Include
1316         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1317         <bits/ss_flags.h>.
1318         * sysdeps/generic/sys/ucontext.h: Likewise.
1319         * sysdeps/i386/sys/ucontext.h: Likewise.
1320         * sysdeps/m68k/sys/ucontext.h: Likewise.
1321         * sysdeps/mips/sys/ucontext.h: Likewise.
1322         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
1323         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
1324         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
1325         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
1326         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
1327         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
1328         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
1329         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
1330         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
1331         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1332         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
1333         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
1334         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
1335         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
1336         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
1338 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1340         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
1341         "edx + ecx - 16" to avoid possible addition overflow.
1342         * sysdeps/x86_64/memchr.S (memchr): Likewise.
1344 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1346         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
1347         (CFLAGS-splice.c): Likewise.
1348         (CFLAGS-open_by_handle_at.c): Likewise.
1349         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
1350         (CFLAGS-splice.c): Likewise.
1351         (CFLAGS-open_by_handle_at.c): Likewise.
1353 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1355         * scripts/versions.awk: Generate ldbl-compat-choose.h.
1356         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
1357         <ldbl-compat-choose.h>.
1358         (maybe_long_double_symbol): New macro.
1359         [!declare_mgen_alias] (declare_mgen_alias): Use
1360         maybe_long_double_symbol.
1361         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
1362         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1363         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1364         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
1365         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
1366         * Makerules [$(build-shared) = yes && !avoid-generated]
1367         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
1368         [$(build-shared) = yes && !avoid-generated]
1369         ($(common-objpfx)ldbl-compat-choose.h): New target.
1371         * scripts/versions.awk: Generate first-versions.h.
1372         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
1373         <first-versions.h>.
1374         (LDOUBLE_cabsl_libm_version): Remove macro.
1375         (LDOUBLE_cargl_libm_version): Likewise.
1376         (LDOUBLE_cimagl_libm_version): Likewise.
1377         (LDOUBLE_conjl_libm_version): Likewise.
1378         (LDOUBLE_creall_libm_version): Likewise.
1379         (LDOUBLE_cacosl_libm_version): Likewise.
1380         (LDOUBLE_cacoshl_libm_version): Likewise.
1381         (LDOUBLE_ccosl_libm_version): Likewise.
1382         (LDOUBLE_ccoshl_libm_version): Likewise.
1383         (LDOUBLE_casinl_libm_version): Likewise.
1384         (LDOUBLE_csinl_libm_version): Likewise.
1385         (LDOUBLE_casinhl_libm_version): Likewise.
1386         (LDOUBLE_csinhl_libm_version): Likewise.
1387         (LDOUBLE_catanl_libm_version): Likewise.
1388         (LDOUBLE_catanhl_libm_version): Likewise.
1389         (LDOUBLE_ctanl_libm_version): Likewise.
1390         (LDOUBLE_ctanhl_libm_version): Likewise.
1391         (LDOUBLE_cexpl_libm_version): Likewise.
1392         (LDOUBLE_clogl_libm_version): Likewise.
1393         (LDOUBLE_cprojl_libm_version): Likewise.
1394         (LDOUBLE_csqrtl_libm_version): Likewise.
1395         (LDOUBLE_cpowl_libm_version): Likewise.
1396         (LDOUBLE_clog10l_libm_version): Likewise.
1397         (LDOUBLE___clog10l_libm_version): Likewise.
1398         (LDOUBLE_fdiml_libm_version): Likewise.
1399         (LDOUBLE_fmaxl_libm_version): Likewise.
1400         (LDOUBLE_fminl_libm_version): Likewise.
1401         (LDOUBLE_ilogbl_libm_version): Likewise.
1402         (LDOUBLE_nanl_libm_version): Likewise.
1403         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
1404         FIRST_VERSION_libm_* macros.
1405         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
1406         * Makerules [$(build-shared) = yes && !avoid-generated]
1407         (before-compile): Add $(common-objpfx)first-versions.h.
1408         [$(build-shared) = yes && !avoid-generated]
1409         ($(common-objpfx)first-versions.h): New target.
1410         ($(common-objpfx)sysd-versions): Depend on and change to rule for
1411         building $(common-objpfx)versions.stmp.
1413 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1415         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
1416         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
1417         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
1418         auto-generation list.
1420         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
1421         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
1422         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
1423         from auto-generation list.
1425         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1426         open_by_handle_at.
1427         (CFLAGS-open_by_handle_at.c): New flag.
1428         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
1429         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
1430         file.
1431         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
1433         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
1434         (CFLAGS-splice.c): New flag.
1435         * sysdeps/unix/sysv/linux/splice.c: New file.
1436         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
1437         auto-generation syscall list.
1438         * misc/Makefile (CFLAGS-splice.c): New rule.
1440         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
1441         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
1442         auto-generation syscall list.
1443         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
1444         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
1446         * misc/Makefile (CFLAGS-fsync.c): New flag.
1447         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
1448         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
1449         syscall list.
1450         * sysdeps/unix/sysv/linux/fsync.c: New file.
1451         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
1452         (__errno_location): Remove.
1454         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
1455         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
1456         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
1457         list.
1458         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
1460         * misc/Makefile (CFLAGS-msync.c): New rule.
1461         * nptl/Makefile (CFLAGS-msync.c): Likewise.
1462         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
1463         * sysdeps/unix/sysv/linux/msync.c: New file.
1465         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
1466         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
1467         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
1468         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1469         (CFLAGS-sigsuspend.c): Remove rule.
1471         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
1472         (CFLAGS-tee.c): New rule.
1473         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
1474         auto-generated list.
1475         * sysdeps/unix/sysv/linux/tee.c: New file.
1477         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
1478         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
1479         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
1480         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
1481         auto-generated list.
1483         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
1484         auto-generated list.
1485         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1486         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1487         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
1488         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1489         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1491         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
1492         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
1493         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
1494         (__NR_pause): Undefine.
1495         * sysdeps/unix/sysv/linux/pause.c: New file.
1496         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
1497         auto-generation list.
1498         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
1499         Remove rule.
1500         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
1502 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1504         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
1505         comments.
1507 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1509         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
1510         LD_HWCAP_MASK.
1512 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1514         * manual/conf.texi: Convert @tables of annotated @items to
1515         @vtables.
1516         * manual/lang.texi: Likewise.
1517         * manual/pattern.texi: Likewise.
1518         * manual/resource.texi: Likewise.
1519         * manual/socket.texi: Likewise.
1521 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1523         * manual/crypt.texi: Move a comment out of an @*x list.
1524         * manual/filesys.texi: Refactor some comments, one of which looks
1525         like a standard.  Fix incorrectly separated standards.
1526         * manual/locale.texi: Invert an annotation.
1527         * manual/resource.texi: Fix incorrectly separated standards.
1528         * manual/time.texi: Refactor a @vtable that obscures an
1529         annotation.
1530         * manual/users.texi: Refactor multiple headers to occupy a single
1531         @comment.
1533 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1535         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1536         (sysdep_routines): Add memcmp-power8.
1537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1538         (memcmp): Add __memcmp_power8 to list of memcmp functions.
1539         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
1540         (memcmp): Add __memcmp_power8 to ifunc list.
1541         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
1542         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
1544 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1545             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1547         * math/math.h (__MATH_TG): Extend the conditions to add
1548         _Float128 support.
1549         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
1551 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
1553         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1554         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
1555         s_cosf-ppc64.
1556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
1557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
1558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
1559         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1561 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1563         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
1564         (gen-libm-calls): Add e_exp2F to use the template.
1565         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
1566         * math/e_exp2_template.c: New file, renamed from
1567         math/e_exp2l.c, and made into a template.
1568         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
1570 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1572         * elf/dl-tunable-types.h (tunable_type_code_t): New type
1573         TUNABLE_TYPE_UINT_64.
1574         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
1575         Simplify computation of overflow.
1576         (tunable_set_val_if_valid_range_signed,
1577         tunable_set_val_if_valid_range_unsigned): Remove and replace
1578         with this...
1579         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
1580         (tunable_initialize): Adjust.  Add uint64_t support.
1581         (__tunable_set_val): Add uint64_t support.
1582         * README.tunables: Document it.
1584         * scripts/gen-tunables.awk: Recognize 'default' keyword in
1585         dl-tunables.list.
1586         * README.tunables: Document it.
1588 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1590         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
1591         * sysdeps/posix/preadv64.c: Likewise.
1592         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1593         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
1594         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
1595         * sysdeps/posix/pwritev64.c: Likewise.
1596         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1597         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
1598         * sysdeps/posix/preadv_common.c: New file.
1599         * sysdeps/posix/pwritev_common.c: Likewise.
1601 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1603         * sysdeps/generic/math-type-macros-float128.h
1604         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
1605         wrapper templates.
1607 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1608             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1610         * include/complex.h (__kernel_casinhf128): New declaration.
1611         * include/float.h: New file.
1612         * include/math.h (__finitef128): Add a hidden def.
1613         (__isinff128): Likewise.
1614         (__isnanf128): Likewise.
1615         (__fpclassify): Likewise.
1616         (__issignalling): Likewise.
1617         (__expf128): Likewise.
1618         (__expm1f128): Likewise.
1620         * sysdeps/generic/fix-fp-int-convert-overflow.h:
1621         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
1622         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
1624         * sysdeps/generic/math-type-macros-float128.h: New file.
1626         * sysdeps/generic/math_private.h: Include bits/floatn.h and
1627         math_private_calls.h for _Float128.
1628         (__isinff128): New inline implementation used when GCC < 7.0,
1629         since in this case __builtin_isinf_sign is broken.
1630         (fabsf128): New inline implementation that calls the builtin.
1631         (__EXPR_FLT128): New macro.
1632         (min_of_type): Optionally include _Float128 types too.
1634         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
1635         Declare for _Float128.
1636         (__kernel_rem_pio2): Likewise.
1638         * sysdeps/ieee754/ldbl-opt/s_sin.c:
1639         (__DECL_SIMD_sincos_disablef128): New macro.
1641 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1643         * math/math.h: Include bits/math-finite.h for float128.
1644         (__MATH_DECLARING_FLOATN): Define to control declaration of
1645         float128 functions.
1646         * math/bits/math-finite.h (pow10): Do not declare for float128.
1647         (gamma): Likewise.
1648         (scalb): Likewise.
1650 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1651             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1653         * bits/floatn.h: New file.
1654         * bits/huge_val_flt128.h: Likewise.
1656         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
1657         (__DECL_SIMD_sinf128): Likewise.
1658         (__DECL_SIMD_sincosf128): Likewise.
1659         (__DECL_SIMD_logf128): Likewise.
1660         (__DECL_SIMD_expf128): Likewise.
1661         (__DECL_SIMD_powf128): Likewise.
1663         * math/Makefile (headers): Install bits/floatn.h and
1664         bits/huge_val_flt128.h.
1666         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
1667         defined.
1669         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
1670         (isnan, gamma, nexttoward, scalb): Only define if not
1671         __MATH_DECLARING_FLOATN.
1672         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
1673         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
1674         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
1675         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
1677         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
1678         Include bits/cmathcalls.h to get the declarations of _Float128
1679         versions of complex functions.
1680         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
1681         Define macro.
1683         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
1684         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
1685         get the declarations of _Float128 versions of math functions.
1686         (__MATH_DECLARING_FLOATN): New macro to control declaration of
1687         _FloatN types.
1688         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
1689         is type-generic, so use it without __MATH_TG.
1690         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
1691         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
1692         _Float128 type and GCC < 7.0, otherwise use the builtin.
1693         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
1694         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
1695         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
1696         New _GNU_SOURCE enabled macros.
1698 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
1700         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
1701         (signbitf): Likewise.
1702         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
1703         Likewise.
1704         (signbitl): Likewise.
1705         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
1706         Likewise.
1707         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
1708         (signbitl): Likewise.
1709         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
1711 2017-05-12  Florian Weimer  <fweimer@redhat.com>
1713         [BZ #21386]
1714         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
1715         parent PID.  The assertion in the child is incorrect with PID
1716         namespaces.
1718 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
1720         * sysdeps/unix/sysv/linux/kernel-features.h
1721         (__ASSUME_STATFS_F_FLAGS): Remove macro.
1722         * sysdeps/unix/sysv/linux/internal_statvfs.c
1723         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
1725 2017-05-11  Zack Weinberg  <zackw@panix.com>
1727         * Makerules: New subdir configuration variables 'tests-internal'
1728         and 'test-internal-extras'.  Test files in these categories will
1729         still be compiled with MODULE_NAME=nonlib.  Test files in the
1730         existing categories (tests, xtests, test-srcs, test-extras) are
1731         now compiled with MODULE_NAME=testsuite.
1732         New subdir configuration variable 'modules-names-tests'.  Files
1733         which are in both 'modules-names' and 'modules-names-tests' will
1734         be compiled with MODULE_NAME=testsuite instead of
1735         MODULE_NAME=extramodules.
1736         (gen-as-const-headers): Move to tests-internal.
1737         (do-tests-clean, common-mostlyclean): Support tests-internal.
1738         * Makeconfig (built-modules): Add testsuite.
1739         * Makefile: Change libof-check-installed-headers-c and
1740         libof-check-installed-headers-cxx to 'testsuite'.
1741         * Rules: Likewise.  Support tests-internal.
1742         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
1743         Remove extra-modules.mk.
1745         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
1746         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
1747         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
1748         very top of the file and rationalize their order.
1749         If MODULE_NAME is not defined at all, define IS_IN to always be
1750         false, and don't define _ISOMAC.
1751         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
1752         true, define _ISOMAC and suppress everything else in this file,
1753         starting with the inclusion of config.h.
1754         Do check for inappropriate definitions of __OPTIMIZE__ and
1755         __FAST_MATH__ here, but only if _ISOMAC is not defined.
1756         Correct some out-of-date commentary.
1758         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
1759         and _Mlong_double_ before including math.h.
1760         * include/string.h: If _ISOMAC is defined, don't expose
1761         _STRING_ARCH_unaligned. Move a comment to a more appropriate
1762         location.
1764         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
1765         * include/time.h, include/unistd.h, include/wchar.h: No need to
1766         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
1768         * misc/sys/cdefs.h (__NTHNL): New macro.
1769         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
1770         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
1772         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
1773         defined, for HAVE_TUNABLES.
1774         * inet/tst-checks-posix.c: No need to define _ISOMAC.
1775         * intl/tst-gettext2.c: Provide own definition of N_.
1776         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
1777         * math/test-signgam-main.c: No need to define _ISOMAC.
1778         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
1779         * stdlib/tst-strtod1i.c: ...this new file.
1780         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
1781         Split tests of __strtod_internal to...
1782         * stdlib/tst-strtod5i.c: ...this new file.
1783         * string/test-string.h: Include stdint.h. Duplicate definition of
1784         inhibit_loop_to_libcall here (from libc-symbols.h).
1785         * string/test-strstr.c: Provide dummy definition of
1786         libc_hidden_builtin_def when including strstr.c.
1787         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
1788         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
1789         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1790         Don't include init-arch.h.
1791         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1792         Don't include init-arch.h.
1794         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
1795         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
1796         unload, unload2, circleload1, neededtest, neededtest2,
1797         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
1798         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
1799         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
1800         ifunc tests to tests-internal.
1801         Don't add $(modules-names) to test-extras.
1802         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
1803         Add tst-deadline to tests-static-internal.
1804         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
1805         tests-internal.
1806         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
1807         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
1808         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
1809         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
1810         tst-sem12-static, and tst-stackguard1-static to tests-internal.
1811         Link tests-internal with libpthread also.
1812         Don't add $(modules-names) to test-extras.
1813         * nss/Makefile: Move tst-field to tests-internal.
1814         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
1815         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
1816         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
1817         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
1818         tests-internal.
1819         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
1820         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
1821         test-get_hwcap-static to tests-internal.
1822         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
1823         tests-internal.
1824         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
1825         modules-names-tests.
1827 2017-05-11  Zack Weinberg  <zackw@panix.com>
1829         * libio/libio.h: Condition dummy definition of _IO_lock_t on
1830         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
1831         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
1832         _IO_funlockfile, and _IO_ftrylockfile.  Only define
1833         _IO_cleanup_region_start and _IO_cleanup_region_end if not
1834         already defined.
1835         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
1836         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
1837         appropriately.
1838         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
1839         Define _IO_lock_t_defined after defining _IO_lock_t.
1841 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1843         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
1844         void* for argument type and use VDSO_SYMBOL macro.
1845         (is_sigtramp_address_rt): Likewise.
1846         (__backtrace): Setup expected frame pointer address for signal
1847         handling.
1848         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
1849         void* for argumetn type and use VSDO_SYMBOL macro.
1850         (__backtrace): Setup expected frame pointer address for signal
1851         handling.
1853         * sysdeps/unix/sysv/linux/writev.c: New file.
1855         * sysdeps/unix/sysv/linux/readv.c: New file.
1857         * include/unistd.h (write): Add hidden proto.
1858         * io/Makefile (CFLAGS-write.c): New define.
1859         * nptl/Makefile (CFLAGS-write.c): Likewise.
1860         * sysdeps/unix/sysv/linux/write.c: New file.
1862         [BZ #21428]
1863         * include/unistd.h (read): Add hidden proto.
1864         * io/Makefile (CFLAGS-read.c): New define.
1865         * nptl/Makefile (CFLAGS-read.c): Likewise.
1866         * sysdeps/unix/sysv/linux/read.c: New file.
1868         * io/Makefile (CFLAGS-creat.c): New rule.
1869         (CFLAGS-creat64.c): Likewise.
1870         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
1871         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
1872         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
1873         * sysdeps/unix/sysv/linux/creat.c: New file.
1874         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
1875         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
1876         auto-generated list.
1877         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1879         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
1880         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
1881         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
1882         * sysdeps/unix/sysv/linux/open.c: New file.
1883         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
1884         iff __WORDSIZE != 64 and use __NR_openat when available.
1885         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
1886         from auto-generated list.
1888         * nptl/Makefile (CFLAGS-close.c): New flag.
1889         * sysdeps/unix/sysv/linux/close.c: New file.
1891 2017-05-11  DJ Delorie  <dj@redhat.com>
1893         * MAINTAINERS: New.  Points to wiki.
1895 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1897         * scripts/gen-tunables.awk: Add attribute_relro to
1898         tunable_list.
1900 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
1902         [BZ #21457]
1903         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
1904         (R1): Likewise.
1905         (R2): Likewise.
1906         (R3): Likewise.
1907         (R4): Likewise.
1908         (R5): Likewise.
1909         (R6): Likewise.
1910         (R7): Likewise.
1911         (R8): Likewise.
1912         (R9): Likewise.
1913         (R10): Likewise.
1914         (R11): Likewise.
1915         (R12): Likewise.
1916         (R13): Likewise.
1917         (R14): Likewise.
1918         (R15): Likewise.
1919         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
1920         (REG_FS): Likewise.
1921         (REG_ES): Likewise.
1922         (REG_DS): Likewise.
1923         (REG_EDI): Likewise.
1924         (REG_ESI): Likewise.
1925         (REG_EBP): Likewise.
1926         (REG_ESP): Likewise.
1927         (REG_EBX): Likewise.
1928         (REG_EDX): Likewise.
1929         (REG_ECX): Likewise.
1930         (REG_EAX): Likewise.
1931         (REG_TRAPNO): Likewise.
1932         (REG_ERR): Likewise.
1933         (REG_EIP): Likewise.
1934         (REG_CS): Likewise.
1935         (REG_EFL): Likewise.
1936         (REG_UESP): Likewise.
1937         (REG_SS): Likewise.
1938         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
1939         (R_D1): Likewise.
1940         (R_D2): Likewise.
1941         (R_D3): Likewise.
1942         (R_D4): Likewise.
1943         (R_D5): Likewise.
1944         (R_D6): Likewise.
1945         (R_D7): Likewise.
1946         (R_A0): Likewise.
1947         (R_A1): Likewise.
1948         (R_A2): Likewise.
1949         (R_A3): Likewise.
1950         (R_A4): Likewise.
1951         (R_A5): Likewise.
1952         (R_A6): Likewise.
1953         (R_A7): Likewise.
1954         (R_SP): Likewise.
1955         (R_PC): Likewise.
1956         (R_PS): Likewise.
1957         (fpregset_t): Likewise.
1958         (MCONTEXT_VERSION): Likewise.
1959         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
1960         (CTX_AT): Likewise.
1961         (CTX_V0): Likewise.
1962         (CTX_V1): Likewise.
1963         (CTX_A0): Likewise.
1964         (CTX_A1): Likewise.
1965         (CTX_A2): Likewise.
1966         (CTX_A3): Likewise.
1967         (CTX_T0): Likewise.
1968         (CTX_T1): Likewise.
1969         (CTX_T2): Likewise.
1970         (CTX_T3): Likewise.
1971         (CTX_T4): Likewise.
1972         (CTX_T5): Likewise.
1973         (CTX_T6): Likewise.
1974         (CTX_T7): Likewise.
1975         (CTX_S0): Likewise.
1976         (CTX_S1): Likewise.
1977         (CTX_S2): Likewise.
1978         (CTX_S3): Likewise.
1979         (CTX_S4): Likewise.
1980         (CTX_S5): Likewise.
1981         (CTX_S6): Likewise.
1982         (CTX_S7): Likewise.
1983         (CTX_T8): Likewise.
1984         (CTX_T9): Likewise.
1985         (CTX_K0): Likewise.
1986         (CTX_K1): Likewise.
1987         (CTX_GP): Likewise.
1988         (CTX_SP): Likewise.
1989         (CTX_S8): Likewise.
1990         (CTX_RA): Likewise.
1991         (CTX_MDLO): Likewise.
1992         (CTX_MDHI): Likewise.
1993         (CTX_CAUSE): Likewise.
1994         (CTX_EPC): Likewise.
1995         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
1996         inclusion of <sys/procfs.h> on [__USE_MISC].
1997         (greg_t): Condition on [__USE_MISC].
1998         (gregset_t): Likewise.
1999         (fpregset_t): Likewise.
2000         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
2001         (NGREG): Likewise.
2002         (gregset_t): Likewise.
2003         (REG_R0): Likewise.
2004         (REG_R1): Likewise.
2005         (REG_R2): Likewise.
2006         (REG_R3): Likewise.
2007         (REG_R4): Likewise.
2008         (REG_R5): Likewise.
2009         (REG_R6): Likewise.
2010         (REG_R7): Likewise.
2011         (REG_R8): Likewise.
2012         (REG_R9): Likewise.
2013         (REG_R10): Likewise.
2014         (REG_R11): Likewise.
2015         (REG_R12): Likewise.
2016         (REG_R13): Likewise.
2017         (REG_R14): Likewise.
2018         (REG_R15): Likewise.
2019         (struct _libc_fpstate): Likewise.
2020         (fpregset_t): Likewise.
2021         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
2022         (NFPREG): Likewise.
2023         (gregset_t): Likewise.
2024         (fpregset_t): Likewise.
2025         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
2026         (R_D1): Likewise.
2027         (R_D2): Likewise.
2028         (R_D3): Likewise.
2029         (R_D4): Likewise.
2030         (R_D5): Likewise.
2031         (R_D6): Likewise.
2032         (R_D7): Likewise.
2033         (R_A0): Likewise.
2034         (R_A1): Likewise.
2035         (R_A2): Likewise.
2036         (R_A3): Likewise.
2037         (R_A4): Likewise.
2038         (R_A5): Likewise.
2039         (R_A6): Likewise.
2040         (R_A7): Likewise.
2041         (R_SP): Likewise.
2042         (R_PC): Likewise.
2043         (R_PS): Likewise.
2044         (fpregset_t): Likewise.
2045         (MCONTEXT_VERSION): Likewise.
2046         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
2047         Likewise.
2048         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
2049         (REG_R1): Likewise.
2050         (REG_R2): Likewise.
2051         (REG_R3): Likewise.
2052         (REG_R4): Likewise.
2053         (REG_R5): Likewise.
2054         (REG_R6): Likewise.
2055         (REG_R7): Likewise.
2056         (REG_R8): Likewise.
2057         (REG_R9): Likewise.
2058         (REG_R10): Likewise.
2059         (REG_R11): Likewise.
2060         (REG_R12): Likewise.
2061         (REG_R13): Likewise.
2062         (REG_R14): Likewise.
2063         (REG_R15): Likewise.
2064         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
2065         of <arch/abi.h> on [__USE_MISC].
2066         (greg_t): Condition on [__USE_MISC].
2067         (NGREG): Likewise.
2068         (gregset_t): Likewise.
2070 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2072         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
2073         (__pthread_rwlock_arch_t): Remove __data definition.
2074         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
2075         (__pthread_rwlock_arch_t): Likewise.
2077 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2079         * resolv/inet_pton.c: Reformat in GNU style.  Remove
2080         internal_function on static functions.
2082 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2084         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
2085         from format_ai_flags.
2086         (format_ai_flags): New function.  Incorporate flag formatting code
2087         from format_ai_one.
2088         (format_ai_canonname): New function.
2089         (format_ai_one): Remove flags parameter.
2090         (format_ai_family): Likewise.
2091         (support_format_addrinfo): Call format_ai_flags,
2092         format_ai_canonname.
2093         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
2094         check_ai.
2095         (check_ai): Call check_ai_hints.
2096         (do_test): Add AI_CANONNAME tests.
2098 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2100         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
2101         (gaih_inet): Likewise.
2103 2017-05-10  Andreas Schwab  <schwab@suse.de>
2105         * nptl/tst-fork1.c: Include <support/test-driver.c>.
2106         (main): Rename to do_test and make static.
2108 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
2110         * string/rawmemchr.c: Include <libc-diag.h>.
2111         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
2112         with size (size_t)-1.
2114 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2116         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
2117         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2118         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2120         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
2121         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
2122         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
2123         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
2124         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
2125         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
2126         * sysdeps/unix/sysv/linux/kernel-features.h
2127         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
2128         socket syscalls.
2129         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2130         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2131         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2132         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
2133         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2134         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2135         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
2136         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2137         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2138         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2139         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2140         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2141         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2142         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2143         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2145 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2147         * posix/Makefile (headers): Add pthreadtypes-arch.h and
2148         thread-shared-types.h.
2149         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
2150         specific thread definition.
2151         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
2152         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
2153         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
2154         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
2155         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
2156         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
2157         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
2158         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
2159         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
2160         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
2161         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
2162         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
2163         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
2164         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
2165         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
2166         thread definition between POSIX and C11.
2167         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
2168         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
2169         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
2170         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
2171         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
2172         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
2173         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
2174         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
2175         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
2176         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
2177         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
2178         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
2179         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
2180         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
2181         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
2182         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
2183         definitions shared across all architectures.
2185 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2187         * sysdeps/unix/sysv/linux/kernel-features.h
2188         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
2189         (__ASSUME_SENDMMSG): Likewise.
2190         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
2191         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
2192         sendmmsg syscall if that can be assumed to be present, socketcall
2193         otherwise, with no fallback for runtime failure.
2195         * sysdeps/unix/sysv/linux/kernel-features.h
2196         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
2197         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
2198         (__ASSUME_RECVMMSG): Likewise.
2199         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
2200         recvmmsg syscall if it can be assumed to be present, socketcall
2201         otherwise, with no fallback for runtime failure.
2203 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2204             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2206         * bits/libc-header-start.h:
2207         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
2208         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
2209         * manual/creature.texi: Likewise.
2211 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2212             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2214         * math/Makefile:
2215         (type-float128-suffix): New variable
2216         (type-float128-routines): Likewise
2217         (type-float128-yes): Likewise
2218         (types): Append float128 if supported
2219         (types-basic): New variable to control the use of templates for
2220         float, double, and long double, but not for float128 or newer types.
2221         (type-basic-foreach): Likewise.
2223         * sysdeps/ieee754/float128/Makeconfig: New file.
2224         * sysdeps/ieee754/float128/Versions: New file.
2226 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2228         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
2229         Remove macro.
2230         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
2231         prlimit64 is always available and does not give an ENOSYS error.
2232         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
2233         unconditional.
2234         [!__NR_prlimit64]: Remove conditional code.
2235         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
2236         prlimit64 is always available and does not give an ENOSYS error.
2237         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
2239 2017-05-09  Zack Weinberg  <zackw@panix.com>
2241         * sunrpc/tst-xdrmem2.c: Include stdint.h.
2243 2017-05-09  Florian Weimer  <fweimer@redhat.com>
2245         [BZ #21474]
2246         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
2247         (__res_maybe_init): Likewise.
2249 2017-05-09  Zack Weinberg  <zackw@panix.com>
2251         * extra-modules.mk: Delete file.
2252         * cppflags-iterator.mk: Rename to ...
2253         * libof-iterator.mk: ...this.  Adjust comments.
2255         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
2256         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
2257         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
2258         Use libof-iterator.mk instead of cppflags-iterator.mk or
2259         extra-modules.mk.
2261         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
2262         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
2264 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2266         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2268 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
2270         * stdio-common/vfprintf.c (EXTSIZ): Define.
2271         (vfprintf): Use EXTSIZ.
2272         (printf_positional): Likewise.
2274 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2276         * sysdeps/unix/sysv/linux/kernel-features.h
2277         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
2278         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
2279         <kernel-features.h>.
2280         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
2282         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2283         (__ASSUME_GETCPU_SYSCALL): Remove macro.
2285 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2287         Prevent multiple deletion of temporary files.
2288         * support/temp_file.c (struct temp_name_list): Add owner member.
2289         (add_temp_file): Record owner.
2290         (support_delete_temp_files): Delete file only if owner matches.
2291         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
2292         (do_prepare): Use create_temp_file instead of add_temp_file.
2293         Initialize temp_fd1, temp_fd2.
2294         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
2295         framework remove the temporary files.
2296         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
2297         (do_prepare): Use create_temp_file instead of add_temp_file.
2298         Initialize temp_fd1, temp_fd2, temp_fd3.
2299         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
2300         the test framework remove the temporary files.
2301         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
2302         deletion.
2303         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
2304         temporary directory.  It is removed by the test framework.
2305         * dirent/tst-scandir.c (do_test): Likewise.
2307 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2309         Delete temporary files in LIFO order.
2310         * support/temp_file.c (struct temp_name_list): Replace q member
2311         with next.
2312         (add_temp_file): Add new file to front of linked list.
2313         (support_delete_temp_files): Use next member.
2314         (support_print_temp_files): Likewise.
2316 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2318         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2319         sys/ultrasound.h.
2320         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
2322 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2324         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2325         Remove.
2326         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2327         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2328         (arch_minimum_kernel): Remove.
2329         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2330         * README: Update statement about Linux kernel requirements.
2332 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2334         * manual/llio.texi: Add preadv and pwritev documentation.
2336 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2338         [BZ #21455]
2339         * bits/stdint-intn.h: New file.
2340         * bits/stdint-uintn.h: Likewise.
2341         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
2342         bits/stdint-uintn.h.
2343         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
2344         <stdint.h>.
2345         * posix/sys/types.h: Include <bits/stdint-intn.h>.
2346         (__int8_t_defined): Do not define here.
2347         (int8_t): Likewise.
2348         (int16_t): Likewise.
2349         (int32_t): Likewise.
2350         (int64_t): Likewise.
2351         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
2352         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
2353         <stdint.h>.
2354         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
2355         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
2356         <bits/stdint-uintn.h>.
2357         (int8_t): Do not define here.
2358         (int16_t): Likewise.
2359         (int32_t): Likewise.
2360         (int64_t): Likewise.
2361         (uint8_t): Likewise.
2362         (uint16_t): Likewise.
2363         (uint32_t): Likewise.
2364         (uint64_t): Likewise.
2365         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
2366         variable.
2367         (test-xfail-XPG42/netdb.h/conform): Likewise.
2368         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
2369         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2370         (test-xfail-UNIX98/netdb.h/conform): Likewise.
2371         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2373 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2375         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
2376         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
2377         the above.
2378         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2379         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2381 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2383         [BZ #21445]
2384         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
2386         [BZ #21457]
2387         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2388         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
2389         __glibc_reserved1.
2390         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2391         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
2392         (struct _fpxreg): Likewise.
2393         [!__x86_64__] (struct _fpstate): Rename field reserved to
2394         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
2395         [__x86_64__] (struct _fpstate): Rename field padding to
2396         __glibc_reserved1.
2397         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
2398         Rename field reserved2 to __glibc_reserved2.
2399         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
2400         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
2401         __glibc_reserved1.
2402         [__x86_64__] (struct _libc_fpstate): Rename field padding to
2403         __glibc_reserved1.
2405 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2407         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
2408         variable name.
2410 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
2412         [BZ #21391]
2413         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
2414         Only call init_cpu_features.
2415         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
2416         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2417         * sysdeps/i386/dl-procinfo.h: Removed.
2418         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
2419         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
2420         <sysdeps/x86/dl-procinfo.h>.
2421         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
2422         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
2423         Include <sysdeps/x86/dl-procinfo.h> instead of
2424          <sysdeps/generic/dl-procinfo.h>.
2425         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
2426         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
2427         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
2428         (bit_cpu_MOVBE): Likewise.
2429         (bit_cpu_BMI1): Likewise.
2430         (bit_cpu_BMI2): Likewise.
2431         (index_cpu_BMI1): Likewise.
2432         (index_cpu_BMI2): Likewise.
2433         (index_cpu_LZCNT): Likewise.
2434         (index_cpu_MOVBE): Likewise.
2435         (index_cpu_POPCNT): Likewise.
2436         (reg_BMI1): Likewise.
2437         (reg_BMI2): Likewise.
2438         (reg_LZCNT): Likewise.
2439         (reg_MOVBE): Likewise.
2440         (reg_POPCNT): Likewise.
2441         * sysdeps/x86/dl-hwcap.h: New file.
2442         * sysdeps/x86/dl-procinfo.h: Likewise.
2443         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
2444         (_dl_x86_platforms): Likewise.
2446 2017-05-03  DJ Delorie  <dj@redhat.com>
2448         [BZ #21411]
2449         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
2451 2017-05-03  Phil Blundell  <pb@pbcl.net>
2453         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
2454         comments.
2456 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
2458         [BZ #20116]
2459         * nptl/pthread_create.c: Expand comments to describe
2460         semaphore-like and mutex-like uses of PD->lock.
2462 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2464         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
2465         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
2466         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
2467         auto-generation list.
2468         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2469         epoll_wait.
2470         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
2471         Remove epoll_wait.
2473         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2474         osf_select.
2475         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
2476         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
2477         osf_select from auto-generation list.
2478         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2479         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2480         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
2481         * sysdeps/unix/sysv/linux/select.c: New file.
2483         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
2484         * sysdeps/unix/sysv/linux/poll.c: New file.
2485         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
2486         auto-generation list.
2488 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
2490         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
2491         New macro.
2493 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
2495         [BZ #21179]
2496         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
2497         R_SPARC_REGISTER relocations.
2499 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2501         * include/unistd.h (__pread): Add libc_hidden_proto.
2502         (__pread64): Likewise.
2503         (__pwrite): Likewise.
2504         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
2505         (__pread64): Remove.
2506         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
2507         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
2508         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
2510 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2514 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2516         * nptl/tst-cancel4-common.c: Use libsupport.
2517         * nptl/tst-cancel4-common.h: Likewise.
2518         * nptl/tst-cancel4.c (tf_read): Likewise.
2519         (tf_readv): Likewise.
2520         (tf_write): Likewise.
2521         (tf_writev): Likewise.
2522         (tf_sleep): Likewise.
2523         (tf_usleep): Likewise.
2524         (tf_nanosleep): Likewise.
2525         (tf_select): Likewise.
2526         (tf_pselect): Likewise.
2527         (tf_poll): Likewise.
2528         (tf_ppoll): Likewise.
2529         (tf_wait): Likewise.
2530         (tf_waitpid): Likewise.
2531         (tf_waitid): Likewise.
2532         (tf_sigpause): Likewise.
2533         (tf_sigsuspend): Likewise.
2534         (tf_sigwait): Likewise.
2535         (tf_sigwaitinfo): Likewise.
2536         (tf_sigtimedwait): Likewise.
2537         (tf_pause): Likewise.
2538         (tf_accept): Likewise.
2539         (tf_send): Likewise.
2540         (tf_recv): Likewise.
2541         (tf_recvfrom): Likewise.
2542         (tf_recvmsg): Likewise.
2543         (tf_open): Likewise.
2544         (tf_close): Likewise.
2545         (tf_pread): Likewise.
2546         (tf_pwrite): Likewise.
2547         (tf_preadv): Likewise.
2548         (tf_pwritev): Likewise.
2549         (tf_fsync): Likewise.
2550         (tf_fdatasync): Likewise.
2551         (tf_msync): Likewise.
2552         (tf_sendto): Likewise.
2553         (tf_sendmsg): Likewise.
2554         (tf_creat): Likewise.
2555         (tf_connect): Likewise.
2556         (tf_tcdrain): Likewise.
2557         (tf_msgrcv): Likewise.
2558         (tf_msgsnd): Likewise.
2559         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
2560         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
2562         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
2563         expected arguments.
2564         (do_test): Adapt to use libsupport.
2566 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
2568         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
2570         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
2571         (PF_MAX): Set to 44.
2572         (AF_SMC): New macro.
2574         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2575         kernel version to 4.11.
2577 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2579         [BZ #21280]
2580         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
2581         signal of subnormals and adjust the exponent of power of 2 down
2582         when low part has opposite sign.
2584 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2586         * sysdeps/powerpc/powerpc64le/Implies: New file.
2587         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
2588         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
2589         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
2590         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
2591         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
2592         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
2593         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
2594         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
2595         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
2596         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
2597         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
2598         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
2599         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
2600         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
2601         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
2602         * sysdeps/powerpc/preconfigure: New file.
2603         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
2604         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
2606 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
2608         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
2609         inclusion.
2610         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
2611         Remove.
2613 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
2615         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
2616         (XPG3): Rename standard to XPG4.
2617         * conform/Makefile: Likewise.
2618         * conform/list-header-symbols.pl: Likewise.
2619         * conform/data/aio.h-data: Likewise.
2620         * conform/data/arpa/inet.h-data: Likewise.
2621         * conform/data/complex.h-data: Likewise.
2622         * conform/data/ctype.h-data: Likewise.
2623         * conform/data/dlfcn.h-data: Likewise.
2624         * conform/data/fcntl.h-data: Likewise.
2625         * conform/data/fenv.h-data: Likewise.
2626         * conform/data/float.h-data: Likewise.
2627         * conform/data/fmtmsg.h-data: Likewise.
2628         * conform/data/ftw.h-data: Likewise.
2629         * conform/data/grp.h-data: Likewise.
2630         * conform/data/inttypes.h-data: Likewise.
2631         * conform/data/iso646.h-data: Likewise.
2632         * conform/data/langinfo.h-data: Likewise.
2633         * conform/data/libgen.h-data: Likewise.
2634         * conform/data/limits.h-data: Likewise.
2635         * conform/data/locale.h-data: Likewise.
2636         * conform/data/math.h-data: Likewise.
2637         * conform/data/mqueue.h-data: Likewise.
2638         * conform/data/ndbm.h-data: Likewise.
2639         * conform/data/net/if.h-data: Likewise.
2640         * conform/data/netdb.h-data: Likewise.
2641         * conform/data/netinet/in.h-data: Likewise.
2642         * conform/data/poll.h-data: Likewise.
2643         * conform/data/pthread.h-data: Likewise.
2644         * conform/data/pwd.h-data: Likewise.
2645         * conform/data/sched.h-data: Likewise.
2646         * conform/data/search.h-data: Likewise.
2647         * conform/data/semaphore.h-data: Likewise.
2648         * conform/data/signal.h-data: Likewise.
2649         * conform/data/spawn.h-data: Likewise.
2650         * conform/data/stdbool.h-data: Likewise.
2651         * conform/data/stdint.h-data: Likewise.
2652         * conform/data/stdio.h-data: Likewise.
2653         * conform/data/stdlib.h-data: Likewise.
2654         * conform/data/string.h-data: Likewise.
2655         * conform/data/strings.h-data: Likewise.
2656         * conform/data/stropts.h-data: Likewise.
2657         * conform/data/sys/mman.h-data: Likewise.
2658         * conform/data/sys/resource.h-data: Likewise.
2659         * conform/data/sys/select.h-data: Likewise.
2660         * conform/data/sys/socket.h-data: Likewise.
2661         * conform/data/sys/stat.h-data: Likewise.
2662         * conform/data/sys/statvfs.h-data: Likewise.
2663         * conform/data/sys/time.h-data: Likewise.
2664         * conform/data/sys/timeb.h-data: Likewise.
2665         * conform/data/sys/types.h-data: Likewise.
2666         * conform/data/sys/uio.h-data: Likewise.
2667         * conform/data/sys/un.h-data: Likewise.
2668         * conform/data/sys/wait.h-data: Likewise.
2669         * conform/data/syslog.h-data: Likewise.
2670         * conform/data/termios.h-data: Likewise.
2671         * conform/data/tgmath.h-data: Likewise.
2672         * conform/data/time.h-data: Likewise.
2673         * conform/data/ucontext.h-data: Likewise.
2674         * conform/data/unistd.h-data: Likewise.
2675         * conform/data/utmpx.h-data: Likewise.
2676         * conform/data/varargs.h-data: Likewise.
2677         * conform/data/wchar.h-data: Likewise.
2678         * conform/data/wctype.h-data: Likewise.
2680 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
2682         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
2683         version to 7 branch.
2685 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
2687         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
2688         earlyclobber to output operand of sqrt insn.
2689         (__ieee754_sqrtf): Ditto.
2691 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
2693         [BZ #21426]
2694         * misc/bits/types/struct_iovec.h: New file.
2695         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
2696         * include/bits/types/struct_iovec.h: New file.
2697         * bits/uio.h (struct iovec): Replace by inclusion of
2698         <bits/types/struct_iovec.h>.
2699         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
2700         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
2701         of <sys/uio.h>.
2702         * nptl/tst-cancel4.c: Include <sys/uio.h>
2703         * posix/test-errno.c: Likewise.
2704         * support/resolv_test.c: Likewise.
2705         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
2706         Remove.
2707         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2708         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2709         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2711         * conform/data/sys/socket.h-data (*_t): Allow.
2713 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2715         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
2716         assignment.
2718 2017-04-24  Daurnimator  <quae@daurnimator.com>
2719             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2721         [BZ #21340]
2722         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
2723         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
2724         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
2725         valid flags.
2726         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
2727         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
2728         POSIX_SPAWN_SETSID.
2729         * sysdeps/posix/spawni.c (__spawni): Likewise.
2730         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
2731         * NEWS: Add note about POSIX_SPAWN_SETSID support.
2733 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2735         * sysdeps/generic/math_private.h: Move the declaration of many
2736         functions to sysdeps/generic/math_private_calls.h.
2737         * sysdeps/generic/math_private_calls.h: New file with the
2738         declarations of the functions removed from math_private.h
2739         macroized by floating-point type.
2741 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2743         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
2744         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
2745         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
2746         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
2747         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
2748         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
2750 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2752         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
2753         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
2754         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
2755         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
2756         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
2757         New Define.
2759 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2761         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
2762         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
2763         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
2764         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
2765         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
2766         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
2768 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
2770         * sysdeps/s390/multiarch/ifunc-resolve.h
2771         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
2772         * sysdeps/s390/multiarch/8bit-generic.c
2773         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
2774         define ifunc resolvers.
2776 2017-04-21  Florian Weimer  <fweimer@redhat.com>
2778         [BZ #20424]
2779         * manual/memory.texi (Replacing malloc): New section.
2780         (Allocating Storage For Program Data): Reference it.
2781         (The GNU Allocator): Likewise.
2783 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
2785         * stdlib/Versions (__strtod_internal): List explicitly, not as
2786         wildcard.
2787         (__strtof_internal): Likewise.
2788         (__strtold_internal): Likewise.
2789         (__strtol_internal): Likewise.
2790         (__strtoll_internal): Likewise.
2791         (__strtoul_internal): Likewise.
2792         (__strtoull_internal): Likewise.
2793         (__strtoq_internal): Likewise.
2794         (__strtouq_internal): Likewise.
2795         * wcsmbs/Versions (__wcstod_internal): Likewise.
2796         (__wcstof_internal): Likewise.
2797         (__wcstold_internal): Likewise.
2798         (__wcstol_internal): Likewise.
2799         (__wcstoll_internal): Likewise.
2800         (__wcstoul_internal): Likewise.
2801         (__wcstoull_internal): Likewise.
2803 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2805         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
2806         struct timespec definition.
2808 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2810         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
2812 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2814         * inet/rcmd.c (rresvport_af): Fix typo in comment.
2815         * inet/rexec.c (rexec_af): Likewise.
2817 2017-04-19  Zack Weinberg  <zackw@panix.com>
2819         * posix/tst-mmap-offset.c: Include stdint.h.
2820         * resolv/tst-ns_name_compress.c: Include string.h.
2821         * resolv/tst-resolv-edns.c: Include resolv.h.
2823 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2825         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
2826         with __glibc_likely.
2827         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
2828         Replace __builtin_expect with __glibc_unlikely.
2829         * resolv/res_init.c (__res_vinit): Likewise.
2830         * resolv/res_query.c (__libc_res_nquery): Likewise.
2831         * resolv/res_send.c (__libc_res_nsend): Likewise.
2833 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2835         [BZ #15722]
2836         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
2837         with SOCK_CLOEXEC.
2838         * resolv/res_send.c (send_vc, reopen): Likewise.
2839         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
2840         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
2841         Likewise.
2842         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
2843         * inet/rexec.c (rexec_af): Add comment.
2844         * inet/rcmd.c (rresvport_af): Likewise.
2846 2017-04-19  Florian Weimer  <fweimer@redhat.com>
2848         * nscd/connections.c (have_accept4): Removed definition.
2849         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
2850         accept4 works.
2851         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
2852         ia64 because that was the first version with accept4 support.
2853         * support/Makefile (libsupport-routines): Add xaccept4.
2854         * support/xsocket.h (xaccept4): Declare.
2855         * support/xaccept4.c: New file.
2856         * socket/tst-accept4.c: New file.
2857         * socket/Makefile (tests): Add tst-accept4.
2858         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
2859         definition.
2860         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
2861         comment.
2862         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
2863         implementation is available.
2864         (accept4): Use the system call if available, otherwise use the
2865         socket call.
2866         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
2867         Set to 3.2.18.
2868         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2869         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
2870         accept4 is unconditionally available in later 3.2 stable kernels.
2871         (__ASSUME_ACCEPT4_SYSCALL): Define.
2872         * sysdeps/unix/sysv/linux/kernel-features.h
2873         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
2874         definitions.
2875         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2876         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
2878 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
2880         * conform/Makefile (tests-special): Do not make addition of
2881         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
2882         (generated): Do not make addition of $(conformtest-header-base)
2883         conditional on [$(cross-compiling) = no].
2885         [BZ #21267]
2886         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
2887         if defined by <asm/socket.h> and not previously defined.
2888         (IOCSIZE_SHIFT): Likewise.
2889         (IOC_IN): Likewise.
2890         (IOC_INOUT): Likewise.
2891         (IOC_OUT): Likewise.
2893 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
2895         [BZ #21396]
2896         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2897         Prefer_No_AVX512 if AVX512ER isn't available.
2898         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
2899         (index_arch_Prefer_No_AVX512): Likewise.
2900         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
2901         AVX512 version if Prefer_No_AVX512 is set.
2902         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
2903         Likewise.
2904         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
2905         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
2906         Likewise.
2907         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2908         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
2909         Likewise.
2910         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
2911         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
2912         Likewise.
2914 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
2916         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2917         Prefer_No_VZEROUPPER if AVX512ER is available.
2918         * sysdeps/x86/cpu-features.h
2919         (bit_cpu_AVX512PF): New.
2920         (bit_cpu_AVX512ER): Likewise.
2921         (bit_cpu_AVX512CD): Likewise.
2922         (bit_cpu_AVX512BW): Likewise.
2923         (bit_cpu_AVX512VL): Likewise.
2924         (index_cpu_AVX512PF): Likewise.
2925         (index_cpu_AVX512ER): Likewise.
2926         (index_cpu_AVX512CD): Likewise.
2927         (index_cpu_AVX512BW): Likewise.
2928         (index_cpu_AVX512VL): Likewise.
2929         (reg_AVX512PF): Likewise.
2930         (reg_AVX512ER): Likewise.
2931         (reg_AVX512CD): Likewise.
2932         (reg_AVX512BW): Likewise.
2933         (reg_AVX512VL): Likewise.
2935 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2937         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
2938         O_CLOEXEC is defined.
2939         * include/fcntl.h (__have_o_cloexec): Remove declaration.
2940         * io/Makefile (aux): Remove.
2941         * io/have_o_cloexec.c: Remove file.
2942         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
2943         defined and works.
2944         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
2945         defined.
2946         * login/utmp_file.c (O_flags): Remove definition.
2947         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
2948         O_CLOEXEC works.
2949         (pututline_file): Likewise.
2950         * malloc/mtrace.c: Assume that O_CLOEXEC works.
2951         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
2952         definition.
2953         (internal_setgrent): Assume that O_CLOEXEC works.
2954         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
2955         Remove definition.
2956         (internal_setgrent): Assume that O_CLOEXEC works.
2957         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
2958         definition.
2959         (internal_setpwent): Assume that O_CLOEXEC works.
2960         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
2961         definition.
2962         (internal_setspent): Assume that O_CLOEXEC works.
2963         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
2964         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
2965         O_CLOEXEC is defined and works.
2966         * nss/Makefile (libnss_files-routines): Remove
2967         files-have_o_cloexec.
2968         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
2969         defined.
2970         * nss/nss_files/files-XXX.c (internal_setent): Assume that
2971         O_CLOEXEC is defined and works.
2972         * nss/nss_files/files-alias.c (internal_setent): Likewise.
2973         * nss/nss_files/files-have_o_cloexec.c: Remove.
2974         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
2975         defined.
2976         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
2977         and works.
2978         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
2979         definition.
2980         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
2981         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
2982         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
2983         (__opendirat, __opendir): Adjust opendir_oflags call.
2984         (check_have_o_cloexec): Remove.
2985         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
2986         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
2987         defined.
2988         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
2989         Remove definition.
2991 2017-04-18  Florian Weimer  <fweimer@redhat.com>
2993         * include/unistd.h (__have_dup3): Remove declaration.
2994         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
2995         dup3 is available.
2996         * libio/freopen64.c (freopen64): Likewise.
2997         * socket/Makefile (aux): Remove have_sock_cloexec.
2998         * socket/have_sock_cloexec.c: Remove file.
2999         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
3000         definition.
3001         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
3002         Likewise.
3003         * sysdeps/nacl/kernel-features.h: Update comment.
3005 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3007         * include/unistd.h (__have_pipe2): Remove declaration.
3008         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
3009         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
3010         available.
3011         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
3012         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
3013         Remove definition.
3015 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3017         * malloc/malloc.c (cfree): Turn into compat symbol.
3018         (__cfree): Remove alias.
3019         * stdlib/stdlib.h (cfree): Remove declaration.
3020         * malloc/malloc.h (cfree): Likewise.
3021         * manual/memory.texi (Freeing after Malloc): Remove cfree.
3022         * malloc/Versions (GLIBC_2.26): Add.
3024 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3026         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3027         (sysdep_routines): Add strrchr-power8.
3028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3029         (strrchr): Add __strrchr_power8 to list of strrchr functions.
3030         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
3031         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
3032         (strrchr): Add __strrchr_power8 to ifunc list.
3033         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
3035 2017-04-17  Rabin Vincent  <rabinv@axis.com>
3037         [BZ #21357]
3038         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
3039         Call free() outside of mutex.
3041 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3043         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
3044         is defined.
3045         * elf/rtld.c (process_envvars): Likewise.
3046         * sysdeps/posix/shm_open.c (shm_open): Likewise.
3047         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
3048         O_NOFOLLOW directly.
3049         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
3051 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3053         [BZ #21369]
3054         Remove EDNS fallback.
3055         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
3056         handling.
3057         * resolv/res_send.c (send_dg): Likewise.
3058         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
3059         "tcp." prefixes.
3060         (do_test): Send a "formerr."-prefixed query in an attempt to
3061         trigger EDNS fallback.
3063 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3065         [BZ #21361]
3066         Limit EDNS buffer size to 1200 bytes.
3067         * include/resolv.h (__res_nopt): Remove declaration.
3068         * resolv/Makefile (tests): tst-resolv-edns.
3069         (tst-resolv-edns): Link with -lresolv, -lpthread.
3070         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
3071         interval [512, 1200].
3072         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
3073         we can resize the buffer.
3074         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
3075         (__res_nopt): Declare.
3076         * resolv/tst-resolv-edns.c: New file.
3077         * resolv/resolv_test.h (struct resolv_edns_info): Define.
3078         (struct resolv_response_context): Add edns member.
3079         * resolv/resolv_test.c (struct query_info): Add edns member.
3080         (parse_query): Extract EDNS information from the query.
3081         (server_thread_udp_process_one): Propagate EDNS data.
3082         (server_thread_tcp_client): Likewise.
3084 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3086         [BZ #21359]
3087         * resolv/ns_name.c (ns_name_pack): Do not require an additional
3088         byte in the destination buffer.  Avoid out-of-bounds pointer
3089         arithmetic.
3090         * resolv/Makefile (tests): Add tst-ns_name_compress.
3091         (tst-ns_name_compress): Link with -lresolv.
3092         * resolv/tst-ns_name_compress.c: New file.
3093         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
3094         (response): Recognize LONG_NAME.
3095         (do_test): Add LONG_NAME tests.
3096         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
3097         for ns_name_unpack.  Add tests for ns_name_pton and
3098         ns_name_compress.
3100 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3102         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
3103         (res_nisourserver): Remove definition.
3104         (p_section, res_npquery, res_nisourserver): Remove declaration.
3105         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
3106         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
3107         ... here.
3108         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
3109         <resolv.h>.
3110         * resolv/res_query.c: Likewise.
3111         * resolv/res_debug.c (p_section): Define as static.
3113 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3115         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
3116         strncat-power8.
3117         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
3118         __strncat_power8 to ifunc list.
3119         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3120         (strncat): Add __strncat_power8 to list of strncat functions.
3121         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
3123 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3125         [BZ #21270]
3126         * posix/tst-mmap-offset.c (do_prepare): New function.
3127         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
3128         (do_test_bz21270): New function.
3129         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
3130         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
3131         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
3132         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
3133         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
3134         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
3135         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
3136         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
3137         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
3138         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
3139         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
3140         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3141         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3142         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3143         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
3144         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
3145         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
3146         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
3147         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
3148         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
3149         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
3150         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
3151         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
3152         from auto-generation list.
3153         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
3154         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3155         * sysdeps/unix/sysv/linux/mmap.c: New file.
3156         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
3157         offsets and support for mmap2 syscall.
3159         * posix/globtest.sh: Add cleanup routine on trap 0.
3161 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3163         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
3164         implementation-specific function name and remove unneeded
3165         macros definition.
3166         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
3167         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
3168         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
3169         name if not defined and pass as parameter to macros accordingly.
3170         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3171         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
3173         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
3174         implementation-specific function name and remove unneeded
3175         macros definition.
3176         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
3177         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
3178         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
3179         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
3180         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3181         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
3182         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
3183         name if not defined and pass as parameter to macros accordingly.
3184         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3185         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3186         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3187         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3188         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3189         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
3191         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
3192         implementation-specific function name and remove unneeded macros
3193         definition.
3194         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
3195         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
3196         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
3197         function name if not defined and pass as parameter to macros
3198         accordingly.
3199         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3200         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
3202         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
3203         implementation-specific function name and remove unneeded macros
3204         definition.
3205         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3206         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3207         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
3208         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3209         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
3210         not defined and pass as parameter to macros accordingly.
3211         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3212         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3213         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3214         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
3216         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
3217         strcasestr implementation name and remove unneeded macros definition.
3218         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
3219         strstr implementation name and remove unneeded macros definition.
3220         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
3221         name if not defined and pass as parameter to macros accordingly.
3222         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
3224         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
3225         implementation-specific function name and remove unneeded macros
3226         definition.
3227         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
3228         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
3229         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
3230         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
3231         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
3232         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
3233         function name if not defined and pass as parameter to macros
3234         accordingly.
3235         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
3236         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
3237         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
3238         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
3240         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
3241         the strlen implementation name and remove unneeded macros definition.
3242         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
3243         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3244         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
3245         the strnlen implementation name and remove unneeded macros definition.
3246         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
3247         name if not defined and pass as parameter to macros accordingly.
3248         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
3249         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
3250         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3252         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
3253         the implementation-specific function name and remove unneeded
3254         macros definition.
3255         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
3256         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
3257         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
3258         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3259         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
3260         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
3261         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
3262         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
3263         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3264         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
3265         name if not defined and pass as parameter to macros accordingly.
3266         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
3267         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3268         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3269         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
3270         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3271         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
3272         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
3273         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3275         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
3276         implementation-specific function name and remove unneeded macros
3277         definition.
3278         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
3279         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
3280         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
3281         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
3282         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
3283         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
3284         function name if not defined.
3285         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
3286         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
3288 2017-04-11  Paul Clarke  <pc@us.ibm.com>
3290         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
3291         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
3292         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
3293         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
3295 2017-04-11  Florian Weimer  <fweimer@redhat.com>
3296             Zack Weinberg  <zackw@panix.com>
3298         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
3299         readdir64 as thread-safe.  Update warning about readdir_r.
3301 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3303         * sysdeps/unix/sysv/linux/x86/Implies: New file.
3304         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
3305         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
3306         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
3307         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
3308         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
3309         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3311 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
3313         * sysdeps/i386/dl-procinfo.c: Include
3314         <sysdeps/x86/dl-procinfo.c>.
3315         * sysdeps/x86_64/dl-procinfo.c: Likewise.
3316         * sysdeps/x86/dl-procinfo.c: New file.
3318 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3320         * sysdeps/generic/math_private.h: Remove declarations of
3321         many functions that are already declared in math.h.
3322         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
3323         declaration for __frexpl.
3324         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
3325         the declarations for __scalbnl and fabsl.
3327 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
3329         [BZ #20831]
3330         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
3331         of __mprotect to change protection on the excess portion
3332         to disallow all access.
3334 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
3336         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
3337         HAS_CPU_FEATURE to check for SSE.
3338         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3339         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3340         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
3341         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
3342         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
3343         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
3344         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
3345         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
3346         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3347         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
3348         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3349         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
3350         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
3351         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
3352         (index_cpu_SSE): Likewise.
3353         (reg_SSE): Likewise.
3355 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
3357         * posix/getopt1.c: Include <config.h>, not "config.h".
3359 2017-04-07  Zack Weinberg  <zackw@panix.com>
3361         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
3362         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
3363         Mention in top-of-file boilerplate that these files are shared
3364         with gnulib.
3365         * posix/getopt.h, posix/bits/getopt_posix.h:
3366         Mention in top-of-file boilerplate that these files are NOT shared
3367         with gnulib, unlike the rest of the getopt implementation.
3369         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
3370         New files, intended to be shared with gnulib.
3371         * posix/bits/getopt_posix.h:
3372         New file, not intended to be shared with gnulib.
3373         * posix/getopt.h: Now just includes features.h,
3374         bits/getopt_core.h, and bits/getopt_ext.h.  Will
3375         no longer be shared with gnulib.
3376         * include/bits/getopt_core.h, include/bits/getopt_ext.h
3377         * include/bits/getopt_posix.h: New wrappers.
3378         * posix/Makefile: Install new headers.
3379         * posix/unistd.h, libio/stdio.h:
3380         Include bits/getopt_posix.h instead of getopt.h.
3382         * include/libc-symbols.h: For gnulib compatibility, define
3383         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
3384         _GL_ATTRIBUTE_CONST.
3385         * posix/getopt.c (_getopt_initialize): Mark argc and argv
3386         parameters with _GL_UNUSED.
3388         * posix/getopt.c: When used standalone, define __libc_use_alloca
3389         as always false and alloca to abort if called.
3390         (process_long_option): Rewrite handling of ambiguous long options
3391         to use a single boolean vector, not a linked list; use
3392         __libc_use_alloca to decide whether to allocate this using alloca.
3393         * posix/tst-getopt_long1.c: Adjust text of expected error message.
3395         * posix/getopt.c (process_long_option): New function split out
3396         from _getopt_internal_r.
3397         (_getopt_internal_r): Replace both copies of the long-option
3398         processing code with calls to process_long_option.
3399         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
3400         (do_test): Differentiate argv[0] in the two subtests.
3402         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
3403         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
3404         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
3406         * posix/getopt.h: Add backup definition of __nonnull for
3407         consistency with gnulib.  Define __getopt_argv_const to const
3408         if not already defined.
3409         (getopt): Update doc comment from gnulib.  Prototype
3410         unconditionally.  Add __nonnull annotation.
3411         (__posix_getopt): Add __nonnull annotation.
3412         (getopt_long, getopt_long_only): Use __getopt_argv_const in
3413         prototypes for consistency with gnulib.  Add __nonnull
3414         annotations.
3415         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
3416         (getopt_internal): Change 'argv' argument to type 'char **'.
3417         Remove now-unnecessary casts.
3418         (getopt, __posix_getopt): Eliminate repetition with a macro.
3419         Cast 'argv' to 'char **' when calling _getopt_internal.
3420         * posix/getopt1.c (getopt_long, getopt_long_only):
3421         Use __getopt_argv_const for consistency with gnulib.
3422         Cast 'argv' to 'char **' when calling _getopt_internal.
3423         (_getopt_long_r, _getopt_long_only_r):
3424         Change 'argv' argument to type 'char **'.
3425         (main): Constify 'long_options'.
3426         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
3427         (_getopt_long_r, _getopt_long_only_r):
3428         Change 'argv' argument to type 'char **'.
3430         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
3431         (locked_vfxprintf): New helper function. Handle arbitrary
3432         multibyte strings, not just ASCII.
3433         * include/stdio.h: Declare __fxprintf_nocancel.
3434         * posix/getopt.c: When _LIBC is defined, define fprintf to
3435         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
3436         to _IO_funlockfile.  When neither _LIBC nor
3437         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
3438         funlockfile as no-ops.
3439         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
3440         the standalone error-printing code can now be used for libc as
3441         well.  Add an flockfile/funlockfile pair around one case where
3442         the error message is printed in several chunks.  Don't use fputc.
3443         * posix/tst-getopt-cancel.c: New test.
3444         * posix/Makefile: Run it.
3446         * posix/getopt.c (_getopt_internal_r): Don't increment
3447         d->optind a second time when reporting ambiguous -W options.
3449         * posix/getopt_int.h: Include getopt.h.
3450         Use impl-namespace names for all arguments to _getopt_internal and
3451         _getopt_internal_r.
3452         Declare __ordering enum outside the struct.
3453         Harmonize comments with gnulib.
3454         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
3455         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
3456         #ifdef TEST block and make unconditional.  Do not define NULL.
3457         * posix/getopt.c: Partial merge from gnulib, covering the
3458         initial includes and global declarations, commentary, and
3459         a couple of semantically-neutral code changes.
3461         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
3462         Use '...' instead of `...' for quotation marks inside
3463         comments and strings.
3465         * config.h.in (USE_NONOPTION_FLAGS): Remove.
3466         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
3467         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3468         * posix/getopt_int.h: Likewise.
3469         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
3470         __libc_argc and __libc_argv externs, which were only used by
3471         #ifdef USE_NONOPTION_FLAGS blocks.
3472         * posix/getopt_init.c: Remove file.
3473         * posix/Makefile (routines): Remove getopt_init.
3474         * include/getopt.h: Don't declare __getopt_initialize_environment.
3475         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
3476         a comment.
3478 2017-04-07  Florian Weimer  <fweimer@redhat.com>
3480         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
3482 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3484         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
3485         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
3486         to __wrap_.udiv.
3487         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
3488         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
3490         * sysdeps/i386/symbol-hacks.h: New file.
3491         * sysdeps/m68k/symbol-hacks.h: New file.
3492         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
3493         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
3494         * sysdeps/unix/sysv/linux/i386/Makefile
3495         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
3496         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3497         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3498         * sysdeps/unix/sysv/linux/m68k/Makefile
3499         [$(subdir) = csu] (sysdep_routines): Likewise.
3500         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3501         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3503         [$(subdir) = csu] (sysdep_routines): Likewise.
3504         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3505         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3506         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3507         [$(subdir) = csu] (sysdep_routines): Likewise.
3508         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3509         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3510         * sysdeps/wordsize-32/Makefile: Remove file.
3511         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
3512         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
3514 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
3516         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
3517         (TEST_FUNCTION_ARGV): New.
3519 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3521         * elf/next.c: Import support/test-driver.c instead of
3522         test-skeleton.c and delete TEST_FUNCTION macro definition.
3523         * elf/nodelete.c: Likewise.
3524         * elf/order2.c: Likewise.
3525         * elf/tst-_dl_addr_inside_object.c: Likewise.
3526         * elf/tst-addr1.c: Likewise.
3527         * elf/tst-align.c: Likewise.
3528         * elf/tst-align2.c: Likewise.
3529         * elf/tst-audit11.c: Likewise.
3530         * elf/tst-audit12.c: Likewise.
3531         * elf/tst-audit2.c: Likewise.
3532         * elf/tst-audit9.c: Likewise.
3533         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
3534         * elf/tst-deep1.c: Likewise.
3535         * elf/tst-dl-iter-static.c: Likewise.
3536         * elf/tst-dlmodcount.c: Likewise.
3537         * elf/tst-dlmopen1.c: Likewise.
3538         * elf/tst-dlmopen2.c: Likewise.
3539         * elf/tst-dlmopen3.c: Likewise.
3540         * elf/tst-dlopen-aout.c: Likewise.
3541         * elf/tst-dlopenrpath.c: Likewise.
3542         * elf/tst-dlsym-error.c: Likewise.
3543         * elf/tst-execstack-needed.c: Likewise.
3544         * elf/tst-execstack-prog.c: Likewise.
3545         * elf/tst-execstack.c: Likewise.
3546         * elf/tst-global1.c: Likewise.
3547         * elf/tst-gnu2-tls1.c: Likewise.
3548         * elf/tst-latepthread.c: Likewise.
3549         * elf/tst-leaks1.c: Likewise.
3550         * elf/tst-linkall-static.c: Likewise.
3551         (do_test): New function.
3552         * elf/tst-nodelete-opened.c: Likewise.
3553         * elf/tst-nodelete.cc: Likewise.
3554         * elf/tst-nodelete2.c: Likewise.
3555         * elf/tst-noload.c: Likewise.
3556         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
3557         * elf/tst-order-main.c: Likewise.
3558         * elf/tst-pathopt.c: Likewise.
3559         * elf/tst-pie2.c: Likewise.
3560         * elf/tst-piemod1.c: Likewise.
3561         * elf/tst-prelink.c: Likewise.
3562         * elf/tst-protected1a.c: Likewise.
3563         * elf/tst-protected1b.c: Likewise.
3564         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
3565         and define _GNU_SOURCE macro.
3566         (cmdline_process_function): New function.
3567         * elf/tst-relsort1.c: Likewise.
3568         * elf/tst-stackguard1.c: Likewise, import getopt.h,
3569         and define _GNU_SOURCE macro.
3570         (cmdline_process_function): New function.
3571         * elf/tst-thrlock.c: Likewise.
3572         * elf/tst-tls-dlinfo.c: Likewise.
3573         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
3574         * elf/tst-tls1.c: Likewise.
3575         * elf/tst-tls10.c: Likewise.
3576         * elf/tst-tls11.c: Likewise.
3577         * elf/tst-tls12.c: Likewise.
3578         * elf/tst-tls13.c: Likewise.
3579         * elf/tst-tls14.c: Likewise.
3580         * elf/tst-tls15.c: Likewise.
3581         * elf/tst-tls16.c: Likewise.
3582         * elf/tst-tls17.c: Likewise.
3583         * elf/tst-tls18.c: Likewise.
3584         * elf/tst-tls19.c: Likewise.
3585         * elf/tst-tls2.c: Likewise.
3586         * elf/tst-tls3.c: Likewise.
3587         * elf/tst-tls4.c: Likewise.
3588         * elf/tst-tls5.c: Likewise.
3589         * elf/tst-tls6.c: Likewise.
3590         * elf/tst-tls7.c: Likewise.
3591         * elf/tst-tls8.c: Likewise.
3592         * elf/tst-tls9.c: Likewise.
3593         * elf/tst-tlsalign-extern.c: Likewise.
3594         * elf/tst-tlsalign.c: Likewise.
3595         * elf/tst-unique1.c: Likewise.
3596         * elf/tst-unique2.c: Likewise.
3597         * elf/vismain.c: Likewise.
3599 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3601         * string/test-strnlen.c (do_page_tests): New function
3602         to check length of strings ending at the page boundary.
3603         (test_main): Added call to the do_page_tests function.
3605 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3606             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3608         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3609         (sysdep_routines): Add strnlen-power8.
3610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3611         (strnlen): Add __strnlen_power8 to list of strnlen functions.
3612         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
3613         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
3614         (__strnlen): Add __strnlen_power8 to ifunc list.
3615         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
3617 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3619         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
3620         the TEST_FUNCTION macro definition.
3621         * wcsmbs/tst-mbrtowc2.c: Likewise.
3622         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3623         * wcsmbs/tst-wchar-h.c: Likewise.
3624         * wcsmbs/tst-wcpncpy.c: Likewise.
3625         * wcsmbs/tst-wcrtomb.c: Likewise.
3626         * wcsmbs/tst-wcsnlen.c: Likewise.
3627         * wcsmbs/tst-wcstof.c: Likewise.
3629 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3631         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
3632         CALL_THREAD_FCT macro usage.
3633         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
3634         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
3635         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
3637         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
3638         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3639         (__ASSUME_REQUEUE_PI): Likewise.
3640         * sysdeps/unix/sysv/linux/kernel-features.h
3641         (__ASSUME_REQUEUE_PI): Likewise.
3642         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3643         (__ASSUME_REQUEUE_PI): Likewise.
3644         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3645         (__ASSUME_REQUEUE_PI): Likewise.
3646         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3647         (__ASSUME_REQUEUE_PI): Likewise.
3649 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3651         * resolv/tst-resolv-canonname.c: New file.
3652         * resolv/Makefile (tests): Add tst-resolv-canonname.
3653         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
3655 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3657         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
3658         Declare.
3659         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
3660         (NS_MAXCDNAME): Remove definition.
3661         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3662         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
3663         (NS_MAXCDNAME): Remove definition.
3664         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3666 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3668         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
3669         call whose result is not used.
3671 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3673         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
3674         * resolv/Makefile (tests): Add tst-ns_name.
3675         (tst-ns_name): Link with -lresolv.
3676         (tst-ns_name.out): Depend on the input data file.
3678 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3680         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
3681         Clobber also r14.
3683 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
3685         [BZ #21253]
3686         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
3687         slack space by 32KiB.
3689 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
3691         [BZ #21338]
3692         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
3693         instead of incorrect do_set_arena_test
3695 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3697         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
3698         * math/bits/math-finite.h: Likewise.
3700 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
3702         [BZ #21289]
3703         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
3705 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3707         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
3708         non expected inotify_add_watch and quotactl return.
3710 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3712         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
3713         to int32_t.
3714         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
3715         as returning int32_t.
3717 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3719         * math/math.h: Include bits/math-finite.h once per
3720         floating-point type.
3721         * math/bits/math-finite.h: Macroize all declarations by
3722         floating-point type.
3724 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3726         [BZ #21182]
3727         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
3728         near end of a page.
3729         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
3730         overflow calculation.
3732 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
3734         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
3735         (IMPL) Call with 1 instead of 0 as argument.
3737 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3739         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
3740         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
3741         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
3742         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
3743         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
3744         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
3745         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
3746         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
3747         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
3748         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3749         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3750         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3751         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3752         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3753         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3754         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3755         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3756         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3757         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
3758         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
3759         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
3760         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
3761         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
3762         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
3763         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
3764         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
3765         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
3766         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
3767         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
3768         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
3769         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
3770         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
3771         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
3772         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
3773         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
3774         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
3775         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
3776         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
3777         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
3778         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
3779         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
3780         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
3781         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
3782         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
3783         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
3784         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
3785         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
3786         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
3787         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
3788         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
3789         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
3790         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
3791         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
3792         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
3793         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
3794         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
3795         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3796         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
3797         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
3798         defined.
3799         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
3800         __NR_setgroups32 if defined.
3801         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
3802         if defined.
3803         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
3804         __NR_setresgid32 is defined.
3805         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
3806         __NR_setresuid32 if defined.
3807         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
3808         __NR_setreuid32 if defined.
3809         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
3810         defined.
3811         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
3812         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
3813         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
3814         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
3815         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
3816         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
3817         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
3818         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
3819         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
3820         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
3821         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
3822         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
3823         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3824         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
3825         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3826         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3827         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
3828         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
3829         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
3830         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
3831         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
3832         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
3833         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
3834         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
3835         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
3836         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
3837         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
3838         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
3839         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
3840         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
3841         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
3842         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
3843         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
3844         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
3845         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
3846         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
3847         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
3848         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
3849         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
3850         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
3851         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
3852         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
3853         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
3854         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
3855         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
3856         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
3857         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
3858         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
3859         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
3860         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
3861         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
3862         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
3863         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
3864         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
3865         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
3866         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
3867         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3868         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
3869         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
3870         defined.
3871         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
3872         __NR_setgroups32 if defined.
3873         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
3874         if defined.
3875         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
3876         __NR_setresgid32 is defined.
3877         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
3878         __NR_setresuid32 if defined.
3879         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
3880         __NR_setreuid32 if defined.
3881         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
3882         defined.
3884 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
3886         [BZ #21277]
3887         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
3888         unconditionally.
3889         (IMAXBEL): Likewise.
3890         (IUTF8): Likewise.
3892 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3894         * sysdeps/aarch64/libm-test-ulps: Update.
3896 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
3898         * README.tunables: Updated descriptions.
3899         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
3900         * scripts/gen-tunables.awk: Updated the code related to the
3901         commit.
3903 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
3905         * benchtests/Makefile (string-benchset): Add memcpy-random.
3906         * benchtests/bench-memcpy-random.c: New file.
3908 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3910         * stdio-common/printf.h (register_printf_modifier): Change the
3911         order of __wur and __THROW.
3912         (register_printf_type): Likewise.
3914 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3916         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
3917         test_main ().
3918         (CMDLINE_PROCESS): Use function instead of defined macro.
3919         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
3920         <suppport/support.h> to use set_fortify_handler().
3921         * string/bug-envz1.c: Import support/test-driver.c instead of
3922         test-skeleton.c.
3923         * string/bug-strcoll2.c: Likewise.
3924         * string/bug-strtok1.c: Likewise.
3925         * string/stratcliff.c: Likewise.
3926         * string/test-ffs.c: Likewise.
3927         * string/test-memccpy.c: Likewise.
3928         * string/test-memchr.c: Likewise.
3929         * string/test-memcmp.c: Likewise.
3930         * string/test-memcpy.c: Likewise.
3931         * string/test-memmem.c: Likewise.
3932         * string/test-memmove.c: Likewise.
3933         * string/test-memrchr.c: Likewise.
3934         * string/test-memset.c: Likewise.
3935         * string/test-rawmemchr.c: Likewise.
3936         * string/test-strcasecmp.c: Likewise.
3937         * string/test-strcasestr.c: Likewise.
3938         * string/test-strcat.c: Likewise.
3939         * string/test-strchr.c: Likewise.
3940         * string/test-strcmp.c: Likewise.
3941         * string/test-strcpy.c: Likewise.
3942         * string/test-string.h: Likewise.
3943         * string/test-strlen.c: Likewise.
3944         * string/test-strncasecmp.c: Likewise.
3945         * string/test-strncat.c: Likewise.
3946         * string/test-strncmp.c: Likewise.
3947         * string/test-strncpy.c: Likewise.
3948         * string/test-strnlen.c: Likewise.
3949         * string/test-strpbrk.c: Likewise.
3950         * string/test-strrchr.c: Likewise.
3951         * string/test-strspn.c: Likewise.
3952         * string/test-strstr.c: Likewise.
3953         * string/tst-bswap.c: Likewise.
3954         * string/tst-cmp.c: Likewise.
3955         * string/tst-endian.c: Likewise.
3956         * string/tst-inlcall.c: Likewise.
3957         * string/tst-strcoll-overflow.c: Likewise.
3958         * string/tst-strfry.c: Likewise.
3959         * string/tst-strlen.c: Likewise.
3960         * string/tst-strtok.c: Likewise.
3961         * string/tst-strtok_r.c: Likewise.
3962         * string/tst-strxfrm.c: Likewise.
3963         * string/tst-strxfrm2.c: Likewise.
3964         * string/tst-svc.c: Likewise.
3965         * string/tst-svc2.c: Likewise.
3967 2017-03-22  Zack Weinberg  <zackw@panix.com>
3969         * stdio-common/bug25.c: Include stdlib.h.
3970         * support/tst-support_format_dns_packet.c: Include stdio.h,
3971         stdlib.h, and string.h.
3972         * support/tst-support_record_failure.c: Include string.h.
3973         * support/tst-support_record_failure-2.sh: Adjust line number
3974         expectations and correct a typo in an error message.
3976 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
3978         [BZ #21258]
3979         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
3980         Define only if _dl_runtime_resolve is defined to
3981         _dl_runtime_resolve_sse_vex.
3982         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
3983         Fallthrough to _dl_runtime_resolve_sse_vex.
3985 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
3987         * INSTALL: Regenerated.
3989 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
3991         * config.h.in: Add LINK_OBSOLETE_NSL.
3992         * config.make.in: Add build-obsolete-nsl.
3993         * configure.ac: Add obsolete-nsl option.
3994         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
3995         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
3996         * include/rpcsvc/nislib.h: Likewise.
3997         * include/rpcsvc/ypclnt.h: Likewise.
3998         * manual/install.texi: Document --enable-obsolete-nsl.
3999         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
4000         * nis/nis_add.c: Replace libnsl_hidden_def with
4001         libnsl_hidden_nolink_def.
4002         * nis/nis_addmember.c: Likewise.
4003         * nis/nis_call.c: Likewise.
4004         * nis/nis_clone_obj.c: Likewise.
4005         * nis/nis_defaults.c: Likeise.
4006         * nis/nis_domain_of_r.c: Likewise.
4007         * nis/nis_error.c: Likewise.
4008         * nis/nis_file.c: Likewise.
4009         * nis/nis_free.c: Likewise.
4010         * nis_local_names.c: Likewise.
4011         * nis/nis_lookup.c: Likewise.
4012         * nis/nis_modify.c: Likewise.
4013         * nis/nis_print.c: Likewise.
4014         * nis/nis_remove.c: Likewise.
4015         * nis/nis_table.c: Likewise.
4016         * nis/nis_util.c: Likewise.
4017         * nis/nis_xdr.c: Likewise.
4018         * nis/yp_xdr.c: Likewise.
4019         * nis/ypclnt.c: Likewise.
4020         * nis/ypupdate_xdr.c: Likewise.
4021         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
4022         * nis/nis_clone_dir.c: Likewise.
4023         * nis/nis_clone_res.c: Likewise.
4024         * nis/nis_creategroup.c: Likewise.
4025         * nis/nis_destroygroup.c: Likewise.
4026         * nis/nis_domain_of.c: Likewise.
4027         * nis/nis_getservlist.c: Likewise.
4028         * nis/nis_ismember.c: Likewise.
4029         * nis/nis_mkdir.c: Likewise.
4030         * nis/nis_ping.c: Likewise.
4031         * nis/nis_print_group_entry.c: Likewise.
4032         * nis/nis_removemember.c: Likewise.
4033         * nis/nis_rmdir.c: Likewise.
4034         * nis/nis_server.c: Likewise.
4035         * nis/nis_subr.c: Likewise.
4036         * nis/nis_verifygroup.c: Likewise.
4038 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4040         * malloc/tst-interpose-aux.c (check_for_allocations):
4041         Move compiler barrier before free.
4043 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
4045         [BZ #21279]
4046         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
4047         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
4048         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
4049         x86_64-x32-linux.
4050         (mq_attr.mq_maxmsg): Likewise.
4051         (mq_attr.mq_msgsize): Likewise.
4052         (mq_attr.mq_curmsgs): Likewise.
4054         [BZ #21278]
4055         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
4056         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
4057         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
4058         mips-o32-linux.
4060         [BZ #21268]
4061         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
4062         if [__USE_MISC]
4063         (NL3): Likewise.
4065 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
4067         [BZ #21275]
4068         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
4069         __stack to __stackbase.
4070         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
4071         checks so we can include defined(__ia64__) first.
4073 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
4075         * sysdeps/unix/sysv/linux/ttyname.h: New file.
4076         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
4077         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
4078         Call is_pty when the link does not exist or does not match, fail
4079         with ENODEV when it returns true.
4080         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
4081         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
4082         Call is_pty when the link does not exist or does not match, fail
4083         with ENODEV when it returns true.
4085 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
4087         [BZ #16437]
4088         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
4089         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
4090         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
4091         x86_64-x32-linux.
4092         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
4093         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
4094         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
4096         [BZ #21261]
4097         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
4098         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
4099         names for all fields.
4100         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
4101         for jmp_buf field renaming.
4102         (_JMPBUF_UNWINDS_ADJ): Likewise.
4104         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
4105         with allow-header.
4107 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
4109         * malloc/malloc.c (unlink): Add consistency check between size and
4110         next->prev->size, to further harden against 1-byte overflows.
4112 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
4114         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
4115         CPU_FEATURES_CPU_P.
4117 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
4119         [BZ #21259]
4120         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
4121         unconditionally, not just for [__USE_MISC].
4123         [BZ #17786]
4124         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
4125         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
4126         mips-o32-linux.
4128         [BZ #21260]
4129         * sysdeps/unix/sysv/linux/alpha/Makefile
4130         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
4131         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
4133         * conform/conformtest.pl ($cross): New variable.
4134         (--cross): New command-line option.
4135         (runtest): Skip test execution when cross-compiling.
4136         * conform/Makefile (conformtest-cross): New variable.
4137         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
4138         conformtest.pl.
4140         * conform/conformtest.pl ($xfail_str): New variable.
4141         (--xfail=): New command-line option.
4142         (top level): Handle expectations starting xfail[cond]-.
4143         * conform/Makefile (conformtest-xfail): New variable.
4144         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
4145         conformtest.pl.
4147 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
4149         * conform/conformtest.pl: Use compilation instead of execution
4150         tests for testing values of constants and usability in #if.
4152 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4154         * math/auto-libm-test-in: Mark some catan and catanh as
4155         xfail-rounding:ibm128-libgcc.
4156         * math/auto-libm-test-out-catan: Regenerate.
4157         * math/auto-libm-test-out-catanh: Likewise.
4159 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
4161         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
4162         (__END_NAMESPACE_STD): Likewise.
4163         (__USING_NAMESPACE_STD): Likewise.
4164         (__BEGIN_NAMESPACE_C99): Likewise.
4165         (__END_NAMESPACE_C99): Likewise.
4166         (__USING_NAMESPACE_C99): Likewise.
4167         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
4168         undefine macro.
4169         (_Mdouble_END_NAMESPACE): Likewise.
4170         * ctype/ctype.h: Do not handle C++ namespaces.
4171         * libio/bits/stdio-ldbl.h: Likewise.
4172         * libio/stdio.h: Likewise.
4173         * locale/locale.h: Likewise.
4174         * math/bits/mathcalls.h: Likewise.
4175         * setjmp/setjmp.h: Likewise.
4176         * signal/signal.h: Likewise.
4177         * stdlib/bits/stdlib-float.h: Likewise.
4178         * stdlib/bits/stdlib-ldbl.h: Likewise.
4179         * stdlib/stdlib.h: Likewise.
4180         * string/string.h: Likewise.
4181         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
4182         * time/bits/types/clock_t.h: Likewise.
4183         * time/bits/types/struct_tm.h: Likewise.
4184         * time/bits/types/time_t.h: Likewise.
4185         * time/time.h: Likewise.
4186         * wcsmbs/bits/wchar-ldbl.h: Likewise.
4187         * wcsmbs/uchar.h: Likewise.
4188         * wcsmbs/wchar.h: Likewise.
4189         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
4190         * wctype/wctype.h: Do not handle C++ namespaces.
4191         * scripts/begin-end-check.pl: Remove.
4192         * Makefile (installed-headers): Likewise.
4193         (tests-special): Do not add $(objpfx)begin-end-check.out.
4194         ($(objpfx)begin-end-check.out): Remove.
4196 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
4197             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4199         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
4200         (DL_PLATFORM_INIT): New define.
4201         (dl_platform_init): New function.
4202         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
4203         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
4204         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
4205         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
4206         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
4208 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
4210         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
4211         instead of PIC.
4213 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
4215         [BZ #21094]
4216         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4217         24+24+24-bit pi for wider range of values around pi/2.
4218         * math/auto-libm-test-in: Add more tests of cos and tan.
4219         * math/auto-libm-test-out-cos: Regenerated.
4220         * math/auto-libm-test-out-tan: Likewise.
4222 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
4224         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
4225         (RTLD_START): Don't record stack end address in _dl_start_user.
4227 2017-03-15  Alexey Neyman  <stilor@att.net>
4229         [BZ #21088]
4230         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
4231         around definitions match those around use.
4233 2017-03-15  Alexey Neyman  <stilor@att.net>
4235         * configure.ac: Avoid empty subexpression in grep.
4236         * configure: Regenerate.
4238 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4240         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
4241         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
4242         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
4243         (test_wrp_rv): Fix format.
4244         (test_wrp_rv2): New macro.
4245         (do_test): Handle mlock return on 64 bits kernels with 32 bits
4246         binaries.
4248 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
4250         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
4251         Use a union when storing pointers.
4252         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
4253         cast result when passing to INIT_VEC_PTRS_LOOP.
4254         (VECTOR_WRAPPER_fFF_3): Likewise.
4255         (VECTOR_WRAPPER_fFF_4): Likewise.
4257 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4259         * include/bits/mathcalls-helper-functions.h: New file.
4260         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
4261         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
4262         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
4263         math/bits/mathcalls-helper-functions.h.
4264         * math/bits/mathcalls-helper-functions.h: New file.
4265         * math/math.h: Include bits/mathcalls-helper-functions.h for
4266         float, double, and long double.
4268 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4270         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
4271         instead of feraiseexcept.
4273 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4275         [BZ #21243]
4276         * support/temp_file.c (support_delete_temp_files): Add comment
4277         about ignored errors.
4279 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4281         [BZ #21244]
4282         * support/xclose.c: New file.
4283         * support/Makefile (libsupport-routines): Add xclose.
4284         * support/xunistd.h (xclose): Declare.
4285         * support/resolv_test.c (server_thread_tcp_client)
4286         (server_thread_tcp, make_server_sockets, resolv_test_start)
4287         (resolv_test_end): Call xclose instead of close.
4288         * support/support_enter_network_namespace.c
4289         (support_enter_network_namespace): Likewise.
4290         * support/support_run_diff.c (write_to_temp_file): Likewise.
4292 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4294         * support/support_format_dns_packet.c (support_format_dns_packet):
4295         Handle CNAME records in the response.  Extract RDATA names from
4296         rdata, not the whole packet.  Check AAAA record length.
4297         * support/tst-support_format_dns_packet.c: New file.
4298         * support/Makefile (tests): Add tst-support_format_dns_packet.
4299         (tst-support_format_dns_packet): Link against libresolv.
4301 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4303         [BZ #21232]
4304         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
4305         posix_fadvise64 weak_alias for static build.
4307 2017-03-14  Andreas Schwab  <schwab@suse.de>
4309         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
4310         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
4311         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
4312         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
4313         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
4314         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
4315         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
4316         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
4318 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4320         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
4321         posix error code.
4322         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4324 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4326         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
4327         no_isolate usage for SH.
4329 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
4331         [BZ #15105]
4332         [BZ #19463]
4333         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
4334         * inet/rcmd.c (rcmd_af): Likewise.
4335         * inet/rexec.c   (rexec_af): Likewise.
4336         * intl/dcigettext.c (_LIBC): Likewise.
4337         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
4338         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
4339         * locale/setlocale.c (setlocale): Likewise.
4340         * posix/spawn_faction_addopen.c
4341         (posix_spawn_file_actions_addopen): Likewise.
4342         * stdlib/putenv.c (putenv): Use __strndup.
4343         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
4344         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
4345         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
4346         (__Need_M_And_C) Remove define/undef.
4347         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
4348         (__malloc_and_calloc_defined): Remove define.
4349         * string/bits/string2.h (__strdup): Remove define.
4350         (strdup): Likewise.
4351         (__strndup): Likewise.
4352         (strndup): Likewise.
4354 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
4356         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
4357         macro.
4358         (IPV6_ADDR_PREFERENCES): Likewise.
4359         (IPV6_MINHOPCOUNT): Likewise.
4360         (IPV6_ORIGDSTADDR): Likewise.
4361         (IPV6_RECVORIGDSTADDR): Likewise.
4362         (IPV6_TRANSPARENT): Likewise.
4363         (IPV6_UNICAST_IF): Likewise.
4364         (IPV6_RECVFRAGSIZE): Likewise.
4366 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
4368         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
4370 2017-03-12  Alexey Neyman <stilor@att.net>
4372         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
4373         in R_SH_DIR32 case is always false when inlined from
4374         dl-conflict.c. Ifdef out to prevent GCC from insertin an
4376 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
4378         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4379         (__ASSUME_RECV_SYSCALL): Replace duplicate by
4380         __ASSUME_SEND_SYSCALL.
4382 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
4384         * sunrpc/Makefile: don't build and install rpcsvc header
4385         files, rpcgen and librpcsvc.a by default.
4387 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
4389         * math/auto-libm-test-out-catan: Regenerated.
4390         * math/auto-libm-test-out-catanh: Likewise.
4391         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4393 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
4395         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
4396         for long double with corrected test expectations.
4398 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4400         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
4401         Define.
4402         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4403         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
4404         * sysdeps/unix/sysv/linux/nios2/sysdep.h
4405         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4406         * sysdeps/unix/sysv/linux/tile/sysdep.h
4407         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4408         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4409         (__ASSUME_RECV_SYSCALL): Define.
4410         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4411         (__ASSUME_RECV_SYSCALL): Likewise.
4412         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4413         (__ASSUME_RECV_SYSCALL): Likewise.
4414         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4415         (__ASSUME_RECV_SYSCALL): Likewise.
4416         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4417         (__ASSUME_RECV_SYSCALL): Likewise.
4418         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4419         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
4420         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4421         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4422         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4423         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4424         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
4425         auto-generation list.
4426         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4427         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4428         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
4429         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4430         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4431         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
4432         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
4433         __ASSUME_SENDTO_SYSCALL.
4434         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
4435         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
4436         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
4438         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
4439         auto-generation list.
4440         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4441         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4442         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4443         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4444         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4445         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4446         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4447         * sysdeps/unix/sysv/linux/kernel-features.h
4448         (__ASSUME_SENDTO_SYSCALL): Define by default.
4449         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4450         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
4451         __NR_sendto.
4452         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4453         (__ASSUME_SENDTO_SYSCALL): Likewise.
4454         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4455         (__ASSUME_SENDTO_SYSCALL): Likewise.
4456         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4457         (__ASSUME_SENDTO_SYSCALL): Remove definition.
4458         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4459         (__ASSUME_SENDTO_SYSCALL): Likewise.
4460         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
4461         (__ASSUME_SENDTO_SYSCALL): Likewise.
4462         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
4464         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
4465         auto-generation list.
4466         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4467         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4468         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4469         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4470         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4471         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4472         (__ASSUME_RECV_SYSCALL): New define.
4473         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4474         (__ASSUME_RECV_SYSCALL): Likewise.
4475         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4476         (__ASSUME_RECV_SYSCALL): Likewise.
4477         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4478         (__ASSUME_RECV_SYSCALL): Likewise.
4479         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4480         (__ASSUME_RECV_SYSCALL): Likewise.
4481         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4482         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4483         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4484         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4485         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4486         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4487         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
4488         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
4489         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
4490         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
4491         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
4492         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
4494         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
4495         auto-generation list.
4496         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4497         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4498         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4499         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4500         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4501         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4502         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4503         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4504         (__ASSUME_RECVFROM_SYSCALL): Define by default.
4505         * sysdeps/unix/sysv/linux/kernel-features.h
4506         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
4507         __NR_recvfrom.
4508         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4509         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4510         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4511         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4512         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4513         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
4514         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4515         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4516         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4517         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4518         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4519         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4520         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
4522         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
4523         auto-generation list.
4524         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4525         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4526         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4527         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4528         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4529         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4530         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4531         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
4532         * sysdeps/unix/sysv/linux/kernel-features.h
4533         (__ASSUME_CONNECT_SYSCALL): Define.
4534         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4535         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
4536         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4537         (__ASSUME_CONNECT_SYSCALL): Likewise.
4538         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4539         (__ASSUME_CONNECT_SYSCALL): Likewise.
4540         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4541         (__ASSUME_CONNECT_SYSCALL): Likewise.
4543         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
4544         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
4545         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
4546         auto-generation list.
4547         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4548         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4549         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4550         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4551         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4552         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4553         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4554         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4555         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4556         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4557         * sysdeps/unix/sysv/linux/kernel-features.h
4558         (__ASSUME_ACCEPT_SYSCALL): New define.
4559         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4560         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4561         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
4562         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4563         (__ASSUME_ACCEPT_SYSCALL): Define.
4564         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4565         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4566         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4567         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4568         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4569         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4570         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4571         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4572         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
4574 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
4575             Zack Weinberg  <zackw@panix.com>
4577         * posix/test-errno.c: New file.
4578         * posix/Makefile (tests): Add test-errno.
4579         * sysdeps/unix/sysv/linux/test-errno.c: New file.
4580         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
4582 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
4584         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4586 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4588         * time/tzset.c (compute_offset): Open-code min macro.
4589         (min, max, sign): Remove.
4591 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4593         [BZ #15576]
4594         Remove TZNAME_MAX limit from sysconf.
4595         * include/time.h (__tzname_cur_max, __tzname_max): Remove
4596         declaration.
4597         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
4598         compute_tzname_max.
4599         (compute_tzname_max): Remove.
4600         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
4601         (update_vars): Do not update __tzname_cur_max.
4602         (tzset_internal): Remove argument.
4603         (__tzset): Adjust call to tzset_internal.
4604         (__tz_convert): Likewise.
4606         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
4607         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4608         * manual/conf.texi (Sysconf Definition): Update comment.
4610 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4612         [BZ #21209]
4613         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
4614         AT_SECURE processes.
4615         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
4616         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
4617         (test_child): Likewise.
4618         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
4620 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4622         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
4624 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4626         * sysdeps/s390/atomic-machine.h
4627         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
4628         (__arch_compare_and_exchange_val_8_acq,
4629         __arch_compare_and_exchange_val_16_acq,
4630         __arch_compare_and_exchange_val_32_acq,
4631         __arch_compare_and_exchange_val_64_acq):
4632         Delete macro.
4633         (atomic_compare_and_exchange_val_acq,
4634         atomic_compare_and_exchange_val_rel,
4635         atomic_compare_and_exchange_bool_acq,
4636         catomic_compare_and_exchange_bool_acq,
4637         atomic_exchange_acq, atomic_exchange_rel,
4638         atomic_exchange_and_add_acq,
4639         atomic_exchange_and_add_rel,
4640         catomic_exchange_and_add, atomic_or_val,
4641         atomic_or, catomic_or, atomic_bit_test_set,
4642         atomic_and_val, atomic_and, catomic_and):
4643         Define macros with help of C11 atomic builtins.
4645 2017-03-03  Justus Winter <justus@gnupg.org>
4647         * sysdeps/mach/hurd/ftruncate64.c: New file.
4648         * sysdeps/mach/hurd/truncate64.c: Likewise.
4650 2017-03-03  Florian Weimer  <fweimer@redhat.com>
4652         * time/tzfile.c (NOID): Do not define.
4653         * time/tzset.c (NOID): Likewise.
4655 2017-03-03  Florian Weimer  <fweimer@redhat.com>
4657         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
4659 2017-03-02  Florian Weimer  <fweimer@redhat.com>
4661         * elf/get-dynamic-info.h: Remove header file inclusion guard.
4663 2017-03-02  Florian Weimer  <fweimer@redhat.com>
4665         [BZ #21015]
4666         * manual/install.texi (Configuring and compiling): Document
4667         --enable-bind-now.
4668         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
4669         (build-shlib-helper): Use $(LDFLAGS-lib.so).
4670         (format.lds): Likewise.
4671         [bind-now] (LDFLAGS-c.so): Remove.
4672         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
4673         be R_X86_64_GLOB_DAT.
4674         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
4675         relocation can be R_386_GLOB_DAT.
4676         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
4677         relocaiton can be R_ALPHA_GLOB_DAT.
4678         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
4680 2017-03-01  Zack Weinberg  <zackw@panix.com>
4682         * include/libc-pointer-arith.h: New file.  Define
4683         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
4684         PTR_ALIGN_DOWN here.
4685         * include/libc-internal.h: Definitions of above macros
4686         moved from here.  Don't include libc-diag.h anymore either.
4687         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
4688         Don't include libc-internal.h.
4690         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
4691         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
4692         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
4693         * string/strcoll_l.c, sysdeps/nacl/brk.c
4694         * sysdeps/unix/clock_settime.c
4695         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
4696         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
4697         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4698         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
4699         Don't include libc-internal.h.
4701         * elf/get-dynamic-info.h, iconv/loop.c
4702         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
4703         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
4704         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
4705         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
4706         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4707         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
4708         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4709         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
4710         * sysdeps/ieee754/ldbl-128/k_tanl.c
4711         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4712         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4713         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
4714         Include libc-diag.h instead of libc-internal.h.
4716         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
4717         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
4718         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
4719         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
4720         * sysdeps/unix/sysv/linux/spawni.c
4721         * sysdeps/x86_64/nptl/tls.h:
4722         Include libc-pointer-arith.h instead of libc-internal.h.
4724         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
4725         * sysdeps/x86_64/atomic-machine.h:
4726         Add multiple include guard.
4728         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
4729         * string/strcasestr.c: No need to include config.h.
4730         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
4731         sys/auxv.h. Don't include sysdep.h.
4732         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
4734         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
4735         DL_LOOKUP_ADDRESS.
4736         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
4737         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
4738         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
4739         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
4740         of ARTIFICIAL_LIMIT.
4741         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
4742         declaration of __clone2.
4744 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4746         * scripts/backport-support.sh (latest_commit): New file.
4748 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4750         [BZ #20257]
4751         * inet/Makefile (routines): Add deadline.
4752         (tests-static): Add tst-deadline.
4753         * inet/net-internal.h (struct deadline_current_time)
4754         (__deadline_current_time, struct deadline, __deadline_is_infinite)
4755         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
4756         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
4757         * inet/deadline.c: New file.
4758         * inet/tst-deadline.c: Likewise.
4759         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
4760         tst-udp-timeout, tst-udp-garbage.
4761         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
4762         explicitly.
4763         (tst-udp-garbage): Likewise.  Also link against thread library.
4764         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
4765         struct layout is part of the ABI.
4766         (clntudp_call): Rework timeout handling.
4767         * sunrpc/tst-udp-garbage.c: New file.
4768         * sunrpc/tst-udp-nonblocking.c: Likewise.
4769         * sunrpc/tst-udp-timeout.c: Likewise.
4771 2017-02-28  Florian Weimer  <fweimer@redhat.com>
4773         [BZ #5010]
4774         * sunrpc/svc.c (svc_is_mapped): Remove.
4775         (svc_unregister): Obtain mapped status while the service is still
4776         registered.
4777         * sunrpc/Makefile [have-thread-library] (tests): Add
4778         tst-svc_register.
4779         (tst-svc_register): Link against libc.so explicitly and the thread
4780         library.
4781         * sunrpc/tst-svc_register.c: New file.
4783 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
4785         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
4786         * sysdeps/pthread/bits/sigthread.h: Likewise.
4788 2017-02-27  Florian Weimer  <fweimer@redhat.com>
4790         [BZ #21115]
4791         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
4792         * sunrpc/Makefile (tests): Add tst-udp-error.
4793         (tst-udp-error): Link against libc.so explicitly.
4794         * sunrpc/tst-udp-error: New file.
4796 2017-02-25  Zack Weinberg  <zackw@panix.com>
4798         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
4799         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
4801         * sysdeps/generic/math_ldbl.h
4802         * sysdeps/ia64/fpu/math_ldbl.h
4803         * sysdeps/ieee754/ldbl-128/math_ldbl.h
4804         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4805         * sysdeps/ieee754/ldbl-96/math_ldbl.h
4806         * sysdeps/powerpc/fpu/math_ldbl.h
4807         * sysdeps/x86_64/fpu/math_ldbl.h:
4808         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
4809         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
4810         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
4811         Add copyright notices.
4813         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
4814         Don't use EXTRACT_WORDS64.
4816         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
4817         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
4818         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
4819         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
4820         Include math_ldbl.h, not math_private.h.
4822 2017-02-25  Zack Weinberg  <zackw@panix.com>
4824         * include/libc-diag.h: New file.  Define ignore_value,
4825         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
4826         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
4828         * include/libc-internal.h: Definitions of above macros moved from
4829         here.  Include libc-diag.h.  Add copyright notice.
4831         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
4832         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
4833         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
4834         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
4835         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
4836         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
4837         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
4838         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
4839         Include libc-diag.h instead of libc-internal.h.
4841         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
4842         call to unsetenv (NULL).
4843         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
4844         call to pthread_mutexattr_destroy (NULL).
4846 2017-02-25  Zack Weinberg  <zackw@panix.com>
4848         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
4849         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
4850         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
4851         gets was removed from C++ in C++14.
4852         * include/stdio.h: Remove redundant declaration of gets.
4853         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
4854         be declared, since we are testing it.
4855         * stdio-common/Makefile (tst-gets.c): Compile with
4856         -Wno-deprecated-declarations.
4857         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
4858         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
4859         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
4860         Compile with -Wno-deprecated-declarations.
4862 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4864         * math/libm-test-support.c (check_ulp): Use LIT() around literal
4865         numbers.
4867 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4869         * resolv/tst-resolv-qtypes.c (domain):
4870         Change type to const pointer to const char.
4872 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
4874         * math/Makefile (libm-tests-generated): Remove variable.
4875         (libm-tests-base-normal): New variable.
4876         (libm-tests-base-finite): Likewise.
4877         (libm-tests-base-inline): Likewise.
4878         (libm-tests-base): Likewise.
4879         (libm-tests-normal): Likewise.
4880         (libm-tests-finite): Likewise.
4881         (libm-tests-inline): Likewise.
4882         (libm-tests-vector): Likewise.
4883         (libm-tests): Define in terms of these new variables.
4884         (libm-tests-for-type): New variable.
4885         (libm-tests.o): Move definition.
4886         (tests): Move addition of $(libm-tests).
4887         (generated): Update for new and removed libm test files.
4888         ($(objpfx)libm-test.c): Remove target.
4889         ($(objpfx)libm-have-vector-test.h): Likewise.
4890         (CFLAGS-test-double-vlen2.c): Remove variable.
4891         (CFLAGS-test-double-vlen4.c): Likewise.
4892         (CFLAGS-test-double-vlen8.c): Likewise.
4893         (CFLAGS-test-float-vlen4.c): Likewise.
4894         (CFLAGS-test-float-vlen8.c): Likewise.
4895         (CFLAGS-test-float-vlen16.c): Likewise.
4896         (CFLAGS-test-float.c): Likewise.
4897         (CFLAGS-test-float-finite.c): Likewise.
4898         (CFLAGS-libm-test-support-float.c): Likewise.
4899         (CFLAGS-test-double.c): Likewise.
4900         (CFLAGS-test-double-finite.c): Likewise.
4901         (CFLAGS-libm-test-support-double.c): Likewise.
4902         (CFLAGS-test-ldouble.c): Likewise.
4903         (CFLAGS-test-ldouble-finite.c): Likewise.
4904         (CFLAGS-libm-test-support-ldouble.c): Likewise.
4905         (libm-test-inline-cflags): New variable.
4906         (CFLAGS-test-ifloat.c): Remove variable.
4907         (CFLAGS-test-idouble.c): Likewise.
4908         (CFLAGS-test-ildouble.c): Likewise.
4909         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
4910         dependencies.
4911         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
4912         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
4913         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
4914         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
4915         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
4916         Likewise.
4917         (dependencies on libm-test-support-*.o): Remove.
4918         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
4919         rules using iterators.
4920         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
4921         Likewise.
4922         ($(objpfx)libm-test-support-$(o).o): Likewise.
4923         ($(addprefix $(objpfx),$(filter-out $(tests-static)
4924         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
4925         instead.
4926         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
4927         define rule instead.
4928         * math/README.libm-test: Update.
4929         * math/libm-test-acos.inc: Include libm-test-driver.c.
4930         (do_test): New function.
4931         * math/libm-test-acosh.inc: Include libm-test-driver.c.
4932         (do_test): New function.
4933         * math/libm-test-asin.inc: Include libm-test-driver.c.
4934         (do_test): New function.
4935         * math/libm-test-asinh.inc: Include libm-test-driver.c.
4936         (do_test): New function.
4937         * math/libm-test-atan.inc: Include libm-test-driver.c.
4938         (do_test): New function.
4939         * math/libm-test-atan2.inc: Include libm-test-driver.c.
4940         (do_test): New function.
4941         * math/libm-test-atanh.inc: Include libm-test-driver.c.
4942         (do_test): New function.
4943         * math/libm-test-cabs.inc: Include libm-test-driver.c.
4944         (do_test): New function.
4945         * math/libm-test-cacos.inc: Include libm-test-driver.c.
4946         (do_test): New function.
4947         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
4948         (do_test): New function.
4949         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
4950         (do_test): New function.
4951         * math/libm-test-carg.inc: Include libm-test-driver.c.
4952         (do_test): New function.
4953         * math/libm-test-casin.inc: Include libm-test-driver.c.
4954         (do_test): New function.
4955         * math/libm-test-casinh.inc: Include libm-test-driver.c.
4956         (do_test): New function.
4957         * math/libm-test-catan.inc: Include libm-test-driver.c.
4958         (do_test): New function.
4959         * math/libm-test-catanh.inc: Include libm-test-driver.c.
4960         (do_test): New function.
4961         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
4962         (do_test): New function.
4963         * math/libm-test-ccos.inc: Include libm-test-driver.c.
4964         (do_test): New function.
4965         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
4966         (do_test): New function.
4967         * math/libm-test-ceil.inc: Include libm-test-driver.c.
4968         (do_test): New function.
4969         * math/libm-test-cexp.inc: Include libm-test-driver.c.
4970         (do_test): New function.
4971         * math/libm-test-cimag.inc: Include libm-test-driver.c.
4972         (do_test): New function.
4973         * math/libm-test-clog.inc: Include libm-test-driver.c.
4974         (do_test): New function.
4975         * math/libm-test-clog10.inc: Include libm-test-driver.c.
4976         (do_test): New function.
4977         * math/libm-test-conj.inc: Include libm-test-driver.c.
4978         (do_test): New function.
4979         * math/libm-test-copysign.inc: Include libm-test-driver.c.
4980         (do_test): New function.
4981         * math/libm-test-cos.inc: Include libm-test-driver.c.
4982         (do_test): New function.
4983         * math/libm-test-cosh.inc: Include libm-test-driver.c.
4984         (do_test): New function.
4985         * math/libm-test-cpow.inc: Include libm-test-driver.c.
4986         (do_test): New function.
4987         * math/libm-test-cproj.inc: Include libm-test-driver.c.
4988         (do_test): New function.
4989         * math/libm-test-creal.inc: Include libm-test-driver.c.
4990         (do_test): New function.
4991         * math/libm-test-csin.inc: Include libm-test-driver.c.
4992         (do_test): New function.
4993         * math/libm-test-csinh.inc: Include libm-test-driver.c.
4994         (do_test): New function.
4995         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
4996         (do_test): New function.
4997         * math/libm-test-ctan.inc: Include libm-test-driver.c.
4998         (do_test): New function.
4999         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
5000         (do_test): New function.
5001         * math/libm-test-erf.inc: Include libm-test-driver.c.
5002         (do_test): New function.
5003         * math/libm-test-erfc.inc: Include libm-test-driver.c.
5004         (do_test): New function.
5005         * math/libm-test-exp.inc: Include libm-test-driver.c.
5006         (do_test): New function.
5007         * math/libm-test-exp10.inc: Include libm-test-driver.c.
5008         (do_test): New function.
5009         * math/libm-test-exp2.inc: Include libm-test-driver.c.
5010         (do_test): New function.
5011         * math/libm-test-expm1.inc: Include libm-test-driver.c.
5012         (do_test): New function.
5013         * math/libm-test-fabs.inc: Include libm-test-driver.c.
5014         (do_test): New function.
5015         * math/libm-test-fdim.inc: Include libm-test-driver.c.
5016         (do_test): New function.
5017         * math/libm-test-floor.inc: Include libm-test-driver.c.
5018         (do_test): New function.
5019         * math/libm-test-fma.inc: Include libm-test-driver.c.
5020         (do_test): New function.
5021         * math/libm-test-fmax.inc: Include libm-test-driver.c.
5022         (do_test): New function.
5023         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
5024         (do_test): New function.
5025         * math/libm-test-fmin.inc: Include libm-test-driver.c.
5026         (do_test): New function.
5027         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
5028         (do_test): New function.
5029         * math/libm-test-fmod.inc: Include libm-test-driver.c.
5030         (do_test): New function.
5031         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
5032         (do_test): New function.
5033         * math/libm-test-frexp.inc: Include libm-test-driver.c.
5034         (do_test): New function.
5035         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
5036         (do_test): New function.
5037         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
5038         (do_test): New function.
5039         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
5040         (do_test): New function.
5041         * math/libm-test-hypot.inc: Include libm-test-driver.c.
5042         (do_test): New function.
5043         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
5044         (do_test): New function.
5045         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
5046         (do_test): New function.
5047         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
5048         (do_test): New function.
5049         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
5050         (do_test): New function.
5051         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
5052         (do_test): New function.
5053         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
5054         (do_test): New function.
5055         * math/libm-test-isinf.inc: Include libm-test-driver.c.
5056         (do_test): New function.
5057         * math/libm-test-isless.inc: Include libm-test-driver.c.
5058         (do_test): New function.
5059         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
5060         (do_test): New function.
5061         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
5062         (do_test): New function.
5063         * math/libm-test-isnan.inc: Include libm-test-driver.c.
5064         (do_test): New function.
5065         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
5066         (do_test): New function.
5067         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
5068         (do_test): New function.
5069         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
5070         (do_test): New function.
5071         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
5072         (do_test): New function.
5073         * math/libm-test-iszero.inc: Include libm-test-driver.c.
5074         (do_test): New function.
5075         * math/libm-test-j0.inc: Include libm-test-driver.c.
5076         (do_test): New function.
5077         * math/libm-test-j1.inc: Include libm-test-driver.c.
5078         (do_test): New function.
5079         * math/libm-test-jn.inc: Include libm-test-driver.c.
5080         (do_test): New function.
5081         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
5082         (do_test): New function.
5083         * math/libm-test-llogb.inc: Include libm-test-driver.c.
5084         (do_test): New function.
5085         * math/libm-test-llrint.inc: Include libm-test-driver.c.
5086         (do_test): New function.
5087         * math/libm-test-llround.inc: Include libm-test-driver.c.
5088         (do_test): New function.
5089         * math/libm-test-log.inc: Include libm-test-driver.c.
5090         (do_test): New function.
5091         * math/libm-test-log10.inc: Include libm-test-driver.c.
5092         (do_test): New function.
5093         * math/libm-test-log1p.inc: Include libm-test-driver.c.
5094         (do_test): New function.
5095         * math/libm-test-log2.inc: Include libm-test-driver.c.
5096         (do_test): New function.
5097         * math/libm-test-logb.inc: Include libm-test-driver.c.
5098         (do_test): New function.
5099         * math/libm-test-lrint.inc: Include libm-test-driver.c.
5100         (do_test): New function.
5101         * math/libm-test-lround.inc: Include libm-test-driver.c.
5102         (do_test): New function.
5103         * math/libm-test-modf.inc: Include libm-test-driver.c.
5104         (do_test): New function.
5105         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
5106         (do_test): New function.
5107         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
5108         (do_test): New function.
5109         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
5110         (do_test): New function.
5111         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
5112         (do_test): New function.
5113         * math/libm-test-nextup.inc: Include libm-test-driver.c.
5114         (do_test): New function.
5115         * math/libm-test-pow.inc: Include libm-test-driver.c.
5116         (do_test): New function.
5117         * math/libm-test-remainder.inc: Include libm-test-driver.c.
5118         (do_test): New function.
5119         * math/libm-test-remquo.inc: Include libm-test-driver.c.
5120         (do_test): New function.
5121         * math/libm-test-rint.inc: Include libm-test-driver.c.
5122         (do_test): New function.
5123         * math/libm-test-round.inc: Include libm-test-driver.c.
5124         (do_test): New function.
5125         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
5126         (do_test): New function.
5127         * math/libm-test-scalb.inc: Include libm-test-driver.c.
5128         (do_test): New function.
5129         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
5130         (do_test): New function.
5131         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
5132         (do_test): New function.
5133         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
5134         (do_test): New function.
5135         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
5136         (do_test): New function.
5137         * math/libm-test-signbit.inc: Include libm-test-driver.c.
5138         (do_test): New function.
5139         * math/libm-test-significand.inc: Include libm-test-driver.c.
5140         (do_test): New function.
5141         * math/libm-test-sin.inc: Include libm-test-driver.c.
5142         (do_test): New function.
5143         * math/libm-test-sincos.inc: Include libm-test-driver.c.
5144         (do_test): New function.
5145         * math/libm-test-sinh.inc: Include libm-test-driver.c.
5146         (do_test): New function.
5147         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
5148         (do_test): New function.
5149         * math/libm-test-tan.inc: Include libm-test-driver.c.
5150         (do_test): New function.
5151         * math/libm-test-tanh.inc: Include libm-test-driver.c.
5152         (do_test): New function.
5153         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
5154         (do_test): New function.
5155         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
5156         (do_test): New function.
5157         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
5158         (do_test): New function.
5159         * math/libm-test-trunc.inc: Include libm-test-driver.c.
5160         (do_test): New function.
5161         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
5162         (do_test): New function.
5163         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
5164         (do_test): New function.
5165         * math/libm-test-y0.inc: Include libm-test-driver.c.
5166         (do_test): New function.
5167         * math/libm-test-y1.inc: Include libm-test-driver.c.
5168         (do_test): New function.
5169         * math/libm-test-yn.inc: Include libm-test-driver.c.
5170         (do_test): New function.
5171         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
5172         (HAVE_VECTOR): Remove macro.
5173         (START): Do not call HAVE_VECTOR.
5174         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
5175         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
5176         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
5177         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
5178         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
5179         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
5180         * math/test-math-vector.h (FUNC_TEST): New macro.
5181         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
5182         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
5183         (double-vlen4-funcs): Likewise.
5184         (double-vlen4-avx2-funcs): Likewise.
5185         (double-vlen8-funcs): Likewise.
5186         (float-vlen4-funcs): Likewise.
5187         (float-vlen8-funcs): Likewise.
5188         (float-vlen8-avx2-funcs): Likewise.
5189         (float-vlen16-funcs): Likewise.
5190         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
5191         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
5192         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
5193         macro.
5194         (TEST_VECTOR_sin): Likewise.
5195         (TEST_VECTOR_sincos): Likewise.
5196         (TEST_VECTOR_log): Likewise.
5197         (TEST_VECTOR_exp): Likewise.
5198         (TEST_VECTOR_pow): Likewise.
5199         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
5200         Likewise.
5201         (TEST_VECTOR_sin): Likewise.
5202         (TEST_VECTOR_sincos): Likewise.
5203         (TEST_VECTOR_log): Likewise.
5204         (TEST_VECTOR_exp): Likewise.
5205         (TEST_VECTOR_pow): Likewise.
5206         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
5207         Likewise.
5208         (TEST_VECTOR_sinf): Likewise.
5209         (TEST_VECTOR_sincosf): Likewise.
5210         (TEST_VECTOR_logf): Likewise.
5211         (TEST_VECTOR_expf): Likewise.
5212         (TEST_VECTOR_powf): Likewise.
5213         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
5214         Likewise.
5215         (TEST_VECTOR_sinf): Likewise.
5216         (TEST_VECTOR_sincosf): Likewise.
5217         (TEST_VECTOR_logf): Likewise.
5218         (TEST_VECTOR_expf): Likewise.
5219         (TEST_VECTOR_powf): Likewise.
5220         * math/gen-libm-have-vector-test.sh: Remove file.
5221         * math/libm-test.inc: Likewise.
5222         * math/libm-test-support-double.c: Likewise.
5223         * math/libm-test-support-float.c: Likewise.
5224         * math/libm-test-support-ldouble.c: Likewise.
5225         * math/test-double-finite.c: Likewise.: Likewise.
5226         * math/test-double.c: Likewise.
5227         * math/test-float-finite.c: Likewise.
5228         * math/test-float.c: Likewise.
5229         * math/test-idouble.c: Likewise.
5230         * math/test-ifloat.c: Likewise.
5231         * math/test-ildouble.c: Likewise.
5232         * math/test-ldouble-finite.c: Likewise.
5233         * math/test-ldouble.c: Likewise.
5234         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5235         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
5236         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5237         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5238         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5239         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5240         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5241         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
5242         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5243         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5245 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5246            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5248         * math/Makefile: Add wrappers to gen-libm-calls.
5249         * math/w_acos_template.c: New file.
5250         * math/w_acosh_template.c: Likewise.
5251         * math/w_asin_template.c: Likewise.
5252         * math/w_atan2_template.c: Likewise.
5253         * math/w_atanh_template.c: Likewise.
5254         * math/w_cosh_template.c: Likewise.
5255         * math/w_exp10_template.c: Likewise.
5256         * math/w_exp2_template.c: Likewise.
5257         * math/w_exp_template.c: Likewise.
5258         * math/w_fmod_template.c: Likewise.
5259         * math/w_hypot_template.c: Likewise.
5260         * math/w_j0_template.c: Likewise.
5261         * math/w_j1_template.c: Likewise.
5262         * math/w_jn_template.c: Likewise.
5263         * math/w_lgamma_r_template.c: Likewise.
5264         * math/w_lgamma_template.c: Likewise.
5265         * math/w_log10_template.c: Likewise.
5266         * math/w_log2_template.c: Likewise.
5267         * math/w_log_template.c: Likewise.
5268         * math/w_pow_template.c: Likewise.
5269         * math/w_remainder_template.c: Likewise.
5270         * math/w_sinh_template.c: Likewise.
5271         * math/w_sqrt_template.c: Likewise.
5272         * math/w_tgamma_template.c: Likewise.: Likewise.
5273         * sysdeps/generic/math-type-macros-double.h
5274         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
5275         the new wrappers.
5276         * sysdeps/generic/math-type-macros-float.h: Likewise.
5277         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5279 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
5281         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
5282         New enum constant and macro.
5284         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5285         kernel version to 4.10.
5287 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
5289         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
5291 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5295 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5297         * sysdeps/powerpc/tst-set_ppr.c: New file.
5298         Implement test cases for __ppc_set_ppr_* functions.
5299         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
5300         in the list of tests.
5302 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5304         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
5305         instead of test-skeleton.c.
5306         (do_test): Replaced pthread_create and pthread_join with
5307         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
5308         Removed unneeded status variable.
5309         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
5310         instead of test-skeleton.c.
5311         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
5313 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
5315         [BZ #20313]
5316         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5317         201605L, for Unicode 9.
5319 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
5321         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
5322         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5323         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5324         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5325         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5326         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5328 2017-02-19  Zack Weinberg  <zackw@panix.com>
5330         * rt/tst-mqueue4.c: Include stdint.h.
5332 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5334         * sysdeps/arm/libm-test-ulps: Update.
5335         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5336         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5337         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5339 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5341         [BZ #21029]
5342         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
5343         * sysdeps/unix/sysv/linux/i386/Makefile
5344         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
5345         (uses-6-syscall-arguments): Remove.
5346         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
5347         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
5348         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
5349         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
5350         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
5351         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
5352         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
5353         [$(subdir) = misc] (cflags-pselect.o): Likewise.
5354         [$(subdir) = misc] (cflags-pselect.os): Likewise.
5355         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
5356         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
5357         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
5358         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
5359         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
5360         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
5361         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
5362         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
5363         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
5364         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
5365         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
5366         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
5367         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
5368         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
5369         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
5370         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
5371         Likewise.
5372         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
5373         Likewise.
5374         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
5375         Likewise.
5376         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
5377         Likewise.
5378         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
5379         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
5380         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
5381         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
5382         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
5383         ebp on inline assembly.
5384         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
5385         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5386         Set if CAN_USE_REGISTER_ASM_EBP is set.
5388 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
5390         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
5391         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
5393 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5395         * math/auto-libm-test-in: Add tests of catan and catanh.
5396         * math/auto-libm-test-out-catan: New generated file.
5397         * math/auto-libm-test-out-catanh: Likewise.
5398         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
5399         Move tests with finite inputs, except divide-by-zero cases, to
5400         auto-libm-test-in.
5401         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
5402         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
5403         (libm-test-funcs-noauto): Remove catan and catanh.
5404         * sysdeps/i386/fpu/libm-test-ulps: Update.
5405         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5408         * math/auto-libm-test-in: Add tests of casin and casinh.
5409         * math/auto-libm-test-out-casin: New generated file.
5410         * math/auto-libm-test-out-casinh: Likewise.
5411         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
5412         Move tests with finite inputs to auto-libm-test-in.
5413         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
5414         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
5415         (libm-test-funcs-noauto): Remove casin and casinh.
5416         * sysdeps/i386/fpu/libm-test-ulps: Update.
5417         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5420         * math/auto-libm-test-in: Add tests of cacos and cacosh.
5421         * math/auto-libm-test-out-cacos: New generated file.
5422         * math/auto-libm-test-out-cacosh: Likewise.
5423         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
5424         Move tests with finite inputs to auto-libm-test-in.
5425         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
5426         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
5427         (libm-test-funcs-noauto): Remove cacos and cacosh.
5428         * sysdeps/i386/fpu/libm-test-ulps: Update.
5429         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5432         Revert:
5433         2017-02-16  Zack Weinberg  <zackw@panix.com>
5435         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5436         Don't include init-arch.h.
5437         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5438         Don't include init-arch.h.
5440 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5442         [BZ #21171]
5443         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
5444         +Inf and raise divide-by-zero when x is negative.
5445         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
5446         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
5447         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
5448         -Inf and raise divide-by-zero when x = +-0.
5449         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5450         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5451         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
5452         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
5453         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5454         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5455         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5457 2017-02-16  Zack Weinberg  <zackw@panix.com>
5459         * scripts/build-many-glibcs.py (bot_build_mail): If the
5460         bot_config does not contain all of the necessary email-
5461         related settings, just print a warning and continue.
5463 2017-02-16  Zack Weinberg  <zackw@panix.com>
5465         * crypt/md5.h: Test _LIBC with #if defined, not #if.
5466         * dirent/opendir-tst1.c: Include sys/stat.h.
5467         * dirent/tst-fdopendir.c: Include sys/stat.h.
5468         * dirent/tst-fdopendir2.c: Include stdlib.h.
5469         * dirent/tst-scandir.c: Include stdbool.h.
5470         * elf/tst-auditmod1.c: Include link.h and stddef.h.
5471         * elf/tst-tls15.c: Include stdlib.h.
5472         * elf/tst-tls16.c: Include stdlib.h.
5473         * elf/tst-tls17.c: Include stdlib.h.
5474         * elf/tst-tls18.c: Include stdlib.h.
5475         * iconv/tst-iconv6.c: Include endian.h.
5476         * iconvdata/bug-iconv11.c: Include limits.h.
5477         * io/test-utime.c: Include stdint.h.
5478         * io/tst-faccessat.c: Include sys/stat.h.
5479         * io/tst-fchmodat.c: Include sys/stat.h.
5480         * io/tst-fchownat.c: Include sys/stat.h.
5481         * io/tst-fstatat.c: Include sys/stat.h.
5482         * io/tst-futimesat.c: Include sys/stat.h.
5483         * io/tst-linkat.c: Include sys/stat.h.
5484         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
5485         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
5486         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
5487         * io/tst-openat.c: Include stdbool.h.
5488         * io/tst-readlinkat.c: Include sys/stat.h.
5489         * io/tst-renameat.c: Include sys/stat.h.
5490         * io/tst-symlinkat.c: Include sys/stat.h.
5491         * io/tst-unlinkat.c: Include stdbool.h.
5492         * libio/bug-memstream1.c: Include stdlib.h.
5493         * libio/bug-wmemstream1.c: Include stdlib.h.
5494         * libio/tst-fwrite-error.c: Include stdlib.h.
5495         * libio/tst-memstream1.c: Include stdlib.h.
5496         * libio/tst-memstream2.c: Include stdlib.h.
5497         * libio/tst-memstream3.c: Include stdlib.h.
5498         * malloc/tst-interpose-aux.c: Include stdint.h.
5499         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
5500         * nptl/tst-basic7.c: Include limits.h.
5501         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
5502         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
5503         * nptl/tst-cancel4_1.c: Include stddef.h.
5504         * nptl/tst-cancel4_2.c: Include stddef.h.
5505         * nptl/tst-cond16.c: Include limits.h.
5506         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5507         * nptl/tst-cond18.c: Include limits.h.
5508         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5509         * nptl/tst-cond4.c: Include stdint.h.
5510         * nptl/tst-cond6.c: Include stdint.h.
5511         * nptl/tst-stack2.c: Include limits.h.
5512         * nptl/tst-stackguard1.c: Include stddef.h.
5513         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
5514         * nptl/tst-tls4moda.c: Include stddef.h.
5515         Don't include stdio.h, unistd.h, or tls.h.
5516         * nptl/tst-tls4modb.c: Include stddef.h.
5517         Don't include stdio.h, unistd.h, or tls.h.
5518         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
5519         * posix/tst-getaddrinfo2.c: Include stdio.h.
5520         * posix/tst-getaddrinfo5.c: Include stdio.h.
5521         * posix/tst-pathconf.c: Include sys/stat.h.
5522         * posix/tst-posix_fadvise-common.c: Include stdint.h.
5523         * posix/tst-preadwrite-common.c: Include sys/stat.h.
5524         * posix/tst-regex.c: Include stdint.h.
5525         Don't include spawn.h or spawn_int.h.
5526         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
5527         * posix/tst-vfork3.c: Include sys/stat.h.
5528         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
5529         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
5530         * resolv/tst-resolv-search.c: Include stdlib.h.
5531         * stdio-common/tst-fmemopen2.c: Include stdint.h.
5532         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
5533         * stdlib/test-canon.c: Include sys/stat.h.
5534         * stdlib/tst-tls-atexit.c: Include stdbool.h.
5535         * string/test-memchr.c: Include stdint.h.
5536         * string/tst-cmp.c: Include stdint.h.
5537         * sysdeps/pthread/tst-timer.c: Include stdint.h.
5538         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
5539         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
5540         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5541         Don't include init-arch.h.
5542         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5543         Don't include init-arch.h.
5544         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
5545         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
5546         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
5547         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
5548         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
5549         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
5550         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
5551         * time/clocktest.c: Include stdint.h.
5552         * time/tst-posixtz.c: Include stdint.h.
5553         * timezone/tst-timezone.c: Include stdint.h.
5555 2017-02-16  Zack Weinberg  <zackw@panix.com>
5557         * string/string.h [__USE_MISC]: Include strings.h.
5558         (__bzero, bcmp, bcopy, bzero, index, rindex)
5559         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
5560         (ffs, ffsl, ffsll): Don't declare.
5561         * string/strings.h: Do not suppress the file if string.h has
5562         already been included.
5563         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
5564         annotations.
5565         (index, rindex): Define inline forwarders even if
5566         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
5567         (ffs): Use __attribute_const__.
5568         (ffsl, ffsll): Declare here.
5569         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
5570         have now been standardized.
5571         * include/string.h (__bzero): Declare here.
5573         * bits/types.h: Move to posix/bits.
5574         * include/bits/types.h: New wrapper.
5576 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5578         * string/bits/string2.h (strcmp): Remove define.
5579         (__strcmp_cg): Likewise.
5580         (strncmp): Likewise.
5582 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5584         * include/string.h: Add __cplusplus check.
5586 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5588         [BZ #21134]
5589         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
5590         "divide by zero" exception when the input is zero.
5591         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
5592         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
5593         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
5594         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
5595         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5597 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
5599         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
5600         and include ...
5601         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
5602         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
5603         to, and include ...
5604         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
5605         file.
5606         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
5607         and include ...
5608         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
5609         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
5610         and include ...
5611         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
5612         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
5613         and include ...
5614         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
5615         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
5616         and include ...
5617         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
5618         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
5619         to, and include ...
5620         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
5621         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
5622         and include ...
5623         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
5625 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
5627         * math/libm-test-support.h: Do not include <math-tests-arch.h>
5628         here.
5629         * math/libm-test-support.c (libm_test_init): Do not call
5630         INIT_ARCH_EXT here.
5631         * math/libm-test-driver.c: Include <math-tests-arch.h>.
5632         (main): Call INIT_ARCH_EXT.
5634 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5636         [BZ #21130]
5637         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
5638         with the "invalid" exception raised when x is -Inf.
5639         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5641 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
5643         * string/bits/string2.h (strchr): Remove define.
5645 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
5647         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
5648         tst-avx512.
5649         (test-extras): Add tst-avx-aux and tst-avx512-aux.
5650         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
5651         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
5652         ($(objpfx)tst-sse): New rule.
5653         ($(objpfx)tst-avx): Likewise.
5654         ($(objpfx)tst-avx512): Likewise.
5655         (CFLAGS-tst-avx-aux.c): New.
5656         (CFLAGS-tst-avxmod.c): Likewise.
5657         (CFLAGS-tst-avx512-aux.c): Likewise.
5658         (CFLAGS-tst-avx512mod.c): Likewise.
5659         * sysdeps/x86_64/tst-avx-aux.c: New file.
5660         * sysdeps/x86_64/tst-avx.c: Likewise.
5661         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
5662         * sysdeps/x86_64/tst-avx512.c: Likewise.
5663         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
5664         * sysdeps/x86_64/tst-avxmod.c: Likewise.
5665         * sysdeps/x86_64/tst-sse.c: Likewise.
5666         * sysdeps/x86_64/tst-ssemod.c: Likewise.
5668 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
5670         * math/auto-libm-test-in: Add more tests of csin and csinh.
5671         * math/auto-libm-test-out-csin: Regenerated.
5672         * math/auto-libm-test-out-csinh: Likewise.
5673         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
5674         auto-libm-test-in.
5675         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
5677 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5679         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
5680         libm-compat-calls-auto.
5681         (libm-compat-calls): Likewise.
5682         (libm-compat-calls-auto): Rename to libm-compat-calls and add
5683         w_lgamma_compatF and k_standardF (merged from the items above).
5684         (libm-routines): Use libm-compat-calls, instead of
5685         libm-compat-calls-auto, with type-foreach.
5687 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
5689         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
5690         macro.
5691         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
5692         (CFLAGS-test-ifloat.c): ... this.  Remove
5693         -U__LIBC_INTERNAL_MATH_INLINES.
5694         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
5695         (CFLAGS-test-idouble.c): ... this.  Remove
5696         -U__LIBC_INTERNAL_MATH_INLINES.
5697         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
5698         (CFLAGS-test-ildouble.c): ... this.  Remove
5699         -U__LIBC_INTERNAL_MATH_INLINES.
5701 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
5703         * math/libm-test-support.c: New file.  Content from
5704         math/libm-test-driver.c.
5705         * math/libm-test-support.h: Likewise.
5706         * math/libm-test-support-double.c: New file.
5707         * math/libm-test-support-float.c: Likewise.
5708         * math/libm-test-support-ldouble.c: Likewise.
5709         * math/libm-test-driver.c: Remove main comment and header
5710         includes.  Include libm-test-support.h.
5711         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
5712         (flag_test_errno): Remove static.
5713         (flag_test_exceptions): Likewise.
5714         (flag_test_finite): Likewise.
5715         (flag_test_inline): Likewise.
5716         (flag_test_mathvec): Likewise.
5717         (test_msg): Likewise.
5718         (NO_EXCEPTION): Remove.
5719         (INVALID_EXCEPTION): Likewise.
5720         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
5721         (OVERFLOW_EXCEPTION): Likewise.
5722         (UNDERFLOW_EXCEPTION): Likewise.
5723         (INEXACT_EXCEPTION): Likewise.
5724         (INVALID_EXCEPTION_OK): Likewise.
5725         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5726         (OVERFLOW_EXCEPTION_OK): Likewise.
5727         (UNDERFLOW_EXCEPTION_OK): Likewise.
5728         (NO_INEXACT_EXCEPTION): Likewise.
5729         (EXCEPTIONS_OK): Likewise.
5730         (IGNORE_ZERO_INF_SIGN): Likewise.
5731         (TEST_NAN_SIGN): Likewise.
5732         (TEST_NAN_PAYLOAD): Likewise.
5733         (NO_TEST_INLINE): Likewise.
5734         (XFAIL_TEST): Likewise.
5735         (ERRNO_UNCHANGED): Likewise.
5736         (ERRNO_EDOM): Likewise.
5737         (ERRNO_ERANGE): Likewise.
5738         (IGNORE_RESULT): Likewise.
5739         (NON_FINITE): Likewise.
5740         (TEST_SNAN): Likewise.
5741         (NO_TEST_MATHVEC): Likewise.
5742         (__CONCATX): Likewise.
5743         (TYPE_MIN): Likewise.
5744         (TYPE_TRUE_MIN): Likewise.
5745         (TYPE_MAX): Likewise.
5746         (MIN_EXP): Likewise.
5747         (MAX_EXP): Likewise.
5748         (MANT_DIG): Likewise.
5749         (FSTR_MAX): Likewise.
5750         (ulp_idx): Likewise.
5751         (qtype_str): Remove static.
5752         (TEST_COND_binary32): Remove.
5753         (TEST_COND_binary64): Likewise.
5754         (TEST_COND_binary128): Likewise.
5755         (TEST_COND_ibm128): Likewise.
5756         (TEST_COND_intel96): Likewise.
5757         (TEST_COND_m68k96): Likewise.
5758         (TEST_COND_ibm128_libgcc): Likewise.
5759         (XFAIL_IBM128_LIBGCC): Likewise.
5760         (PAYLOAD_DIG): Likewise.
5761         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5762         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5763         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5764         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5765         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5766         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
5767         (TEST_COND_long32): Likewise.
5768         (TEST_COND_long64): Likewise.
5769         (TEST_COND_before_rounding): Likewise.
5770         (TEST_COND_after_rounding): Likewise.
5771         (ulps_file_name): Likewise.
5772         (ulps_file): Likewise.
5773         (output_ulps): Likewise.
5774         (output_dir): Likewise.
5775         (noErrors): Likewise.
5776         (noTests): Likewise.
5777         (noExcTests): Likewise.
5778         (noErrnoTests): Likewise.
5779         (verbose): Likewise.
5780         (output_max_error): Likewise.
5781         (output_points): Likewise.
5782         (ignore_max_ulp): Likewise.
5783         (max_error): Likewise.
5784         (real_max_error): Likewise.
5785         (imag_max_error): Likewise.
5786         (prev_max_error): Likewise.
5787         (prev_real_max_error): Likewise.
5788         (prev_imag_max_error): Likewise.
5789         (max_valid_error): Likewise.
5790         (TYPE_DECIMAL_DIG): Likewise.
5791         (TYPE_HEX_DIG): Likewise.
5792         (fmt_ftostr): Likewise.
5793         (compare_ulp_data): Likewise.
5794         (find_ulps): Likewise.
5795         (init_max_error): Likewise.
5796         (set_max_error): Likewise.
5797         (print_float): Likewise.
5798         (print_screen): Likewise.
5799         (print_screen_max_error): Likewise.
5800         (update_stats): Likewise.
5801         (print_function_ulps): Likewise.
5802         (print_complex_function_ulps): Likewise.
5803         (fpstack_test): Likewise.
5804         (print_max_error): Likewise.
5805         (print_complex_max_error): Likewise.
5806         (test_single_exception): Likewise.
5807         (test_exceptions): Likewise.
5808         (test_single_errno): Likewise.
5809         (test_errno): Likewise.
5810         (ULPDIFF): Likewise.
5811         (ulp): Likewise.
5812         (check_float_internal): Likewise.
5813         (check_float): Likewise.
5814         (check_complex): Likewise.
5815         (check_int): Likewise.
5816         (check_long): Likewise.
5817         (check_bool): Likewise.
5818         (check_longlong): Likewise.
5819         (check_intmax_t): Likewise.
5820         (check_uintmax_t): Likewise.
5821         (enable_test): Likewise.
5822         (matherr): Likewise.
5823         (initialize): Likewise.
5824         (options): Likewise.
5825         (doc): Remove static.
5826         (argp): Likewise.
5827         (parse_opt): Remove.
5828         (check_ulp): Likewise.
5829         (libm_test_init): Likewise.
5830         (libm_test_finish): Likewise.
5831         * math/Makefile (libm-test-support): New variable.
5832         (test-extras): Add libm-test-support files.
5833         (extra-test-objs): Likewise.
5834         (CFLAGS-libm-test-support-float.c): New variable.
5835         (CFLAGS-libm-test-support-double.c): Likewise.
5836         (CFLAGS-libm-test-support-ldouble.c): Likewise.
5837         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
5838         libm-test-support objects.
5840 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5842         * math/Makefile (libm-calls): Move w_exp...
5843         (libm-compat-calls-auto): Here.
5845         * math/w_expl.c: Add suffix "_compat" to filename.
5846         * sysdeps/ia64/fpu/w_expl.c: Likewise.
5847         * sysdeps/ia64/fpu/w_expf.c: Likewise.
5848         * sysdeps/ia64/fpu/w_exp.c: Likewise.
5849         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5850         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5851         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5852         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5853         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5855         * math/w_expl_compat.c: New file, copied from above.
5856         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
5857         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
5858         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
5859         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
5860         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
5861         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
5862         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
5863         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
5865         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
5866         to filename.
5867         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
5869         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
5870         copied from above and adjusted for the new filenames.
5871         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
5873 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5875         * math/Makefile (libm-calls): Move w_lgammaF...
5876         (libm-compat-calls-auto): Here.
5878         * math/w_lgamma.c: Add suffix "_compat2" to filename.
5879         * math/w_lgammaf.c: Likewise.
5880         * math/w_lgammal.c: Likewise.
5882         * math/w_lgamma_compat2.c: New file, copied from above.
5883         * math/w_lgammaf_compat2.c: Likewise.
5884         * math/w_lgammal_compat2.c: Likewise.
5886 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5888         * math/Makefile (libm-calls): Move w_lgammaF_r...
5889         (libm-compat-calls-auto): Here.
5891         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
5892         * math/w_lgammaf_r.c: Likewise.
5893         * math/w_lgammal_r.c: Likewise.
5894         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
5895         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
5896         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
5898         * math/w_lgamma_r_compat.c: New file, copied from above.
5899         * math/w_lgammaf_r_compat.c: Likewise.
5900         * math/w_lgammal_r_compat.c: Likewise.
5901         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
5902         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
5903         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
5905         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
5906         to filename.
5907         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
5909         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
5910         copied from above and adjusted for the new filenames.
5911         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
5913 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
5915         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
5916         calculation in SYSCALL_ERROR_HANDLER().
5918 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
5920         * manual/contrib.texi: Fix typo.
5922 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5924         [BZ #21109]
5925         * elf/dl-tunable-types.h (tunable_callback_t): Accept
5926         tunable_val_t as argument.
5927         * elf/dl-tunables.c (__tunable_set_val): Add comment.
5928         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
5929         argument.
5930         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
5932 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
5934         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
5935         Add PTRACE_EVENT_STOP.
5936         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5937         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5938         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5939         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5940         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
5941         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
5943 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
5945         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
5946         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
5947         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
5948         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
5949         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
5950         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
5951         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
5952         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
5953         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
5954         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
5956         [BZ #21112]
5957         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
5958         12 bits zero.
5959         (cp_l): Update for new value of cp_h.
5960         * math/auto-libm-test-in: Add another test of pow.
5961         * math/auto-libm-test-out-pow: Regenerated.
5963 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5965         * manual/contrib.texi: Fix typo.
5967 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5969         [BZ #15998]
5970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5971         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
5972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5974 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5976         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
5977         STRCHR as __strchr_power8.
5978         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
5979         strlen as __strlen_power8.
5981 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5983         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
5984         unaligned load for shorter strings.
5985         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5987 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
5989         * math/libm-test-driver.c (flag_test_errno): New variable.
5990         (flag_test_exceptions): Likewise.
5991         (flag_test_finite): Likewise.
5992         (flag_test_inline): Likewise.
5993         (flag_test_mathvec): Likewise.
5994         (test_msg): Likewise.
5995         (ulp_idx): Likewise.
5996         (qtype_str): Likewise.
5997         (ULP_IDX): Remove macro.
5998         (QTYPE_STR): Likewise.
5999         (find_ulps): Use ulp_idx not ULP_IDX.
6000         (print_function_ulps): Use qtype_str, printed with %s, not
6001         QTYPE_STR, printed with concatentation to format string.
6002         (print_complex_function_ulps): Likewise.
6003         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
6004         (test_errno): Use flag_test_errno not TEST_ERRNO.
6005         (enable_test): Use flag_test_inline, flag_test_finite and
6006         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
6007         TEST_MATHVEC.
6008         (libm_test_init): New function.  Factored out of main.
6009         (libm_test_finish): Likewise.
6010         (main): Call libm_test_init and libm_test_finish and move most
6011         code to those functions.
6013         * math/libm-test-driver.c (STRX): New macro.
6014         (STR): Likewise.
6015         (STR_FLOAT): Likewise.
6016         (STR_VEC_LEN): Likewise.
6017         (TEST_MSG): Likewise.  Define here instead of expecting to be
6018         defined by including file.
6019         * math/test-double-finite.c (TEST_MSG): Remove macro.
6020         * math/test-double-vlen2.h (TEST_MSG): Likewise.
6021         * math/test-double-vlen4.h (TEST_MSG): Likewise.
6022         * math/test-double-vlen8.h (TEST_MSG): Likewise.
6023         * math/test-double.c (TEST_MSG): Likewise.
6024         * math/test-float-finite.c (TEST_MSG): Likewise.
6025         * math/test-float-vlen16.h (TEST_MSG): Likewise.
6026         * math/test-float-vlen4.h (TEST_MSG): Likewise.
6027         * math/test-float-vlen8.h (TEST_MSG): Likewise.
6028         * math/test-float.c (TEST_MSG): Likewise.
6029         * math/test-idouble.c (TEST_MSG): Likewise.
6030         * math/test-ifloat.c (TEST_MSG): Likewise.
6031         * math/test-ildouble.c (TEST_MSG): Likewise.
6032         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
6033         * math/test-ldouble.c (TEST_MSG): Likewise.
6035         * math/libm-test.inc: Move all tests of individual functions to
6036         libm-test-*.inc and #include libm-test-*.c files.
6037         (acos_test_data): Remove.
6038         (acos_test): Likewise.
6039         (acosh_test_data): Likewise.
6040         (acosh_test): Likewise.
6041         (asin_test_data): Likewise.
6042         (asin_test): Likewise.
6043         (asinh_test_data): Likewise.
6044         (asinh_test): Likewise.
6045         (atan_test_data): Likewise.
6046         (atan_test): Likewise.
6047         (atanh_test_data): Likewise.
6048         (atanh_test): Likewise.
6049         (atan2_test_data): Likewise.
6050         (atan2_test): Likewise.
6051         (cabs_test_data): Likewise.
6052         (cabs_test): Likewise.
6053         (cacos_test_data): Likewise.
6054         (cacos_test): Likewise.
6055         (cacosh_test_data): Likewise.
6056         (cacosh_test): Likewise.
6057         (canonicalize_test_data): Likewise.
6058         (canonicalize_test): Likewise.
6059         (carg_test_data): Likewise.
6060         (carg_test): Likewise.
6061         (casin_test_data): Likewise.
6062         (casin_test): Likewise.
6063         (casinh_test_data): Likewise.
6064         (casinh_test): Likewise.
6065         (catan_test_data): Likewise.
6066         (catan_test): Likewise.
6067         (catanh_test_data): Likewise.
6068         (catanh_test): Likewise.
6069         (cbrt_test_data): Likewise.
6070         (cbrt_test): Likewise.
6071         (ccos_test_data): Likewise.
6072         (ccos_test): Likewise.
6073         (ccosh_test_data): Likewise.
6074         (ccosh_test): Likewise.
6075         (ceil_test_data): Likewise.
6076         (ceil_test): Likewise.
6077         (cexp_test_data): Likewise.
6078         (cexp_test): Likewise.
6079         (cimag_test_data): Likewise.
6080         (cimag_test): Likewise.
6081         (clog_test_data): Likewise.
6082         (clog_test): Likewise.
6083         (clog10_test_data): Likewise.
6084         (clog10_test): Likewise.
6085         (conj_test_data): Likewise.
6086         (conj_test): Likewise.
6087         (copysign_test_data): Likewise.
6088         (copysign_test): Likewise.
6089         (cos_test_data): Likewise.
6090         (cos_test): Likewise.
6091         (cosh_test_data): Likewise.
6092         (cosh_test): Likewise.
6093         (cpow_test_data): Likewise.
6094         (cpow_test): Likewise.
6095         (cproj_test_data): Likewise.
6096         (cproj_test): Likewise.
6097         (creal_test_data): Likewise.
6098         (creal_test): Likewise.
6099         (csin_test_data): Likewise.
6100         (csin_test): Likewise.
6101         (csinh_test_data): Likewise.
6102         (csinh_test): Likewise.
6103         (csqrt_test_data): Likewise.
6104         (csqrt_test): Likewise.
6105         (ctan_test_data): Likewise.
6106         (ctan_test): Likewise.
6107         (ctanh_test_data): Likewise.
6108         (ctanh_test): Likewise.
6109         (erf_test_data): Likewise.
6110         (erf_test): Likewise.
6111         (erfc_test_data): Likewise.
6112         (erfc_test): Likewise.
6113         (exp_test_data): Likewise.
6114         (exp_test): Likewise.
6115         (exp10_test_data): Likewise.
6116         (exp10_test): Likewise.
6117         (pow10_test): Likewise.
6118         (exp2_test_data): Likewise.
6119         (exp2_test): Likewise.
6120         (expm1_test_data): Likewise.
6121         (expm1_test): Likewise.
6122         (fabs_test_data): Likewise.
6123         (fabs_test): Likewise.
6124         (fdim_test_data): Likewise.
6125         (fdim_test): Likewise.
6126         (floor_test_data): Likewise.
6127         (floor_test): Likewise.
6128         (fma_test_data): Likewise.
6129         (fma_test): Likewise.
6130         (fmax_test_data): Likewise.
6131         (fmax_test): Likewise.
6132         (fmaxmag_test_data): Likewise.
6133         (fmaxmag_test): Likewise.
6134         (fmin_test_data): Likewise.
6135         (fmin_test): Likewise.
6136         (fminmag_test_data): Likewise.
6137         (fminmag_test): Likewise.
6138         (fmod_test_data): Likewise.
6139         (fmod_test): Likewise.
6140         (fpclassify_test_data): Likewise.
6141         (fpclassify_test): Likewise.
6142         (frexp_test_data): Likewise.
6143         (frexp_test): Likewise.
6144         (fromfp_test_data): Likewise.
6145         (fromfp_test): Likewise.
6146         (fromfpx_test_data): Likewise.
6147         (fromfpx_test): Likewise.
6148         (getpayload_test_data): Likewise.
6149         (getpayload_test): Likewise.
6150         (hypot_test_data): Likewise.
6151         (hypot_test): Likewise.
6152         (ilogb_test_data): Likewise.
6153         (ilogb_test): Likewise.
6154         (iscanonical_test_data): Likewise.
6155         (iscanonical_test): Likewise.
6156         (iseqsig_test_data): Likewise.
6157         (iseqsig_test): Likewise.
6158         (isfinite_test_data): Likewise.
6159         (isfinite_test): Likewise.
6160         (finite_test): Likewise.
6161         (isgreater_test_data): Likewise.
6162         (isgreater_test): Likewise.
6163         (isgreaterequal_test_data): Likewise.
6164         (isgreaterequal_test): Likewise.
6165         (isinf_test_data): Likewise.
6166         (isinf_test): Likewise.
6167         (isless_test_data): Likewise.
6168         (isless_test): Likewise.
6169         (islessequal_test_data): Likewise.
6170         (islessequal_test): Likewise.
6171         (islessgreater_test_data): Likewise.
6172         (islessgreater_test): Likewise.
6173         (isnan_test_data): Likewise.
6174         (isnan_test): Likewise.
6175         (isnormal_test_data): Likewise.
6176         (isnormal_test): Likewise.
6177         (issignaling_test_data): Likewise.
6178         (issignaling_test): Likewise.
6179         (issubnormal_test_data): Likewise.
6180         (issubnormal_test): Likewise.
6181         (isunordered_test_data): Likewise.
6182         (isunordered_test): Likewise.
6183         (iszero_test_data): Likewise.
6184         (iszero_test): Likewise.
6185         (j0_test_data): Likewise.
6186         (j0_test): Likewise.
6187         (j1_test_data): Likewise.
6188         (j1_test): Likewise.
6189         (jn_test_data): Likewise.
6190         (jn_test): Likewise.
6191         (lgamma_test_data): Likewise.
6192         (lgamma_test): Likewise.
6193         (gamma_test): Likewise.
6194         (llogb_test_data): Likewise.
6195         (llogb_test): Likewise.
6196         (lrint_test_data): Likewise.
6197         (lrint_test): Likewise.
6198         (llrint_test_data): Likewise.
6199         (llrint_test): Likewise.
6200         (log_test_data): Likewise.
6201         (log_test): Likewise.
6202         (log10_test_data): Likewise.
6203         (log10_test): Likewise.
6204         (log1p_test_data): Likewise.
6205         (log1p_test): Likewise.
6206         (log2_test_data): Likewise.
6207         (log2_test): Likewise.
6208         (logb_test_data): Likewise.
6209         (logb_test): Likewise.
6210         (lround_test_data): Likewise.
6211         (lround_test): Likewise.
6212         (llround_test_data): Likewise.
6213         (llround_test): Likewise.
6214         (modf_test_data): Likewise.
6215         (modf_test): Likewise.
6216         (nearbyint_test_data): Likewise.
6217         (nearbyint_test): Likewise.
6218         (nextafter_test_data): Likewise.
6219         (nextafter_test): Likewise.
6220         (nextup_test_data): Likewise.
6221         (nextup_test): Likewise.
6222         (nextdown_test_data): Likewise.
6223         (nextdown_test): Likewise.
6224         (nexttoward_test_data): Likewise.
6225         (nexttoward_test): Likewise.
6226         (pow_test_data): Likewise.
6227         (pow_test): Likewise.
6228         (remainder_test_data): Likewise.
6229         (remainder_test): Likewise.
6230         (drem_test): Likewise.
6231         (remquo_test_data): Likewise.
6232         (remquo_test): Likewise.
6233         (rint_test_data): Likewise.
6234         (rint_test): Likewise.
6235         (round_test_data): Likewise.
6236         (round_test): Likewise.
6237         (roundeven_test_data): Likewise.
6238         (roundeven_test): Likewise.
6239         (scalb_test_data): Likewise.
6240         (scalb_test): Likewise.
6241         (scalbn_test_data): Likewise.
6242         (scalbn_test): Likewise.
6243         (ldexp_test): Likewise.
6244         (scalbln_test_data): Likewise.
6245         (scalbln_test): Likewise.
6246         (setpayload_test_data): Likewise.
6247         (setpayload_test): Likewise.
6248         (setpayloadsig_test_data): Likewise.
6249         (setpayloadsig_test): Likewise.
6250         (signbit_test_data): Likewise.
6251         (signbit_test): Likewise.
6252         (sin_test_data): Likewise.
6253         (sin_test): Likewise.
6254         (sincos_test_data): Likewise.
6255         (sincos_test): Likewise.
6256         (sinh_test_data): Likewise.
6257         (sinh_test): Likewise.
6258         (sqrt_test_data): Likewise.
6259         (sqrt_test): Likewise.
6260         (tan_test_data): Likewise.
6261         (tan_test): Likewise.
6262         (tanh_test_data): Likewise.
6263         (tanh_test): Likewise.
6264         (tgamma_test_data): Likewise.
6265         (tgamma_test): Likewise.
6266         (totalorder_test_data): Likewise.
6267         (totalorder_test): Likewise.
6268         (totalordermag_test_data): Likewise.
6269         (totalordermag_test): Likewise.
6270         (trunc_test_data): Likewise.
6271         (trunc_test): Likewise.
6272         (ufromfp_test_data): Likewise.
6273         (ufromfp_test): Likewise.
6274         (ufromfpx_test_data): Likewise.
6275         (ufromfpx_test): Likewise.
6276         (y0_test_data): Likewise.
6277         (y0_test): Likewise.
6278         (y1_test_data): Likewise.
6279         (y1_test): Likewise.
6280         (yn_test_data): Likewise.
6281         (yn_test): Likewise.
6282         (significand_test_data): Likewise.
6283         (significand_test): Likewise.
6284         * math/Makefile (auto-libm-test-out-files): Remove variable.
6285         (libm-test-funcs-noauto): New variable.
6286         (libm-test-funcs-all): Likewise.
6287         (libm-test-c-auto): Likewise.
6288         (libm-test-c-noauto): Likewise.
6289         (libm-tests-generated): Add $(libm-test-c-auto) and
6290         $(libm-test-c-noauto).
6291         (generated): Do not add auto-libm-test-out.
6292         (libm-test-c-auto-obj): New variable.
6293         (libm-test-c-noauto-obj): Likewise.
6294         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
6295         ($(libm-test-c-noauto-obj)): New static pattern rule.
6296         ($(libm-test-c-auto-obj)): Likewise.
6297         (libm-test-incs): New variable.
6298         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
6299         and pass it to gen-libm-have-vector-test.sh.
6300         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
6301         be passed on command line.
6302         * math/libm-test-acos.inc: New file.  Content from
6303         math/libm-test.inc.
6304         * math/libm-test-acosh.inc: Likewise.
6305         * math/libm-test-asin.inc: Likewise.
6306         * math/libm-test-asinh.inc: Likewise.
6307         * math/libm-test-atan.inc: Likewise.
6308         * math/libm-test-atan2.inc: Likewise.
6309         * math/libm-test-atanh.inc: Likewise.
6310         * math/libm-test-cabs.inc: Likewise.
6311         * math/libm-test-cacos.inc: Likewise.
6312         * math/libm-test-cacosh.inc: Likewise.
6313         * math/libm-test-canonicalize.inc: Likewise.
6314         * math/libm-test-carg.inc: Likewise.
6315         * math/libm-test-casin.inc: Likewise.
6316         * math/libm-test-casinh.inc: Likewise.
6317         * math/libm-test-catan.inc: Likewise.
6318         * math/libm-test-catanh.inc: Likewise.
6319         * math/libm-test-cbrt.inc: Likewise.
6320         * math/libm-test-ccos.inc: Likewise.
6321         * math/libm-test-ccosh.inc: Likewise.
6322         * math/libm-test-ceil.inc: Likewise.
6323         * math/libm-test-cexp.inc: Likewise.
6324         * math/libm-test-cimag.inc: Likewise.
6325         * math/libm-test-clog.inc: Likewise.
6326         * math/libm-test-clog10.inc: Likewise.
6327         * math/libm-test-conj.inc: Likewise.
6328         * math/libm-test-copysign.inc: Likewise.
6329         * math/libm-test-cos.inc: Likewise.
6330         * math/libm-test-cosh.inc: Likewise.
6331         * math/libm-test-cpow.inc: Likewise.
6332         * math/libm-test-cproj.inc: Likewise.
6333         * math/libm-test-creal.inc: Likewise.
6334         * math/libm-test-csin.inc: Likewise.
6335         * math/libm-test-csinh.inc: Likewise.
6336         * math/libm-test-csqrt.inc: Likewise.
6337         * math/libm-test-ctan.inc: Likewise.
6338         * math/libm-test-ctanh.inc: Likewise.
6339         * math/libm-test-erf.inc: Likewise.
6340         * math/libm-test-erfc.inc: Likewise.
6341         * math/libm-test-exp.inc: Likewise.
6342         * math/libm-test-exp10.inc: Likewise.
6343         * math/libm-test-exp2.inc: Likewise.
6344         * math/libm-test-expm1.inc: Likewise.
6345         * math/libm-test-fabs.inc: Likewise.
6346         * math/libm-test-fdim.inc: Likewise.
6347         * math/libm-test-floor.inc: Likewise.
6348         * math/libm-test-fma.inc: Likewise.
6349         * math/libm-test-fmax.inc: Likewise.
6350         * math/libm-test-fmaxmag.inc: Likewise.
6351         * math/libm-test-fmin.inc: Likewise.
6352         * math/libm-test-fminmag.inc: Likewise.
6353         * math/libm-test-fmod.inc: Likewise.
6354         * math/libm-test-fpclassify.inc: Likewise.
6355         * math/libm-test-frexp.inc: Likewise.
6356         * math/libm-test-fromfp.inc: Likewise.
6357         * math/libm-test-fromfpx.inc: Likewise.
6358         * math/libm-test-getpayload.inc: Likewise.
6359         * math/libm-test-hypot.inc: Likewise.
6360         * math/libm-test-ilogb.inc: Likewise.
6361         * math/libm-test-iscanonical.inc: Likewise.
6362         * math/libm-test-iseqsig.inc: Likewise.
6363         * math/libm-test-isfinite.inc: Likewise.
6364         * math/libm-test-isgreater.inc: Likewise.
6365         * math/libm-test-isgreaterequal.inc: Likewise.
6366         * math/libm-test-isinf.inc: Likewise.
6367         * math/libm-test-isless.inc: Likewise.
6368         * math/libm-test-islessequal.inc: Likewise.
6369         * math/libm-test-islessgreater.inc: Likewise.
6370         * math/libm-test-isnan.inc: Likewise.
6371         * math/libm-test-isnormal.inc: Likewise.
6372         * math/libm-test-issignaling.inc: Likewise.
6373         * math/libm-test-issubnormal.inc: Likewise.
6374         * math/libm-test-isunordered.inc: Likewise.
6375         * math/libm-test-iszero.inc: Likewise.
6376         * math/libm-test-j0.inc: Likewise.
6377         * math/libm-test-j1.inc: Likewise.
6378         * math/libm-test-jn.inc: Likewise.
6379         * math/libm-test-lgamma.inc: Likewise.
6380         * math/libm-test-llogb.inc: Likewise.
6381         * math/libm-test-llrint.inc: Likewise.
6382         * math/libm-test-llround.inc: Likewise.
6383         * math/libm-test-log.inc: Likewise.
6384         * math/libm-test-log10.inc: Likewise.
6385         * math/libm-test-log1p.inc: Likewise.
6386         * math/libm-test-log2.inc: Likewise.
6387         * math/libm-test-logb.inc: Likewise.
6388         * math/libm-test-lrint.inc: Likewise.
6389         * math/libm-test-lround.inc: Likewise.
6390         * math/libm-test-modf.inc: Likewise.
6391         * math/libm-test-nearbyint.inc: Likewise.
6392         * math/libm-test-nextafter.inc: Likewise.
6393         * math/libm-test-nextdown.inc: Likewise.
6394         * math/libm-test-nexttoward.inc: Likewise.
6395         * math/libm-test-nextup.inc: Likewise.
6396         * math/libm-test-pow.inc: Likewise.
6397         * math/libm-test-remainder.inc: Likewise.
6398         * math/libm-test-remquo.inc: Likewise.
6399         * math/libm-test-rint.inc: Likewise.
6400         * math/libm-test-round.inc: Likewise.
6401         * math/libm-test-roundeven.inc: Likewise.
6402         * math/libm-test-scalb.inc: Likewise.
6403         * math/libm-test-scalbln.inc: Likewise.
6404         * math/libm-test-scalbn.inc: Likewise.
6405         * math/libm-test-setpayload.inc: Likewise.
6406         * math/libm-test-setpayloadsig.inc: Likewise.
6407         * math/libm-test-signbit.inc: Likewise.
6408         * math/libm-test-significand.inc: Likewise.
6409         * math/libm-test-sin.inc: Likewise.
6410         * math/libm-test-sincos.inc: Likewise.
6411         * math/libm-test-sinh.inc: Likewise.
6412         * math/libm-test-sqrt.inc: Likewise.
6413         * math/libm-test-tan.inc: Likewise.
6414         * math/libm-test-tanh.inc: Likewise.
6415         * math/libm-test-tgamma.inc: Likewise.
6416         * math/libm-test-totalorder.inc: Likewise.
6417         * math/libm-test-totalordermag.inc: Likewise.
6418         * math/libm-test-trunc.inc: Likewise.
6419         * math/libm-test-ufromfp.inc: Likewise.
6420         * math/libm-test-ufromfpx.inc: Likewise.
6421         * math/libm-test-y0.inc: Likewise.
6422         * math/libm-test-y1.inc: Likewise.
6423         * math/libm-test-yn.inc: Likewise.
6424         * math/README.libm-test: Update.
6426         * math/gen-auto-libm-tests.c: Update comment about use of program.
6427         (generate_output): Add argument FUNCTION.
6428         (main): Require extra argument.  Pass function name to
6429         generate_output.
6430         * math/Makefile (generated): Add auto-libm-test-out.
6431         (libm-test-funcs-auto): New variable.
6432         (auto-libm-test-out-files): New variable.
6433         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
6434         Concatenate those files to form $(objpfx)auto-libm-test-out and
6435         use it as input to gen-libm-test.pl.
6436         * math/README.libm-test: Update.
6437         * math/auto-libm-test-out: Remove.
6438         * math/auto-libm-test-out-acos: New generated file.
6439         * math/auto-libm-test-out-acosh: Likewise.
6440         * math/auto-libm-test-out-asin: Likewise.
6441         * math/auto-libm-test-out-asinh: Likewise.
6442         * math/auto-libm-test-out-atan: Likewise.
6443         * math/auto-libm-test-out-atan2: Likewise.
6444         * math/auto-libm-test-out-atanh: Likewise.
6445         * math/auto-libm-test-out-cabs: Likewise.
6446         * math/auto-libm-test-out-carg: Likewise.
6447         * math/auto-libm-test-out-cbrt: Likewise.
6448         * math/auto-libm-test-out-ccos: Likewise.
6449         * math/auto-libm-test-out-ccosh: Likewise.
6450         * math/auto-libm-test-out-cexp: Likewise.
6451         * math/auto-libm-test-out-clog: Likewise.
6452         * math/auto-libm-test-out-clog10: Likewise.
6453         * math/auto-libm-test-out-cos: Likewise.
6454         * math/auto-libm-test-out-cosh: Likewise.
6455         * math/auto-libm-test-out-cpow: Likewise.
6456         * math/auto-libm-test-out-csin: Likewise.
6457         * math/auto-libm-test-out-csinh: Likewise.
6458         * math/auto-libm-test-out-csqrt: Likewise.
6459         * math/auto-libm-test-out-ctan: Likewise.
6460         * math/auto-libm-test-out-ctanh: Likewise.
6461         * math/auto-libm-test-out-erf: Likewise.
6462         * math/auto-libm-test-out-erfc: Likewise.
6463         * math/auto-libm-test-out-exp: Likewise.
6464         * math/auto-libm-test-out-exp10: Likewise.
6465         * math/auto-libm-test-out-exp2: Likewise.
6466         * math/auto-libm-test-out-expm1: Likewise.
6467         * math/auto-libm-test-out-fma: Likewise.
6468         * math/auto-libm-test-out-hypot: Likewise.
6469         * math/auto-libm-test-out-j0: Likewise.
6470         * math/auto-libm-test-out-j1: Likewise.
6471         * math/auto-libm-test-out-jn: Likewise.
6472         * math/auto-libm-test-out-lgamma: Likewise.
6473         * math/auto-libm-test-out-log: Likewise.
6474         * math/auto-libm-test-out-log10: Likewise.
6475         * math/auto-libm-test-out-log1p: Likewise.
6476         * math/auto-libm-test-out-log2: Likewise.
6477         * math/auto-libm-test-out-pow: Likewise.
6478         * math/auto-libm-test-out-sin: Likewise.
6479         * math/auto-libm-test-out-sincos: Likewise.
6480         * math/auto-libm-test-out-sinh: Likewise.
6481         * math/auto-libm-test-out-sqrt: Likewise.
6482         * math/auto-libm-test-out-tan: Likewise.
6483         * math/auto-libm-test-out-tanh: Likewise.
6484         * math/auto-libm-test-out-tgamma: Likewise.
6485         * math/auto-libm-test-out-y0: Likewise.
6486         * math/auto-libm-test-out-y1: Likewise.
6487         * math/auto-libm-test-out-yn: Likewise.
6489         * math/Makefile (generated): Do not include libm-test.stmp.
6490         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
6491         on $(objpfx)libm-test.stmp.
6492         ($(objpfx)libm-test.stmp): Remove rule.
6493         ($(objpfx)libm-test-ulps.h): New rule.
6494         ($(objpfx)libm-test.c): Likewise.
6495         ($(objpfx)libm-have-vector-test.h): Likewise.
6496         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
6497         individual generated files, not libm-test.stmp.
6499         * math/gen-libm-test.pl ($output_dir): Remove variable.
6500         ($srcdir): Likewise.
6501         ($opt_a): New variable.
6502         ($opt_c): Likewise.
6503         ($opt_C): Likewise.
6504         ($opt_H): Likewise.
6505         (-n): Make option take argument and use it as NewUlps output.
6506         (-a): New option.  Use its argument for auto-libm-test-out input.
6507         (-c): New option.  Use its argument for libm-test.inc input.
6508         (-C): New option.  Use its argument for libm-test.c output.
6509         (-H): New option.  Use its argument for libm-test-ulps.h output.
6510         (top level): Only process inputs needed to generate outputs
6511         specified by command-line options.  Only generate outputs
6512         specified by command-line options.
6513         * math/README.libm-test: Update example gen-libm-test.pl command.
6514         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
6515         commands.
6516         (regen-ulps): Likewise.
6518 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
6520         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
6521         * include/string.h (index): Remove define.
6522         (rindex): Likewise.
6523         * misc/getttyent.c (__getttyent): Rename index to strchr.
6524         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
6525         * sunrpc/rpc_main.c (mkfile_output): Likewise.
6527 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6529         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
6530         * math/libm-test.inc: Move all contents, other than tests of
6531         individual functions, to libm-test-driver.c.
6532         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
6533         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
6534         [!FE_UPWARD] (FE_UPWARD): Likewise.
6535         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
6536         (NO_EXCEPTION): Likewise.
6537         (INVALID_EXCEPTION): Likewise.
6538         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6539         (OVERFLOW_EXCEPTION): Likewise.
6540         (UNDERFLOW_EXCEPTION): Likewise.
6541         (INEXACT_EXCEPTION): Likewise.
6542         (INVALID_EXCEPTION_OK): Likewise.
6543         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6544         (OVERFLOW_EXCEPTION_OK): Likewise.
6545         (UNDERFLOW_EXCEPTION_OK): Likewise.
6546         (NO_INEXACT_EXCEPTION): Likewise.
6547         (EXCEPTIONS_OK): Likewise.
6548         (IGNORE_ZERO_INF_SIGN): Likewise.
6549         (TEST_NAN_SIGN): Likewise.
6550         (TEST_NAN_PAYLOAD): Likewise.
6551         (NO_TEST_INLINE): Likewise.
6552         (XFAIL_TEST): Likewise.
6553         (ERRNO_UNCHANGED): Likewise.
6554         (ERRNO_EDOM): Likewise.
6555         (ERRNO_ERANGE): Likewise.
6556         (IGNORE_RESULT): Likewise.
6557         (NON_FINITE): Likewise.
6558         (TEST_SNAN): Likewise.
6559         (NO_TEST_MATHVEC): Likewise.
6560         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
6561         (__CONCATX): Likewise.
6562         (TYPE_MIN): Likewise.
6563         (TYPE_TRUE_MIN): Likewise.
6564         (TYPE_MAX): Likewise.
6565         (MIN_EXP): Likewise.
6566         (MAX_EXP): Likewise.
6567         (MANT_DIG): Likewise.
6568         (FSTR_MAX): Likewise.
6569         (ULP_IDX): Likewise.
6570         (QTYPE_STR): Likewise.
6571         (TEST_COND_binary32): Likewise.
6572         (TEST_COND_binary64): Likewise.
6573         (TEST_COND_binary128): Likewise.
6574         (TEST_COND_ibm128): Likewise.
6575         (TEST_COND_intel96): Likewise.
6576         (TEST_COND_m68k96): Likewise.
6577         (TEST_COND_ibm128_libgcc): Likewise.
6578         (XFAIL_IBM128_LIBGCC): Likewise.
6579         (PAYLOAD_DIG): Likewise.
6580         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6581         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6582         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6583         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6584         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6585         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6586         (TEST_COND_long32): Likewise.
6587         (TEST_COND_long64): Likewise.
6588         (TEST_COND_before_rounding): Likewise.
6589         (TEST_COND_after_rounding): Likewise.
6590         (lit_pi_3_m_4_d): Likewise.
6591         (lit_pi_3_m_4_ln10_m_d): Likewise.
6592         (lit_pi_2_ln10_m_d): Likewise.
6593         (lit_pi_4_ln10_m_d): Likewise.
6594         (lit_pi_ln10_d): Likewise.
6595         (lit_pi_2_d): Likewise.
6596         (lit_pi_4_d): Likewise.
6597         (lit_pi): Likewise.
6598         (lit_e): Likewise.
6599         (ulps_file_name): Likewise.
6600         (ulps_file): Likewise.
6601         (output_ulps): Likewise.
6602         (output_dir): Likewise.
6603         (noErrors): Likewise.
6604         (noTests): Likewise.
6605         (noExcTests): Likewise.
6606         (noErrnoTests): Likewise.
6607         (verbose): Likewise.
6608         (output_max_error): Likewise.
6609         (output_points): Likewise.
6610         (ignore_max_ulp): Likewise.
6611         (plus_zero): Likewise.
6612         (minus_zero): Likewise.
6613         (plus_infty): Likewise.
6614         (minus_infty): Likewise.
6615         (qnan_value_pl): Likewise.
6616         (qnan_value): Likewise.
6617         (snan_value_pl): Likewise.
6618         (snan_value): Likewise.
6619         (max_value): Likewise.
6620         (min_value): Likewise.
6621         (min_subnorm_value): Likewise.
6622         (snan_value_ld): Likewise.
6623         (max_error): Likewise.
6624         (real_max_error): Likewise.
6625         (imag_max_error): Likewise.
6626         (prev_max_error): Likewise.
6627         (prev_real_max_error): Likewise.
6628         (prev_imag_max_error): Likewise.
6629         (max_valid_error): Likewise.
6630         (TYPE_DECIMAL_DIG): Likewise.
6631         (TYPE_HEX_DIG): Likewise.
6632         (fmt_ftostr): Likewise.
6633         (compare_ulp_data): Likewise.
6634         (find_ulps): Likewise.
6635         (init_max_error): Likewise.
6636         (set_max_error): Likewise.
6637         (print_float): Likewise.
6638         (print_screen): Likewise.
6639         (print_screen_max_error): Likewise.
6640         (update_stats): Likewise.
6641         (print_function_ulps): Likewise.
6642         (print_complex_function_ulps): Likewise.
6643         (fpstack_test): Likewise.
6644         (print_max_error): Likewise.
6645         (print_complex_max_error): Likewise.
6646         (test_single_exception): Likewise.
6647         (test_exceptions): Likewise.
6648         (test_single_errno): Likewise.
6649         (test_errno): Likewise.
6650         (ULPDIFF): Likewise.
6651         (ulp): Likewise.
6652         (check_float_internal): Likewise.
6653         (check_float): Likewise.
6654         (check_complex): Likewise.
6655         (check_int): Likewise.
6656         (check_long): Likewise.
6657         (check_bool): Likewise.
6658         (check_longlong): Likewise.
6659         (check_intmax_t): Likewise.
6660         (check_uintmax_t): Likewise.
6661         (enable_test): Likewise.
6662         (struct test_f_f_data): Likewise.
6663         (struct test_ff_f_data): Likewise.
6664         (struct test_fj_f_data): Likewise.
6665         (struct test_fi_f_data): Likewise.
6666         (struct test_fl_f_data): Likewise.
6667         (struct test_if_f_data): Likewise.
6668         (struct test_fff_f_data): Likewise.
6669         (struct test_fiu_M_data): Likewise.
6670         (struct test_fiu_U_data): Likewise.
6671         (struct test_c_f_data): Likewise.
6672         (struct test_f_f1_data): Likewise.
6673         (struct test_fF_f1_data): Likewise.
6674         (struct test_ffI_f1_data): Likewise.
6675         (struct test_c_c_data): Likewise.
6676         (struct test_cc_c_data): Likewise.
6677         (struct test_f_i_data): Likewise.
6678         (struct test_ff_i_data): Likewise.
6679         (struct test_f_l_data): Likewise.
6680         (struct test_f_L_data): Likewise.
6681         (struct test_fFF_11_data): Likewise.
6682         (struct test_Ff_b1_data): Likewise.
6683         (IF_ROUND_INIT_): Likewise.
6684         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6685         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6686         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6687         (IF_ROUND_INIT_FE_UPWARD): Likewise.
6688         (ROUND_RESTORE_): Likewise.
6689         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6690         (ROUND_RESTORE_FE_TONEAREST): Likewise.
6691         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6692         (ROUND_RESTORE_FE_UPWARD): Likewise.
6693         (RM_): Likewise.
6694         (RM_FE_DOWNWARD): Likewise.
6695         (RM_FE_TONEAREST): Likewise.
6696         (RM_FE_TOWARDZERO): Likewise.
6697         (RM_FE_UPWARD): Likewise.
6698         (COMMON_TEST_SETUP): Likewise.
6699         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6700         (COMMON_TEST_CLEANUP): Likewise.
6701         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6702         (RUN_TEST_f_f): Likewise.
6703         (RUN_TEST_LOOP_f_f): Likewise.
6704         (RUN_TEST_fp_f): Likewise.
6705         (RUN_TEST_LOOP_fp_f): Likewise.
6706         (RUN_TEST_2_f): Likewise.
6707         (RUN_TEST_LOOP_2_f): Likewise.
6708         (RUN_TEST_ff_f): Likewise.
6709         (RUN_TEST_LOOP_ff_f): Likewise.
6710         (RUN_TEST_LOOP_fj_f): Likewise.
6711         (RUN_TEST_fi_f): Likewise.
6712         (RUN_TEST_LOOP_fi_f): Likewise.
6713         (RUN_TEST_fl_f): Likewise.
6714         (RUN_TEST_LOOP_fl_f): Likewise.
6715         (RUN_TEST_if_f): Likewise.
6716         (RUN_TEST_LOOP_if_f): Likewise.
6717         (RUN_TEST_fff_f): Likewise.
6718         (RUN_TEST_LOOP_fff_f): Likewise.
6719         (RUN_TEST_fiu_M): Likewise.
6720         (RUN_TEST_LOOP_fiu_M): Likewise.
6721         (RUN_TEST_fiu_U): Likewise.
6722         (RUN_TEST_LOOP_fiu_U): Likewise.
6723         (RUN_TEST_c_f): Likewise.
6724         (RUN_TEST_LOOP_c_f): Likewise.
6725         (RUN_TEST_f_f1): Likewise.
6726         (RUN_TEST_LOOP_f_f1): Likewise.
6727         (RUN_TEST_fF_f1): Likewise.
6728         (RUN_TEST_LOOP_fF_f1): Likewise.
6729         (RUN_TEST_fI_f1): Likewise.
6730         (RUN_TEST_LOOP_fI_f1): Likewise.
6731         (RUN_TEST_ffI_f1_mod8): Likewise.
6732         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
6733         (RUN_TEST_Ff_b1): Likewise.
6734         (RUN_TEST_LOOP_Ff_b1): Likewise.
6735         (RUN_TEST_Ffp_b1): Likewise.
6736         (RUN_TEST_LOOP_Ffp_b1): Likewise.
6737         (RUN_TEST_c_c): Likewise.
6738         (RUN_TEST_LOOP_c_c): Likewise.
6739         (RUN_TEST_cc_c): Likewise.
6740         (RUN_TEST_LOOP_cc_c): Likewise.
6741         (RUN_TEST_f_i): Likewise.
6742         (RUN_TEST_LOOP_f_i): Likewise.
6743         (RUN_TEST_f_i_tg): Likewise.
6744         (RUN_TEST_LOOP_f_i_tg): Likewise.
6745         (RUN_TEST_ff_b): Likewise.
6746         (RUN_TEST_LOOP_ff_b): Likewise.
6747         (RUN_TEST_ff_i_tg): Likewise.
6748         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6749         (RUN_TEST_f_b): Likewise.
6750         (RUN_TEST_LOOP_f_b): Likewise.
6751         (RUN_TEST_f_b_tg): Likewise.
6752         (RUN_TEST_LOOP_f_b_tg): Likewise.
6753         (RUN_TEST_f_l): Likewise.
6754         (RUN_TEST_LOOP_f_l): Likewise.
6755         (RUN_TEST_f_L): Likewise.
6756         (RUN_TEST_LOOP_f_L): Likewise.
6757         (RUN_TEST_fFF_11): Likewise.
6758         (RUN_TEST_LOOP_fFF_11): Likewise.
6759         (VEC_SUFF): Likewise.
6760         (STR_CONCAT): Likewise.
6761         (STR_CON3): Likewise.
6762         (HAVE_VECTOR): Likewise.
6763         (START): Likewise.
6764         (END): Likewise.
6765         (END_COMPLEX): Likewise.
6766         (ALL_RM_TEST): Likewise.
6767         (matherr): Likewise.
6768         (initialize): Likewise.
6769         (options): Likewise.
6770         (doc): Likewise.
6771         (parse_opt): Likewise.
6772         (argp): Likewise.
6773         (check_ulp): Likewise.
6774         (main): Likewise.
6775         (do_test): New function.  Call tests of individual functions
6776         previously called from main.
6778         * math/libm-test.inc: Remove comment listing functions tested and
6779         not tested.
6781 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6783         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
6784         (allocate_stack): Remove COLORING_INCREMENT usage.
6785         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
6786         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
6788 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6790         * manual/libm-err-tab.pl (@all_functions): Change to
6791         %all_functions.  Initialize as empty.
6792         (parse_ulps): Add to %all_functions based on functions found in
6793         ulps files.  Ignore results for non-default rounding modes and
6794         vector functions.
6795         (print_platforms): Use %all_platforms.
6796         * manual/math.texi (Errors in Math Functions): Document omissions
6797         from the table.
6799         * math/Makefile (before-compile): Remove.
6801 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
6803         [BZ #21075]
6804         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
6805         unused assignment.
6806         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6808 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6810         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
6811         Add __glibc_unlikely hint.
6813 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6815         [BZ #16640]
6816         * sysdeps/i386/i686/strtok.S: Remove file.
6817         * sysdeps/i386/i686/strtok_r.S: Likewise.
6818         * sysdeps/i386/strtok.S: Likewise.
6819         * sysdeps/i386/strtok_r.S: Likewise.
6820         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
6821         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
6822         * sysdeps/x86_64/strtok.S: Likewise.
6823         * sysdeps/x86_64/strtok_r.S: Likewise.
6825         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
6826         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
6827         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6828         (__ASSUME_FADVISE64_AS_64_64): Define.
6829         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
6830         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
6831         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
6832         __ALIGNMENT_ARG usage.
6833         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
6834         __NR_fadvise64_64 if it is not defined.
6836 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6838         * version.h (RELEASE): Set to "development"
6839         (VERSION): Set to 2.25.90.
6840         * NEWS: Add 2.26 section.
6842         * version.h (RELEASE): Set to "stable"
6843         (VERSION): Set to 2.25.
6844         * include/features.h (__GLIBC_MINOR__): Set to 25.
6846         * manual/contrib.texi: Add more contributors from this release
6847         and past releases.
6849         * NEWS (2.25): Add list of bugs fixed.
6851         * NEWS: Add missing news items.
6853 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6855         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
6856         parent if child exited in that manner.  Print WEXITSTATUS
6857         instead of the raw status.
6858         (do_test_prep): Rename to do_test.
6859         (do_test): Return the result of run_executable_sgid.
6860         (TEST_FUNCTION_ARGV): Adjust.
6862 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
6863             Florian Weimer  <fweimer@redhat.com>
6864             Carlos O'Donell  <carlos@redhat.com>
6866         [BZ #20915]
6867         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
6868         Do not initialize DTV.
6869         * nptl/allocatestack.c (init_one_static_tls): Likewise.
6871 2017-02-03  David S. Miller  <davem@davemloft.net>
6873         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
6874         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6875         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
6876         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6877         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
6878         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6879         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
6880         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6881         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
6882         (libm-sysdep_routines): Update.
6883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
6884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
6885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
6886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
6887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
6888         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
6889         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
6890         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
6891         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
6892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
6893         Likewise.
6894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
6896         Likewise.
6897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
6899         Likewise.
6900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
6902         Likewise.
6903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
6905         (libm-sysdep_routines): Update.
6907 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
6909         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
6910         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
6911         against unrelocated shared library.
6912         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6914 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6916         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
6917         * elf/tst-env-setuid-tunables.c
6918         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
6919         GLIBC_TUNABLES is removed in a setgid process.
6921         [BZ #21073]
6922         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
6923         * elf/dl-tunables.c (tunables_strdup): Remove.
6924         (get_next_env): Also return the previous envp.
6925         (parse_tunables): Erase tunables of category
6926         TUNABLES_SECLEVEL_SXID_ERASE.
6927         (maybe_enable_malloc_check): Make MALLOC_CHECK_
6928         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
6929         (__tunables_init)[TUNABLES_FRONTEND ==
6930         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
6931         after parsing.
6932         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
6933         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
6934         * elf/dl-tunables.h (struct _tunable): Change member is_secure
6935         to security_level.
6936         * elf/dl-tunables.list: Add security_level annotations for all
6937         tunables.
6938         * scripts/gen-tunables.awk: Recognize and generate enum values
6939         for security_level.
6940         * elf/tst-env-setuid.c: New test case.
6941         * elf/tst-env-setuid-tunables: new test case.
6942         * elf/Makefile (tests-static): Add them.
6944 2017-02-01  Richard Henderson  <rth@twiddle.net>
6946         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
6947         adjusting the byte count.
6949 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
6951         * conform/Makefile (linknamespace-libs): Define.
6953         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
6954         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
6955         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
6956         operands.
6958 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
6960         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
6962 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6964         [BZ #21081]
6965         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6966         (L(stosb)): Add VZEROUPPER before ret.
6968 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
6969             Alexey Makhalov <amakhalov@vmware.com>
6970             Florian Weimer <fweimer@redhat.com>
6972         [BZ #20116]
6973         * nptl/pthread_create.c: Document concurrency notes.
6974         Enhance thread creation notes.
6975         (create_thread): Use bool *stopped_start.
6976         (START_THREAD_DEFN): Comment ownership of PD.
6977         (__pthread_create_2_1): Add local bool stopped_start and use
6978         that instead of pd->stopped_start where appropriate.
6979         * nptl/createthread.c (create_thread): Use bool *stopped_start.
6980         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
6981         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6982         * nptl/tst-create-detached.c: New file.
6983         * nptl/Makefile (tests): Add tst-create-detached.
6984         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6985         Reference the enhanced thread creation notes.
6986         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
6987         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
6988         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
6989         (__pthread_current_priority): Likewise.
6990         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
6991         xpthread_attr_init, xpthread_attr_setdetachstate, and
6992         xpthread_attr_setstacksize.
6993         * support/xpthread_attr_destroy.c: New file.
6994         * support/xpthread_attr_init.c: New file.
6995         * support/xpthread_attr_setdetachstate.c: New file.
6996         * support/xpthread_attr_setstacksize.c: New file.
6997         * support/xthread.h: Define prototypes for xpthread_attr_destroy
6998         xpthread_attr_init, xpthread_attr_setdetachstate, and
6999         xpthread_attr_setstacksize.
7001 2017-01-27  Florian Weimer  <fweimer@redhat.com>
7003         * nptl/Makefile (tests): Add tst-robust-fork.
7004         * nptl/tst-robust-fork.c: New file.
7005         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
7006         xpthread_mutex_consistent, xpthread_mutex_destroy,
7007         xpthread_mutex_init, xpthread_mutexattr_destroy,
7008         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
7009         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
7010         xpthread_mutexattr_settype.
7011         * support/xmmap.c: New file.
7012         * support/xmunmap.c: Likewise.
7013         * support/xpthread_mutex_consistent.c: Likewise.
7014         * support/xpthread_mutex_destroy.c: Likewise.
7015         * support/xpthread_mutex_init.c: Likewise.
7016         * support/xpthread_mutexattr_destroy.c: Likewise.
7017         * support/xpthread_mutexattr_init.c: Likewise.
7018         * support/xpthread_mutexattr_setprotocol.c: Likewise.
7019         * support/xpthread_mutexattr_setpshared.c: Likewise.
7020         * support/xpthread_mutexattr_setrobust.c: Likewise.
7021         * support/xpthread_mutexattr_settype.c: Likewise.
7022         * support/xthread.h (xpthread_mutexattr_destroy)
7023         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
7024         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
7025         (xpthread_mutexattr_settype, xpthread_mutex_init)
7026         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
7027         * support/xunistd.h (xmmap, xmunmap): Likewise.
7029 2017-01-25  Florian Weimer  <fweimer@redhat.com>
7031         * string/Makefile (xtests): Add comment.
7032         (LOCALES): Add en_GB.UTF-8.
7033         (tst-strcoll-overflow.out): Depend on generated locales.
7034         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
7035         (SIZE, TIMEOUT): Update comments.
7036         (do_test): Define as static.  Fail test if setlocale fails.
7037         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
7038         messages.
7039         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
7040         TIMEOUT at 300 seconds should be enough to run this test
7041         successfully.
7043 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
7045         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
7046         /* FALLTHRU */ comments.
7048 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
7050         [BZ #21053]
7051         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
7052         constants instead of the old R* ones.
7053         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
7054         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
7055         (NGREG): ... to this, to fit in with other architectures.
7056         (gpregset_t): Use new NGREG macro.
7057         [__USE_GNU]: Remove condition; all architectures other than tile
7058         are unconditional.
7059         (R*): Rename to REG_R*.
7061 2017-01-20  DJ Delorie  <dj@redhat.com>
7063         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
7064         (tunable_set_val_if_valid_range_signed) ... this, and ...
7065         (tunable_set_val_if_valid_range_unsigned) ... this.
7066         (tunable_initialize): Call the correct one of the above based on type.
7068 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
7070         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
7071         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7072         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7073         * sysdeps/microblaze/libm-test-ulps: Likewise.
7074         * sysdeps/sh/libm-test-ulps: Likewise.
7076         * math/README.libm-test: Update list of characters for input and
7077         output types.
7079 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7081         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7082         (__lll_unlock_elision): Fix adapt_count decrement.
7084 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
7086         * README.pretty-printers (Known issues): Warn about printers not
7087         always covering everything.
7088         * nptl/nptl-printers.py (MutexPrinter): Change output.
7089         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
7091 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7093         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
7094         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7095         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
7096         (__lll_lock_elision): Do not test futex before starting a
7097         transaction.  Use __glibc_likely instead of __builtin_expect.
7098         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
7099         (__lll_trylock_elision): Do not test futex before starting a
7100         transaction.  Use __glibc_likely instead of __builtin_expect.
7102 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7104         * po/Makefile (update-translations): New target.
7106 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
7108         [BZ #21061]
7109         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
7111 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7113         * elf/dl-tunables (get_next_env): Always advance envp.
7114         * stdlib/tst-empty-env.c: New test case.
7115         * stdlib/Makefile (tests): Use it.
7117 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
7119         [BZ #21047]
7120         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
7121         name for instruction.
7122         [!__SOFTFP__] (_FPU_SETCW): Likewise.
7124 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
7126         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
7127         for make install.
7129 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7131         * po/bg.po: Merge from Translation Project.
7132         * po/fr.po: Likewise.
7133         * po/ko.po: Likewise.
7134         * po/nl.po: Likewise.
7135         * po/sv.po: Likewise.
7137 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
7139         * manual/install.texi (Tools for Compilation): Update GCC version
7140         known to work to build glibc.
7141         * INSTALL: Regenerated.
7143 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7145         [BZ #21006]
7146         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
7148 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
7150         [BZ #21045]
7151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
7152         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
7153         to __sigprocmask.
7155 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
7157         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
7158         wrap-around.
7159         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
7161         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
7163 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7165         * NEWS: Fix typo.
7167 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7169         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
7170         barriers and comments.
7171         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
7172         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7173         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7175 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7177         [BZ #19402]
7178         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
7179         mutexes.
7181 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7183         [BZ #20985]
7184         * nptl/Makefile: Adapt.
7185         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7186         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
7187         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7188         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
7189         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
7190         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
7191         lll_robust* functions and adapt.
7192         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7193         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
7194         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
7195         __lll_robust_timedlock, __lll_robust_unlock): Remove.
7196         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
7197         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
7198         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
7199         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
7200         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
7201         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
7202         __lll_robust_timedlock, __lll_robust_unlock): Remove.
7203         * nptl/lowlevelrobustlock.c: Remove file.
7204         * nptl/lowlevelrobustlock.sym: Likewise.
7205         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
7206         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
7208 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7210         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7212 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7214         * po/cs.po: Merge translations from the Translation Project.
7215         * po/de.po: Likewise.
7216         * po/pl.po: Likewise.
7217         * po/ru.po: Likewise.
7218         * po/tr.po: Likewise.
7219         * po/uk.po: Likewise.
7220         * po/vi.po: Likewise.
7221         * po/zh_CN.po: Likewise.
7223 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
7225         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
7227         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
7228         object.
7230 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
7232         [BZ #16458]
7233         * bits/uintn-identity.h: New file.
7234         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
7235         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
7236         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
7237         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
7238         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
7239         * string/endian.h: Include <bits/uintn-identity.h>.
7240         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
7241         __uint16_identity.
7242         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
7243         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
7244         __uint32_identity.
7245         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
7246         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
7247         __uint64_identity.
7248         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
7249         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
7250         __uint16_identity.
7251         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
7252         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
7253         __uint32_identity.
7254         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
7255         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
7256         __uint64_identity.
7257         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
7258         * string/Makefile (headers): Add bits/uintn-identity.h.
7259         (tests): Add test-endian-types.
7260         * string/test-endian-types.c: New file.
7261         * inet/Makefile (tests): Add test-hnto-types.
7262         * inet/test-hnto-types.c: New file.
7264 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7266         * po/be.po: Update from Translation Project.
7267         * po/bg.po: Likewise.
7268         * po/ca.po: Likewise.
7269         * po/cs.po: Likewise.
7270         * po/da.po: Likewise.
7271         * po/de.po: Likewise.
7272         * po/el.po: Likewise.
7273         * po/eo.po: Likewise.
7274         * po/es.po: Likewise.
7275         * po/fi.po: Likewise.
7276         * po/fr.po: Likewise.
7277         * po/gl.po: Likewise.
7278         * po/hr.po: Likewise.
7279         * po/hu.po: Likewise.
7280         * po/ia.po: Likewise.
7281         * po/id.po: Likewise.
7282         * po/it.po: Likewise.
7283         * po/ja.po: Likewise.
7284         * po/ko.po: Likewise.
7285         * po/lt.po: Likewise.
7286         * po/nb.po: Likewise.
7287         * po/nl.po: Likewise.
7288         * po/pl.po: Likewise.
7289         * po/pt_BR.po: Likewise.
7290         * po/ru.po: Likewise.
7291         * po/rw.po: Likewise.
7292         * po/sk.po: Likewise.
7293         * po/sl.po: Likewise.
7294         * po/sv.po: Likewise.
7295         * po/tr.po: Likewise.
7296         * po/uk.po: Likewise.
7297         * po/vi.po: Likewise.
7298         * po/zh_CN.po: Likewise.
7299         * po/zh_TW.po: Likewise.
7301 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
7303         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
7304         -Wformat-truncation instead of -Wformat-length.
7305         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
7306         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
7307         GCC 7.
7308         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
7309         (do_test): Ignore -Wformat-truncation for GCC 7.
7311         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
7312         buffer used to print long int value.
7314         * elf/sotruss-lib.c (init): Increase space allocated for pid by
7315         one byte.  Print it with %ld, cast to long int.
7317 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7319         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
7320         (re.fullmatch, subprocess.run): Likewise.
7322 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7324         * po/libc.pot: Regenerate.
7326 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7328         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
7329         (min_strlen): Likewise.
7330         (disable_tunable): Likewise.
7331         (maybe_disable_malloc_check): Rename to
7332         maybe_enable_malloc_check.
7333         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
7334         if /etc/suid-debug file exists.
7335         (__tunables_init): Update caller.
7336         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
7337         secure.
7339 2016-01-10  Torvald Riegel  <triegel@redhat.com>
7341         * nptl/DESIGN-rwlock.txt: Remove.
7342         * nptl/lowlevelrwlock.sym: Remove.
7343         * nptl/Makefile: Add new tests.
7344         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
7345         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
7346         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
7347         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
7348         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
7349         PTHREAD_RWLOCK_FUTEX_USED): New.
7350         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
7351         implementation.
7352         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
7353         (__pthread_rwlock_rdlock): Adapt.
7354         * nptl/pthread_rwlock_timedrdlock.c
7355         (pthread_rwlock_timedrdlock): Adapt.
7356         * nptl/pthread_rwlock_timedwrlock.c
7357         (pthread_rwlock_timedwrlock): Adapt.
7358         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
7359         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
7360         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
7361         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
7362         (__pthread_rwlock_wrlock): Adapt.
7363         * nptl/tst-rwlock10.c: Adapt.
7364         * nptl/tst-rwlock11.c: Adapt.
7365         * nptl/tst-rwlock17.c: New file.
7366         * nptl/tst-rwlock18.c: New file.
7367         * nptl/tst-rwlock19.c: New file.
7368         * nptl/tst-rwlock2b.c: New file.
7369         * nptl/tst-rwlock8.c: Adapt.
7370         * nptl/tst-rwlock9.c: Adapt.
7371         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7372         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7373         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7374         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7375         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7376         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7377         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7378         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7379         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7380         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7381         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7382         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7383         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7384         (pthread_rwlock_t): Adapt.
7385         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7386         (pthread_rwlock_t): Adapt.
7387         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7388         * nptl/nptl-printers.py (): Adapt.
7389         * nptl/nptl_lock_constants.pysym: Adapt.
7390         * nptl/test-rwlock-printers.py: Adapt.
7391         * nptl/test-rwlockattr-printers.c: Adapt.
7392         * nptl/test-rwlockattr-printers.py: Adapt.
7394 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
7396         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
7397         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
7398         (fma_test_data): Likewise.
7399         (hypot_test_data): Likewise.
7400         (log1p_test_data): Likewise.
7401         (modf_test_data): Likewise.
7402         (pow_test_data): Likewise.
7403         (remainder_test_data): Likewise.
7404         (remquo_test_data): Likewise.
7405         (scalb_test_data): Likewise.
7406         (scalbn_test_data): Likewise.
7407         (scalbln_test_data): Likewise.
7408         * math/gen-libm-test.pl (parse_args): Transform
7409         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
7410         on the rounding mode.
7412 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
7414         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
7415         xfail-rounding:ibm128-libgcc automatically to tests overflowing
7416         and those that can underflow to zero.
7417         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
7418         add others.
7419         * math/auto-libm-test-out: Regenerated.
7421         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
7422         supported.
7423         (feholdexcept_tests): Skip tests requiring exceptions or rounding
7424         modes support if not supported.
7426         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
7427         Add libc.so PLT entry.
7428         (__tls_get_addr): Make ld.so PLT entry optional.
7430 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7432         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
7433         * string/bits/string3.h: ... here.
7435 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7437         [BZ #21028]
7438         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
7439         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
7440         if EXCEPTION_TESTS returns false.
7442 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7444         [BZ #20558]
7445         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
7446         strings_fortified.h.
7447         [__USE_MISC] (bzero): Likewise.
7448         [__USE_MISC] (explicit_bzero): Likewise.
7449         * string/strings.h: Include strings_fortified.h.
7450         * string/Makefile (headers): Add strings_fortified.h.
7451         * string/bits/strings_fortified.h: New file.
7452         * include/bits/strings_fortified.h: Likewise.
7454 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7456         * elf/tst-tls13.c (TIMEOUT): Remove.
7457         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
7458         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
7459         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
7460         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
7461         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
7463         [BZ #21026]
7464         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
7465         (readahead): New syscall entry.
7467 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7469         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
7470         around tests of strncat with large sizes.
7472         * malloc/tst-malloc.c: Include <libc-internal.h>.
7473         (do_test): Disable -Walloc-size-larger-than= around tests of
7474         malloc with negative sizes.
7475         * malloc/tst-mcheck.c: Include <libc-internal.h>.
7476         (do_test): Disable -Walloc-size-larger-than= around tests of
7477         malloc and realloc with negative sizes.
7478         * malloc/tst-realloc.c: Include <libc-internal.h>.
7479         (do_test): Disable -Walloc-size-larger-than= around tests of
7480         realloc with negative sizes.
7482         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
7483         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
7484         allowed to 16 ulps.
7485         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
7486         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
7487         * math/auto-libm-test-out: Regenerated.
7489 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7491         * math/Makefile (libm-calls): Move wrappers...
7492         (libm-compat-call-auto): Here.
7493         (libm-routines): Add items in libm-compat-calls-auto.
7494         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
7495         the filenames of the wrappers that have been renamed.
7496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
7497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7499         * math/w_acos.c: Add _compat suffix to filename.
7500         * math/w_acosf.c: Likewise.
7501         * math/w_acosh.c: Likewise.
7502         * math/w_acoshf.c: Likewise.
7503         * math/w_acoshl.c: Likewise.
7504         * math/w_acosl.c: Likewise.
7505         * math/w_asin.c: Likewise.
7506         * math/w_asinf.c: Likewise.
7507         * math/w_asinl.c: Likewise.
7508         * math/w_atan2.c: Likewise.
7509         * math/w_atan2f.c: Likewise.
7510         * math/w_atan2l.c: Likewise.
7511         * math/w_atanh.c: Likewise.
7512         * math/w_atanhf.c: Likewise.
7513         * math/w_atanhl.c: Likewise.
7514         * math/w_cosh.c: Likewise.
7515         * math/w_coshf.c: Likewise.
7516         * math/w_coshl.c: Likewise.
7517         * math/w_exp10.c: Likewise.
7518         * math/w_exp10f.c: Likewise.
7519         * math/w_exp10l.c: Likewise.
7520         * math/w_exp2.c: Likewise.
7521         * math/w_exp2f.c: Likewise.
7522         * math/w_exp2l.c: Likewise.
7523         * math/w_fmod.c: Likewise.
7524         * math/w_fmodf.c: Likewise.
7525         * math/w_fmodl.c: Likewise.
7526         * math/w_hypot.c: Likewise.
7527         * math/w_hypotf.c: Likewise.
7528         * math/w_hypotl.c: Likewise.
7529         * math/w_j0.c: Likewise.
7530         * math/w_j0f.c: Likewise.
7531         * math/w_j0l.c: Likewise.
7532         * math/w_j1.c: Likewise.
7533         * math/w_j1f.c: Likewise.
7534         * math/w_j1l.c: Likewise.
7535         * math/w_jn.c: Likewise.
7536         * math/w_jnf.c: Likewise.
7537         * math/w_jnl.c: Likewise.
7538         * math/w_log10.c: Likewise.
7539         * math/w_log10f.c: Likewise.
7540         * math/w_log10l.c: Likewise.
7541         * math/w_log2.c: Likewise.
7542         * math/w_log2f.c: Likewise.
7543         * math/w_log2l.c: Likewise.
7544         * math/w_log.c: Likewise.
7545         * math/w_logf.c: Likewise.
7546         * math/w_logl.c: Likewise.
7547         * math/w_pow.c: Likewise.
7548         * math/w_powf.c: Likewise.
7549         * math/w_powl.c: Likewise.
7550         * math/w_remainder.c: Likewise.
7551         * math/w_remainderf.c: Likewise.
7552         * math/w_remainderl.c: Likewise.
7553         * math/w_scalb.c: Likewise.
7554         * math/w_scalbf.c: Likewise.
7555         * math/w_scalbl.c: Likewise.
7556         * math/w_sinh.c: Likewise.
7557         * math/w_sinhf.c: Likewise.
7558         * math/w_sinhl.c: Likewise.
7559         * math/w_sqrt.c: Likewise.
7560         * math/w_sqrtf.c: Likewise.
7561         * math/w_sqrtl.c: Likewise.
7562         * math/w_tgamma.c: Likewise.
7563         * math/w_tgammaf.c: Likewise.
7564         * math/w_tgammal.c: Likewise.
7566         * math/w_acos_compat.c: New file copied from above and
7567         adjusted for new #includes path
7568         * math/w_acosf_compat.c: Likewise.
7569         * math/w_acosh_compat.c: Likewise.
7570         * math/w_acoshf_compat.c: Likewise.
7571         * math/w_acoshl_compat.c: Likewise.
7572         * math/w_acosl_compat.c: Likewise.
7573         * math/w_asin_compat.c: Likewise.
7574         * math/w_asinf_compat.c: Likewise.
7575         * math/w_asinl_compat.c: Likewise.
7576         * math/w_atan2_compat.c: Likewise.
7577         * math/w_atan2f_compat.c: Likewise.
7578         * math/w_atan2l_compat.c: Likewise.
7579         * math/w_atanh_compat.c: Likewise.
7580         * math/w_atanhf_compat.c: Likewise.
7581         * math/w_atanhl_compat.c: Likewise.
7582         * math/w_cosh_compat.c: Likewise.
7583         * math/w_coshf_compat.c: Likewise.
7584         * math/w_coshl_compat.c: Likewise.
7585         * math/w_exp10_compat.c: Likewise.
7586         * math/w_exp10f_compat.c: Likewise.
7587         * math/w_exp10l_compat.c: Likewise.
7588         * math/w_exp2_compat.c: Likewise.
7589         * math/w_exp2f_compat.c: Likewise.
7590         * math/w_exp2l_compat.c: Likewise.
7591         * math/w_fmod_compat.c: Likewise.
7592         * math/w_fmodf_compat.c: Likewise.
7593         * math/w_fmodl_compat.c: Likewise.
7594         * math/w_hypot_compat.c: Likewise.
7595         * math/w_hypotf_compat.c: Likewise.
7596         * math/w_hypotl_compat.c: Likewise.
7597         * math/w_j0_compat.c: Likewise.
7598         * math/w_j0f_compat.c: Likewise.
7599         * math/w_j0l_compat.c: Likewise.
7600         * math/w_j1_compat.c: Likewise.
7601         * math/w_j1f_compat.c: Likewise.
7602         * math/w_j1l_compat.c: Likewise.
7603         * math/w_jn_compat.c: Likewise.
7604         * math/w_jnf_compat.c: Likewise.
7605         * math/w_jnl_compat.c: Likewise.
7606         * math/w_log10_compat.c: Likewise.
7607         * math/w_log10f_compat.c: Likewise.
7608         * math/w_log10l_compat.c: Likewise.
7609         * math/w_log2_compat.c: Likewise.
7610         * math/w_log2f_compat.c: Likewise.
7611         * math/w_log2l_compat.c: Likewise.
7612         * math/w_log_compat.c: Likewise.
7613         * math/w_logf_compat.c: Likewise.
7614         * math/w_logl_compat.c: Likewise.
7615         * math/w_pow_compat.c: Likewise.
7616         * math/w_powf_compat.c: Likewise.
7617         * math/w_powl_compat.c: Likewise.
7618         * math/w_remainder_compat.c: Likewise.
7619         * math/w_remainderf_compat.c: Likewise.
7620         * math/w_remainderl_compat.c: Likewise.
7621         * math/w_scalb_compat.c: Likewise.
7622         * math/w_scalbf_compat.c: Likewise.
7623         * math/w_scalbl_compat.c: Likewise.
7624         * math/w_sinh_compat.c: Likewise.
7625         * math/w_sinhf_compat.c: Likewise.
7626         * math/w_sinhl_compat.c: Likewise.
7627         * math/w_sqrt_compat.c: Likewise.
7628         * math/w_sqrtf_compat.c: Likewise.
7629         * math/w_sqrtl_compat.c: Likewise.
7630         * math/w_tgamma_compat.c: Likewise.
7631         * math/w_tgammaf_compat.c: Likewise.
7632         * math/w_tgammal_compat.c: Likewise.
7634         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
7635         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
7636         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
7637         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
7638         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
7639         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
7640         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
7641         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
7642         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
7643         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
7644         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
7645         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
7646         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
7647         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
7648         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
7649         * sysdeps/ia64/fpu/w_powl.c: Likewise.
7650         * sysdeps/ia64/fpu/w_powf.c: Likewise.
7651         * sysdeps/ia64/fpu/w_pow.c: Likewise.
7652         * sysdeps/ia64/fpu/w_logl.c: Likewise.
7653         * sysdeps/ia64/fpu/w_logf.c: Likewise.
7654         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
7655         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
7656         * sysdeps/ia64/fpu/w_log2.c: Likewise.
7657         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
7658         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
7659         * sysdeps/ia64/fpu/w_log10.c: Likewise.
7660         * sysdeps/ia64/fpu/w_log.c: Likewise.
7661         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
7662         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
7663         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
7664         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
7665         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
7666         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
7667         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
7668         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
7669         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
7670         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
7671         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
7672         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
7673         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
7674         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
7675         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
7676         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
7677         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
7678         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
7679         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
7680         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
7681         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
7682         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
7683         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
7684         * sysdeps/ia64/fpu/w_asin.c: Likewise.
7685         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
7686         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
7687         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
7688         * sysdeps/ia64/fpu/w_acos.c: Likewise.
7689         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
7690         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
7691         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
7692         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
7693         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
7694         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
7695         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
7696         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
7697         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
7698         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
7699         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
7700         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
7701         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
7702         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
7703         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
7704         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
7705         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
7706         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
7707         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
7708         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
7709         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
7710         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
7711         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
7712         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
7713         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
7714         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
7715         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
7716         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
7717         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
7718         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
7719         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
7720         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
7721         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
7722         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
7723         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
7724         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
7725         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
7726         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
7727         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
7728         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
7729         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
7730         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
7731         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
7732         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
7733         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
7734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
7735         Likewise.
7736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
7737         Likewise.
7738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
7739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
7740         Likewise.
7741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
7742         Likewise.
7743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
7744         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7745         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7746         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7747         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7748         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7749         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
7751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
7753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7754         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7755         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7756         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7757         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7759         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
7760         and adjusted for new #includes path
7761         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
7762         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
7763         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
7764         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
7765         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
7766         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
7767         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
7768         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
7769         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
7770         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
7771         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
7772         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
7773         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
7774         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
7775         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
7776         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
7777         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
7778         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
7779         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
7780         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
7781         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
7782         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
7783         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
7784         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
7785         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
7786         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
7787         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
7788         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
7789         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
7790         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
7791         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
7792         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
7793         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
7794         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
7795         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
7796         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
7797         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
7798         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
7799         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
7800         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
7801         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
7802         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
7803         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
7804         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
7805         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
7806         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
7807         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
7808         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
7809         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
7810         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
7811         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
7812         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
7813         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
7814         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
7815         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
7816         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
7817         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
7818         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
7819         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
7820         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
7821         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
7822         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
7823         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
7824         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
7825         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
7826         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
7827         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
7828         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
7829         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
7830         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
7831         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
7832         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
7833         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
7834         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
7835         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
7836         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
7837         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
7838         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
7839         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
7840         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
7841         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
7842         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
7843         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
7844         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
7845         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
7846         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
7847         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
7848         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
7849         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
7850         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
7851         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
7852         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
7853         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
7854         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
7855         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
7856         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
7857         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
7858         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
7859         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
7860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
7861         Likewise.
7862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
7863         Likewise.
7864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
7865         Likewise.
7866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
7867         Likewise.
7868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
7869         Likewise.
7870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
7871         Likewise.
7872         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
7873         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
7874         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
7875         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
7876         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
7877         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
7878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
7879         Likewise.
7880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
7881         Likewise.
7882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
7883         Likewise.
7884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
7885         Likewise.
7886         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
7887         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
7888         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
7889         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
7891 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7893         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
7894         __jmp_buf_internal_tag.
7896         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
7897         preserve NaN payload if [__mips_nan2008].
7898         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
7900         [BZ #21022]
7901         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
7903 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7905         * sysdeps/i386/fpu/libm-test-ulps: Update.
7907 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7909         * sysdeps/ia64/strcat.c: Remove file.
7910         * sysdeps/powerpc/strcat.c: Likewise.
7911         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
7912         C implementation.
7913         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
7914         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
7916 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7917             Steven Munroe  <sjmunroe@us.ibm.com>
7918             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7920         [BZ #20822]
7921         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7922         (__lll_lock_elision): Access adapt_count via C11 atomics.
7923         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7924         (__lll_trylock_elision): Likewise.
7925         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7926         (__lll_unlock_elision):  Update adapt_count variable inside the
7927         critical section using C11 atomics.
7929 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7931         * math/test-fenvinline.c (do_test): Disable tests of raised
7932         exceptions if !EXCEPTION_TESTS (FLOAT).
7934 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7936         [BZ #19390]
7937         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
7938         maximum string size.
7939         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
7940         in pointer addition.
7941         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
7942         Likewise.
7944 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
7946         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
7947         passed to tst-ldconfig-X.sh.
7949 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
7951         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
7953 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7955         [BZ #21019]
7956         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
7957         New syscall entry.
7958         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
7959         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
7960         lseek.
7962         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
7963         power4 glibc for powerpc-linux-gnu.
7965 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7967         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
7968         semctl.
7970 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7972         * math/test-nearbyint-except.c: Include <stdbool.h>.
7973         (any_supported): New variable.
7974         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
7975         set any_supported.
7976         (do_test): Return 77 if no floating-point type supported
7977         exceptions.
7979         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
7980         condition on [__mips_hard_float].
7982 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7984         [BZ #21014]
7985         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
7986         in pointer addition.
7987         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
7989 2017-01-02  Torvald Riegel  <triegel@redhat.com>
7991         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
7992         new condvar.
7994 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7996         * scripts/build-many-glibcs.py (Context.checkout): Default
7997         binutils version to 2.28 branch.
7999 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8001         * support/support_format_netent.c (support_format_netent): Work
8002         around alpha struct netent definition difference.
8004 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8006         * support/xwrite.c (xwrite): Use %td for pointer difference.
8008 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8010         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
8011         have-tunables only.
8012         (tests-static): Add tst-malloc-usable-static-tunables for
8013         have-tunables only.
8015 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
8017         * scripts/config.guess: Update to version 2017-01-01.
8018         * scripts/config.sub: Update to version 2017-01-01.
8020         * NEWS: Update copyright dates.
8021         * catgets/gencat.c (print_version): Likewise.
8022         * csu/version.c (banner): Likewise.
8023         * debug/catchsegv.sh: Likewise.
8024         * debug/pcprofiledump.c (print_version): Likewise.
8025         * debug/xtrace.sh (do_version): Likewise.
8026         * elf/ldconfig.c (print_version): Likewise.
8027         * elf/ldd.bash.in: Likewise.
8028         * elf/pldd.c (print_version): Likewise.
8029         * elf/sotruss.sh: Likewise.
8030         * elf/sprof.c (print_version): Likewise.
8031         * iconv/iconv_prog.c (print_version): Likewise.
8032         * iconv/iconvconfig.c (print_version): Likewise.
8033         * locale/programs/locale.c (print_version): Likewise.
8034         * locale/programs/localedef.c (print_version): Likewise.
8035         * login/programs/pt_chown.c (print_version): Likewise.
8036         * malloc/memusage.sh (do_version): Likewise.
8037         * malloc/memusagestat.c (print_version): Likewise.
8038         * malloc/mtrace.pl: Likewise.
8039         * manual/libc.texinfo: Likewise.
8040         * nptl/version.c (banner): Likewise.
8041         * nscd/nscd.c (print_version): Likewise.
8042         * nss/getent.c (print_version): Likewise.
8043         * nss/makedb.c (print_version): Likewise.
8044         * posix/getconf.c (main): Likewise.
8045         * scripts/test-installation.pl: Likewise.
8046         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8048         * All files with FSF copyright notices: Update copyright dates
8049         using scripts/update-copyrights.
8050         * intl/plural.c: Regenerated.
8051         * locale/programs/charmap-kw.h: Likewise.
8052         * locale/programs/locfile-kw.h: Likewise.
8054 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8056         [BZ #20593]
8057         Update DNS RR type definitions.
8058         * scripts/gen-rrtypes.py: New file.
8059         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
8060         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
8061         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
8062         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
8063         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
8064         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
8065         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
8066         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
8067         ns_t_ta, ns_t_dlv.
8068         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
8069         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
8070         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
8071         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
8072         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
8073         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
8074         Define.
8075         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
8076         entry for ns_t_zxfr.
8078 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8080         [BZ #18784]
8081         CVE-2015-5180
8082         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
8083         T_UNSPEC.  Adjust value.
8084         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
8085         * resolv/res_query.c (__libc_res_nquery): Likewise.
8086         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
8087         QTYPEs.
8088         * resolv/tst-resolv-qtypes.c: New file.
8089         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
8090         (tst-resolv-qtypes): Link against libresolv and libpthread.
8092 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8094         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
8096 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8098         * manual/tunables.texi: New chapter.
8099         * manual/Makefile (chapters): Add it.
8100         * manual/probes.texi (@node): Point to the Tunables chapter.
8102         * Makeconfig (have-tunables): Check for non-negative instead
8103         of positive.
8104         * configure.ac: Add 'valstring' as a valid value for
8105         --enable-tunables.
8106         * configure: Regenerate.
8107         * elf/Makefile (have-tunables): Check for non-negative instead
8108         of positive.
8109         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
8110         dl-tunables.c.
8111         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
8112         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
8113         (tunables_strdup): Likewise.
8114         (disable_tunables): Likewise.
8115         (parse_tunables): Likewise.
8116         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
8117         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
8118         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
8119         (TUNABLES_FRONTEND_yes): New macro, define as
8120         TUNABLES_FRONTEND_valstring by default.
8121         * manual/install.texi: Document new acceptable values for
8122         --enable-tunables.
8123         * INSTALL: Regenerate.
8125         * config.make.in (have-loop-to-function): Define.
8126         * elf/Makefile (CFLAGS-dl-tunables.c): Add
8127         -fno-tree-loop-distribute-patterns.
8128         * elf/dl-tunables.c: Include libc-internals.h.
8129         (GLIBC_TUNABLES): New macro.
8130         (tunables_strdup): New function.
8131         (parse_tunables): New function.
8132         (min_strlen): New function.
8133         (__tunables_init): Use the new functions and macro.
8134         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
8135         * malloc/tst-malloc-usable-tunables.c: New test case.
8136         * malloc/tst-malloc-usable-static-tunables.c: New test case.
8137         * malloc/Makefile (tests, tests-static): Add tests.
8139         * manual/install.texi: Add --enable-tunables option.
8140         * INSTALL: Regenerate.
8141         * README.tunables: New file.
8142         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
8143         (before-compile): Generate dl-tunable-list.h early.
8144         * config.h.in: Add HAVE_TUNABLES.
8145         * config.make.in: Add have-tunables.
8146         * configure.ac: Add --enable-tunables option.
8147         * configure: Regenerate.
8148         * csu/init-first.c (__libc_init_first): Move
8149         __libc_init_secure earlier...
8150         * csu/init-first.c (LIBC_START_MAIN):... to here.
8151         Include dl-tunables.h, libc-internal.h.
8152         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
8153         binaries.
8154         * elf/Makefile (dl-routines): Add dl-tunables.
8155         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
8156         namespace.
8157         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
8158         only when !HAVE_TUNABLES.
8159         * elf/rtld.c (process_envvars): Likewise.
8160         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
8161         (_dl_sysdep_start): Call __tunables_init.
8162         * elf/dl-tunable-types.h: New file.
8163         * elf/dl-tunables.c: New file.
8164         * elf/dl-tunables.h: New file.
8165         * elf/dl-tunables.list: New file.
8166         * malloc/tst-malloc-usable-static.c: New test case.
8167         * malloc/Makefile (tests-static): Add it.
8168         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
8169         Define TUNABLE_NAMESPACE.
8170         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
8171         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
8172         callback functions.
8173         (ptmalloc_init): Set tunable values.
8174         * scripts/gen-tunables.awk: New file.
8175         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
8176         (_dl_sysdep_start): Call __tunables_init.
8178 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8180         * resolv/resolv.h (RES_BLAST): Deprecate.
8181         * resolv/res_debug.c (p_option): Remove RES_BLAST.
8182         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
8183         to RES_BLAST.
8185 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8187         [BZ #19582]
8188         Deprecate RES_USE_INET6.
8189         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
8190         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
8191         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
8192         RES_USE_INET6.
8193         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
8194         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
8195         (_nss_nisplus_gethostbyaddr_r): Likewise.
8196         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
8197         of res_use_inet6.
8198         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
8199         instead of RES_USE_INET6.
8200         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
8201         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
8202         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
8203         Likewise.
8204         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
8205         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
8206         Likewise.
8207         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
8208         (_nss_dns_gethostbyname_r): Likewise.
8209         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
8210         alternate RES_USE_INET6 handling.
8211         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
8212         instead of RES_USE_INET6.
8213         * resolv/res_init.c (res_setoptions): Likewise.
8214         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
8215         * resolv/resolv-internal.h: New file.
8216         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
8217         make the deprecation warning non-fatal.
8218         * resolv/README (Using the resolver in multi-threaded code): Drop
8219         reference to RES_USE_INET6.
8220         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
8221         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
8223 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8225         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
8226         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
8227         tst-resolv-search.
8228         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
8229         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
8230         with libresolv and libpthread.
8231         * resolv/tst-bug18665.c: New file.
8232         * resolv/tst-bug18665-tcp: Likewise.
8233         * resolv/tst-res_use_inet6: Likewise.
8234         * resolv/tst-resolv-basic: Likewise.
8235         * resolv/tst-resolv-network: Likewise.
8236         * resolv/tst-resolv-search: Likewise.
8237         * support/Makefile (libsupport-routines): Add check_addrinfo,
8238         check_dns_packet, check_hostent, check_netent, resolv_test,
8239         support_format_address_family, support_format_addrinfo,
8240         support_format_dns_packet, support_format_herrno,
8241         support_format_hostent, support_format_netent, support_run_diff,
8242         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
8243         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
8244         xstrdup, xwrite.
8245         * support/check_addrinfo.c: New file.
8246         * support/check_dns_packet.c: Likewise.
8247         * support/check_hostent.c: Likewise.
8248         * support/check_netent.c: Likewise.
8249         * support/check_nss.h: Likewise.
8250         * support/format_nss.h: Likewise.
8251         * support/resolv_test.c: Likewise.
8252         * support/resolv_test.h: Likewise.
8253         * support/run_diff.h: Likewise.
8254         * support/support_format_address_family.c: Likewise.
8255         * support/support_format_addrinfo.c: Likewise.
8256         * support/support_format_dns_packet.c: Likewise.
8257         * support/support_format_herrno.c: Likewise.
8258         * support/support_format_hostent.c: Likewise.
8259         * support/support_format_netent.c: Likewise.
8260         * support/support_run_diff.c: Likewise.
8261         * support/xaccept.c: Likewise.
8262         * support/xbind.c: Likewise.
8263         * support/xconnect.c: Likewise.
8264         * support/xfclose.c: Likewise.
8265         * support/xfopen.c: Likewise.
8266         * support/xgetsockname.c: Likewise.
8267         * support/xlisten.c: Likewise.
8268         * support/xmemstream.c: Likewise.
8269         * support/xmemstream.h: Likewise.
8270         * support/xpoll.c: Likewise.
8271         * support/xpthread_once.c: Likewise.
8272         * support/xrecvfrom.c: Likewise.
8273         * support/xsendto.c: Likewise.
8274         * support/xsetsockopt.c: Likewise.
8275         * support/xstdio.h: Likewise.
8276         * support/xstrdup.c: Likewise.
8277         * support/support.h (xstrdup): Declare.
8278         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
8279         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
8280         * support/xthread.h (xpthread_once): Likwise.
8281         * support/xunistd.h (xwrite): Declare.
8283 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8285         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
8286         (test_verbose): Declare.
8287         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
8288         * support/support_test_main.c (default_options): Likewise.
8289         (usage, support_test_main): Handle 'v'.
8290         (test_verbose): Define.
8291         * support/tst-support_record_failure.c (do_test): Use
8292         test_verbose.
8293         * support/tst-support_record_failure-2.sh (different_status): Add
8294         --verbose test.
8296 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8298         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
8299         test failures are recorded.
8300         * support/check.c (support_print_failure_impl): Call
8301         support_record_failure.
8302         (support_exit_failure_impl): Call support_record_failure if status
8303         indicates failure.
8304         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
8305         * support/xasprintf.c (xasprintf): Likewise.
8306         * support/xfork.c (xfork): Likewise.
8307         * support/xpthread_check_return.c (xpthread_check_return):
8308         Likewise.
8309         * support/xsocket.c (xsocket): Likeweise.
8310         * support/xwaitpid.c (xwaitpid): Likewise.
8311         * support/support_record_failure.c (struct test_failures): Adjust
8312         to coding style.
8313         * support/support_test_verify_impl.c (support_test_verify_impl):
8314         Adjust error messages.
8315         * support/tst-support_record_failure-2.sh (different_status):
8316         Adjust error messages.
8318 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8320         * support/namespace.h: New file.
8321         * support/support_become_root.c: Likewise.
8322         * support/support_enter_network_namespace.c: Likewise.
8323         * support/tst-support-namespace.c: Likewise.
8324         * support/xsocket.c: Likewise.
8325         * support/xsocket.h: Likewise.
8326         * support/Makefile (libsupport-routines): Add support_become_root,
8327         support_enter_network_namespace, xsocket.
8328         (tests): Add tst-support-namespace.
8330 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8332         [BZ #17252]
8333         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
8334         __USE_GNU.
8336 2016-12-31  Torvald Riegel  <triegel@redhat.com>
8338         [BZ #13165]
8339         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
8340         use new algorithm.
8341         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8342         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8343         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8344         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8345         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
8346         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
8347         __condvar_cleanup_waiting, __condvar_dec_grefs,
8348         __pthread_cond_wait_common): New.
8349         (__condvar_cleanup): Remove.
8350         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
8351         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
8352         Likewise.
8353         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
8354         Likewise.
8355         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
8356         * nptl/tst-cond1.c: Add comment.
8357         * nptl/tst-cond20.c (do_test): Adapt.
8358         * nptl/tst-cond22.c (do_test): Likewise.
8359         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
8360         structure.
8361         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8362         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8363         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8364         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
8365         Likewise.
8366         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8367         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8368         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8369         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8370         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8371         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
8372         Likewise.
8373         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
8374         Likewise.
8375         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8376         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
8377         (COND_CLOCK_BITS): Adapt.
8378         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
8379         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
8380         __PTHREAD_COND_SHARED_MASK): New.
8381         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
8382         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
8383         * nptl/nptl_lock_constants.pysym: Adapt.
8384         * nptl/test-cond-printers.py: Adapt.
8385         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
8386         cond_compat_check_and_clear): Adapt.
8387         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
8388         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8389         (__pthread_cond_timedwait): ... and move here.
8390         * nptl/DESIGN-condvar.txt: Remove file.
8391         * nptl/lowlevelcond.sym: Likewise.
8392         * nptl/pthread_cond_timedwait.c: Likewise.
8393         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
8394         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
8395         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
8396         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
8397         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
8398         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
8399         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
8400         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
8401         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
8402         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
8403         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
8404         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
8405         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
8406         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
8407         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
8408         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
8410 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
8412         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8413         (fromfp): New declaration.
8414         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8415         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8416         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8417         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
8418         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
8419         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8420         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8421         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8422         * math/math.h: Include <bits/types.h>.
8423         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
8424         constant and macro.
8425         (FP_INT_DOWNWARD): Likewise.
8426         (FP_INT_TOWARDZERO): Likewise.
8427         (FP_INT_TONEARESTFROMZERO): Likewise.
8428         (FP_INT_TONEAREST): Likewise.
8429         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
8430         (fromfpf): Likewise.
8431         (fromfpl): Likewise.
8432         (ufromfp): Likewise.
8433         (ufromfpf): Likewise.
8434         (ufromfpl): Likewise.
8435         (fromfpx): Likewise.
8436         (fromfpxf): Likewise.
8437         (fromfpxl): Likewise.
8438         (ufromfpx): Likewise.
8439         (ufromfpxf): Likewise.
8440         (ufromfpxl): Likewise.
8441         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
8442         s_fromfpxF and s_ufromfpxF.
8443         * math/gen-fromfp-tests.py: New file.
8444         * math/gen-fromfp-tests-inputs: Likewise.
8445         * math/libm-test.inc: Include <stdint.h>
8446         (check_intmax_t): New function.
8447         (check_uintmax_t): Likewise.
8448         (struct test_fiu_M_data): New type.
8449         (struct test_fiu_U_data): Likewise.
8450         (RUN_TEST_fiu_M): New macro.
8451         (RUN_TEST_LOOP_fiu_M): Likewise.
8452         (RUN_TEST_fiu_U): Likewise.
8453         (RUN_TEST_LOOP_fiu_U): Likewise.
8454         (fromfp_test_data): New array.
8455         (fromfp_test): New function.
8456         (fromfpx_test_data): New array.
8457         (fromfpx_test): New function.
8458         (ufromfp_test_data): New array.
8459         (ufromfp_test): New function.
8460         (ufromfpx_test_data): New array.
8461         (ufromfpx_test): New function.
8462         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
8463         ufromfpx_test.
8464         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
8465         characters.
8466         * math/test-tgmath-ret.c: Include <stdint.h>.
8467         (rm): New variable.
8468         (width): Likewise.
8469         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
8470         called function.
8471         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
8472         CHECK_RET_CONST_TYPE.
8473         (CHECK_RET_CONST_DOUBLE): Likewise.
8474         (CHECK_RET_CONST_LDOUBLE): Likewise.
8475         (CHECK_RET_CONST): Take extra arguments and pass them to calls
8476         macros.
8477         (fromfp): New CHECK_RET_CONST call.
8478         (ufromfp): Likewise.
8479         (fromfpx): Likewise.
8480         (ufromfpx): Likewise.
8481         (do_test): Call check_return_fromfp, check_return_ufromfp,
8482         check_return_fromfpx and check_return_ufromfpx.
8483         * math/test-tgmath.c: Include <stdint.h>
8484         (NCALLS): Increase to 138.
8485         (F(compile_test)): Initialize i.  Call fromfp functions.
8486         (F(fromfp)): New function.
8487         (F(fromfpx)): Likewise.
8488         (F(ufromfp)): Likewise.
8489         (F(ufromfpx)): Likewise.
8490         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
8491         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
8492         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
8493         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
8494         ufromfpxl.
8495         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
8496         ufromfp and ufromfpx.
8497         * math/fromfp.h: New file.
8498         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
8499         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
8500         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
8501         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
8502         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
8503         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
8504         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
8505         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
8506         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
8507         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
8508         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
8509         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
8510         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
8511         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
8512         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
8513         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
8514         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
8515         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
8516         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
8517         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
8518         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
8519         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
8520         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
8521         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
8522         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
8523         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
8524         ufromfp, fromfpx and ufromfpx.
8525         (CFLAGS-nldbl-fromfp.c): New variable.
8526         (CFLAGS-nldbl-fromfpx.c): Likewise.
8527         (CFLAGS-nldbl-ufromfp.c): Likewise.
8528         (CFLAGS-nldbl-ufromfpx.c): Likewise.
8529         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
8530         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
8531         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
8532         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
8533         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
8534         * sysdeps/nacl/libm.abilist: Update.
8535         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8536         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8537         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8538         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8539         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8540         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8541         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8542         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8543         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8544         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8545         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8546         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8548         Likewise.
8549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8550         Likewise.
8551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8552         Likewise.
8553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8554         Likewise.
8555         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8556         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8557         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8558         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8559         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8561         Likewise.
8562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8563         Likewise.
8564         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8565         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8566         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8568 2016-12-30  Florian Weimer  <fweimer@redhat.com>
8570         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
8571         compat-gethnamaddr.
8572         (CPPFLAGS): Remove.
8573         * resolv/gethnamaddr.c: Rename ...
8574         * resolv/compat-gethnamaddr.c: ... to this file.
8575         (_endhtent): Make static.
8576         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
8577         symbol.
8578         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
8579         compat symbol.
8580         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
8581         symbol.
8582         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
8583         Turn into compat symbol.
8584         * include/resolv.h (_endhtent): Remove declaration.
8586 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
8588         * bits/types.h (__intmax_t): New typedef.
8589         (__uintmax_t): Likewise.
8590         * sysdeps/generic/stdint.h: Include <bits/types.h>.
8591         (intmax_t): Define using __intmax_t.
8592         (uintmax_t): Define using __uintmax_t.
8594         * support/Makefile (tests-special): Make definition conditional on
8595         [$(run-built-tests) = yes].
8596         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
8597         on [$(run-built-tests) = yes].
8599 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8601         * Rules (tests): Add tests-printers-programs to tests to be
8602         built.
8604 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8606         * sysvipc/Makefile (tests): Add test-sysvshm.
8607         * sysvipc/test-sysvshm.c: New file.
8609         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
8610         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
8611         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
8612         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
8613         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
8614         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
8615         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
8616         Likewise.
8617         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
8618         Likewise.
8619         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
8620         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
8621         is defined.
8623         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
8624         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
8625         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
8626         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
8627         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
8628         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
8629         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
8630         Likewise.
8631         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
8632         Likewise.
8633         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
8634         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
8635         defined.
8637         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8638         oldshmctl.
8639         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
8640         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
8641         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
8642         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
8643         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
8644         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
8645         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
8646         Likewise.
8647         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
8648         Likewise.
8649         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
8650         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
8651         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
8652         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
8653         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
8654         implementation.
8655         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
8656         if it is defined.
8658         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
8659         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
8660         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
8661         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
8662         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
8663         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
8664         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
8665         Likewise.
8666         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
8667         Likewise.
8668         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
8669         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
8670         Define to __NR_osf_shmat.
8671         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
8672         defined.
8674         * sysvipc/Makefile (tests): Add test-sysvsem.
8675         * sysvipc/test-sysvsem.c: New file.
8677         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
8678         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
8679         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
8680         Likewise.
8681         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
8682         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
8683         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
8684         Likewise.
8685         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
8686         Likewise.
8687         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
8688         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
8689         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
8690         add a comment about s390 syscall difference from default one.
8691         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
8692         syscall if it is defined.
8694         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
8695         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
8696         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
8697         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
8698         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
8699         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
8700         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
8701         Likewise.
8702         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
8703         Likewise.
8704         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
8705         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
8706         defined.
8708         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
8709         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
8710         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
8711         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
8712         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
8713         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
8714         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
8715         Likewise.
8716         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
8717         Likewise.
8718         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
8719         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
8720         if it is defined.
8722         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8723         oldsemctl.
8724         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
8725         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
8726         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
8727         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
8728         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
8729         implementation.
8730         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
8731         syscall if it is defined.
8732         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
8733         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
8734         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
8735         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
8736         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
8737         Likewise.
8738         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
8740         * sysvipc/Makefile (tests): Add test-sysvmsg.
8741         * sysvipc/test-sysvmsg.c: New file.
8742         * support/check.h (FAIL_UNSUPPORTED): New define.
8744         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
8745         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
8746         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
8747         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
8748         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
8749         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
8750         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
8751         Likewise.
8752         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
8753         Likewise.
8754         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
8755         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
8756         define.
8758         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
8759         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
8760         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
8761         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
8762         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
8763         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
8764         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
8765         Likewise.
8766         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
8767         Likewise.
8768         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
8769         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
8770         if defined.
8772         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
8773         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
8774         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
8775         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
8776         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
8777         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
8778         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
8779         Likewise.
8780         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
8781         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
8782         Likewise.
8783         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
8784         if defined.
8785         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
8787         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8788         oldmsgctl.
8789         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
8790         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
8791         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
8792         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
8793         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
8794         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
8795         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
8796         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
8797         Likewise.
8798         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
8799         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
8800         implementation.
8801         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
8802         if defined.
8804         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
8805         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
8806         definition and define its own.
8807         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
8808         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
8809         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
8810         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
8811         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
8812         definitions to common header.
8813         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
8814         operation from ipc_ops.h.
8816         * sysdeps/unix/sysv/linux/kernel-features.h
8817         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
8818         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8819         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
8820         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8821         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8822         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8823         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8824         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8825         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8826         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8827         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8828         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8829         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8830         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8831         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
8833 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8835         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
8836         overflow in pointer addition.
8838 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8840         * sysdeps/powerpc/powerpc64/multiarch/Makefile
8841         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
8842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8843         (strchr): Add __strchr_power8 to list of strchr functions.
8844         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
8845         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
8846         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
8847         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
8848         (strchr): Add __strchr_power8 to ifunc list.
8849         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
8850         (__strchrnul): Add __strchrnul_power8 to ifunc list.
8851         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
8852         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
8854 2016-12-28  Florian Weimer  <fweimer@redhat.com>
8856         * support/Makefile (libsupport-routines): Add
8857         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
8858         (tests): Add tst-support_record_failure.
8859         (tests-special): tst-support_record_failure-2.
8860         (tst-support_record_failure-2.out): Depend on
8861         tst-support_record_failure-2.sh and tst-support_record_failure.
8862         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
8863         (support_test_verify_impl, support_record_failure)
8864         (support_report_failure, support_report_failure_reset): Declare.
8865         * support/support_test_main.c (adjust_exit_status): New function.
8866         (support_test_main): Call it to incorporate record test failures.
8867         * support/support_test_verify_impl.c: New file.
8868         * support/support_record_failure.c: Likewise.
8869         * support/tst-support_record_failure.c: Likewise.
8870         * support/tst-support_record_failure-2.sh: Likewise.
8871         * support/xunistd.h: Likewise.
8872         * support/xfork.c: Likewise.
8873         * support/xwaitpid.c: Likewise.
8875 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
8877         * scripts/check-c++-types.sh: Add comments.
8879 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
8881         [BZ #19514]
8882         * resolv/res_send.c: Fix typo in comment.
8883         * sysdeps/i386/i386-mcount.S: Likewise.
8884         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8885         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8886         * sysdeps/sparc/sparc-mcount.S: Likewise.
8888 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8890         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
8891         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
8892         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
8893         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
8894         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
8895         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
8896         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
8897         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
8899 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8901         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
8903 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8905         [BZ #17252]
8906         * posix/unistd.h (getentropy): Declare.
8908 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8910         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
8911         Remove.
8912         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
8913         (cmd): Remove spoof, nospoof, spoofalert.
8914         (parse_line): Ignore spoof-related lines.
8915         (do_init): Do not process RESOLV_SPOOF_CHECK.
8917 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8919         [BZ #20964]
8920         sunrpc: Always obtain AF_INET addresses from NSS.
8921         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
8922         * sunrpc/rpc_gethostbyname.c: New file.
8923         * sunrpc/Makefile (routines): Add it.
8924         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
8925         * sunrpc/clnt_simp.c (callrpc): Likewise.
8926         * sunrpc/getrpcport.c (getrpcport): Likewise.
8928 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8930         * sunrpc/rpcinfo.c: Remove.
8931         * sunrpc/Makefile: Remove comments referring to rpcinfo.
8933 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8935         [BZ #19387]
8936         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
8937         addition.
8938         * string/test-memchr.c (do_test): Remove alignment limitation.
8939         (test_main): Add test that trigger BZ #19387.
8941 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8943         [BZ #7065]
8944         Enable stack protectore if requested by ./configure.
8945         * Makeconfig (+stack-protector): New variable.
8946         (+cflags): Use it.
8948 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8950         [BZ #7065]
8951         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
8952         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
8953         (__rt_sigreturn_stub): Use inhibit_stack_protector.
8954         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8955         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
8957 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8959         [BZ #7065]
8960         * login/Makefile (pt_chown-cflags): Remove.
8961         * nscd/Makefile (CFLAGS-nscd): Likewise.
8962         * resolv/Makefile (CFLAGS-libresolv): Likewise.
8964 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8966         [BZ #7065]
8967         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
8968         non-libc-linking testcase.
8970 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8971             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8972             Florian Weimer  <fweimer@redhat.com>
8974         [BZ #7065]
8975         PLT avoidance for __stack_chk_fail*.
8976         * debug/Makefile (CFLAGS-stack_chk_fail.c)
8977         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
8978         * debug/stack_chk_fail.c (__stack_chk_fail): Add
8979         __stack_chk_fail_local alias.
8980         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
8981         (__stack_chk_fail): Turn into hidden reference to
8982         __stack_chk_fail_local.
8984 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
8986         [BZ #7065]
8987         * configure.ac: Add check for unsupported stack-protection level.
8988         (libc_cv_predef_stack_protector): Remove.
8989         (no_ssp): New variable.
8990         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
8991         (stack_protector): Set to -fno-stack-protector similarly.
8992         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
8993         (libc_cv_asm_set_directive): Likewise.
8994         (libc_cv_protected_data): Likewise.
8995         (libc_cv_z_combreloc): Likewise.
8996         (libc_cv_hashstyle): Likewise.
8997         (libc_cv_has_glob_dat): Likewise.
8998         (libc_cv_output_format): Likewise.
8999         (libc_cv_output_format): Likewise.
9000         (libc_cv_ehdr_start): Likewise.
9001         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
9002         (LIBC_LINKER_FEATURE): Likewise.
9003         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
9005 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9007         [BZ #7065]
9008         * elf/Makefile (dummy-stack-chk-fail): New.
9009         (librtld.map): Use it.
9011 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9013         [BZ #7065]
9014         Compile the dynamic linker without stack protection.
9015         * elf/Makefile (elide-stack-protector): New.
9016         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
9017         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
9018         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
9019         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
9021 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9023         [BZ #7065]
9024         * config.make.in (have-ssp, no-stack-protector): New.
9025         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
9026         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
9027         (CFLAGS-sbrk.op): Likewise.
9028         (CFLAGS-brk.o): Likewise.
9029         (CFLAGS-brk.op): Likewise.
9030         * string/Makefile (CFLAGS-memcpy.c): Likewise.
9031         (CFLAGS-wordcopy.c): Likewise.
9033 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9035         [BZ #7065]
9036         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
9037         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
9038         * include/libc-symbols.h (inhibit_stack_protector): New macro.
9039         (__ifunc_resolver): Use it.
9040         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
9041         inhibit_stack_protector.
9042         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
9043         * elf/ifuncmain7.c (foo_ifunc): Likewise.
9044         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
9045         (foo_protected_ifunc): Likewise.
9046         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
9047         (foo_protected_ifunc): Likewise.
9048         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
9049         * sysdeps/nacl/nacl_interface_query.c
9050         (nacl_interface_query_ifunc): Likewise.
9051         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
9052         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
9053         Likewise.
9054         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
9055         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
9056         the generated vDSO syscall resolver.
9058 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9059             Florian Weimer  <fweimer@redhat.com>
9061         [BZ #7065]
9062         Initialize the stack guard earlier when linking statically.
9063         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
9064         (__pthread_initialize_minimal): Declare.
9065         * csu/libc-start.c (__pthread_initialize_minimal): Remove
9066         declaration.
9067         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
9068         stack canary and apply_irel initialization up.  Call
9069         __pthread_initialize_minimal only if linked in.
9070         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
9071         constant values.
9072         (__pthread_initialize_minimal): Remove.
9073         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
9074         (__pthread_initialize_minimal_internal): Do not call
9075         __libc_setup_tls.
9077 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9079         [BZ #7065]
9080         * configure.ac (libc_cv_ssp): Move up.
9081         (libc_cv_ssp_strong): Likewise.
9082         (libc_cv_ssp_all): New.
9083         (stack_protector): Augment, adding -fstack-protector-all.
9084         (no_stack_protector): New.
9085         (STACK_PROTECTOR_LEVEL): New.
9086         (AC_ARG_ENABLE(stack-protector)): New configure flag.
9087         * manual/install.texi (--enable-stack-protector): Document it.
9088         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
9090 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
9092         * README.pretty-printers: Must specify CPPFLAGS-* also.
9093         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
9094         (CPPFLAGS-test-mutex-printers.c): Define.
9095         (CPPFLAGS-test-condattr-printers.c): Define.
9096         (CPPFLAGS-test-cond-printers.c): Define.
9097         (CPPFLAGS-test-rwlockattr-printers.c): Define.
9098         (CPPFLAGS-test-rwlock-printers.c): Define.
9100         * nss/Makefile [ifeq (yes,$(have-thread-library))]
9101         (tests): Add tst-cancel-getpwuid_r.
9102         * nss/tst-cancel-getpwuid_r.c: New file.
9104         [BZ #11941]
9105         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
9106         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
9107         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
9108         tst-nodelete-dlclose.
9109         (modules-names): Add tst-nodelete-dlclose-dso and
9110         tst-nodelete-dlclose-plugin.
9111         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
9112         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
9113         ($(objpfx)tst-nodelete-dlclose): Define.
9114         ($(objpfx)tst-nodelete-dlclose.out): Define.
9116 2016-12-23  Florian Weimer  <fweimer@redhat.com>
9118         * scripts/test_printers_common.py: Log GDB output in case of
9119         Python detection failure.
9121 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9123         * configure.ac: Check for python3 or python.
9124         * configure: Regenerated.
9125         * config.make.in (PYTHON): New variable.
9126         * benchtests/Makefile: Don't define PYTHON.
9127         (bench): Define target only if PYTHON was defined.
9128         * Rules: Don't define PYTHON.
9129         Define pretty printer targets only if PYTHON was defined.
9130         (tests-printers): Add to tests-unsupported if PYTHON is not
9131         found.
9132         (python-flags, python-invoke): Remove.
9133         (tests-printers-out): Use PYTHON instead of python-invoke.
9135 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
9137         [BZ #20978]
9138         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9139         Compare name == NULL, not name != NULL.
9141         * manual/texinfo.tex: Update to version 2016-09-18.18 with
9142         trailing whitespace removed.
9143         * scripts/config.guess: Update to version 2016-10-02.
9144         * scripts/config.sub: Update to version 2016-11-19.
9145         * scripts/install-sh: Update to version 2016-01-11.22.
9146         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
9147         * scripts/move-if-change: Update to version 2016-01-11 22:04.
9149 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
9151         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
9152         (do_one_test) Restore original string so iteration works.
9153         * string/string-inlines.c (do_test): Create better input strings.
9154         (test_main) Reduce number of testruns.
9155         * string/string-inlines.c (__old_strsep_1c): New function.
9156         (__old_strsep_2c): Likewise.
9157         (__old_strsep_3c): Likewise.
9158         * string/strsep.c (__strsep): Remove case of small delim string.
9159         Call strcspn directly rather than strpbrk.
9160         * string/bits/string2.h (__strsep): Remove define.
9161         (__strsep_1c): Remove.
9162         (__strsep_2c): Remove.
9163         (__strsep_3c): Remove.
9164         (strsep): Remove.
9165         * sysdeps/unix/sysv/linux/internal_statvfs.c
9166         (__statvfs_getflags): Rename to __strsep.
9168 2016-12-21  Florian Weimer  <fweimer@redhat.com>
9170         * csu/libc-tls.c (_dl_tls_setup): Remove.
9171         * elf/dl-tls.c (_dl_tls_setup): Likewise.
9172         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
9173         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
9175 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
9177         [BZ #7065]
9178         * sysdeps/x86_64/Makefile [$(subdir) = elf]
9179         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
9181 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
9182             Florian Weimer  <fweimer@redhat.com>
9184         [BZ #7065]
9185         * csu/Makefile (tests): Empty assignment and document it.
9186         (tests-static): Remove.
9187         * csu/tst-empty.c: Move to...
9188         * misc/tst-empty.c: ... here.  Switch to new test driver.
9189         * csu/tst-atomic.c: Move to...
9190         * misc/tst-atomic.c: ... here.  Switch to new test driver.
9191         * csu/tst-atomic-long.c: Move to...
9192         * misc/tst-atomic-long.c: ... here.
9193         * misc/Makefile (tests): Add tst-empty, tst-atomic,
9194         tst-atomic-long.
9195         (tests-static): Add tst-empty.
9197 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
9199         * manual/nss.texi: Change incorrect @vtable to @table.
9200         * manual/arith.texi: Convert @tables of variables to @vtables
9201         and remove unnecessary indexing.
9202         * manual/filesys.texi: Likewise.
9203         * manual/llio.texi: Likewise.
9204         * manual/memory.texi: Likewise.
9205         * manual/process.texi: Likewise.
9206         * manual/resource.texi: Likewise.
9207         * manual/search.texi: Likewise.
9208         * manual/signal.texi: Likewise.
9209         * manual/socket.texi: Likewise.
9210         * manual/stdio.texi: Likewise.
9211         * manual/sysinfo.texi: Likewise.
9212         * manual/syslog.texi: Likewise.
9213         * manual/terminal.texi: Likewise.
9214         * manual/time.texi: Likewise.
9215         * manual/users.texi: Likewise.
9217 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
9219         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9220         (roundeven): New declaration.
9221         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
9222         macro.
9223         * math/Versions (roundeven): New libm symbol at version
9224         GLIBC_2.25.
9225         (roundevenf): Likewise.
9226         (roundevenl): Likewise.
9227         * math/Makefile (libm-calls): Add s_roundevenF.
9228         * math/libm-test.inc (roundeven_test_data): New array.
9229         (roundeven_test): New function.
9230         (main): Call roundeven_test.
9231         * math/test-tgmath.c (NCALLS): Increase to 134.
9232         (F(compile_test)): Call roundeven.
9233         (F(roundeven)): New function.
9234         * manual/arith.texi (Rounding Functions): Document roundeven,
9235         roundevenf and roundevenl.
9236         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
9237         * include/math.h (roundeven): Use libm_hidden_proto.
9238         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
9239         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
9240         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
9241         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
9242         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
9243         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
9244         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9245         roundeven.
9246         (CFLAGS-nldbl-roundeven.c): New variable.
9247         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
9248         * sysdeps/nacl/libm.abilist: Update.
9249         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9250         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9251         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9252         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9253         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9254         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9255         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9256         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9257         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9258         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9259         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9260         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9262         Likewise.
9263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9264         Likewise.
9265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9266         Likewise.
9267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9268         Likewise.
9269         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9270         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9271         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9272         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9273         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9275         Likewise.
9276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9277         Likewise.
9278         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9279         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9280         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9282 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9284         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
9285         preprocessor indentation inside #if.
9287 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9289         * math/libm-test.inc (fmt_ftostr): New function.
9290         (print_float, check_float_internal): Replace some uses of
9291         FTOSTR with uses of fmt_ftostr.
9292         (print_max_error, print_complex_max_error, print_function_ulps)
9293         (print_complex_function_ulps): Remove uses of the macros
9294         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
9295         * math/test-double.h (FTOSTR): Define to strfromd.
9296         (PRINTF_EXPR): Delete.
9297         (PRINTF_XEXPR): Likewise.
9298         (PRINTF_NEXPR): Likewise.
9299         * math/test-float.h (FTOSTR): Define to strfromf.
9300         (PRINTF_EXPR): Delete.
9301         (PRINTF_XEXPR): Likewise.
9302         (PRINTF_NEXPR): Likewise.
9303         * math/test-ldouble.h (FTOSTR): Define to strfroml.
9304         (PRINTF_EXPR): Delete.
9305         (PRINTF_XEXPR): Likewise.
9306         (PRINTF_NEXPR): Likewise.
9308 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9310         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9311         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
9312         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9313         (__lll_lock_elision): Decrement adapt_count while unlocking
9314         instead of before locking.
9315         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9316         (__lll_trylock_elision): Likewise.
9317         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
9318         (__lll_unlock_elision): Likewise.
9320 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9322         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
9323         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
9324         Use __libc_tbegin_retry macro.
9326 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9328         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
9329         Add -msoft-float.
9330         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
9331         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9332         Use __libc_t* transaction macros instead of __builtin_t*.
9333         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9334         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9336 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9338         * sysdeps/unix/sysv/linux/s390/elision-lock.c
9339         (__lll_lock_elision): Use atomics to load / store adapt_count.
9340         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9341         (__lll_trylock_elision): Likewise.
9343 2016-12-20  Florian Weimer  <fweimer@redhat.com>
9345         Do not require memset elimination in explicit_bzero test.
9346         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
9347         (enum test_expectation): Add NO_EXPECTATIONS.
9348         (subtests): NO_EXPECTATIONS for ordinary clear.
9349         (check_test_buffer): Handle NO_EXPECTATIONS.
9350         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
9352 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9354         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9355         (fmaxmag): New declaration.
9356         (fminmag): Likewise.
9357         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
9358         macro.
9359         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
9360         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
9361         (fmaxmagf): Likewise.
9362         (fmaxmagl): Likewise.
9363         (fminmag): Likewise.
9364         (fminmagf): Likewise.
9365         (fminmagl): Likewise.
9366         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
9367         * math/s_fmaxmag_template.c: New file.
9368         * math/s_fminmag_template.c: Likewise.
9369         * math/libm-test.inc (fmaxmag_test_data): New array.
9370         (fmaxmag_test): New function.
9371         (fminmag_test_data): New array.
9372         (fminmag_test): New function.
9373         (main): Call fmaxmag_test and fminmag_test.
9374         * math/test-tgmath.c (NCALLS): Increase to 132.
9375         (F(compile_test)): Call fmaxmag and fminmag.
9376         (F(fminmag)): New function.
9377         (F(fmaxmag)): Likewise.
9378         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
9379         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
9380         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
9381         fminmag.
9382         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
9383         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
9384         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
9385         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
9386         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
9387         and fminmag.
9388         (CFLAGS-nldbl-fmaxmag.c): New variable.
9389         (CFLAGS-nldbl-fminmag.c): Likewise.
9390         * sysdeps/nacl/libm.abilist: Update.
9391         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9392         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9393         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9394         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9395         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9396         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9397         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9398         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9399         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9400         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9401         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9402         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9404         Likewise.
9405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9406         Likewise.
9407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9408         Likewise.
9409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9410         Likewise.
9411         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9412         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9413         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9414         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9415         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9417         Likewise.
9418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9419         Likewise.
9420         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9421         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9422         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9424 2016-12-19  Torvald Riegel  <triegel@redhat.com>
9426         [BZ #20973]
9427         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
9428         wake-up in robust mutexes.
9429         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9431 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9433         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
9434         (CFLAGS-bench-fmaxf.c): New rule.
9435         (CFLAGS-bench-fminf.c): Likewise.
9436         * benchtests/fmaxf-inputs: New file.
9437         * benchtests/fminf-inputs: Likewise.
9439         * benchtests/Makefile (bench-math): Add fmin and fmax.
9440         (CFLAGS-bench-fmax.c): New rule.
9441         (CFLAGS-bench-fmin.c): Likewise.
9442         * benchtests/fmax-inputs: New file.
9443         * benchtests/fmin-inputs: Likewise.
9445         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
9446         parenthesis.
9447         (CMDLINE_PROCESS): Define using function instead of macro.
9448         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
9449         of test-skeleton.
9450         * benchtests/bench-memchr.c: Likewise.
9451         * benchtests/bench-memcmp.c: Likewise.
9452         * benchtests/bench-memcpy-large.c: Likewise.
9453         * benchtests/bench-memcpy.c: Likewise.
9454         * benchtests/bench-memmem.c: Likewise.
9455         * benchtests/bench-memmove-large.c: Likewise.
9456         * benchtests/bench-memmove.c: Likewise.
9457         * benchtests/bench-memset-large.c: Likewise.
9458         * benchtests/bench-memset.c: Likewise.
9459         * benchtests/bench-rawmemchr.c: Likewise.
9460         * benchtests/bench-strcasecmp.c: Likewise.
9461         * benchtests/bench-strcasestr.c: Likewise.
9462         * benchtests/bench-strcat.c: Likewise.
9463         * benchtests/bench-strchr.c: Likewise.
9464         * benchtests/bench-strcmp.c: Likewise.
9465         * benchtests/bench-strcpy.c: Likewise.
9466         * benchtests/bench-strcpy_chk.c: Likewise.
9467         * benchtests/bench-strlen.c: Likewise.
9468         * benchtests/bench-strncasecmp.c: Likewise.
9469         * benchtests/bench-strncmp.c: Likewise.
9470         * benchtests/bench-strncpy.c: Likewise.
9471         * benchtests/bench-strnlen.c: Likewise.
9472         * benchtests/bench-strpbrk.c: Likewise.
9473         * benchtests/bench-strrchr.c: Likewise.
9474         * benchtests/bench-strsep.c: Likewise.
9475         * benchtests/bench-strspn.c: Likewise.
9476         * benchtests/bench-strstr.c: Likewise.
9477         * benchtests/bench-strtok.c: Likewise.
9479 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9481         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
9482         stepping identification.
9483         (init_cpu_features): Add handle of Haswell.
9485 2016-11-25  Jim Meyering  <meyering@fb.com>
9487         [BZ #20386]
9488         Let gcc detect assert(a = 1) errors.
9489         * assert/assert.h (assert): Rewrite, retaining the old definintion
9490         when required, but otherwise putting the expression as-is in an "if"
9491         expression (hence, with no added parentheses) within a statement
9492         expression.
9494 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9496         * benchtests/Makefile (binaries-benchset): Depend on libsupport
9497         DSO.
9499 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
9501         * Rules (python-flags, python-invoke): New.
9502         ($(test-printers-out)): Use $(python-flags).
9504 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9506         * manual/arith.texi (Math Error Reporting): Document that sNaN
9507         arguments are not considered domain errors.
9509 2016-12-16  Zack Weinberg <zackw@panix.com>
9510             Florian Weimer <fweimer@redhat.com>
9511             Nick Mathewson <nickm@torproject.org>
9513         * string/explicit_bzero.c: New routine.
9514         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
9515         * string/Makefile (routines, strop-tests, tests): Add them.
9516         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
9517         * string/string.h [__USE_MISC]: Declare explicit_bzero.
9519         * debug/explicit_bzero_chk.c: New routine.
9520         * debug/Makefile (routines): Add it.
9521         * debug/tst-chk1.c: Test fortification of explicit_bzero.
9522         * string/bits/string3.h: Fortify explicit_bzero.
9524         * manual/string.texi: Document explicit_bzero.
9525         * NEWS: Mention addition of explicit_bzero.
9527         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
9528         data before returning, using explicit_bzero.
9529         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
9530         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9531         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9533         * include/string.h: Redirect internal uses of explicit_bzero
9534         to __explicit_bzero_chk[_internal].
9535         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
9536         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
9537         * sysdeps/arm/nacl/libc.abilist
9538         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9539         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9540         * sysdeps/unix/sysv/linux/arm/libc.abilist
9541         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9542         * sysdeps/unix/sysv/linux/i386/libc.abilist
9543         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9544         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9545         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9546         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9547         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9548         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9549         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9550         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9551         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9556         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9557         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9558         * sysdeps/unix/sysv/linux/sh/libc.abilist
9559         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9560         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9563         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9564         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9565         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9566         Add entries for explicit_bzero and __explicit_bzero_chk.
9568 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9570         * math/fenv.h
9571         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
9572         (FE_SNANS_ALWAYS_SIGNAL): New macro.
9573         * math/test-fe-snans-always-signal.c: New file.
9574         * math/Makefile (tests): Add test-fe-snans-always-signal.
9575         (CFLAGS-test-fe-snans-always-signal.c): New variable.
9576         * manual/arith.texi (Infinity and NaN): Document
9577         FE_SNANS_ALWAYS_SIGNAL.
9579 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9581         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
9582         bracket.
9584 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9586         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
9587         before calling execv.
9589 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9591         [BZ #20971]
9592         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
9593         overflow in pointer addition.
9594         * string/test-memchr.c (do_test): Add an argument to pass as
9595         the size on memchr.
9596         (test_main): Add check for SIZE_MAX.
9598 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9600         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
9601         (libm-calls): Add w_scalblnF.
9602         * math/w_scalbln.c: Remove.
9603         * math/w_scalblnf.c: Likewise.
9604         * math/w_scalblnl.c: Likewise.
9605         * math/w_scalbln_template.c: New file with type-generic
9606         implementation based on math/w_scalbln.c.
9607         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
9608         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
9610 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
9612         [BZ #20947]
9613         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
9614         either is a signaling NaN.
9615         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
9616         follow fmaxl more closely.
9617         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
9618         when either is a signaling NaN.
9619         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
9620         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
9621         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
9622         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
9623         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
9624         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
9625         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
9626         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
9627         (fmin_test_data): Likewise.
9629 2016-12-15  Andreas Schwab  <schwab@suse.de>
9631         * support/support_test_main.c (support_test_main): Don't shadow
9632         file-local variable test_pid.
9634 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
9636         [BZ #20947]
9637         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
9638         either is a signaling NaN.
9639         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
9641 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
9643         [BZ #20947]
9644         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
9645         when either is a signaling NaN.
9646         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
9648         * bits/long-double.h: New file.
9649         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
9650         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
9651         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
9652         * sysdeps/mips/bits/long-double.h: Likewise.
9653         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
9654         * math/Makefile (headers): Add bits/long-double.h.
9655         * misc/sys/cdefs.h: Include <bits/long-double.h>.
9656         * stdlib/strtold.c: Include <bits/long-double.h> instead of
9657         <bits/wordsize.h>.
9658         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
9659         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
9660         * math/math.h: Do not include <bits/mathdef.h>.
9661         * sysdeps/aarch64/bits/mathdef.h: Remove file.
9662         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
9663         inclusion.
9664         * sysdeps/ia64/bits/mathdef.h: Remove file.
9665         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
9666         * sysdeps/mips/bits/mathdef.h: Likewise.
9667         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9668         * sysdeps/s390/bits/mathdef.h: Likewise.
9669         * sysdeps/sparc/bits/mathdef.h: Likewise.
9670         * sysdeps/x86/bits/mathdef.h: Likewise.
9671         * sysdeps/s390/s390-32/bits/wordsize.h
9672         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
9673         conditional code.
9674         * sysdeps/s390/s390-64/bits/wordsize.h
9675         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9676         Likewise.
9677         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
9678         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9679         Likewise.
9680         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
9681         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9682         Likewise.
9683         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9684         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
9685         Likewise.
9687         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
9688         <linux/falloc.h>.
9689         (FALLOC_FL_KEEP_SIZE): Remove.
9690         (FALLOC_FL_PUNCH_HOLE): Likewise.
9691         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
9692         (FALLOC_FL_ZERO_RANGE): Likewise.
9694 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9696         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
9698 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9700         * sysdeps/unix/sysv/linux/renameat.c: New file.
9701         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
9703         * sysdeps/unix/sysv/linux/rename.c: New file.
9704         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
9706 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
9708         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
9709         * string/strtok.c (strtok): Change to tailcall __strtok_r.
9710         * string/strtok_r.c (__strtok_r): Optimize for performance.
9711         * string/string-inlines.c (__old_strtok_r_1c): New function.
9712         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
9714 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9716         * math/Makefile (gen-libm-calls): Add w_log1pF.
9717         (libm-calls): Remove w_log1pF.
9718         * math/w_log1p.c: Remove.
9719         * math/w_log1pf.c: Likewise.
9720         * math/w_log1pl.c: Likewise.
9721         * math/w_log1p_template.c: New file with type-generic
9722         implementation based on math/w_log1p.c.
9723         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
9724         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
9726 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
9728         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
9730 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
9732         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
9733         kernel version to 4.9.
9735 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
9737         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
9738         ($(inst_libdir)/libm.a): Fix rule to create the target only.
9740 2016-12-13  Andreas Schwab  <schwab@suse.de>
9742         * sysdeps/powerpc/dl-procinfo.c: Don't define
9743         _dl_powerpc_platforms.
9744         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
9745         constants instead of referencing _dl_powerpc_platforms.
9746         (_dl_platform_string): Remove.
9748 2016-12-13  Florian Weimer  <fweimer@redhat.com>
9750         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
9752 2016-12-13  Florian Weimer  <fweimer@redhat.com>
9754         * Rules (binaries-shared-tests, binaries-pie-tests)
9755         (binaries-static-tests): Link with $(link-extra-libs-tests).
9756         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
9757         Remove $(link-extra-libs-tests).
9759 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9761         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9762         (sysdep_routines): Add strncmp_power9.
9763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9764         (strncmp): Add __strncmp_power9 to list of strncmp functions.
9765         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
9766         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
9767         (strncmp): Add __strncmp_power9 to ifunc list.
9768         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
9770 2016-12-12  Florian Weimer  <fweimer@redhat.com>
9772         [BZ #17252]
9773         Add getentropy, getrandom.
9774         * stdlib/sys/random.h: New file.
9775         (headers): Add it.
9776         * stdlib/Makefile (routines): Add getentropy, getrandom.
9777         (tests): Add tst-getrandom.
9778         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
9779         * stdlib/getentropy.c: New file.
9780         * stdlib/getrandom.c: Likewise.
9781         * stdlib/tst-getrandom.c: Likewise.
9782         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
9783         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
9784         * manual/crypt.texi (Unpredictable Bytes): New section.
9785         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
9786         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
9787         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9788         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9789         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9790         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9791         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9792         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9793         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9794         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9795         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9796         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9797         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9798         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9799         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9800         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9802         Likewise.
9803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9804         Likewise.
9805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9807         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9808         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9809         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9810         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9811         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9814         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9815         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9816         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9818 2016-12-10  Florian Weimer  <fweimer@redhat.com>
9820         [BZ #20956]
9821         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
9822         as additional compiler barriers.
9823         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
9824         (fn2, do_test): Declare with external linkage.
9825         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
9826         (do_test): Declare with external linkage.
9827         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
9828         (do_test): Declare with external linkage.
9829         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
9830         (do_test): Declare with external linkage.
9832 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
9834         * support/support_test_main.c (support_test_main): Use correct
9835         timeout.
9837 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
9838             Florian Weimer  <fweimer@redhat.com>
9840         [BZ #16421]
9841         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
9842         and __u6_addr32 members.
9843         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
9844         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
9845         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
9846         Use __u6_addr32.
9847         * inet/tst-checks.c: Use <support/test-driver.c>
9848         * inet/tst-checks-posix.c: New file.
9849         * inet/Makefile (tests): Add it.
9850         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
9852 2016-12-09  Florian Weimer  <fweimer@redhat.com>
9854         New subdirectory support for build and test infrastructure.
9855         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
9856         setting install-lib.
9857         * Makeconfig (link-extra-libs-tests): Define.
9858         (+link-pie-tests, +link-static-tests, +link-tests): Use
9859         link-extra-libs-tests.
9860         (rpath-dirs, all-subdirs): Add support.
9861         (built-modules): Add libsupport.
9862         (libsupport): Define.
9863         * support: New directory.
9864         * support/Makefile: New file.
9865         * support/check.c: Likewise.
9866         * support/check.h: Likewise.
9867         * support/delayed_exit.c: Likewise.
9868         * support/ignore_stderr.c: Likewise.
9869         * support/oom_error.c: Likewise.
9870         * support/set_fortify_handler.c: Likewise.
9871         * support/support.h: Likewise.
9872         * support/temp_file-internal.h: Likewise.
9873         * support/temp_file.c: Likewise.
9874         * support/test-driver.c: Likewise.
9875         * support/test-driver.h: Likewise.
9876         * support/test_main.c: Likewise.
9877         * support/write_message.c: Likewise.
9878         * support/xasprintf.c: Likewise.
9879         * support/xcalloc.c: Likewise.
9880         * support/xmalloc.c: Likewise.
9881         * support/xpthread_barrier_destroy.c: Likewise.
9882         * support/xpthread_barrier_init.c: Likewise.
9883         * support/xpthread_barrier_wait.c: Likewise.
9884         * support/xpthread_cancel.c: Likewise.
9885         * support/xpthread_check_return.c: Likewise.
9886         * support/xpthread_cond_wait.c: Likewise.
9887         * support/xpthread_create.c: Likewise.
9888         * support/xpthread_detach.c: Likewise.
9889         * support/xpthread_join.c: Likewise.
9890         * support/xpthread_mutex_lock.c: Likewise.
9891         * support/xpthread_mutex_unlock.c: Likewise.
9892         * support/xpthread_sigmask.c: Likewise.
9893         * support/xpthread_spin_lock.c: Likewise.
9894         * support/xpthread_spin_unlock.c: Likewise.
9895         * support/xrealloc.c: Likewise.
9896         * support/xsignal.h: Likewise.
9897         * support/xthread.h: Likewise.
9898         * support_tempfile.h: Likewise.
9899         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
9900         (TEST_DATA_LIMIT): Remove unused macro.
9901         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
9902         <support/check.h>.
9903         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
9904         (ignore_stderr, set_fortify_handler): Remove.  Now in
9905         <support/support.h>.
9906         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
9907         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
9908         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
9909         (xpthread_join): Remove.  Now in <support/xthread.h>.
9910         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
9911         Introduce legacy wrappers.
9912         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
9913         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
9914         (write_message): Remove.
9915         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
9916         test-skeleton.c.
9917         * io/test-open-tmpfile: Likewise.
9918         * io/tst-posix_fallocate-common.c: Likewise.
9919         * libio/tst-fseek.c: Likewise.
9920         * malloc/tst-malloc-backtrace.c: Likewise.
9921         * malloc/tst-malloc-fork-deadlock.c: Likewise.
9922         * malloc/tst-malloc-thread-exit.c: Likewise.
9923         * nptl/tst-cancel7.c: Likewise.
9924         * nptl/tst-cleanup0.c: Likewise.
9925         * posix/tst-posix_fadvise-common.c: Likewise.
9926         * rt/tst-shm.c: Likewise.
9927         * time/bug-getdate1.c: Likewise.
9928         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9929         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
9930         * elf/Makefile (tst-piemod1.so): Link against libsupport.
9932 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
9934         * Rules [$(run-built-tests) != no] (tests-expected): Add
9935         $(tests-printers).
9936         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
9938 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9940         [BZ #20539]
9941         * math/Makefile (install-lib-ldscripts): Add libm.a.
9942         (install_subdir): Remove.
9943         (install-others): Add.
9944         ($(inst_libdir)/libm.a): Add rule for installation as
9945         linker script.
9946         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
9948 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
9950         * INSTALL: Regenerated.
9951         * Makeconfig: Add comments and whitespace to make the control flow
9952         clearer.
9953         (+link-printers-tests, +link-pie-printers-tests,
9954         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
9955         built-rtld-LDFLAGS, link-libc-rpath,
9956         link-libc-tests-after-rpath-link,
9957         link-libc-printers-tests): New.
9958         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
9959         link-libc-tests): Use the new variables as required.
9960         * Makerules ($(py-const)): New rule.
9961         generated: Add $(py-const).
9962         * README.pretty-printers: New file.
9963         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
9964         (others): Depend on $(py-const).
9965         (tests): Depend on $(tests-printers-programs) or
9966         $(tests-printers-out),
9967         as required.  Pass $(tests-printers) to merge-test-results.sh.
9968         * manual/install.texi: Add requirements for testing the pretty
9969         printers.
9970         * nptl/Makefile (gen-py-const-headers, pretty-printers,
9971         tests-printers, CFLAGS-test-mutexattr-printers.c
9972         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
9973         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
9974         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
9975         * nptl/nptl-printers.py: New file.
9976         * nptl/nptl_lock_constants.pysym: Likewise.
9977         * nptl/test-cond-printers.c: Likewise.
9978         * nptl/test-cond-printers.py: Likewise.
9979         * nptl/test-condattr-printers.c: Likewise.
9980         * nptl/test-condattr-printers.py: Likewise.
9981         * nptl/test-mutex-printers.c: Likewise.
9982         * nptl/test-mutex-printers.py: Likewise.
9983         * nptl/test-mutexattr-printers.c: Likewise.
9984         * nptl/test-mutexattr-printers.py: Likewise.
9985         * nptl/test-rwlock-printers.c: Likewise.
9986         * nptl/test-rwlock-printers.py: Likewise.
9987         * nptl/test-rwlockattr-printers.c: Likewise.
9988         * nptl/test-rwlockattr-printers.py: Likewise.
9989         * scripts/gen-py-const.awk: Likewise.
9990         * scripts/test_printers_common.py: Likewise.
9991         * scripts/test_printers_exceptions.py: Likewise.
9993 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
9995         * scripts/build-many-glibcs.py (Context.__init__): Take strip
9996         argument.
9997         (Glibc.build_glibc): Strip installed shared libraries if
9998         requested.
9999         (get_parser): Add --strip option.
10000         (main): Update Context call.
10002 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10003             Dominik Vogt  <vogt@linux.vnet.ibm.com>
10005         [BZ #20847]
10006         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10007         array bounds for else branch.
10008         (__execvpe): Style fixes.
10009         * posix/tst-vfork3.c (run_script): New function.
10010         (create_script): Likewise.
10011         (do_test): Use run_script internal function.
10012         (do_prepare): Use create_script internal function.
10014 2016-12-07  Andreas Schwab  <schwab@suse.de>
10016         * sysdeps/unix/sysv/linux/x86/elision-conf.h
10017         (__elision_available): Don't declare.
10018         * sysdeps/unix/sysv/linux/x86/elision-conf.c
10019         (__elision_available): Don't define.
10020         (elision_init): Don't set __elision_available.
10022 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
10024         [BZ #20940]
10025         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
10026         return Inf for arguments Inf and sNaN.
10027         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
10028         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10029         Likewise.
10030         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10031         Likewise.
10032         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10033         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
10034         for arguments Inf and sNaN.  When returning a NaN, compute it by
10035         arithmetic on the arguments.
10036         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
10037         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
10038         arguments.
10040 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
10042         [BZ #20916]
10043         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
10044         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
10045         to compute result.
10046         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10047         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
10049 2016-12-05  Torvald Riegel  <triegel@redhat.com>
10051         * include/atomic.h (__atomic_check_size_ls): New.
10052         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
10053         atomic_store_release): Use it.
10054         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
10055         (elision_adapt, ELIDE_LOCK): Use atomics.
10056         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
10057         atomics and improve code comments.
10058         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
10059         (__lll_trylock_elision): Likewise.
10061 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10063         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
10064         programs.
10066 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
10068         [BZ #20916]
10069         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
10070         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
10071         arguments to compute result.
10072         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
10073         1 for arguments (sNaN, 0) or (1, sNaN).
10074         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10075         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10077         [BZ #20919]
10078         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
10079         NaN first argument when raised to power 0.
10080         * math/w_pow.c (__pow): Do not check for NaN or zero results from
10081         raising to power zero.
10082         * math/w_powf.c (__powf): Likewise.
10083         * math/w_powl.c (__powl): Likewise.
10084         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
10085         pow (0, 0) or pow (NaN, 0).
10087 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
10089         [BZ #20918]
10090         * configure.ac: Test for static NSS cryptographic libraries and set
10091         libc_cv_static_nss_crypt.
10092         * configure: Regenerate.
10093         * config.make.in (static-nss-crypt): Define.
10094         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
10095         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
10096         (CFLAGS-tst-linkall-static.c): Define.
10097         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
10098         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
10099         ($(objpfx)tst-linkall-static): Define.
10100         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
10101         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
10103 2016-12-02  Florian Weimer  <fweimer@redhat.com>
10105         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
10106         (one-hundred, tst-tls-many-dynamic-modules): Define.
10107         (modules-names): Add $(tst-tls-many-dynamic-modules).
10108         (tst-tls-manydynamic%mod.os): Build with special preprocessor
10109         macros.
10110         (tst-tls-manydynamic): Link against libdl, libpthread.
10111         (tst-tls-manydynamic.out): The test needs the test modules at run
10112         time.
10113         * elf/tst-tls-manydynamic.c: New file.
10114         * elf/tst-tls-manydynamic.h: Likewise.
10115         * elf/tst-tls-manydynamicmod.c: Likewise.
10117 2016-12-02  Florian Weimer  <fweimer@redhat.com>
10119         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
10120         (TLS_DTV_UNALLOCATED): Add.
10121         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
10122         offsets.
10124 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
10126         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10128 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
10130         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
10131         Add -fno-optimize-sibling-calls.
10133 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
10135         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
10136         New declaration.
10137         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
10138         macro.
10139         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
10140         New macro.
10141         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
10142         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
10143         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
10144         (llogbf): Likewise.
10145         (llogbl): Likewise.
10146         * math/Makefile (gen-libm-calls): Add w_llogbF.
10147         (tests): Add test-fp-llogb-constants.
10148         * math/w_llogb_template.c: New file.  Based on
10149         math/w_ilogb_template.c.
10150         * math/libm-test.inc (llogb_test_data): New array.
10151         (llogb_test): New function.
10152         (main): Call llogb_test.
10153         * math/test-fp-llogb-constants.c: New file.  Based on
10154         math/test-fp-ilogb-constants.c.
10155         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
10156         (do_test): Call check_return_llogb.
10157         * math/test-tgmath.c (NCALLS): Increase to 126.
10158         (F(compile_test)): Call llogb.
10159         (F(llogb)): New function.
10160         * manual/math.texi (Exponents and Logarithms): Document llogb,
10161         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
10162         * manual/libm-err-tab.pl (@all_functions): Add llogb.
10163         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
10164         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
10165         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
10166         (CFLAGS-nldbl-llogb.c): New variable.
10167         * sysdeps/nacl/libm.abilist: Update.
10168         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10169         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10170         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10171         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10172         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10173         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10174         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10175         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10176         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10177         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10178         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10179         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10181         Likewise.
10182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10183         Likewise.
10184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10185         Likewise.
10186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10187         Likewise.
10188         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10189         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10190         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10191         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10192         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10194         Likewise.
10195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10196         Likewise.
10197         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10198         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10199         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10201 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
10203         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
10204         _Float128 instead of long double.
10205         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
10207         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
10208         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
10209         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
10210         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
10211         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
10212         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
10213         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
10214         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
10215         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
10216         Likewise.
10218 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10220         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
10221         Remove redirection to __strrchr_ppc.
10223 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10225         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10226         (sysdep_routines): Add strcmp_power9.
10227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10228         (strcmp): Add __strcmp_power9 to list of strcmp functions.
10229         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
10230         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10231         (strcmp): Add __strcmp_power9 to ifunc list.
10232         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
10234 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
10236         * bits/fp-logb.h: New file.
10237         * sysdeps/ia64/bits/fp-logb.h: Likewise.
10238         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
10239         * sysdeps/x86/bits/fp-logb.h: Likewise.
10240         * math/Makefile (headers): Add bits/fp-logb.h.
10241         * math/math.h: Include <bits/fp-logb.h>.
10242         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
10243         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
10244         * bits/mathdef.h (FP_ILOGB0): Remove.
10245         (FP_ILOGBNAN): Likewise.
10246         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
10247         (FP_ILOGBNAN): Likewise.
10248         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
10249         (FP_ILOGBNAN): Likewise.
10250         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
10251         (FP_ILOGBNAN): Likewise.
10252         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
10253         (FP_ILOGBNAN): Likewise.
10254         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
10255         (FP_ILOGBNAN): Likewise.
10256         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
10257         (FP_ILOGBNAN): Likewise.
10258         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
10259         (FP_ILOGBNAN): Likewise.
10260         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
10261         (FP_ILOGBNAN): Likewise.
10262         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
10263         (FP_ILOGBNAN): Likewise.
10265         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
10266         time module.
10267         (Context.__init__): Initialize self.logsdir_old.
10268         (Context.run_builds): Handle bot action.
10269         (Context.bot_cycle): Copy logs directory before running builds.
10270         (Context.bot_run_self): Take argument for whether to check
10271         subprocess result.  Flush stdout before running subprocess.
10272         (Context.bot): New function.
10273         (get_parser): Allow bot action.
10275 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
10277         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
10278         Import email.mime.text, email.utils and smtplib modules.
10279         (Context.__init__): Initialize self.bot_config_json.
10280         (Context.run_builds): Handle bot-cycle action.
10281         (Context.load_bot_config_json): New function.
10282         (Context.part_build_old): Likewise.
10283         (Context.bot_cycle): Likewise.
10284         (Context.bot_build_mail): Likewise.
10285         (Context.bot_run_self): Likewise.
10286         (get_parser): Allow bot-cycle action.
10288 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10290         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
10291         Remove redirection to __stpcpy_ppc.
10293 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10295         Remove __libc_memalign from ld.so because it is unused.
10296         * elf/dl-minimal.c: Update comment on the malloc implementation.
10297         (malloc): Renamed from __libc_memalign, replacing the original
10298         malloc implementation.  Replace the align parameter with
10299         MALLOC_ALIGNMENT.
10300         * elf/Versions (ld): Update comment and remove __libc_memalign.
10301         * sysdeps/nacl/ld.abilist: Likewise.
10302         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10303         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10304         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10305         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10306         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10307         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10308         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10309         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10310         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10311         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10312         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
10313         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
10314         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
10315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
10316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10318         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10319         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10320         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10321         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10322         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
10324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
10325         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
10326         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10327         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10328         * sysdeps/generic/localplt.data (ld.so): Likewise.
10329         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10330         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10331         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10332         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10333         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10334         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10335         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10336         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
10337         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10339         (ld.so): Likewise.
10340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10341         (ld.so): Likewise.
10342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10343         Likewise.
10344         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10345         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10346         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
10347         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
10348         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10350 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10352         [BZ #16628]
10353         Implement _dl_catch_error, _dl_signal_error in libc.so.
10354         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
10355         (catch_hook): Define as thread-local or regular variable,
10356         depending on DL_ERROR_BOOTSTRAP.
10357         (CATCH_HOOK): Remove.
10358         (dl_signal_error, _dl_catch_error): Use
10359         catch_hook.  Add hidden definition for libc.
10360         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
10361         for DL_ERROR_BOOTSTRAP only.
10362         * elf/dl-error.c: New file.
10363         * elf/dl-error-minimal.c: Likewise.
10364         * elf/tst-latepthread.c: Likewise.
10365         * elf/tst-latepthreadmod.c: Likewise.
10366         * elf/Makefile (routines): Add dl-error.
10367         (dl-routines): Remove dl-error.
10368         (rtld-routines): Add dl-error-minimal.
10369         [build-shared] (tests): Add tst-latepthread.
10370         (module-names): Add tst-latepthreadmod.
10371         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
10372         symbol.
10373         (tst-latepthreadmod.so): Link against libpthread.
10374         (tst-latepthread): Link against libdbl.
10375         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
10376         _dl_catch_error.
10377         [ld] (GLIBC_PRIVATE): Likewise.
10378         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
10379         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
10380         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
10381         directly.
10382         * elf/dl-tsd.c: Remove file.
10383         * elf/rtld.c (_rtld_global_ro): Remove initializers for
10384         _dl_catch_error, _dl_signal_error.
10385         (_dl_initial_error_catch_tsd): Remove definition.
10386         (do_preload): Remove initialization of dl_error_catch_tsd.
10387         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
10388         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
10389         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10390         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10391         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
10392         set dl_error_catch_tsd.
10393         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
10394         _dl_error_catch_tsd member.
10395         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
10396         members.
10397         (_dl_initial_error_catch_tsd): Remove declaration.
10398         (_dl_dprintf): Provide definition for use outside of ld.so.
10399         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
10400         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
10401         prototype for libc.
10402         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
10403         _dl_catch_error.
10404         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10405         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10406         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10407         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10408         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10409         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10410         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10411         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
10412         Likewise.
10413         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10415         (ld.so): Likewise.
10416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10417         (ld.so): Likewise.
10418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10419         Likewise.
10420         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10421         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10422         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
10423         Likewise.
10424         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
10425         Likewise.
10426         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10428 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10430         [BZ #4099]
10431         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
10432         _IO_BUFSIZ (8192).
10434 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
10436         * PROJECTS: Remove file.
10438 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10440         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
10442 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
10443             Steve Ellcey  <sellcey@caviumnetworks.com>
10445         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
10446         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
10447         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
10448         fxstatat.
10449         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
10450         lxstat.
10451         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
10452         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
10453         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
10454         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
10455         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
10456         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
10457         __xstat.
10459 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10461         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
10462         Define.
10463         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
10464         definition.
10466 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10468         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
10469         version and turn into strong alias.  Remove compat symbol.
10471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10472         (__longjmp): Remove.
10474 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
10476         * bits/fp-fast.h: New file.
10477         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
10478         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
10479         * math/Makefile (headers): Add bits/fp-fast.h.
10480         * math/math.h: Include <bits/fp-fast.h>.
10481         * bits/mathdef.h (FP_FAST_FMA): Remove.
10482         (FP_FAST_FMAF): Likewise.
10483         (FP_FAST_FMAL): Likewise.
10484         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
10485         (FP_FAST_FMAF): Likewise.
10486         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
10487         (FP_FAST_FMAF): Likewise.
10488         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
10489         (FP_FAST_FMAF): Likewise.
10490         (FP_FAST_FMAL): Likewise.
10491         * sysdeps/arm/bits/mathdef.h: Remove file.
10492         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
10493         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10494         * sysdeps/tile/bits/mathdef.h: Likewise.
10496 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10498         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
10499         * math/w_ilogb.c: Remove.
10500         * math/w_ilogbf.c: Likewise.
10501         * math/w_ilogbl.c: Likewise.
10502         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
10503         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
10504         * math/Makefile (gen-libm-calls): Add w_ilogbF.
10505         (libm-calls): Remove w_ilogbF.
10506         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
10507         (LDOUBLE_ilogbl_libm_version): New macro.
10509         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
10511         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
10512         [!__STRICT_ANSI__ && !__cplusplus].
10514 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10516         [BZ #20750]
10517         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
10518         of PIC.
10520 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10521             Yury Norov  <ynorov@caviumnetworks.com>
10522             Steve Ellcey  <sellcey@caviumnetworks.com>
10524         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
10525         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
10526         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
10527         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
10528         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
10529         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
10530         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
10531         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
10532         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
10533         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
10534         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
10535         to get correct reg name for ILP32.
10536         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
10537         (RELA_SIZE): New Macro.
10538         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
10539         to support ILP32.
10540         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
10541         cast for ILP32 mode.
10542         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
10543         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
10544         * sysdeps/aarch64/memset.S (__memset): Ditto.
10545         * sysdeps/aarch64/strchr.S (strchr): Ditto.
10546         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
10547         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
10548         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
10549         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
10550         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
10551         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
10552         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
10553         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
10554         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
10555         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
10556         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
10557         change PTR_MANGLE call to use register numbers instead of names.
10558         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
10559         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
10560         ILP32 mode, change PTR_MANGLE calls to use register numbers.
10561         * sysdeps/aarch64/start.S (_start): Ditto.
10562         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
10563         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
10564         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
10565         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
10566         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
10567         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
10568         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
10569         Make defined values dependent on __ILP32__.
10570         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
10571         (sem_t): Change __align type.
10572         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
10573         PTR_SIZE): New Macros.
10574         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
10575         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
10576         Set when in ILP32 mode.
10577         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
10578         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
10579         Set elf flags for ILP32.
10580         (add_system_dir): Set ILP32 library directories.
10581         * sysdeps/unix/sysv/linux/aarch64/init-first.c
10582         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
10583         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
10584         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
10585         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
10586         New Macros.
10587         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
10589 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
10591         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
10592         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
10593         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
10595 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10597         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
10598         <asm/cachectl.h>.
10600 2016-11-27  Zack Weinberg  <zackw@panix.com>
10602         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
10603         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
10605 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10607         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
10608         error_t to fix usage in C++ programs.
10610 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
10612         * scripts/build-many-glibcs.py: Import datetime module.
10613         (Context.__init__): Load JSON build state.  Initialize list of
10614         status logs.
10615         (Context.run_builds): Update saved build state.
10616         (Context.add_makefile_cmdlist): Update list of status logs.
10617         (Context.load_build_state_json): New function.
10618         (Context.store_build_state_json): Likewise.
10619         (Context.clear_last_build_state): Likewise.
10620         (Context.update_build_state): Likewise.
10621         (CommandList.status_logs): Likewise.
10623 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
10625         * scripts/build-many-glibcs.py (Context.__init__): Save text of
10626         script being executed.
10627         (Context.get_script_text): New function.
10628         (Context.exec_self): Likewise.
10629         (Context.checkout): Re-exec script if changed by checkout process.
10631 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
10633         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10634         (setpayloadsig): New declaration.
10635         * math/Versions (setpayloadsig): New libm symbol at version
10636         GLIBC_2.25.
10637         (setpayloadsigf): Likewise.
10638         (setpayloadsigl): Likewise.
10639         * math/Makefile (libm-calls): Add s_setpayloadsigF.
10640         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
10641         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
10642         (setpayloadsig_test_data): New array.
10643         (setpayloadsig_test): New function.
10644         (main): Call setpayloadsig_test.
10645         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
10646         setpayloadsigf and setpayloadsigl.
10647         * manual/libm-err-tab.pl: Update comment on interfaces without
10648         ulps tabulated.
10649         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
10650         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
10651         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
10652         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
10653         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
10654         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
10655         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10656         setpayloadsig.
10657         (CFLAGS-nldbl-setpayloadsig.c): New variable.
10658         * sysdeps/nacl/libm.abilist: Update.
10659         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10660         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10661         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10662         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10663         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10664         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10665         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10666         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10667         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10668         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10669         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10670         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10672         Likewise.
10673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10674         Likewise.
10675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10676         Likewise.
10677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10678         Likewise.
10679         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10680         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10681         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10682         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10683         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10685         Likewise.
10686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10687         Likewise.
10688         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10689         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10690         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10692         * scripts/build-many-glibcs.py: Import json module.
10693         (Context.__init__): Take replace_sources argument.  Load
10694         versions.json.
10695         (Context.load_versions_json): New function.
10696         (Context.store_json): Likewise.
10697         (Context.store_versions_json): Likewise.
10698         (Context.set_component_version): Likewise.
10699         (Context.checkout): Update versions.json.  Check for and handle
10700         changes of version.  Prefer previously explicitly specified
10701         version to default version.
10702         (Context.checkout_vcs): Return a revision identifier.
10703         (Context.git_checkout): Likewise.
10704         (Context.gcc_checkout): Likewise.
10705         (get_parser): Add --replace-sources option.
10706         (main): Pass replace_sources argument to Context call.
10708 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10710         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
10711         * nptl/allocatestack.c (allocate_stack): Likewise.
10712         (__reclaim_stacks): Likewise.
10713         (setxid_signal_thread): Obtain pid through syscall.
10714         * nptl/nptl-init.c (sigcancel_handler): Likewise.
10715         (sighandle_setxid): Likewise.
10716         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
10717         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10718         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
10719         Likewise.
10720         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10721         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
10722         comment.
10723         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
10724         * nptl/descr.h (struct pthread): Change comment about pid value.
10725         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
10726         pid assert.
10727         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
10728         Do not set pid value.
10729         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
10730         pid cache check.
10731         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
10732         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
10733         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
10734         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
10735         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
10736         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10737         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
10738         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
10739         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
10740         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
10741         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
10742         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10743         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
10744         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10745         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
10746         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
10747         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10748         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
10749         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
10750         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
10751         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
10752         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10753         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
10754         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
10755         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
10756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10758         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
10759         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10760         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
10761         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
10762         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
10763         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
10764         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10765         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
10766         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10767         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
10768         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10769         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
10770         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
10771         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10772         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
10773         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
10774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10776         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10777         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10778         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
10779         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
10780         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
10781         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
10782         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10783         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
10784         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
10785         struct access.
10786         (clone_test): Remove function.
10787         (do_test): Rewrite to take in consideration pid is not cached anymore.
10789 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
10791         * bits/flt-eval-method.h: New file.
10792         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
10793         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
10794         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
10795         * math/Makefile (headers): Add bits/flt-eval-method.h.
10796         * math/math.h: Include <bits/flt-eval-method.h>.
10797         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
10798         [__USE_ISOC99] (double_t): Likewise.
10799         * bits/mathdef.h (float_t): Remove.
10800         (double_t): Likewise.
10801         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
10802         (double_t): Likewise.
10803         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
10804         (double_t): Likewise.
10805         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
10806         (double_t): Likewise.
10807         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
10808         (double_t): Likewise.
10809         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
10810         (double_t): Likewise.
10811         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
10812         (double_t): Likewise.
10813         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
10814         (double_t): Likewise.
10815         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
10816         (double_t): Likewise.
10817         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
10818         (double_t): Likewise.
10819         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
10820         (double_t): Likewise.
10821         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
10822         (double_t): Likewise.
10823         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
10824         (double_t): Likewise.
10825         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
10826         (double_t): Likewise.
10828 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
10830         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
10831         instead of PIC.
10833 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10835         [BZ #20859]
10836         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
10837         (-0x7fffffff) instead of 0x80000001.
10838         * math/test-fp-ilogb-constants.c: New file.
10839         * math/Makefile (tests): Add test-fp-ilogb-constants.
10841 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
10843         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
10844         (_init): Use it in place of hardcoded R_MIPS_JALR.
10845         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
10846         (_init): Use it in place of hardcoded R_MIPS_JALR.
10847         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
10848         (_init): Use it in place of hardcoded R_MIPS_JALR.
10850 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10852         [BZ #20787]
10853         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
10854         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
10855         (double_t): Do not define to double if [__x86_64__] when
10856         __FLT_EVAL_METHOD__ is nonzero.
10857         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
10858         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
10859         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10860         test-flt-eval-method-387 and test-flt-eval-method-sse.
10861         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
10862         variable.
10863         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
10865 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
10867         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
10868         use of -fno-isolate-erroneous-paths options for tilepro.
10870 2016-11-23  Florian Weimer  <fweimer@redhat.com>
10872         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
10873         structure initialization is no longer needed.
10875 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
10877         [BZ #20855]
10878         * bits/mathdef.h (float_t): Define to float.
10879         * math/test-flt-eval-method.c: New file.
10880         * math/Makefile (tests): Add test-flt-eval-method.
10881         (CFLAGS-test-flt-eval-method.c): New variable.
10883 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
10885         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
10886         and __fstatfs.  Make them aliases of __fstatfs64 if
10887         STATFS_IS_STATFS64 is set to non-zero.
10888         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
10889         and __statfs64.
10890         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
10891         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
10892         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
10893         for __statfs and statfs.
10894         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
10895         to 0.
10896         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
10897         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
10898         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
10899         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10900         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10901         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
10904         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
10905         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10906         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
10907         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
10909 2016-11-22  Andreas Schwab  <schwab@suse.de>
10911         * misc/mkstemp.c: Include <fcntl.h>.
10912         * misc/mkstemps.c: Likewise.
10913         * misc/mkostemp.c: Likewise.
10914         * misc/mkostemps.c: Likewise.
10916 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
10918         [BZ #20847]
10919         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10920         array bounds.
10921         (__execvpe): Likewise.
10923 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
10925         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
10926         -fno-isolate-erroneous-paths options for tilepro.
10928 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
10930         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
10931         to 0 when in 32 bit mode.
10932         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
10933         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
10934         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
10935         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
10936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
10937         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
10938         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
10939         XSTAT_IS_XSTAT64 test.
10940         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
10941         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
10942         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
10943         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
10944         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
10945         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
10946         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
10947         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
10948         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
10949         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
10950         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
10952 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
10954         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10955         (setpayload): New declaration.
10956         * math/Versions (setpayload): New libm symbol at version
10957         GLIBC_2.25.
10958         (setpayloadf): Likewise.
10959         (setpayloadl): Likewise.
10960         * math/Makefile (libm-calls): Add s_setpayloadF.
10961         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
10962         test_Ff_b1_data.
10963         (RUN_TEST_Ff_b1): New macro.
10964         (RUN_TEST_LOOP_Ff_b1): Likewise.
10965         (canonicalize_test_data): Update type.
10966         (setpayload_test_data): New array.
10967         (setpayload_test): New function.
10968         (main): Call setpayload_test.
10969         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
10970         setpayloadf and setpayloadl.
10971         * manual/libm-err-tab.pl: Update comment on interfaces without
10972         ulps tabulated.
10973         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
10974         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
10975         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
10976         Likewise.
10977         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
10978         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
10979         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
10980         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
10981         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
10982         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
10983         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
10984         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
10985         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
10986         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10987         setpayload.
10988         (CFLAGS-nldbl-setpayload.c): New variable.
10989         * sysdeps/nacl/libm.abilist: Update.
10990         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10991         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10992         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10993         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10994         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10995         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10996         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10997         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10998         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10999         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11000         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11001         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11003         Likewise.
11004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11005         Likewise.
11006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11007         Likewise.
11008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11009         Likewise.
11010         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11011         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11012         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11013         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11014         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11016         Likewise.
11017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11018         Likewise.
11019         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11020         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11021         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11023 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11025         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
11026         * include/unistd.h: Extend comment about __access_noerrno return
11027         semantics.
11028         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
11029         (access_common): Correct typo for EACCES.
11031 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
11033         * sysdeps/tile/math-tests.h: New file.
11035         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
11036         (__old_set_dataplane): Rename from set_dataplane and make a
11037         compatibility symbol.
11038         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
11039         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
11040         sys/dataplane.h.
11042 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
11044         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
11045         script quote words in command output to log suitably for input to
11046         the shell.
11048 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
11049             Maciej W. Rozycki  <macro@imgtec.com>
11051         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
11052         `.Lno_weak_fn' label.
11053         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
11054         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
11056 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11057             Yury Norov  <ynorov@caviumnetworks.com>
11059         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
11060         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
11061         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11062         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
11063         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11064         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
11065         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11066         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11067         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11068         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
11069         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11070         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
11071         (sysdep_routines): Remove oldgetrlimit64.
11072         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
11073         (sysdep_routines): Likewise.
11074         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
11075         (sysdep_routines): Likewise.
11076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11077         [$(subdir) = resource] (sysdep_routines): Likewise.
11078         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
11079         [$(subdir) = resource] (sysdep_routines): Likewise.
11080         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
11081         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
11082         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
11083         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
11084         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
11085         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11086         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
11087         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
11088         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
11089         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
11090         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
11091         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
11092         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
11093         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
11094         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
11095         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
11096         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
11097         setrlimit and getrlimit.
11098         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
11099         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11100         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
11101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
11103         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11104         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
11105         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11106         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11107         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
11108         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
11109         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
11110         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
11111         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
11112         (__old_getrlimit64): Add compatibility symbol.
11113         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
11115 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
11117         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
11118         newly built gmp, mpfr and mpc.
11120         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
11122 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
11124         * conform/Makefile (linknamespace-libs): Rename to
11125         linknamespace-libs-thr.
11126         (linknamespace-libs-posix): New variable.
11127         (linknamespace-libs-xsi): Likewise.
11128         (linknamespace-libs-XPG3): Include libcrypt.a.
11129         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
11130         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
11131         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
11132         (linknamespace-libs-XOPEN2K): Likewise.
11133         (linknamespace-libs-XOPEN2K8): Likewise.
11134         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
11136         [BZ #20829]
11137         * stdio-common/Versions (__snprintf): Add to version
11138         GLIBC_PRIVATE.
11139         * include/stdio.h (__snprintf): Use libc_hidden_proto.
11140         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
11141         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
11142         of snprintf.
11143         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11145 2016-11-16  Zack Weinberg  <zackw@panix.com>
11147         * string/string.h: Remove obsolete comment stating that
11148         strcoll_l and strxfrm_l have not yet been standardized.
11150 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11152         * hurd/hurd.h (__hurd_fail_noerrno): New function.
11153         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
11154         __access_noerrno.
11155         * io/access.c (__access_noerrno): New function.
11156         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
11157         (hurd_fail_seterrno): Likewise.
11158         (access_common): Likewise.
11159         (__access_noerrno): Likewise.
11160         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
11161         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
11162         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
11163         macro.
11165 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
11167         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
11168         Only declare fpregs if [__SH_FPU_ANY__].
11170 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
11172         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
11173         Make code unconditional.
11174         [!(__SH4__ || __SH4A__)]: Remove conditional code.
11176 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
11178         * manual/sysinfo.texi (S_APPEND): Delete.
11179         (S_IMMUTABLE): Likewise.
11181 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
11182             Magnus Granberg  <zorry@gentoo.org>
11183             Mike Frysinger  <vapier@gentoo.org>
11185         [BZ #20662]
11186         * configure.ac (libc_cv_predef_stack_protector): Also check for
11187         __stack_chk_fail_local symbols.
11188         * configure: Regenerated.
11190 2016-11-15  Florian Weimer  <fweimer@redhat.com>
11192         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
11193         (libc_hidden_def): Remove redefinition.
11194         (__sigsetjmp): Add hidden definition.
11195         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
11196         (libc_hidden_def): Remove redefinition.
11197         (__sigsetjmp): Add hidden definition.
11199 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
11201         * scripts/build-many-glibcs.py (os.path): Do not import.
11202         (Context): Inherit explicitly from object.  Remove blank line
11203         between class and docstring.
11204         (Config): Likewise.
11205         (Glibc): Likewise.
11206         (Command): Likewise.
11207         (CommandList): Likewise.
11208         (Context.write_files): Store chmod mode in a variable.
11210         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
11211         LIBC_SLIBDIR_RTLDDIR for tilegx32.
11212         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
11214 2016-11-14  Zack Weinberg  <zackw@panix.com>
11216         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
11217         creating or re-creating it.
11219         * string/bits/string2.h: Fix typo in comment.
11221 2016-11-14  Zack Weinberg  <zackw@panix.com>
11223         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
11224         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
11225         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
11226         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
11227         of redirected function names.
11229         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
11230         as well.  Document that MESSAGE must be a single string literal.
11232 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
11234         * scripts/build-many-glibcs.py: New file.
11236         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
11237         (do_test): Disable -Wmaybe-uninitialized around uses of
11238         except_mask.
11240         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
11242 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
11244         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
11245         (atomic_store_release): Provide tilepro-specific implementations.
11247 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
11249         * math/math.h (__MATH_TG): New macro.
11250         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
11251         [__USE_ISOC99] (signbit): Likewise.
11252         [__USE_ISOC99] (isfinite): Likewise.
11253         [__USE_ISOC99] (isnan): Likewise.
11254         [__USE_ISOC99] (isinf): Likewise.
11255         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
11256         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
11257         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
11258         __MATH_TG and __MATH_EVAL_FMT2.
11259         * sysdeps/generic/math_private.h (fabs_tg): Define using
11260         __MATH_TG.
11261         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
11262         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
11263         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
11264         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
11265         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
11266         macro.
11267         (__iscanonical): Likewise.
11268         (iscanonical): Define using __MATH_TG.
11270 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11272         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
11273         guards.
11275         * sysdeps/unix/sysv/linux/access.c: New file.
11276         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
11278 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
11280         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
11281         and __WORDSIZE32_PTRDIFF_LONG.
11283 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11285         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11287 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11289         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
11290         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
11291         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
11292         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
11293         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
11294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
11295         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
11296         * sysdeps/unix/sysv/linux/truncate.c: New file.
11297         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
11298         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11299         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
11300         Remove.
11301         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
11302         Likewise.
11304         * posix/tst-truncate-common.c: New file.
11305         * posix/tst-truncate.c: Use tst-truncate-common.c.
11306         * posix/tst-truncate64.c: Likewise and add LFS tests.
11307         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
11308         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
11309         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
11310         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
11311         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
11312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
11313         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
11314         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
11315         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
11316         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11317         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
11318         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
11319         Remove.
11320         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
11321         Likewise.
11323 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
11325         [BZ #20790]
11326         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
11327         to MAXLINESIZE.
11328         * sunrpc/bug20790.x: New file.
11329         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
11330         variable.
11331         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
11332         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
11334         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
11336         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
11338         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
11339         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
11340         calloc, realloc, free, memalign and __libc_memalign rather than
11341         making them optional.
11343         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
11344         for libc.so.
11346 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11348         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
11349         ptw-lseek64.
11350         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
11351         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
11352         Likewise.
11353         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
11354         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
11355         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
11356         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
11357         * sysdeps/unix/sysv/linux/lseek.c: New file.
11358         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
11359         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
11360         __libc_lseek64 from auto-generation.
11361         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11362         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
11364 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11366         * nptl/tst-basic1.c (tf, do_test): Use write_message.
11367         * nptl/tst-cleanup1.c (do_test): Likewise.
11368         * nptl/tst-cleanup3.c (do_test): Likewise.
11369         * nptl/tst-key1.c (do_test): Likewise.
11370         * nptl/tst-key2.c (tf, do_test): Likewise.
11371         * nptl/tst-key3.c (tf, do_test): Likewise.
11372         * nptl/tst-stdio1.c (do_test): Likewise.
11373         * nptl/tst-stdio2.c (do_test): Likewise.
11375         * nptl/tst-kill3.c (handler): Use write_message in place of write.
11376         * nptl/tst-kill6.c (handler): Likewise.
11377         * nptl/tst-tls2.c (CB): Likewise.
11378         * nptl/tst-tls3.c (CB): Likewise.
11380 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
11382         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
11384 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
11385             Steve Ellcey  <sellcey@caviumnetworks.com>
11387         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
11388           __ASSUME_ST_INO_64_BIT as 0
11389         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
11390         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
11391           over the code where __ASSUME_ST_INO_64_BIT is used.
11392         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
11393         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
11394         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11396 2016-11-07  Florian Weimer  <fweimer@redhat.com>
11398         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11399         Document ABI exposure of the __kind offset.
11400         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11401         Mention reason for the __kind offset exposure in the ABI.
11402         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11403         Likewise.
11404         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11405         Likewise.
11406         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11407         Likewise.
11408         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
11409         (struct __pthread_mutex_s): Likewise.
11410         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11411         Likewise.
11412         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11413         Likewise.
11414         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11415         Likewise.
11416         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11417         Likewise.
11418         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11419         Likewise.
11420         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11421         Likewise.
11422         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
11423         (struct __pthread_mutex_s): Likewise.
11424         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11425         (struct __pthread_mutex_s): Likewise.
11426         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
11427         Likewise.
11429 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
11431         * test-skeleton.c: Document do_test usage.
11433 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
11435         * iconv/gconv.h (__gconv_info): Define __data element using a
11436         zero-length array.
11438 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
11440         * math/test-tgmath2.c: Split up test function.
11442 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11444         * Rules (tests-expected): New variable, depending on
11445         $(run-built-tests).
11446         (tests): Pass $(tests-expected) to merge-test-results.sh, not
11447         $(tests).
11449         * Rules [$(run-built-tests) = no] (tests): Do not depend on
11450         $(tests-unsupported).
11452 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11454         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11455         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
11457 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11459         [BZ #20768]
11460         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
11461         __fegetenv instead of fegetenv.
11463         [BZ #14139]
11464         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
11465         (find_files): Obtain platform name from libm-test-ulps-name and
11466         store in %pplatforms.
11467         (canonicalize_platform): Remove.
11468         (print_platforms): Use $pplatforms directly.
11469         (by_platforms): Do not allow for platforms missing from
11470         %pplatforms.
11471         * sysdeps/aarch64/libm-test-ulps-name: New file.
11472         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
11473         * sysdeps/arm/libm-test-ulps-name: Likewise.
11474         * sysdeps/generic/libm-test-ulps-name: Likewise.
11475         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
11476         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
11477         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
11478         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
11479         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
11480         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
11481         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
11482         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
11483         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
11484         * sysdeps/nios2/libm-test-ulps-name: Likewise.
11485         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
11486         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
11487         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
11488         * sysdeps/sh/libm-test-ulps-name: Likewise.
11489         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
11490         * sysdeps/tile/libm-test-ulps-name: Likewise.
11491         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
11493         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
11495         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
11496         (test-xfail-check-execstack): New variable.
11498         * sysdeps/mips/localplt.data: New file.
11500 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
11501             Steve Ellcey  <sellcey@caviumnetworks.com>
11503         * bits/wordsize.h: Add documentation.
11504         * sysdeps/aarch64/bits/wordsize.h : New file
11505         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
11506         definitions.
11507         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
11508         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
11509         with #if instead of #ifdef.
11510         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
11511         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
11512         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
11513         Add or change defines.
11514         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
11515         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11516         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
11517         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
11518         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11519         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11520         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
11521         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
11522         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
11523         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11524         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
11525         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
11526         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
11527         * sysdeps/x86/bits/wordsize.h: Likewise.
11529 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
11530             Kevin Petit  <kevin.petit@arm.com>
11532         * sysdeps/aarch64/memchr.S (__memchr): New file.
11534 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11536         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
11538 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
11540         [BZ #19398]
11541         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
11542         $(linknamespace-symlists-tests).
11544 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
11546         * time/tst-strptime2.c: Ignore -Wformat-length warning.
11548 2016-11-02  Florian Weimer  <fweimer@redhat.com>
11549             Carlos O'Donell  <carlos@redhat.com>
11551         [Bug #20729]
11552         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
11553         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
11554         for -Os related change.
11556 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
11558         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
11560 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
11562         [BZ #19673]
11563         * manual/math.texi (Exponents and Logarithms): Correct description
11564         of clog10.
11566 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
11568         [Bz #20729]
11569         * locale/weight.h: Include libc-internal.h.
11570         * locale/weightwc.h: Likewise.
11571         * nptl/nptl_dbP.h: Likewise.
11573 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
11575         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
11576         when it is MACH_PORT_NULL.
11578 2016-10-31  Andreas Schwab  <schwab@suse.de>
11580         [BZ #20707]
11581         * posix/glob.c (glob): Initialize pglob before checking for
11582         GLOB_BRACE.  Don't call glob recursively if pattern contains no
11583         valid brace expression despite GLOB_BRACE.
11584         * posix/globtest.sh: Test it.
11586 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11588         [BZ #20729]
11589         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
11590         Define.
11591         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
11592         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
11593         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
11594         for seq2.back_us and seq1.back_us only for -Os compiles.
11595         * locale/weightwc.h (findix): Likewise.
11596         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
11597         DB_GET_FIELD_ADDRESS only for -Os compiles.
11598         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
11599         for slen only for -Os compiles.
11600         * string/strcoll_l.c (get_next_seq): Ignore
11601         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
11602         for -Os compiles.
11604         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
11605         * include/crypt.h: New file.
11607 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11609         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
11610         from test-skeleton.c.
11611         (statclass): Replace calls to write with calls to write_message.
11613 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
11615         * math/math.h
11616         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
11617         New macro.
11618         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
11619         Likewise.
11620         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
11621         Likewise.
11622         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
11623         SNANL.
11624         * math/test-double.h (snan_value_MACRO): New macro.
11625         * math/test-float.h (snan_value_MACRO): Likewise.
11626         * math/test-ldouble.h (snan_value_MACRO): Likewise.
11627         * math/libm-test.inc (issignaling_test_data): Add tests of
11628         snan_value_MACRO.
11630 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11632         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
11633         behavior when eliding a lock not held by the current thread.
11634         * sysdeps/powerpc/nptl/elide.h: Likewise.
11636 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11638         [BZ #20728]
11639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
11640         branch to _exit() by a function call.
11642 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11644         * malloc/malloc.c: Update chunk layout comments.
11645         (chunk_main_arena): Update comment.
11647 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11649         * crypt/sha256.c, crypt/sha256-block.c,
11650         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
11651         sha256_process_block to __sha256_process_block.
11652         * crypt/sha512.c, crypt/sha512-block.c,
11653         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
11654         sha512_process_block to __sha512_process_block.
11656 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11658         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
11660         * math/test-nan-overflow.c: Include stdlib.h for malloc.
11662 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
11664         [BZ #20019]
11665         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
11666         definition in unrelocated shared library.
11667         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11669 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11671         [BZ #20729]
11672         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
11673         * sysdeps/unix/sysv/linux/i386/Makefile
11674         (uses-6-syscall-arguments): Define.
11675         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
11676         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
11677         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
11678         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
11679         Likewise.
11680         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
11681         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
11682         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
11683         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
11684         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
11685         (CFLAGS-fallocate64.os): Likewise.
11686         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
11687         (CFLAGS-pthread_rwlock_timedrdlock.os)
11688         (CFLAGS-pthread_rwlock_timedwrlock.o)
11689         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
11690         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
11691         (CFLAGS-sem_timedwait.os): Likewise.
11693 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11695         * elf/tst-linkall-static.c: New file.
11696         * elf/Makefile (tests-static): Add tst-linkall-static.
11697         (tst-linkall-static): Link against static libraries.
11699 2016-10-27  Florian Weimer  <fweimer@redhat.com>
11701         * malloc/malloc.c (sysmalloc): Initialize previous size field of
11702         mmaped chunks.
11704 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11706         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
11707         members to mchunk_prev_size, mchunk_size.
11708         (chunk_main_arena): Reverse sense and rename from
11709         chunk_non_main_arena.
11710         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
11711         mchunk_size instead of size.
11712         (set_non_main_arena): Define.
11713         (chunksize): Use chunksize_nomask instead of direct member access.
11714         (chunksize_nomask): Define.
11715         (next_chunk): Use chunksize instead of direct member access.
11716         (prev_size, set_prev_size): Define.
11717         (prev_chunk): Use prev_size instead of direct member access.
11718         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
11719         (inuse_bit_at_offset, set_inuse_bit_at_offset)
11720         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
11721         (mchunk_prev_size, mchunk_size): Poison tokens.
11722         (unlink): Use chunksize_nomask, prev_size accessors.
11723         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
11724         (do_check_free_chunk): Use prev_size accessor.
11725         (sysmalloc): Use set_prev_size, set_head accessors.
11726         (munmap_chunk, mremap_chunk): Use prev_size accessor.
11727         (__libc_free): Use chunksize_nomask accessor.
11728         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
11729         chunk_main_arena accessors.
11730         (_int_free): Use chunksize_nomask, prev_size accessors.
11731         (malloc_consolidate): Use chunksize, prev_size accessors.
11732         (_int_realloc): Use chunksize_nomask accessor.
11733         (_int_memalign): Use set_prev_size accessor.
11734         (__malloc_info): Use chunksize_nomask accessor.
11735         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
11736         accessors.
11737         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
11738         (heap_trim): Use chunksize_nomask, prev_size accessors.
11740 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
11742         [BZ #19380]
11743         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
11744         for inexact results.
11745         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
11746         of inexact result where mpfr_subnormalize is the only inexact
11747         step.
11748         * stdlib/tst-strtod-round-data.h: Regenerated.
11749         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
11750         Define to 0.
11751         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
11753 2016-10-27  David S. Miller  <davem@davemloft.net>
11755         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
11757 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11759         * malloc/malloc.c (do_set_mallopt_check): New function.
11760         (do_set_mmap_threshold): Likewise.
11761         (do_set_mmaps_max): Likewise.
11762         (do_set_top_pad): Likewise.
11763         (do_set_perturb_byte): Likewise.
11764         (do_set_trim_threshold): Likewise.
11765         (do_set_arena_max): Likewise.
11766         (do_set_arena_test): Likewise.
11767         (__libc_mallopt): Use them.
11769 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
11771         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11772         (canonicalize): New declaration.
11773         * math/Versions (canonicalize): New libm symbol at version
11774         GLIBC_2.25.
11775         (canonicalizef): Likewise.
11776         (canonicalizel): Likewise.
11777         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
11778         * math/s_canonicalize_template.c: New file.
11779         * math/libm-test.inc: Update comment on functions tested and
11780         testing of NaN payloads.
11781         (TEST_NAN_PAYLOAD): New macro.
11782         (NO_TEST_INLINE): Update value.
11783         (XFAIL_TEST): Likewise.
11784         (ERRNO_UNCHANGED): Likewise.
11785         (ERRNO_EDOM): Likewise.
11786         (ERRNO_ERANGE): Likewise.
11787         (IGNORE_RESULT): Likewise.
11788         (NON_FINITE): Likewise.
11789         (TEST_SNAN): Likewise.
11790         (NO_TEST_MATHVEC): Likewise.
11791         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
11792         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
11793         (struct test_Ffp_b1_data): New type.
11794         (RUN_TEST_Ffp_b1): New macro.
11795         (RUN_TEST_LOOP_Ffp_b1): Likewise.
11796         (canonicalize_test_data): New array.
11797         (canonicalize_test): New function.
11798         (main): Call canonicalize_test.
11799         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
11800         canonicalizef and canonicalizel.
11801         * manual/libm-err-tab.pl: Update comment on interfaces without
11802         ulps tabulated.
11803         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
11804         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
11805         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11806         canonicalize.
11807         (CFLAGS-nldbl-canonicalize.c): New variable.
11808         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
11809         to ...
11810         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
11811         ... here.
11812         (do_test): Also test canonicalizel.
11813         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
11814         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
11815         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
11816         file.
11817         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
11818         Use libm_hidden_def.
11819         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
11820         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
11821         (do_test): Also test canonicalizel.
11822         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
11823         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
11824         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
11825         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
11826         libm_hidden_def.
11827         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
11828         macro.
11829         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
11830         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
11831         * sysdeps/nacl/libm.abilist: Update.
11832         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11833         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11834         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11835         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11836         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11837         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11838         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11839         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11840         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11841         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11842         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11843         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11845         Likewise.
11846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11847         Likewise.
11848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11849         Likewise.
11850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11851         Likewise.
11852         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11853         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11854         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11855         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11856         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11858         Likewise.
11859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11860         Likewise.
11861         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11862         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11863         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11865         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
11866         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11867         getpayload.
11868         (CFLAGS-nldbl-getpayload.c): New variable.
11870 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11872         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
11873         integer from the format string.
11875 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11877         [BZ #19473]
11878         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
11879         declarations.
11880         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
11881         weak aliases.
11882         * malloc/hooks.c (__malloc_get_state): Remove definition.
11883         (malloc_get_state): New stub implementation as
11884         compatibility symbol.
11885         (malloc_set_state): Rename from __malloc_set_state.  Turn into
11886         compat symbol.
11887         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
11888         malloc_set_state.
11889         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
11891 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11893         * iconvdata/iso646.c (enum variant): Drop illegal_var.
11894         (names): Turn into concatenation of strings.
11895         (gconv_init): Adapt iteration over names.
11897 2016-10-26  Florian Weimer  <fweimer@redhat.com>
11899         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
11900         make const.
11901         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
11902         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
11903         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
11904         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
11905         character in sbconv.
11906         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
11907         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
11908         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
11910 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11912         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
11914         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
11915         (M_TRIM_THRESHOLD): Likewise.
11917         * manual/memory.texi (M_ARENA_TEST): Add documentation.
11918         (M_ARENA_MAX): Likewise.
11919         * malloc/malloc.c: Remove obsolete comment.
11921         * manual/memory.texi: Add environment variable alternatives to
11922         setting mallopt parameters.
11924 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
11926         * include/atomic.h
11927         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
11928         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
11930 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11932         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
11933         * stdlib/tst-strfrom.h: New file.
11934         * stdlib/tst-strfrom.c: New file.
11935         * stdlib/tst-strfrom-locale.c: New file.
11937         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
11938         * stdlib/bug-strtod2.c: Likewise.
11939         * stdlib/tst-strtod-round-skeleton.c: Likewise.
11940         * stdlib/tst-strtod6.c: Likewise.
11941         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
11943 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11945         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
11946         * manual/arith.texi: Document strfromd, strfromf, strfroml.
11947         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
11948         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
11949         * stdlib/stdlib.h (strfromd): New declaration.
11950         (strfromf): Likewise.
11951         (strfroml): Likewise.
11952         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
11953         strfrom.
11954         * stdlib/strfromd.c: New file.
11955         * stdlib/strfromf.c: Likewise.
11956         * stdlib/strfroml.c: Likewise.
11957         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
11958         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
11959         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
11960         * sysdeps/arm/nacl/libc.abilist: Update.
11961         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11962         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11963         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11964         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11965         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11966         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11967         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11968         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11969         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11970         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11971         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11972         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11973         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11974         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
11976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
11977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11979         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11980         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11981         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11982         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11983         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11986         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11987         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11988         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11990 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
11992         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
11993         instead of cmpli.
11994         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
11995         instead of cmpli.
11997 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
11999         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
12000         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
12001         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
12002         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12003         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12004         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12006 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12008         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
12009         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12010         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
12011         SYSCALL_LL64_PRW.
12012         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12013         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
12014         __ASSUME_PRW_DUMMY_ARG.
12015         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
12016         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12017         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12018         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12019         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
12020         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
12022 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
12024         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
12026 2016-10-22  Florian Weimer  <fweimer@redhat.com>
12028         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
12029         "C++", to override a potential extern "C" directive around the
12030         header file inclusion.
12032 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
12034         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
12036 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12038         * sysdeps/powerpc/fpu/fenv_private.h:
12039         (_FPU_MASK_ALL): Rename to...
12040         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
12041         XE FPSCR bits.
12043         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
12045         (_FPU_MASK_ROUNDING): Rename to...
12046         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
12047         NI bits.
12049         (_FPU_MASK_EXCEPT_ROUND): Rename to...
12050         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
12051         bits and rounding bits.
12053         (__libc_feholdbits_ppc): New inline function to mask, set,
12054         and pontentially clear FSPCR bits, and change MSR[FE] bits.
12055         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
12056         (libc_feholdexcept_setround_ppc): Likewise.
12058         (__libc_femergeenv_ppc): New function to dynamically mask both
12059         old and new FP environments and merge.
12060         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
12061         (libc_feresetround_ppc): Likewise.
12062         (libc_feupdateenv_test_ppc): Likewise.
12063         (libc_feupdateenv_ppc): Likewise.
12065         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
12066         of ISA RN bits, and update macro names.
12067         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
12068         effectively the same as the previously mentioned function.
12070         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
12071         usage with fe_resetround_ppc.
12073         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
12074         to be used.
12075         (libc_feholdexcept_setround_ctxf): Likewise.
12076         (libc_feholdexcept_setround_ctxl): Likewise.
12078 2016-10-21  Florian Weimer  <fweimer@redhat.com>
12080         [BZ #20715]
12081         * math/math.h [__cplusplus] (iszero): Define as function template.
12082         * math/Makefile [CXX] (tests): Add test-math-iszero.
12083         (CFLAGS-test-math-iszero.cc): Set.
12084         * math/test-math-iszero.cc: New file.
12086 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
12088         [BZ #20660]
12089         * sysdeps/arm/e_sqrt.c: New file.
12090         * sysdeps/arm/e_sqrtf.c: Likewise.
12092 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
12094         [BZ #20718]
12095         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
12096         not use floating-point comparisons to test sign.
12097         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
12098         Likewise.
12100         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12101         (getpayload): New declaration.
12102         * math/Versions (getpayload): New libm symbol at version
12103         GLIBC_2.25.
12104         (getpayloadf): Likewise.
12105         (getpayloadl): Likewise.
12106         * math/Makefile (libm-calls): Add s_getpayloadF.
12107         * math/libm-test.inc: Include <nan-high-order-bit.h>.
12108         (struct test_f_f_data): Add comment.
12109         (RUN_TEST_fp_f): New macro.
12110         (RUN_TEST_LOOP_fp_f): Likewise.
12111         (getpayload_test_data): New array.
12112         (getpayload_test): New function.
12113         (main): Call getpayload_test.
12114         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
12115         descriptor.
12116         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
12117         getpayloadf and getpayloadl.
12118         * manual/libm-err-tab.pl: Update comment on interfaces without
12119         ulps tabulated.
12120         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
12121         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
12122         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
12123         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
12124         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
12125         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
12126         * sysdeps/nacl/libm.abilist: Update.
12127         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12128         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12129         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12130         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12131         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12132         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12133         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12134         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12135         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12136         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12137         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12138         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12140         Likewise.
12141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12142         Likewise.
12143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12144         Likewise.
12145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12146         Likewise.
12147         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12148         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12149         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12150         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12151         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12153         Likewise.
12154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12155         Likewise.
12156         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12157         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12158         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12160 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12162         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
12163         tst-fallocate{64}.
12164         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
12165         on syscall return.
12167 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
12169         [BZ #20689]
12170         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
12171         usable.
12173 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
12175         * sysdeps/generic/nan-high-order-bit.h: New file.
12176         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
12177         * sysdeps/mips/nan-high-order-bit.h: Likewise.
12178         * sysdeps/hppa/math_private.h: Remove file.
12179         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
12180         not define here.
12181         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
12182         <nan-high-order-bit.h>.
12183         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12184         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
12185         <nan-high-order-bit.h>.
12186         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12187         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
12188         <nan-high-order-bit.h>.
12189         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12190         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
12191         <nan-high-order-bit.h>.
12192         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12193         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
12194         <nan-high-order-bit.h>.
12195         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12196         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
12197         <nan-high-order-bit.h>.
12198         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12199         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
12200         <nan-high-order-bit.h>.
12201         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12202         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
12203         <nan-high-order-bit.h>.
12204         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12205         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
12206         <nan-high-order-bit.h>.
12207         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12208         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
12209         <nan-high-order-bit.h>.
12210         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12211         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
12212         <nan-high-order-bit.h>.
12213         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12214         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
12215         <nan-high-order-bit.h>.
12216         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12217         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
12218         <nan-high-order-bit.h>.
12219         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12220         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
12221         <nan-high-order-bit.h>.
12222         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12223         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
12224         <nan-high-order-bit.h>.
12225         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12226         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
12227         <nan-high-order-bit.h>.
12228         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12229         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
12230         <nan-high-order-bit.h>.
12231         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12232         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
12233         <nan-high-order-bit.h>.
12234         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12236 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12238         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
12240 2016-09-22  John David Anglin  <dave.anglin@bell.net>
12242         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
12243         abort-instr.h.
12244         (EFAULT): Remove conditional define.
12245         (ENOSYS): Likewise.
12246         (atomic_compare_and_exchange_val_acq): Use instruction nullification
12247         instead of conditional branch instructions.
12249 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
12251         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12252         (totalordermag): New declaration.
12253         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
12254         New macro.
12255         * math/Versions (totalordermag): New libm symbol at version
12256         GLIBC_2.25.
12257         (totalordermagf): Likewise.
12258         (totalordermagl): Likewise.
12259         * math/Makefile (libm-calls): Add s_totalordermagF.
12260         * math/libm-test.inc (totalordermag_test_data): New array.
12261         (totalordermag_test): New function.
12262         (main): Call totalordermag_test.
12263         * math/test-tgmath.c (NCALLS): Increase to 125.
12264         (F(compile_test)): Call totalordermag.
12265         (F(totalordermag)): New function.
12266         * manual/arith.texi (FP Comparison Functions): Document
12267         totalordermag, totalordermagf and totalordermagl.
12268         * manual/libm-err-tab.pl: Update comment on interfaces without
12269         ulps tabulated.
12270         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
12271         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
12272         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
12273         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
12274         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
12275         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
12276         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
12277         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12278         totalordermag.
12279         (CFLAGS-nldbl-totalordermag.c): New variable.
12280         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
12281         (do_test): Also test totalordermagl.
12282         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
12283         Likewise.
12284         * sysdeps/nacl/libm.abilist: Update.
12285         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12286         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12287         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12288         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12289         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12290         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12291         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12292         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12293         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12294         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12295         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12296         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12298         Likewise.
12299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12300         Likewise.
12301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12302         Likewise.
12303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12304         Likewise.
12305         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12306         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12307         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12308         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12309         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12311         Likewise.
12312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12313         Likewise.
12314         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12315         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12316         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12318 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
12320         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
12321         boolean.
12323 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
12325         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
12326         raising FE_INVALID with feraisexcept in case where part of
12327         argument is infinite, subtract that part of argument from itself.
12328         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
12329         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
12330         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12332 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12334         * math/libm-test.inc (totalorder_test_data): Add more tests.
12336 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12338         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
12339         Undefine weak_alias and add a comment why mips64 require
12340         versioning.
12342 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
12344         [BZ #20647]
12345         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
12346         maximum CPUID level is less than 2.
12348 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12350         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12351         (totalorder): New declaration.
12352         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
12353         New macro.
12354         * math/Versions (totalorder): New libm symbol at version
12355         GLIBC_2.25.
12356         (totalorderf): Likewise.
12357         (totalorderl): Likewise.
12358         * math/Makefile (libm-calls): Add s_totalorderF.
12359         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
12360         string.
12361         * math/libm-test.inc (PAYLOAD_DIG): New macro.
12362         (qnan_value_pl): Likewise.
12363         (snan_value_pl): Likewise.
12364         (qnan_value): Define using qnan_value_pl.
12365         (snan_value): Define using snan_value_pl.
12366         (struct test_ff_i_data): Add comment about which tests use this
12367         structure.
12368         (RUN_TEST_ff_b): New macro.
12369         (RUN_TEST_LOOP_ff_b): Likewise.
12370         (totalorder_test_data): New array.
12371         (totalorder_test): New function.
12372         (main): Call totalorder_test.
12373         * math/test-tgmath.c (NCALLS): Increase to 122.
12374         (F(compile_test)): Call totalorder.
12375         (F(totalorder)): New function.
12376         * manual/arith.texi (FP Comparison Functions): Document
12377         totalorder, totalorderf and totalorderl.
12378         * manual/libm-err-tab.pl: Update comment on interfaces without
12379         ulps tabulated.
12380         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
12381         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
12382         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
12383         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
12384         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
12385         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
12386         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
12387         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12388         totalorder.
12389         (CFLAGS-nldbl-totalorder.c): New variable.
12390         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
12391         file.
12392         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
12393         Add test-totalorderl-ldbl-128ibm.
12394         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
12395         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
12396         test-totalorderl-ldbl-96.
12397         * sysdeps/nacl/libm.abilist: Update.
12398         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12399         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12400         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12401         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12402         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12403         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12404         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12405         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12406         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12407         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12408         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12409         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12411         Likewise.
12412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12413         Likewise.
12414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12415         Likewise.
12416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12417         Likewise.
12418         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12419         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12420         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12421         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12422         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12424         Likewise.
12425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12426         Likewise.
12427         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12428         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12429         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12431 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12433         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
12434         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
12435         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
12436         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
12437         remove ENOSYS implementation.
12438         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
12439         Consolidate all Linux implementations.
12441 2016-10-11  Florian Weimer  <fweimer@redhat.com>
12443         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
12444         * resolv/herror.c (herror): Cast away const-ness.
12445         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
12446         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
12448 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
12450         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
12451         instead of M_NAN + M_NAN.
12452         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12454 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12456         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
12457         unused variable 'p'.
12459 2016-10-09  Alan Modra  <amodra@gmail.com>
12460             Andreas Schwab  <schwab@linux-m68k.org>
12462         [BZ #20554]
12463         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
12464         [PIC && !SHARED]: Set up PIC register for PLT call.
12466 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
12468         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
12469         conditional on value of [__FLT_EVAL_METHOD__].
12470         * math/test-iseqsig-excess-precision.c: New file.
12471         * math/Makefile (tests): Add test-iseqsig-excess-precision.
12473 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12475         * math/s_iseqsig_template.c: Include math-private.h.
12477         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
12478         * posix/tst-posix_fadvise.c: New file.
12479         * posix/tst-posix_fadvise64.c: Likewise.
12480         * posix/tst-posix_fadvise-common.c: Likewise.
12481         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12482         (__ASSUME_FADVISE64_64_6ARG): Define.
12483         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12484         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
12485         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12486         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
12487         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
12488         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
12489         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
12490         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
12491         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
12492         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
12493         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
12494         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
12495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
12496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
12497         Likewise.
12498         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
12499         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
12500         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
12501         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12502         Alias to __posix_fadvise64_l32.
12503         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
12504         Add compat definition to posix_fadvise64.
12505         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12506         Add versioned definition to posix_fadvise64.
12507         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
12508         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
12509         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
12510         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
12511         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
12513         * io/Makefile (tests): Add tst-posix_fallocate and
12514         tst-posix_fallocate64.
12515         * io/tst-posix_fallocate-common.c: New file.
12516         * io/tst-posix_fallocate.c: Likewise.
12517         * io/tst-posix_fallocate64.c: Likewise.
12518         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
12519         file.
12520         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
12521         Likewise.
12522         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
12523         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
12524         Likewise.
12525         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
12526         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
12527         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
12528         SYSCALL_LL to pass both offset and len arguments.
12529         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
12530         Likewise.
12531         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
12532         __libc_pwrite64 alias used by posix_fallocate64.
12534         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12535         tst-fallocate64.
12536         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12537         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12538         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12539         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12540         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12541         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12542         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12543         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12544         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12545         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12546         macro on offset argument.
12547         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12548         SYSCALL_LL64 on offset argument.
12550         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12551         tst-fallocate64.
12552         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12553         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12554         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12555         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12556         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12557         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12558         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12559         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12560         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12561         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12562         macro on offset argument.
12563         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12564         SYSCALL_LL64 on offset argument.
12565         * test-skeleton.c (FAIL_RET): Add macro.
12566         (FAIL_EXIT): Likewise.
12567         (FAIL_EXIT1): Likewise.
12568         (_FAIL): Likewise.
12570 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12572         [BZ #20629]
12573         resolv: Remove RES_USEBSTRING and its implementation.
12574         * resolv/resolv.h (RES_USEBSTRING): Remove.
12575         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
12576         (digitvalue, encode_bitstring, decode_bitstring): Remove.
12577         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
12578         (labellen): Remove extended label types support.
12579         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
12580         * resolv/res_init.c (res_setoptions): Likewise.
12581         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12583 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12585         resolv: Remove RES_NOIP6DOTINT and its implementation.
12586         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
12587         (RES_NOIP6DOTINT): Remove.
12588         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
12589         handling.
12590         * resolv/res_debug.c (p_option): Likewise.
12591         * resolv/res_init.c (res_setoptions): Likewise.
12592         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12594 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12596         resolv: Deprecate unimplemented flags.
12597         * misc/sys/cdefs.h (__glibc_macro_warning1)
12598         (__glibc_macro_warning): Define.
12599         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
12600         (RES_KEEPTSIG): Mark as deprecated.
12601         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
12602         RES_NOCHECKNAME, RES_KEEPTSIG.
12603         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
12605 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12607         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
12608         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
12609         Use strong_alias to create symbols for glibc verison 2.19.
12611 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12613         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
12615 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12617         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
12619 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12621         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
12623 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12625         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12626         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
12627         in header for using it as type for ifunc function because __GI_* symbols
12628         for ppc32 do not target the ifunc symbols.
12629         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12631 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12633         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
12634         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
12635         libc_ifunc_hidden_def.
12636         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
12637         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
12638         Redirect ifunced function in header for using it as type of ifunc'ed
12639         function. Redefine libc_hidden_def to use fallback non ifunc'ed
12640         function for __GI_* symbol.
12641         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
12642         * include/libc-symbols.h
12643         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
12645 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12647         [BZ #20478]
12648         * sysdeps/s390/multiarch/ifunc-resolve.h
12649         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
12650         to create ifunc symbols.
12651         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
12652         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
12653         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
12654         for using it as type for ifunc function.
12655         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12656         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12657         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12658         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12659         * sysdeps/s390/multiarch/strcat.c: Likewise.
12660         * sysdeps/s390/multiarch/strchr.c: Likewise.
12661         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12662         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12663         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12664         * sysdeps/s390/multiarch/strlen.c: Likewise.
12665         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12666         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12667         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12668         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12669         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12670         * sysdeps/s390/multiarch/strspn.c: Likewise.
12671         * sysdeps/s390/multiarch/wcschr.c: Likewise.
12672         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
12673         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
12674         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
12675         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
12676         * sysdeps/s390/multiarch/wmemset.c: Likewise.
12677         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12678         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
12679         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
12680         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12681         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
12682         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
12684 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12686         * include/libc-symbols.h (__ifunc_resolver):
12687         New macro is used by __ifunc* macros.
12688         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
12689         depending on HAVE_GCC_IFUNC.
12690         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
12691         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
12692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12693         Redirect ifunced function in header for using as type for ifunc function.
12694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
12695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
12696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
12697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
12698         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12699         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12700         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12701         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12702         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12703         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12704         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12705         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12706         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12707         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
12710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
12712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12713         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12714         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12715         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12716         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12717         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12718         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12719         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12720         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12721         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12722         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12723         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12724         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12725         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
12726         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
12728         Add libc_hidden_def() and use libc_ifunc_hidden() macro
12729         instead of libc_ifunc() macro.
12730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
12731         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12733 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12735         * config.h.in (HAVE_GCC_IFUNC): New undef.
12736         * configure.ac: Add check if gcc supports attribute ifunc feature.
12737         * configure: Regenerated.
12738         * manual/install.texi: Add recommendation for gcc with
12739         indirect-function support.
12740         * INSTALL: Regenerated.
12742 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
12744         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
12745         macro.
12746         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12747         (__iseqsig): New declaration.
12748         * math/s_iseqsig_template.c: New file.
12749         * math/Versions (__iseqsigf): New libm symbol at version
12750         GLIBC_2.25.
12751         (__iseqsig): Likewise.
12752         (__iseqsigl): Likewise.
12753         * math/libm-test.inc (iseqsig_test_data): New array.
12754         (iseqsig_test): New function.
12755         (main): Call iseqsig_test.
12756         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
12757         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
12758         * manual/libm-err-tab.pl: Update comment on interfaces without
12759         ulps tabulated.
12760         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
12761         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
12762         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
12763         * sysdeps/nacl/libm.abilist: Update.
12764         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12765         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12766         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12767         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12768         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12769         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12770         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12771         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12772         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12773         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12774         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12775         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12777         Likewise.
12778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12779         Likewise.
12780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12781         Likewise.
12782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12783         Likewise.
12784         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12785         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12786         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12787         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12788         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12790         Likewise.
12791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12792         Likewise.
12793         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12794         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12795         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12797 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12799         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
12800         do_sincos_2, sloww, sloww1): Update comments.
12802         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
12803         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
12805         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
12806         K boolean and rename it.
12807         (__sin): Adjust.
12808         (__cos): Adjust.
12810 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
12811             Siddhesh Poyarekar  <siddhesh@sourceware.org>
12813         * manual/nss.texi: Fix typos in the manual.
12815 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
12817         * manual/contrib.texi: Fix typos in the manual.
12819         * manual/maint.texi: Fix typos in the manual.
12821         * manual/install.texi: Fix typos in the manual.
12822         * INSTALL: Regenerated.
12824         * manual/lang.texi: Fix typos in the manual.
12826         * manual/probes.texi: Fix typos in the manual.
12828         * manual/threads.texi: Fix typos in the manual.
12830         * manual/debug.texi: Fix typos in the manual.
12832         * manual/crypt.texi: Fix typos in the manual.
12834         * manual/conf.texi: Fix typos in the manual.
12836         * manual/sysinfo.texi: Fix typos in the manual.
12838         * manual/users.texi: Fix typos in the manual.
12840         * manual/job.texi: Fix typos in the manual.
12842         * manual/process.texi: Fix typos in the manual.
12844         * manual/argp.texi: Fix typos in the manual.
12845         * manual/getopt.texi: Likewise.
12846         * manual/startup.texi: Likewise.
12848         * manual/signal.texi: Fix typos in the manual.
12850         * manual/setjmp.texi: Fix typos in the manual.
12852         * manual/resource.texi: Fix typos in the manual.
12854         * manual/time.texi: Fix typos in the manual.
12856         * manual/arith.texi: Fix typos in the manual.
12858         * manual/math.texi: Fix typos in the manual.
12860         * manual/syslog.texi: Fix typos in the manual.
12862         * manual/terminal.texi: Fix typos in the manual.
12864         * manual/socket.texi: Fix typos in the manual.
12866         * manual/filesys.texi: Fix typos in the manual.
12868         * manual/llio.texi: Fix typos in the manual.
12870         * manual/stdio.text: Fix typos in the manual.
12872 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12874         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
12875         instead of K1.
12877         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
12878         SHIFT_QUADRANT and make it bool.
12879         (do_sincos_2): Likewise.
12880         (sloww): Likewise.
12881         (sloww1): Likewise.
12882         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
12883         (__cos): Likewise.
12885 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12887         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12889 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
12891         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
12892         Define to __WORDSIZE, not conditional on [LONG_MAX ==
12893         0x7fffffffL].
12894         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
12896 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12898         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
12899         inline by __inline__.
12900         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
12901         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
12902         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
12903         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
12904         sigset_t from signal.h.
12905         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
12906         which is already required.
12908 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
12910         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12912 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
12914         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
12915         (struct tcp_repair_window): New type.
12917 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12919         * libio/tst-memstream3.c: Include string.h.
12921 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12923         [BZ #18241]
12924         [BZ #20181]
12925         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
12926         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
12927         write position is at the end the buffer.
12928         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
12929         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
12930         (_IO_str_seekoff): Set correct offset from negative displacement and
12931         set EINVAL for invalid ones.
12932         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
12933         buffer length.
12934         (_IO_wstr_switch_to_get_mode): New function.
12935         (_IO_wstr_seekoff): Set correct offset from negative displacement and
12936         set EINVAL for invalid ones.
12937         * libio/tst-memstream3.c: New file.
12938         * libio/tst-wmemstream3.c: Likewise.
12939         * manual/examples/memstrm.c: Remove warning when priting size_t.
12941 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12943         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
12944         macro to use __builtin_fma.
12945         * sysdeps/x86_64/fpu/dla.h: Remove file.
12947         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
12948         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
12949         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
12951 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
12953         [BZ #20292]
12954         * elf/Makefile (routines): Add dl-addr-obj.
12955         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
12956         tst-_dl_addr_inside_object.
12957         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
12958         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12959         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
12960         [ifeq (yesyes,$(have-fpie)$(build-shared))]
12961         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
12962         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
12963         * elf/dl-open.c: Likewise.
12964         * elf/dl-addr-obj.c: New file.
12965         * elf/tst-_dl_addr_inside_object.c: New file.
12967 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
12969         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
12970         <bits/iscanonical.h>.
12971         * bits/iscanonical.h: New file.
12972         * math/s_iscanonicall.c: Likewise.
12973         * math/Versions (__iscanonicall): New libm symbol at version
12974         GLIBC_2.25.
12975         * math/libm-test.inc (iscanonical_test_data): New array.
12976         (iscanonical_test): New function.
12977         (main): Call iscanonical_test.
12978         * math/Makefile (headers): Add bits/iscanonical.h.
12979         (type-ldouble-routines): Add s_iscanonicall.
12980         * manual/arith.texi (Floating Point Classes): Document
12981         iscanonical.
12982         * manual/libm-err-tab.pl: Update comment on interfaces without
12983         ulps tabulated.
12984         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
12985         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
12986         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
12987         Likewise.
12988         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12989         test-iscanonical-ldbl-128ibm.
12990         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
12991         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
12992         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
12993         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
12994         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
12995         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12996         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12998         Likewise.
12999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13000         Likewise.
13001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13002         Likewise.
13003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13004         Likewise.
13005         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13006         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13008 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13010         * string/bits/string3.h: Remove C++ style comments.
13012 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13014         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
13015         instead of ternary condition.
13016         (do_sincos_2): Likewise.
13017         (__sin): Likewise.
13018         (__cos): Likewise.
13019         (slow): Likewise.
13020         (sloww): Likewise.
13021         (sloww1): Likewise.
13022         (bsloww): Likewise.
13023         (bsloww1): Likewise.
13025         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
13026         instead of ternary condition.
13027         (do_sin_slow): Likewise.
13028         (do_sincos_1): Likewise.
13029         (do_sincos_2): Likewise.
13030         (__cos): Likewise.
13031         (sloww): Likewise.
13032         (sloww1): Likewise.
13033         (sloww2): Likewise.
13034         (bsloww): Likewise.
13035         (bsloww1): Likewise.
13036         (bsloww2): Likewise.
13038         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
13039         check from here...
13040         (slow2): ... and here...
13041         (__sin): ... to here.
13043 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
13045         * math/math.h
13046         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
13047         Cast argument to its own type.
13048         * math/test-iszero-excess-precision.c: New file.
13049         * math/Makefile (tests): Add test-iszero-excess-precision.
13050         (CFLAGS-test-iszero-excess-precision.c): New variable.
13052 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
13054         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
13055         field, add err field.
13056         (__spawni_child): Report error through err member instead of pipe.
13057         (__spawnix): Likewise.
13059 2016-09-28  Zack Weinberg  <zackw@panix.com>
13061         * scripts/check-installed-headers.sh: Generalize treatment of
13062         sys/elf.h to all target architectures.
13064         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
13065         deleted typedef ucontext_t.
13067 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13069         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
13070         (__INTERNAL_SYSCALL1): Likewise.
13071         (__INTERNAL_SYSCALL2): Likewise.
13072         (__INTERNAL_SYSCALL3): Likewise.
13073         (__INTERNAL_SYSCALL4): Likewise.
13074         (__INTERNAL_SYSCALL5): Likewise.
13075         (__INTERNAL_SYSCALL6): Likewise.
13076         (__INTERNAL_SYSCALL7): Likewise.
13077         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
13078         (__INTERNAL_SYSCALL_NARGS): Likewise.
13079         (__INTERNAL_SYSCALL_DISP): Likewise.
13080         (INTERNAL_SYSCALL_CALL): Likewise.
13081         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
13082         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
13083         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
13084         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
13085         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
13086         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
13087         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
13088         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
13089         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
13090         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
13091         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
13092         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
13093         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
13095 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
13097         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
13098         macro.
13099         * math/libm-test.inc (iszero_test_data): New array.
13100         (iszero_test): New function.
13101         (main): Call iszero_test.
13102         * manual/arith.texi (Floating Point Classes): Document iszero.
13103         * manual/libm-err-tab.pl: Update comment on interfaces without
13104         ulps tabulated.
13106 2016-09-23  Zack Weinberg  <zackw@panix.com>
13108         * scripts/check-installed-headers.sh: New script.
13109         * Rules: In each directory that defines header files to be installed,
13110         run check-installed-headers.sh on them as a special test.
13111         * Makefile: Likewise for the headers installed at top level.
13113         * include/aliases.h, include/alloca.h, include/argz.h
13114         * include/arpa/nameser.h, include/arpa/nameser_compat.h
13115         * include/elf.h, include/envz.h, include/err.h
13116         * include/execinfo.h, include/fpu_control.h, include/getopt.h
13117         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
13118         * include/link.h, include/malloc.h, include/mcheck.h
13119         * include/mntent.h, include/netinet/ether.h
13120         * include/nss.h, include/obstack.h, include/printf.h
13121         * include/pty.h, include/resolv.h, include/rpc/auth.h
13122         * include/rpc/auth_des.h, include/rpc/auth_unix.h
13123         * include/rpc/clnt.h, include/rpc/des_crypt.h
13124         * include/rpc/key_prot.h, include/rpc/netdb.h
13125         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
13126         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
13127         * include/rpc/rpc_msg.h, include/rpc/svc.h
13128         * include/rpc/svc_auth.h, include/rpc/xdr.h
13129         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
13130         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
13131         * include/rpcsvc/ypupd.h, include/shadow.h
13132         * include/stdio_ext.h, include/sys/epoll.h
13133         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
13134         * include/sys/prctl.h, include/sys/profil.h
13135         * include/sys/statfs.h, include/sys/sysctl.h
13136         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
13137         * sysdeps/arm/nacl/include/bits/setjmp.h
13138         * sysdeps/mips/include/sys/asm.h
13139         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
13140         * sysdeps/unix/sysv/linux/include/sys/timex.h
13141         * sysdeps/x86/fpu/include/bits/fenv.h:
13142         Add #ifndef _ISOMAC guard around internal declarations.
13143         Add multiple-inclusion guard if not already present.
13145 2016-09-23  Zack Weinberg  <zackw@panix.com>
13147         * sysdeps/generic/sys/ucontext.h
13148         * sysdeps/arm/sys/ucontext.h
13149         * sysdeps/i386/sys/ucontext.h
13150         * sysdeps/m68k/sys/ucontext.h
13151         * sysdeps/mips/sys/ucontext.h
13152         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
13153         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
13154         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
13155         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
13156         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
13157         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
13158         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
13159         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
13160         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
13161         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
13162         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
13163         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
13164         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
13165         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
13166         Include both bits/sigcontext.h and bits/sigstack.h.
13167         Fix grammar error in comment, if present.
13169         * bits/sigstack.h
13170         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
13171         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
13172         * sysdeps/unix/sysv/linux/bits/sigstack.h
13173         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
13174         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
13175         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
13176         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
13177         * bits/sigcontext.h
13178         * sysdeps/mach/hurd/i386/bits/sigcontext.h
13179         * sysdeps/unix/sysv/linux/bits/sigcontext.h
13180         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
13181         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
13182         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
13183         as well as signal.h, if this was not already allowed.  Request
13184         definition of size_t if necessary.  Minimize semantically-null
13185         differences across files.
13187 2016-09-23  Zack Weinberg  <zackw@panix.com>
13189         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
13190         Remove all logic conditional on __need macros.  Move all the
13191         conditionally defined types to their own headers...
13192         * time/bits/types/clock_t.h: Define clock_t here.
13193         * time/bits/types/clockid_t.h: Define clockid_t here.
13194         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
13195         * time/bits/types/struct_timespec.h: Define struct timespec here.
13196         * time/bits/types/struct_timeval.h: Define struct timeval here.
13197         * time/bits/types/struct_tm.h: Define struct tm here.
13198         * time/bits/types/time_t.h: Define time_t here.
13199         * time/bits/types/timer_t.h: Define timer_t here.
13200         * time/Makefile: Install the new headers.
13202         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
13203         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
13204         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
13205         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
13206         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
13207         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
13208         * sysdeps/unix/sysv/linux/bits/resource.h
13209         * sysdeps/unix/sysv/linux/bits/timex.h
13210         * sysdeps/unix/sysv/linux/mips/bits/resource.h
13211         * sysdeps/unix/sysv/linux/net/ppp_defs.h
13212         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
13213         * sysdeps/unix/sysv/linux/sys/acct.h
13214         * sysdeps/unix/sysv/linux/sys/timerfd.h
13215         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
13216         * time/sys/time.h, time/sys/timeb.h
13217         Use the new bits/types headers.
13219         * include/time.h: Remove __need logic.
13220         * include/bits/time.h
13221         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
13222         * include/bits/types/time_t.h, include/bits/types/timer_t.h
13223         * include/bits/types/struct_itimerspec.h
13224         * include/bits/types/struct_timespec.h
13225         * include/bits/types/struct_timeval.h
13226         * include/bits/types/struct_tm.h:
13227         New wrapper headers.
13229 2016-09-23  Zack Weinberg  <zackw@panix.com>
13231         * sysdeps/mach/hurd/net/if_ppp.h
13232         * sysdeps/unix/sysv/linux/net/if_ppp.h:
13233         Only define struct ifpppstatsreq and struct ifpppcstatsreq
13234         if __USE_MISC is defined, to ensure struct ifreq is declared.
13236         * inet/netinet/ether.h: Condition all function prototypes
13237         on __USE_MISC, to ensure struct ether_addr is declared.
13239         * socket/bits/types/struct_osockaddr.h: New header.
13240         * include/bits/types/struct_osockaddr.h: New wrapper.
13241         * socket/Makefile: Install the new header.
13242         * socket/sys/socket.h, inet/protocols/talkd.h:
13243         Refer to bits/types/struct_osockaddr.h for the definition of
13244         struct osockaddr.
13246 2016-09-23  Zack Weinberg  <zackw@panix.com>
13248         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
13249         * inet/protocols/routed.h, inet/protocols/talkd.h
13250         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
13251         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
13252         * sysdeps/generic/netinet/if_ether.h
13253         * sysdeps/generic/netinet/in_systm.h
13254         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
13255         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13256         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
13257         * sysdeps/mach/hurd/net/if_arp.h
13258         * sysdeps/mach/hurd/net/if_ppp.h
13259         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
13260         * sysdeps/unix/sysv/linux/bits/in.h
13261         * sysdeps/unix/sysv/linux/net/ethernet.h
13262         * sysdeps/unix/sysv/linux/net/if_arp.h
13263         * sysdeps/unix/sysv/linux/net/if_ppp.h
13264         * sysdeps/unix/sysv/linux/net/if_shaper.h
13265         * sysdeps/unix/sysv/linux/net/route.h
13266         * sysdeps/unix/sysv/linux/netinet/if_ether.h
13267         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13268         * sysdeps/unix/sysv/linux/netinet/if_tr.h
13269         * sysdeps/unix/sysv/linux/netipx/ipx.h
13270         * sysdeps/unix/sysv/linux/sys/acct.h
13271         * include/arpa/nameser.h, include/resolv.h:
13272         Change all uses of u_char to unsigned char,
13273         u_short and ushort to unsigned short, u_int and uint to unsigned int,
13274         u_long and ulong to unsigned long, u_int8_t to uint8_t,
13275         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
13276         and u_int64_t and u_quad_t to uint64_t.
13278         * mach/sys/reboot.h: Remove two casts of integer literals
13279         to the types they already have.
13281         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
13282         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
13283         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
13284         from referring to 'unsigned char' to 'uint8_t' for consistency with
13285         the macro definition below.
13287         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
13288         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
13289         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
13290         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
13291         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
13292         * sysdeps/unix/sysv/linux/sys/acct.h
13293         * include/arpa/nameser.h, include/resolv.h:
13294         Fix indentation disrupted by mechanical edits.
13296         * inet/protocols/talkd.h, resolv/arpa/nameser.h
13297         * sysdeps/generic/netinet/in_systm.h
13298         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13299         * sysdeps/gnu/netinet/udp.h
13300         * sysdeps/unix/sysv/linux/net/ethernet.h
13301         * sysdeps/unix/sysv/linux/net/if_arp.h
13302         * sysdeps/unix/sysv/linux/net/if_ppp.h
13303         * sysdeps/unix/sysv/linux/net/if_shaper.h
13304         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13305         * sysdeps/unix/sysv/linux/netinet/if_tr.h
13306         * sysdeps/unix/sysv/linux/netipx/ipx.h
13307         * sysdeps/unix/sysv/linux/sys/acct.h
13308         Include stdint.h for uintNN_t definitions.
13309         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
13311 2016-09-23  Zack Weinberg  <zackw@panix.com>
13313         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
13314         * sysdeps/unix/sysv/linux/netrose/rose.h:
13315         Include sys/socket.h and netax25/ax25.h.
13317         * inet/netinet/icmp6.h, inet/netinet/ip6.h
13318         * resolv/arpa/nameser_compat.h:
13319         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
13321         * sysdeps/unix/sysv/linux/sys/quota.h:
13322         Use __caddr_t instead of caddr_t.
13323         * sysdeps/unix/sysv/linux/sys/timerfd.h:
13324         Use __clockid_t instead of clockid_t.
13326         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
13328         * argp/argp.h: Check whether _LIBC is defined before expanding it.
13329         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
13330         expanding it.
13332         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
13333         Define __glibc_c99_flexarr_available to 1 when the compiler
13334         supports C99-compatible flexible array members, 0 otherwise.
13335         * sysdeps/unix/sysv/linux/bits/socket.h
13336         * sysdeps/mach/hurd/bits/socket.h
13337         * bits/socket.h: Use __glibc_c99_flexarr_available in
13338         definitions of struct cmsghdr and CMSG_DATA.
13340 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13342         * manual/nss.texi (NSS Modules Interface): Adjust function return
13343         type to enum nss_status.  Document errnop argument.  Clarify
13344         h_errnop semantics.  Fix cross-reference formatting.
13345         (NSS Module Function Internals): Mention that *errnop needs to be
13346         set on failure, but not to zero.
13348 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13350         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
13351         (get_random_name): New functions.
13352         (check_wrapper_flags_mode): Use linkat to give the new file a name
13353         determined by get_random_name.
13354         (do_test): Add calls to test open64 and openat64.
13356 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13358         * test-skeleton.c: Remove #include <stdarg.h>.
13360 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
13362         [BZ #19826]
13363         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
13364         initialization of static TLS entries.
13365         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
13366         * nptl/allocatestack.c (init_one_static_tls): Likewise.
13368 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13370         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
13371         _hurd_malloc_fork_prepare.
13372         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
13373         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
13374         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
13375         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
13376         (_hurd_fork_child_hook): Drop malloc_fork_child.
13377         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
13378         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
13379         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
13380         after locking locks (notably hurd_dtable_lock). Call
13381         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
13382         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
13383         __malloc_fork_unlock_child.
13384         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
13386 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
13388         * soft-fp/extendhftf2.c: New.
13389         * soft-fp/fixhfti.c: Likewise.
13390         * soft-fp/fixunshfti.c: Likewise.
13391         * soft-fp/floattihf.c: Likewise.
13392         * soft-fp/floatuntihf.c: Likewise.
13393         * soft-fp/half.h: Likewise.
13394         * soft-fp/trunctfhf2.c: Likewise.
13396 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
13398         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
13399         macro.
13400         * math/libm-test.inc (issubnormal_test_data): New array.
13401         (issubnormal_test): New function.
13402         * manual/arith.texi (Floating Point Classes): Document
13403         issubnormal.
13404         * manual/libm-err-tab.pl: Update comment on interfaces without
13405         ulps tabulated.
13407         * sysdeps/generic/stdint.h: Define
13408         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13409         <bits/libc-header-start.h> instead of including <features.h>.
13410         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
13411         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
13412         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
13413         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
13414         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
13415         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
13416         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
13417         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
13418         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
13419         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
13420         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
13421         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
13422         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
13423         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
13424         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
13425         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
13426         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
13427         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
13428         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
13429         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
13430         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
13431         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
13432         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
13433         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
13434         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
13435         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
13436         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
13437         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
13438         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
13439         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
13440         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
13441         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
13442         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
13443         * manual/arith.texi (Integers): Document these macros for types
13444         specified by width properties.
13445         * manual/lang.texi (Width of Type): Document these macros for
13446         other standard typedefs.
13447         * stdlib/tst-width-stdint.c: New file.
13448         * stdlib/Makefile (tests): Add tst-width-stdint.
13450 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13452         [BZ #20016]
13453         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
13454         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
13455         Move ...
13456         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
13457         ... here, as compatibility symbols in a new file.
13458         * resolv/Makefile (libresolv-routines): Add compat-hooks.
13459         * resolv/res_init.c (__res_vinit): Adjust member names.
13460         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
13461         * resolv/resolv.h (res_sendhookact, res_send_qhook)
13462         (res_send_rhook): Remove.
13463         (struct __res_state): Rename qhook, rhook members.
13465 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13467         malloc: Use __libc_lock wrappers.
13468         * malloc/arena.c (list_lock, free_list_lock): Define using
13469         __libc_lock_define_initialized.
13470         (arena_lock): Adjust formatting.
13471         * malloc/malloc.c (struct malloc_state): Define mutex using
13472         __libc_lock_define.
13473         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
13474         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
13475         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
13476         (mutex_unlock, mutex_trylock): Remove.
13477         (__pthread_initialize): Remove unused macro.
13478         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
13479         (mutex_unlock, mutex_trylock): Remove.
13481 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13483         [BZ #20592]
13484         Remove RR type classification macros.
13485         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
13486         (ns_t_udp_p, ns_t_xfr_p): Remove.
13488 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13490         Remove misleading version information.
13491         * resolv/arpa/nameser.h (__NAMESER): Remove.
13492         * resolv/arpa/nameser_compat.h (__BIND): Remove.
13494 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13496         Remove the always-defined BIND_4_COMPAT macro.
13497         * resolv/arpa/nameser.h: Unconditionally include
13498         <arpa/nameser_compat.h>.
13499         (BIND_4_COMPAT): Remove.
13500         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
13502 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13504         [BZ #20591]
13505         Remove obsolete DNSSEC support.
13506         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
13507         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
13508         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
13509         (ns_verify_tcp, ns_verify_tcp_init): Remove.
13510         (ns_cert_types): Add comment.
13511         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
13512         separately.
13513         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
13514         (dst_s_dns_key_id): Remove.
13515         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
13516         variables.
13518 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13520         [BZ #20524]
13521         * manual/string.texi (String/Array Comparison): Clarify the
13522         strverscmp behavior.
13524 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13526         * test-skeleton.c (xasprintf): Add function.
13527         * io/tst-open-tmpfile.c: New test.
13528         * io/Makefile (tests): Add it.
13530 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13532         Avoid running $(CXX) during build to obtain header file paths.
13533         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
13534         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
13535         * Makerules (cstdlib, cmath): Remove variables.  Use
13536         $(c++-cstdlib-header), $(c++-cmath-header) instead.
13537         * configure: Regenerate.
13539 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13541         * Makeconfig (all-object-suffixes): Include .op only if
13542         $(build-profile).
13544 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13546         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
13547         conditionals.  Do not define PATH_MAX.
13549 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13551         * posix/Makefile (tests): Add tst-spawn3.
13552         * posix/tst-spawn3.c: New file.
13553         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
13554         if it is already opened for open action.
13556         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
13557         all signals when executing the clone vfork child.
13558         (SIGALL_SET): Remove macro.
13560         * nptl/Makefile (tests): Add tst-exec5.
13561         * nptl/tst-exec5.c: New file.
13562         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
13563         asynchronous cancellation.
13565 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13567         * hurd/exc2signal.c: #include <hurd/signal.h>
13568         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
13569         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
13570         accordingly.
13571         * mach/mach_error.c (mach_error): Fix old-style function definition.
13572         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
13574 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13576         * math/Makefile (libm-calls): Remove s_nanF.
13577         (gen-libm-calls): Add s_nanF.
13579         * math/s_nan.c: Refactor into ...
13580         * math/s_nan_template.c: New file.
13582         * math/s_nanf.c: Removed.
13583         * math/s_nanl.c: Removed.
13584         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
13585         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
13587         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13588         (LDOUBLE_nanl_libm_version): New macro.
13590         * sysdeps/generic/math-type-macros-double.h:
13591         (M_STRTO_NAN): New macro.
13592         * sysdeps/generic/math-type-macros-float.h: Likewise.
13593         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
13595         * sysdeps/generic/math-type-macros.h: Document
13596         M_STRTO_NAN.
13598 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13600         * math/s_nanf.c: Remove __nanf undef.
13601         * math/s_nan.c: Remove __nan undef.
13602         * math/s_nanl.c: Remove __nanl undef.
13604         * sysdeps/generic/math_private.h (__nan): Remove macro
13605         override.
13606         (__nanf): Likewise.
13607         (__nanl): Likewise.
13609 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13611         * math/Makefile (gen-all-calls): New variable.
13612         (generated): Replace gen-libm-calls with gen-all-calls.
13613         (gen-libm-templates.stmp): Likewise.  Also, ensure
13614         the output directory exists or is created and add
13615         dependency on the Makefile.
13616         (calls): Move s_ldexpF into gen-calls.
13617         (gen-calls): New variable.
13619         * math/s_ldexpf.c: Removed.
13620         * math/s_ldexpl.c: Removed.
13621         * math/s_ldexp.c: Refactored into ...
13622         * math/s_ldexp_template.c: New file.
13624         * sysdeps/generic/math-type-macros-double.h: Remove
13625         redundant fall-through definition of declare_mgen_alias.
13626         (declare_mgen_alias_2): New macro.
13628         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
13629         New macro for function aliased to two exported symbols.
13631         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
13632         new template file.
13633         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13635 2016-09-20  Florian Weimer  <fweimer@redhat.com>
13637         * Makeconfig (all-object-suffixes): Remove .og.
13638         * Makerules (elide-routines.og): Remove.
13639         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
13640         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
13641         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
13643 2016-09-20  Florian Weimer  <fweimer@redhat.com>
13645         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
13646         .os objects.
13648 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13650         [BZ #20615]
13651         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
13652         fpu directory by non-fpu.
13653         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
13654         on non-fpu directory from a fpu directory.
13656 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
13658         * include/limits.h: Define
13659         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13660         <bits/libc-header-start.h> instead of including <features.h>.
13661         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
13662         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
13663         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
13664         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
13665         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
13666         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
13667         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
13668         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
13669         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
13670         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
13671         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
13672         * manual/lang.texi (Width of Type): Document these macros.
13673         * stdlib/tst-width.c: New file.
13674         * stdlib/Makefile (tests): Add tst-width.
13676 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13678         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
13679         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
13681 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13683         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
13684         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
13685         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
13687 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13689         [BZ #18243]
13690         * rt/Makefile (test): Add tst-shm-cancel.
13691         * rt/tst-shm-cancel.c: New file.
13692         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
13694         [BZ #18243]
13695         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
13696         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
13697         definition.
13698         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
13699         uncontended case.
13700         * nptl/sem_wait.c (__new_sem_wait): Likewise.
13701         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
13702         (tf): Fix check for uncontended case.
13703         (do_test): Likewise.
13704         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
13705         (tf): Fix check for uncontended case.
13706         (do_test): Likewise.
13707         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
13708         (tf): Fix check for uncontended case.
13709         (do_test): Likewise.
13710         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
13711         (tf): Fix check for uncontended case.
13712         (do_test): Likewise.
13714         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
13715         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
13717         [BZ #15765]
13718         * nptl/Makefile (tests): Add tst-sem16.
13719         * nptl/tst-sem16.c: New file.
13720         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
13722         * nptl/sem_open.c (sem_open): Init pad value to 0.
13723         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
13724         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
13726 2016-09-15  Florian Weimer  <fweimer@redhat.com>
13728         [BZ #20611]
13729         * inet/Makefile (routines): Add inet6_scopeid_pton.
13730         (tests): Add tst-inet6_scopeid_pton.
13731         * inet/inet6_scopeid_pton.c: New file.
13732         * inet/net-internal.h: Likewise.
13733         * inet/tst-inet6_scopeid_pton.c: New test.
13734         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
13735         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
13736         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13738 2016-09-14  Florian Weimer  <fweimer@redhat.com>
13740         Remove support for compiling wrappers with PTW.
13741         * sysdeps/nptl/Makeconfig: Drop ptw- support.
13742         * nptl/Makefile (pthread-compat-wrappers): Define.
13743         (libpthread-routines): Use pthread-compat-wrappers.
13744         * sysdeps/unix/sysv/linux/alpha/Makefile
13745         (libpthread-routines, libpthread-shared-only-routines): Remove
13746         ptw- prefix.
13747         * sysdeps/s390/nptl/Makefile
13748         (libpthread-routines, libpthread-shared-only-routines): Likewise.
13749         * sysdeps/ia64/nptl/Makefile
13750         (libpthread-routines, libpthread-shared-only-routines): Likewise.
13751         * sysdeps/nacl/Makefile (libpthread-routines): Use
13752         pthread-compat-wrappers to filter the routines list instead of the
13753         ptw- prefix.
13755 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13757         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
13758         with L() and remove explicit suffix, convert real literals
13759         which can be equivalentally substituted with integers, and
13760         transform -L(x) to L(-x).
13762         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13763         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13764         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13765         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13766         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13767         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13768         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13769         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13770         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13771         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13772         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13773         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13774         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13775         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13776         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13777         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13778         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13779         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13780         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13781         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13782         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13783         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13784         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13785         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13786         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13787         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13788         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13789         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13790         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13791         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13792         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13793         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
13794         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13795         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13796         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13797         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13798         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13799         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13800         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13801         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13802         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13803         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13804         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13805         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13806         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13807         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13808         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13809         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
13810         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13811         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13813 2016-09-13  Florian Weimer  <fweimer@redhat.com>
13815         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
13817 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13819         * malloc/Makefile (tests): Remove individual static test names
13820         and just add all of tests-static.
13822         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
13824 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
13826         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
13827         file.
13829         * sysdeps/sparc/fpu/fegetmode.c: New file.
13830         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
13832         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
13833         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
13835         * sysdeps/s390/fpu/fegetmode.c: New file.
13836         * sysdeps/s390/fpu/fesetmode.c: Likewise.
13838         * sysdeps/powerpc/fpu/fegetmode.c: New file.
13839         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
13840         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
13841         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
13842         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
13843         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
13845         * sysdeps/mips/fpu/fegetmode.c: New file.
13846         * sysdeps/mips/fpu/fesetmode.c: Likewise.
13848         * sysdeps/m68k/fpu/fegetmode.c: New file.
13849         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
13851         * sysdeps/ia64/fpu/fegetmode.c: New file.
13852         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
13854         * sysdeps/hppa/fpu/fegetmode.c: New file.
13855         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
13857         * sysdeps/arm/fegetmode.c: New file.
13858         * sysdeps/arm/fesetmode.c: Likewise.
13860         * sysdeps/alpha/fpu/fegetmode.c: New file.
13861         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
13863         * sysdeps/aarch64/fpu/fegetmode.c: New file.
13864         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
13866         * math/fegetmode.c: New file.
13867         * math/fesetmode.c: Likewise.
13868         * sysdeps/i386/fpu/fegetmode.c: Likewise.
13869         * sysdeps/i386/fpu/fesetmode.c: Likewise.
13870         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
13871         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
13872         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
13873         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
13874         declaration.
13875         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
13876         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
13877         typedef.
13878         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13879         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13880         (femode_t): New typedef.
13881         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13882         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13883         (femode_t): New typedef.
13884         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13885         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13886         (femode_t): New typedef.
13887         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13888         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13889         (femode_t): New typedef.
13890         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13891         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13892         (femode_t): New typedef.
13893         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13894         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13895         (femode_t): New typedef.
13896         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13897         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13898         (femode_t): New typedef.
13899         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13900         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13901         (femode_t): New typedef.
13902         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13903         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13904         (femode_t): New typedef.
13905         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13906         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13907         (femode_t): New typedef.
13908         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
13909         declaration.
13910         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13911         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13912         (femode_t): New typedef.
13913         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13914         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13915         (femode_t): New typedef.
13916         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13917         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13918         (femode_t): New typedef.
13919         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13920         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13921         (femode_t): New typedef.
13922         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13923         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13924         (femode_t): New typedef.
13925         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
13926         * manual/arith.texi (FE_DFL_MODE): Document macro.
13927         (fegetmode): Document function.
13928         (fesetmode): Likewise.
13929         * math/Versions (fegetmode): New libm symbol at version
13930         GLIBC_2.25.
13931         (fesetmode): Likewise.
13932         * math/Makefile (libm-support): Add fegetmode and fesetmode.
13933         (tests): Add test-femode and test-femode-traps.
13934         * math/test-femode-traps.c: New file.
13935         * math/test-femode.c: Likewise.
13936         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
13937         alias for __fe_dfl_env.
13938         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
13939         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
13940         (__fe_dfl_mode): Likewise.
13941         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
13942         version GLIBC_2.25.
13943         * sysdeps/nacl/libm.abilist: Update.
13944         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13945         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13946         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13947         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13948         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13949         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13950         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13951         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13952         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13953         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13954         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13955         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13957         Likewise.
13958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13959         Likewise.
13960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13961         Likewise.
13962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13963         Likewise.
13964         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13965         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13966         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13967         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13968         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13970         Likewise.
13971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13972         Likewise.
13973         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13974         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13975         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13977 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
13979         [BZ #20495]
13980         [BZ #20508]
13981         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
13982         processors, set Use_dl_runtime_resolve_slow and set
13983         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
13984         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
13985         New.
13986         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
13987         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
13988         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
13989         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
13990         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
13991         if Use_dl_runtime_resolve_opt is set.  Use
13992         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
13993         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
13994         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
13995         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
13996         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
13997         New.
13998         (_dl_runtime_resolve_opt): Likewise.
13999         (_dl_runtime_profile): Define only if _dl_runtime_profile is
14000         defined.
14002 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14004         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
14005         __libc_memalign with "+ RELA R_390_GLOB_DAT".
14007 2016-09-06  Florian Weimer  <fweimer@redhat.com>
14009         Convert malloc to __libc_lock.  Automated part, using this Perl
14010         s/// command:
14011           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
14012             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
14013         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
14014         conversion.
14016 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
14018         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
14019         (linknamespace-symlists-tests): Likewise.
14020         (linknamespace-header-tests): Likewise.
14022 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
14024         [BZ #19810]
14025         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
14026         * elf/tst-noload.c: New test case.
14027         * elf/Makefile (tests): Add tst-noload.
14029 2016-09-02  Roland McGrath  <roland@hack.frob.com>
14031         * sysdeps/nacl/dup.c: Add libc_hidden_def.
14033         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
14034         not any more.
14036         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
14038 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14040         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
14041         (do_cos_slow): Likewise.
14042         (do_sin): Likewise.
14043         (do_sin_slow): Likewise.
14044         (slow): Likewise.
14045         (slow1): Likewise.
14046         (slow2): Likewise.
14047         (sloww): Likewise.
14048         (sloww1): Likewise.
14049         (sloww2): Likewise.
14050         (bsloww): Likewise.
14051         (bsloww1): Likewise.
14052         (bsloww2): Likewise.
14053         (cslow2): Likewise.
14055         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
14057         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
14058         arguments.  Consolidate input partitioning from callers here.
14059         (do_cos_slow): Likewise.
14060         (do_sin): Likewise.
14061         (do_sin_slow): Likewise.
14062         (do_sincos_1): Remove the no longer necessary input partitioning.
14063         (do_sincos_2): Likewise.
14064         (__sin): Likewise.
14065         (__cos): Likewise.
14066         (slow1): Likewise.
14067         (slow2): Likewise.
14068         (sloww1): Likewise.
14069         (sloww2): Likewise.
14070         (bsloww1): Likewise.
14071         (bsloww2): Likewise.
14072         (cslow2): Likewise.
14074 2016-09-02  Florian Weimer  <fweimer@redhat.com>
14076         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
14077         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
14078         outside of allocated array.
14080 2016-09-02  Florian Weimer  <fweimer@redhat.com>
14082         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
14083         instead of MB_CUR_MAX to avoid variable-length array.
14085 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14087         * math/Makefile (libm-calls): Remove k_rem_pio2F.
14088         (type-double-routines): Add k_rem_pio2.
14089         (type-float-routines): Add k_rem_pio2f.
14091         * sysdeps/generic/math_private.h:
14092         (__kernel_rem_pio2l): Removed.
14094         * math/k_rem_pio2l.c: Removed.
14095         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
14096         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
14097         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
14098         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
14100 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14102         * math/Makefile (gen-libm-calls): Add s_fmin
14103         (libm-calls): Remove above.
14105         * math/s_fmin.c: Refactor into ...
14106         * math/s_fmin_template.c: New file.
14108         * math/s_fminf.c: Removed.
14109         * math/s_fminl.c: Removed.
14110         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14111         (LDOUBLE_fmin_libm_version): New macro.
14113         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
14114         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
14116 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14118         * math/Makefile: (gen-libm-calls): Add s_fmax.
14119         (libm-calls): Remove above.
14121         * math/s_fmax.c: Refactor into ...
14122         * math/s_fmax_template.c: New file.
14123         * math/s_fmaxf.c: Removed.
14124         * math/s_fmaxl.c: Removed.
14126         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14127         (LDOUBLE_fmaxl_libm_version): New macro.
14129         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
14130         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
14132         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
14133         s_fmin.c to pick the aarch64 version of the file.
14134         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
14135         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
14137 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14139         * math/Makefile: (gen-libm-calls): Add s_nextdown.
14140         (libm-calls): Remove above.
14142         * math/s_nextdown.c: Refactor into ...
14143         * math/s_nextdown_template.c: New file.
14144         * math/s_nextdownf.c: Removed.
14145         * math/s_nextdownl.c: Removed.
14147         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
14149 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14151         * math/Makefile (gen-libm-calls): Add s_fdim.
14152         (libm-calls): Move to above.
14154         * math/s_fdim.c: Renamed and refactored into to ...
14155         * math/s_fdim_template.c: New file.
14156         * math/s_fdiml.c: Removed.
14157         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
14158         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
14160         * sysdeps/generic/math-type-macros-double.h:
14161         (declare_mgen_alias): Don't declare if already declared.
14162         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
14163         Likewise.
14165         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14166         (declare_mgen_alias): Don't declare if already declared.
14167         (M_LIBM_NEED_COMPAT): Likewise.
14168         (declare_mgen_libm_compat): Likewise.
14169         (LDOUBLE_fdiml_libm_version): New macro.
14171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14172         Include math/s_fdim.c now that ldbl-opt version is not needed.
14173         (declare_mgen_alias): New macro to disable aliasing.
14175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
14176         (declare_mgen_alias): Likewise.
14177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
14178         (declare_mgen_alias): Likewise.
14179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
14180         (declare_mgen_alias): Likewise.
14181         (M_LIBM_NEED_COMPAT): Likewise.
14183 2016-09-01  Florian Weimer  <fweimer@redhat.com>
14185         [BZ #20525]
14186         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
14187         Include <linux/quota.h>.
14188         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
14189         and btodb.
14190         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
14191         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
14192         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
14193         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
14194         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
14195         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
14196         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
14197         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
14198         types.
14199         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
14200         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
14202 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14204         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
14205         (gammal_positive): Fix spacing.
14206         (__ieee754_gammal_r): Likewise.
14208 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14210         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
14211         (_Float128): Define as long double, always.
14212         (L): Apply long double type suffix, always.
14214         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
14215         _Float128, excepting comments.
14217         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14218         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14219         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14220         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14221         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14222         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14223         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14224         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14225         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14226         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
14227         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14228         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14229         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14230         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14231         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14232         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14233         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14234         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14235         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14236         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14237         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14238         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14239         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14240         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14241         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14242         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14243         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14244         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14245         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14246         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14247         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14248         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14249         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14250         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14251         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14252         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14253         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14254         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14255         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14256         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14257         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14258         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14259         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14260         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14261         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14262         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14263         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14264         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14265         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14266         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14267         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14268         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14269         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14270         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14271         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14272         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14273         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14274         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14275         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14276         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14277         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14278         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14279         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14280         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14281         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14282         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14283         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14284         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14286         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
14287         _Float128, and include math_private.h.
14288         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14290         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
14291         long double semantics.
14292         (_Float128): Likewise.
14293         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
14294         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14295         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
14296         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
14298 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14300         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
14301         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
14302         * sysdeps/s390/configure: Regenerated.
14303         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
14304         instruction for raising over-/underflow if z196 zarch is supported
14305         by default.
14306         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
14308 2016-08-30  Svante Signell  <svante.signell@gmail.com>
14310         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
14311         it point to a dumb buffer for RPC to fill it.
14313 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14315         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
14316         instead of if/else.
14317         (do_sin_slow): Likewise.
14318         (do_sincos_1): Use fabs instead of if/else.
14319         (do_sincos_2): Likewise.
14320         (__sin): Likewise.
14321         (__cos): Likewise.
14322         (slow2): Likewise.
14323         (sloww): Likewise.
14324         (sloww1): Likewise.  Drop argument M.
14325         (sloww2): Use fabs instead of if/else.
14326         (bsloww): Likewise.
14327         (bsloww1): Likewise.
14328         (bsloww2): Likewise.
14330         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
14331         fall through comment.
14332         (do_sincos_1): Likewise.
14334         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
14335         Consolidate switch cases 0 and 2.
14337 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14339         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
14340         (libm-calls): Remove the above.
14342         * math/s_cexp_template.c: Update using type-generic macros.
14343         * math/s_clog10_template.c: Likewise.
14344         * math/s_cpow_template.c: Likewise.
14345         * math/s_clog_template.c: Likewise.
14346         * math/s_cproj_template.c: Likewise.
14347         * math/s_csqrt_template.c: Likewise.
14349         * math/s_cexp.c: Removed.
14350         * math/s_cexpf.c: Removed.
14351         * math/s_cexpl.c: Removed.
14352         * math/s_clog10.c: Removed.
14353         * math/s_clog10f.c: Removed.
14354         * math/s_clog10l.c: Removed.
14355         * math/s_cpow.c: Removed.
14356         * math/s_cpowf.c: Removed.
14357         * math/s_cpowl.c: Removed.
14358         * math/s_clog.c: Removed.
14359         * math/s_clogf.c: Removed.
14360         * math/s_clogl.c: Removed.
14361         * math/s_cproj.c: Removed.
14362         * math/s_cprojf.c: Removed.
14363         * math/s_cprojl.c: Removed.
14364         * math/s_csqrt.c: Removed.
14365         * math/s_csqrtf.c: Removed.
14366         * math/s_csqrtl.c: Removed.
14368         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
14369         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
14370         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
14371         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
14372         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
14373         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
14375         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
14376         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
14377         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
14378         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
14379         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
14380         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
14381         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
14382         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
14383         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
14384         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
14385         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
14387         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
14388         version.
14390         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
14391         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
14392         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
14393         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
14395 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14397         * s_cexp_template.c: Copy of s_cexp.c.
14398         * s_clog_template.c: Copy of s_clog.c.
14399         * s_clog10_template.c: Copy of s_clog10.c.
14400         * s_cpow_template.c: Copy of s_cpow.c.
14401         * s_cproj_template.c: Copy of s_cproj.c.
14402         * s_csqrt_template.c: Copy of s_csqrt.c.
14404 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14406         [BZ #20517]
14407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14408         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
14409         exported.
14411 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
14413         * math/fetestexceptflag.c: New file.
14414         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
14415         Stefan Liebler.
14416         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14417         (fetestexceptflag): New function declaration.
14418         * manual/arith.texi (fetestexceptflag): Document function.
14419         * math/Versions (fetestexceptflag): New libm symbol at version
14420         GLIBC_2.25.
14421         * math/Makefile (libm-support): Add fetestexceptflag.
14422         (tests): Add test-fetestexceptflag.
14423         * math/test-fetestexceptflag.c: New file.
14424         * sysdeps/nacl/libm.abilist: Update.
14425         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14426         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14427         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14428         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14429         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14430         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14431         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14432         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14433         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14434         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14435         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14436         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14438         Likewise.
14439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14440         Likewise.
14441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14442         Likewise.
14443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14444         Likewise.
14445         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14446         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14447         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14448         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14449         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14451         Likewise.
14452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14453         Likewise.
14454         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14455         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14456         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14458 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14460         [BZ #20432]
14461         Avoid strong references to malloc-internal symbols when linking
14462         statically, to support statically interposed mallocs.
14463         * include/libc-symbols.h (call_function_static_weak): New macro.
14464         * malloc/Makefile (tests): Add tst-interpose-nothread,
14465         tst-interpose-thread, tst-interpose-static-nothread,
14466         tst-interpose-static-thread.
14467         (tests-static): Add tst-interpose-static-nothread,
14468         tst-interpose-static-thread.
14469         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
14470         tst-interpose-aux-thread.o.
14471         (test-extras): Add tst-interpose-aux-nothread,
14472         tst-interpose-aux-thread.
14473         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
14474         tst-interpose-aux-nothread.o.
14475         (tst-interpose-thread, tst-interpose-static-thread): Link with
14476         tst-interpose-aux-thread.o and libthread.
14477         * malloc/tst-interpose-aux-nothread.c: New file.
14478         * malloc/tst-interpose-aux-thread.c: Likewise.
14479         * malloc/tst-interpose-aux.c: Likewise.
14480         * malloc/tst-interpose-aux.h: Likewise.
14481         * malloc/tst-interpose-nothread.c: Likewise.
14482         * malloc/tst-interpose-skeleton.c: Likewise.
14483         * malloc/tst-interpose-static-nothread.c: Likewise.
14484         * malloc/tst-interpose-static-thread.c: Likewise.
14485         * malloc/tst-interpose-thread.c: Likewise.
14486         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
14487         * sysdeps/mach/hurd/fork.c (__fork): Only call
14488         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14489         __malloc_fork_unlock_child if defined.
14490         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14492 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14494         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
14495         timespec C99 designated initialization.
14497 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14499         [BZ #19946]
14500         Avoid expected SIGALRM signals.
14501         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
14502         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
14503         (xpthread_create, xpthread_detach, xpthread_join)
14504         (delayed_exit_thread, delayed_exit): New functions.
14505         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
14506         (tf): Use xpthread_cond_wait.
14507         (do_test): Likewise.  Replace alarm with delayed_exit.
14508         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14509         (do_test): Call delayed_exit.  Report failure.
14510         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14511         (do_test): Call delayed_exit.
14512         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14513         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
14514         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14515         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
14516         error.
14517         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14518         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
14519         error.
14520         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
14521         (do_test): Call delayed_exit.
14522         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
14523         (do_test): Call delayed_exit.
14524         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
14525         (do_test): Call delayed_exit instead of alarm.  Use
14526         xpthread_mutex_lock.
14527         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
14528         (do_test): Call delayed_exit instead of alarm.  Use
14529         xpthread_mutex_lock.
14530         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
14531         (do_test): Call delayed_exit instead of alarm.
14532         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
14533         (do_test): Call delayed_exit instead of alarm.  Use
14534         xpthread_spin_lock.
14535         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
14536         (do_test): Call delayed_exit instead of alarm.  Use
14537         xpthread_join.
14539 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14541         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
14542         adjust CFA when allocating register save area on re-aligned
14543         stack.
14545 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14547         * string/tst-cmp.c: New test.
14548         * string/Makefile (tests): Add it.
14550 2016-08-25  Mark Wielaard  <mark@klomp.org>
14552         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
14553         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
14554         (check_tree_recurse): Use newly defined accessors.
14555         (check_tree): Likewise.
14556         (maybe_split_for_insert): Likewise.
14557         (__tfind): Likewise.
14558         (__tdelete): Likewise.
14559         (trecurse): Likewise.
14560         (tdestroy_recurse): Likewise.
14561         (__tsearch): Likewise. And add asserts for malloc alignment.
14562         (__twalk): Cast root to node in case CHECK_TREE is defined.
14564 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14566         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
14568 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14570         * math/Makefile (libm-gen-calls): Add
14571         catan, catanh, ctan, ctanh.
14572         (libm-calls): Remove the above.
14574         * math/s_catan_template.c: Update using type-generic macros.
14575         * math/s_catanh_template.c: Likewise.
14576         * math/s_ctan_template.c: Likewise.
14577         * math/s_ctanh_template.c: Likewise.
14579         * math/s_catanf.c: Removed.
14580         * math/s_catan.c: Removed.
14581         * math/s_catanl.c: Removed.
14582         * math/s_catanhf.c: Removed.
14583         * math/s_catanh.c: Removed.
14584         * math/s_catanhl.c: Removed.
14585         * math/s_ctanf.c: Removed.
14586         * math/s_ctan.c: Removed.
14587         * math/s_ctanl.c: Removed.
14588         * math/s_ctanhf.c: Removed.
14589         * math/s_ctanh.c: Removed.
14590         * math/s_ctanhl.c: Removed.
14592         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
14593         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
14594         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
14595         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
14596         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
14597         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
14599         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
14600         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
14601         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
14602         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
14604 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14606         * s_catan_template.c: Copy of s_catan.c.
14607         * s_catanh_template.c: Copy of s_catanh.c.
14608         * s_ctan_template.c: Copy of s_ctan.c.
14609         * s_ctanh_template.c: Copy of s_ctanh.c.
14611 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14613         * math/Makefile (gen-libm-calls): Move
14614         casin, casinh, csin, csinh here.
14615         (libm-calls): Remove the above.
14617         * math/s_casin_template.c: Update using type-generic macros.
14618         * math/s_casinh_template.c: Likewise.
14619         * math/s_csin_template.c: Likewise.
14620         * math/s_csinh_template.c: Likewise.
14621         * math/k_casinh_template.c: Likewise.
14623         * math/s_casinf.c: Removed.
14624         * math/s_casin.c: Removed.
14625         * math/s_casinl.c: Removed.
14626         * math/s_casinh.c: Removed.
14627         * math/s_casinhf.c: Removed.
14628         * math/s_casinhl.c: Removed.
14629         * math/s_csin.c: Removed.
14630         * math/s_csinf.c: Removed.
14631         * math/s_csinl.c: Removed.
14632         * math/s_csinh.c: Removed.
14633         * math/s_csinhf.c: Removed.
14634         * math/s_csinhl.c: Removed.
14635         * math/k_casinh.c: Removed.
14636         * math/k_casinhf.c: Removed.
14637         * math/k_casinhl.c: Removed.
14639         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
14640         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
14641         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
14642         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
14644         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
14645         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
14646         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
14647         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
14648         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
14649         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
14650         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
14651         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
14653         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
14654         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
14655         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
14656         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
14658         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
14659         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
14660         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
14661         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
14663 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14665         * s_casin_template.c: Copy of s_casin.c.
14666         * s_casinh_template.c: Copy of s_casinh.c.
14667         * s_csin_template.c: Copy of s_csin.c.
14668         * s_csinh_template.c: Copy of s_csinh.c.
14669         * k_casinh_template.c: Copy of k_casinh.c.
14671 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14673         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
14675 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14677         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
14678         (mul_split) Remove, rename as mul_splitl, remove
14679         redundant float.h include, and include via mul_splitl.h
14681         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14682         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14683         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14684         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14685         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14687         * math/mul_splitl.h: New file.
14689         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
14690         Move into mul_split.h, and remove redundant float.h include.
14692         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14693         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
14694         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14695         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
14697         * math/mul_split.h: New file.
14699 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14701         * math/Makefile (libm-gen-calls): Move
14702         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
14703         (libm-calls): Remove above.
14705         * math/s_cacos_template.c: Update using type-generic macros.
14706         * math/s_cacosh_template.c: Likewise.
14707         * math/s_ccos_template.c: Likewise.
14708         * math/s_ccosh_template.c: Likewise.
14710         * math/s_cacosf.c: Removed.
14711         * math/s_cacos.c: Removed.
14712         * math/s_cacosl.c: Removed.
14713         * math/s_cacoshf.c: Removed.
14714         * math/s_cacosh.c: Removed.
14715         * math/s_cacoshl.c: Removed.
14716         * math/s_ccosf.c: Removed.
14717         * math/s_ccos.c: Removed.
14718         * math/s_ccosl.c: Removed.
14719         * math/s_ccoshf.c: Removed.
14720         * math/s_ccosh.c: Removed.
14721         * math/s_ccoshl.c: Removed.
14723         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
14724         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
14725         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
14726         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
14727         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
14728         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
14730         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
14731         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
14732         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
14733         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
14735         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
14736         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
14737         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
14738         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
14740 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14742         * s_cacos_template.c: Copy of s_cacos.c.
14743         * s_cacosh_template.c: Copy of s_cacosh.c.
14744         * s_ccos_template.c: Copy of s_ccos.c.
14745         * s_ccosh_template.c: Copy of s_ccosh.c.
14747 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14749         * stdlib/tst-strtod-round-skeleton.c:
14750         Refactored from tst-strtod-round.c.
14752         (L_): New macro to apply literal modifier.
14753         (FNPFX): New macro to select str or wcs prefix.
14754         (CHAR): New macro to choose wchar_t or char.
14755         (STRM): New macro to choose printf for tested character type.
14757         (STRTO): New macro to choose appropriate string -> real function.
14758         (FNPFXS): Stringitized version of FNPFX.
14759         (STR): Support for above macro.
14760         (STRX): Likewise.
14762         (TEST): Update with above macros.
14763         (test): Likewise.
14764         (GEN_ONE_TEST): Likewise.
14765         (test_in_one_mode): Likewise.
14767         * stdlib/tst-strtod-round.c: New file.
14768         * wcsmbs/tst-wcstod-round.c: New file.
14770         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
14771         (tst-wcstod-round): Add libm depencency for fesetround.
14773 2016-08-19  Zack Weinberg  <zackw@panix.com>
14775         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
14777 2016-08-18  Torvald Riegel  <triegel@redhat.com>
14779         [BZ #20477]
14780         * resolv/res_hconf.c (do_init): Use atomic access.
14781         * resolv/res_hconf.h: Add comments.
14782         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
14783         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
14784         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14786 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
14788         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14789         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
14790         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14791         Likewise.
14793 2016-08-18  Florian Weimer  <fweimer@redhat.com>
14795         [BZ #16907]
14796         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
14797         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
14798         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
14799         (__attribute__): Remove definition.
14801 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14803         * sysdeps/ieee754/ldbl-128/e_asinl.c:
14804         Remove unused sqrtl declaration.
14806 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14808         * math/Makefile: (gen-libm-templates.stmp): New rule.
14809         (libm-calls): Move carg conj cimag and cabs into ...
14810         (gen-libm-calls): New variable.
14811         (generated): Inform Make objects from gen-libm-calls
14812         may be generated.
14814         * sysdeps/generic/math-type-macros.h: New file.
14815         * sysdeps/generic/math-type-macros-float.h: Likewise.
14816         * sysdeps/generic/math-type-macros-double.h: Likewise.
14817         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
14818         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
14819         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
14821         * math/cabs.c: Refactor into
14822         * math/cabs_template.c: new file.
14823         * math/cabsf.c: Removed.
14824         * math/cabsl.c: Removed.
14825         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
14826         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
14828         * math/carg.c: Refactor into
14829         * math/carg_template.c: new file.
14830         * math/cargf.c: Removed.
14831         * math/cargl.c: Removed.
14832         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
14833         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
14835         * math/conj.c: Refactor into
14836         * math/conj_template.c: new file.
14837         * math/conjf.c: Removed.
14838         * math/conjl.c: Removed.
14839         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
14840         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
14842         * math/cimag.c: Refactor into
14843         * math/cimag_template.c: new file.
14844         * math/cimagf.c: Removed.
14845         * math/cimagl.c: Removed.
14846         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
14847         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
14849         * math/cimag.c: Refactor into
14850         * math/cimag_template.c: new file.
14851         * math/cimagf.c: Removed.
14852         * math/cimagl.c: Removed.
14853         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
14854         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
14856 2016-08-17  Florian Weimer  <fweimer@redhat.com>
14858         Reduce time to expected nptl/tst-once5 failure.
14859         * nptl/tst-once5.cc (TIMEOUT): Define.
14861 2016-08-17  Florian Weimer  <fweimer@redhat.com>
14863         [BZ #20452]
14864         Avoid additional copies of objects in libc.a in static libraries.
14865         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
14866         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
14867         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
14868         rt-sysdep.
14869         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
14870         Add nptl-sysdep.
14871         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
14872         Add ptw-sysdep.
14873         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
14874         rt-sysdep.
14875         * sysdeps/unix/sysv/linux/alpha/Makefile
14876         (libpthread-shared-only-routines): Add ptw-sysdep,
14877         ptw-sigprocmask, ptw-rt_sigaction.
14878         * sysdeps/unix/sysv/linux/ia64/Makefile
14879         (librt-shared-only-routines): Add rt-sysdep.
14880         * sysdeps/unix/sysv/linux/i386/Makefile
14881         (libpthread-shared-only-routines): Add libc-do-syscall.
14882         * sysdeps/unix/sysv/linux/microblaze/Makefile
14883         (libpthread-shared-only-routines): Add sysdep.
14884         * sysdeps/unix/sysv/linux/powerpc/Makefile
14885         (librt-shared-only-routines): Add rt-sysdep.
14886         (libpthread-shared-only-routines): Add sysdep.
14887         * sysdeps/unix/sysv/linux/s390/Makefile
14888         (librt-shared-only-routines): Add rt-sysdep.
14889         * sysdeps/unix/sysv/linux/sparc/Makefile
14890         (librt-shared-only-routines): Add rt-sysdep.
14891         (libpthread-shared-only-routines): Add sysdep.
14892         * sysdeps/unix/sysv/linux/tile/Makefile
14893         (libpthread-shared-only-routines): Likewise.
14895 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
14897         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
14898         Mask implicit bit out of unpacked value.
14899         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
14900         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
14901         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
14903         * sysdeps/sparc/fpu/fesetexcept.c: New file.
14905         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
14907         * sysdeps/s390/fpu/fesetexcept.c: New file.
14909         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
14910         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
14911         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
14913         * sysdeps/mips/fpu/fesetexcept.c: New file.
14915         * sysdeps/m68k/fpu/fesetexcept.c: New file.
14917         * sysdeps/ia64/fpu/fesetexcept.c: New file.
14919         * sysdeps/hppa/fpu/fesetexcept.c: New file.
14921         * sysdeps/arm/fesetexcept.c: New file.
14923         * sysdeps/alpha/fpu/fesetexcept.c: New file.
14925         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
14927         * math/fesetexcept.c: New file.
14928         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
14929         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
14930         * math/fenv.h: Define
14931         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
14932         <bits/libc-header-start.h> instead of including <features.h>.
14933         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
14934         declaration.
14935         * manual/arith.texi (fesetexcept): Document function.
14936         * math/Versions (fesetexcept): New libm symbol at version
14937         GLIBC_2.25.
14938         * math/Makefile (libm-support): Add fesetexcept.
14939         (tests): Add test-fesetexcept and test-fesetexcept-traps.
14940         * math/test-fesetexcept.c: New file.
14941         * math/test-fesetexcept-traps.c: Likewise.
14942         * sysdeps/nacl/libm.abilist: Update.
14943         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14944         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14945         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14946         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14947         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14948         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14949         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14950         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14951         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14952         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14953         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14954         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14956         Likewise.
14957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14958         Likewise.
14959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14960         Likewise.
14961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14962         Likewise.
14963         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14964         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14965         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14966         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14967         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14969         Likewise.
14970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14971         Likewise.
14972         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14973         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14974         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14976 2016-08-16  Florian Weimer  <fweimer@redhat.com>
14978         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
14979         New.
14980         (do_test): Apply default_stack_size_in_mb if not set.
14981         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
14983 2016-08-15  Andreas Schwab  <schwab@suse.de>
14985         [BZ #20435]
14986         CVE-2016-6323
14987         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
14988         as .cantunwind.
14990 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
14992         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
14993         comment from fraiseexcpt.c.
14995         * math/test-fexcept.c (feraiseexcept_exact): New function.
14996         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
14997         (test_except): Likewise.
14999 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
15001         [BZ #20455]
15002         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
15003         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
15004         to be restored.
15006         * math/test-fexcept-traps.c: New file.
15007         * math/test-fexcept.c: Likewise.
15008         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
15009         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
15010         macro.
15011         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
15012         (EXCEPTION_SET_FORCES_TRAP): Likewise.
15014 2016-08-09  Torvald Riegel  <triegel@redhat.com>
15016         * include/atomic.h (atomic_fetch_and_relaxed,
15017         atomic_fetch_and_release, atomic_fetch_or_release,
15018         atomic_fetch_xor_release): New.
15020 2016-08-06  Christian Seiler  <christian@iwakd.de>
15022         [BZ #20444]
15023         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
15024         MACH_PORT_NULL.
15026 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15028         * math/s_fdim.c: Avoid alias renamed.
15029         * math/s_fdimf.c: Likewise.
15030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15031         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15032         Add s_fdimf-vis3, s_fdim-vis3.
15033         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15034         (CFLAGS-s_fdim-vis3.c): Likewise.
15035         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
15036         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
15038 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15041         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15042         Remove s_fdimf-vis3, s_fdim-vis3.
15043         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
15044         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
15045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
15046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
15047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
15048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
15049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
15050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
15051         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
15052         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
15054 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15056         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
15057         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
15058         -Wa,-Av9a -mvis.
15060 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15062         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
15063         LIT() to individual constants in simple expressions
15064         after splitting on spaces.
15065         (_apply_lit): Rename replaced version, and use it to
15066         apply to what appears to be a token.
15068         * math/libm-test.inc: Fix many, many issues with
15069         spacing.
15071 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
15073         * math/math.h: Move comment about <bits/mathdef.h> definitions
15074         above inclusion of <bits/mathdef.h>.  Do not mention
15075         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
15077 2016-08-05  Torvald Riegel  <triegel@redhat.com>
15079         * include/atomic.h (atomic_exchange_relaxed): New.
15081 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
15083         * math/e_scalb.c: Do not include <fenv.h>.
15084         (invalid_fn): Do calculation resulting in NaN instead of raising
15085         FE_INVALID and returning a NaN explicitly.
15086         * math/e_scalbf.c: Do not include <fenv.h>.
15087         (invalid_fn): Do calculation resulting in NaN instead of raising
15088         FE_INVALID and returning a NaN explicitly.
15089         * math/e_scalbl.c: Do not include <fenv.h>.
15090         (invalid_fn): Do calculation resulting in NaN instead of raising
15091         FE_INVALID and returning a NaN explicitly.
15093 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
15095         * po/de.po: Updated from Translation Project.
15096         * po/fi.po: Likewise.
15097         * po/sv.po: Likewise.
15099 2016-08-04  Florian Weimer  <fweimer@redhat.com>
15101         [BZ #20452]
15102         Use sysdep.o from libc.a in static libraries.
15103         * sysdeps/unix/sysv/linux/i386/Makefile
15104         (libpthread-shared-only-routines): Add sysdep.
15105         (librt-shared-only-routines): Likewise.
15107 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15109         * math/tgmath.h (nextdown): Define if
15110         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
15111         (nextup): Likewise.
15113         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
15114         macro.
15115         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
15116         Document.
15117         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
15118         Document macro.
15119         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
15120         (exp10f): Likewise.
15121         (exp10l): Likewise.
15122         * math/bits/mathcalls.h (exp10): Declare if
15123         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
15125         * manual/arith.texi (nextup): Fix typo in last change.
15127 2016-08-03  Zack Weinberg  <zackw@panix.com>
15129         [BZ #19239]
15130         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
15131         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
15132         define major, minor, and makedev to issue deprecation warnings on use.
15133         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
15134         previously-activated deprecation warnings for these macros and prevent
15135         subsequent inclusions of this header from having any effect.
15136         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
15137         including <sys/sysmacros.h>, and undefine it again afterward.
15139 2016-08-03  Zack Weinberg  <zackw@panix.com>
15141         * sysdeps/generic/sys/sysmacros.h: Delete file.
15142         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
15143         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
15144         * bits/sysmacros.h: ... here; this encoding is now the generic
15145         encoding.  Now defines only the following macros:
15146         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
15147         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
15148         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
15150         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
15151         bits/sysmacros.h and the above new macros to generate the
15152         public implementations of major, minor, and makedev.
15153         * misc/tst-makedev.c: New test.
15154         * include/sys/sysmacros.h: New wrapper.
15156         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
15157         (routines): Add makedev.
15158         (tests): Add tst-makedev.
15159         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
15160         gnu_dev_makedev.
15161         * posix/Makefile (headers): Remove sys/sysmacros.h.
15162         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
15164         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
15165         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
15166         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
15167         * sysdeps/unix/sysv/linux/alpha/libc.abilist
15168         * sysdeps/unix/sysv/linux/arm/libc.abilist
15169         * sysdeps/unix/sysv/linux/hppa/libc.abilist
15170         * sysdeps/unix/sysv/linux/i386/libc.abilist
15171         * sysdeps/unix/sysv/linux/ia64/libc.abilist
15172         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15173         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
15174         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
15175         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15176         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15177         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15178         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15179         * sysdeps/unix/sysv/linux/nios2/libc.abilist
15180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15184         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
15185         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
15186         * sysdeps/unix/sysv/linux/sh/libc.abilist
15187         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15188         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15191         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
15192         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
15193         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
15194         Add GLIBC_2.25.
15196         * include/features.h (__glibc_clang_prereq): New macro.
15197         * misc/sys/cdefs.h (__glibc_clang_has_extension)
15198         (__attribute_deprecated_msg__): New macros.
15200 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15202         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
15203         macro.
15204         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
15205         * manual/arith.texi (issignaling): Document as ISO from TS
15206         18661-1:2014.
15207         (nextup): Likewise.
15208         (nextupf): Likewise.
15209         (nextupl): Likewise.
15210         (nextdown): Likewise.
15211         (nextdownf): Likewise.
15212         (nextdownl): Likewise.
15213         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
15214         macro.
15215         * math/math.h: Define
15216         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15217         <bits/libc-header-start.h> instead of including <features.h>.
15218         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
15219         [__USE_GNU].
15220         * math/bits/mathcalls.h (nextdown): Declare if
15221         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
15222         (nextup): Likewise.
15223         (__issignaling): Likewise.
15225 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15227         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
15228         check, and remove __glibc_likely hint
15229         from FP_INFINITE check.
15230         * s_csinhf.c (__csinhf): Likewise.
15232         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
15233         hint from FP_INFINITE check.
15234         * s_csinhl.c (__csinhl): Likewise.
15236 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15238         * math/Makefile (libm-calls): Insert F placeholder into
15239         object names.  Move w_lgamma_compat* routines into
15240         (libm-compat-calls): New variable.
15241         (libm-compat-calls-ldouble-yes): New variable.
15242         (calls): Insert F placeholder.
15243         (generated): Redefine using new type-foreach macro call.
15244         (routines): Likewise.
15246         (types): New variable to hold a list of symbolic names
15247         for each type supported by the target machine.
15248         (libm-routines): Redefine using new types variable.
15249         (type-foreach): macro to replace fooF with the
15250         appropriately suffixed foo for each types.
15252         (type-ldouble-suffix): New variable.
15253         (type-ldouble-routines): Likewise.
15254         (type-ldouble-yes): Likewise.
15255         (type-double-suffix): Likewise.
15256         (type-double-routines): Likewise.
15257         (type-float-suffix): Likewise.
15258         (type-float-routines): Likewise.
15260         (dbl-only-routines): Remove.
15261         (long-c-yes): Likewise.
15262         (long-m-routines): Likewise.
15263         (long-m-support): Likewise.
15264         (long-m-yes): Likewise.
15265         (test-longdouble-yes): Likewise.
15267         (test-float.o): Simplify by increasing the scope of the
15268         recipe which adds libm-test.stmp to the vector types.
15269         (test-ifloat.o): Likewise.
15270         (test-float-finite.o): Likewise.
15271         (test-double.o): Likewise
15272         (test-idouble.o): Likewise.
15273         (test-double-finite.o): Likewise.
15274         (test-ldouble.o): Likewise
15275         (test-ildoubl.o): Likewise.
15276         (test-ldouble-finite.o): Likewise.
15278         (libm-tests): Redefine type tests using foreach and the
15279         list of types in types.
15281         (CPPFLAGS-test-ildoubl.c): Rename to
15282         (CPPFLAGS-test-ildouble.c): New variable
15284         * math/test-ildoubl.c: Rename to
15285         * math/test-ildouble.c: New file.
15287 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15289         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
15290         Use fabsl instead of fabs.
15291         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
15292         Likewise.
15293         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
15294         Add long double suffix to constant to ensure proper
15295         promotion to long double.
15297 2016-08-03  Tom Tromey  <tom@tromey.com>
15299         [BZ #20311]
15300         * nptl_db/Makefile (headers): Add proc_service.h.
15301         * nptl_db/proc_service.h: Add include guard.  Use
15302         __BEGIN/__END_DECLS.
15303         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
15304         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
15305         arguments.
15308 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15310         [BZ #17730]
15311         Avoid using memalign for TCB allocations.
15312         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
15313         (_dl_allocate_tls_storage): Use malloc and manual alignment.
15314         Avoid alignment gap in the TLS_DTV_AT_TP case.
15315         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
15316         determine the pointer to free.
15317         * nptl/tst-tls3-malloc.c: New test.
15318         * nptl/Makefile (tests): Add it.
15319         (tst-tls3-malloc): Link with libdl, libpthread.
15320         (LDFLAGS-tst-tls3-malloc): Set.
15321         (tst-tls3-malloc.out): Depend on DSO used in test.
15323 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15325         [BZ #17730]
15326         Avoid using memalign for TLS allocations.
15327         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
15328         is_static member with to_free member.
15329         (union dtv): Use struct dtv_pointer.
15330         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
15331         dtv_pointer instead of is_static.
15332         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
15333         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
15334         instead of val.
15335         (allocate_dtv_entry): New function.
15336         (allocate_and_init): Return struct dtv_pointer.  Call
15337         allocate_dtv_entry instead of __libc_memalign.
15338         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
15339         instead of val.
15340         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
15341         instead of is_static.  Adjust call to allocate_and_init.
15342         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
15343         struct dtv_pointer instead of val.
15345 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15347         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
15348         (MALLOC_ALIGN_MASK): Move ...
15349         * malloc/malloc-internal.h: ... to here.
15350         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
15352 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15354         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
15355         (UDP_ENCAP_GTP1U): Likewise.
15357         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
15358         (PF_MAX): Update value.
15359         (AF_QIPCRTR): New macro.
15361 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15363         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
15364         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15365         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15366         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
15367         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15368         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15369         s_truncf-vis3, s_trunc-vis3.
15370         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15371         (CFLAGS-s_ceil-vis3.c): Likewise.
15372         (CFLAGS-s_floorf-vis3.c): Likewise.
15373         (CFLAGS-s_floor-vis3.c): Likewise.
15374         (CFLAGS-s_truncf-vis3.c): Likewise.
15375         (CFLAGS-s_trunc-vis3.c): Likewise.
15376         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
15377         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
15378         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
15379         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
15380         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
15381         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
15382         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
15383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
15384         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
15385         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
15386         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
15387         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
15389 2016-08-02  David S. Miller  <davem@davemloft.net>
15391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15392         (__nearbyint_vis3): Don't check for sNaN before float register is
15393         loaded with the incoming argument.
15394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15395         (__nearbyintf_vis3): Likewise.
15396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
15397         Likewise.
15398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
15399         Likewise.
15401         * string/test-strncmp.c (do_test_limit): Make sure the test data
15402         stream is aligned as required for the type "CHAR".
15403         (do_test): Likewise.
15405 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15407         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
15408         by beq instructions jumping to the end of the function.
15409         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
15410         clobber list. Use "i" constraint instead of "X".
15411         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
15412         of "X".
15414 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
15416         * bits/libc-header-start.h: New file.
15417         * Makefile (headers): Add bits/libc-header-start.h.
15418         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
15419         (__GLIBC_USE): New macro.
15420         * libio/stdio.h: Define
15421         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15422         <bits/libc-header-start.h> instead of including <features.h>.
15423         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
15424         (open_memstream): Likewise.
15425         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
15426         (__asprintf): Likewise.
15427         (asprintf): Likewise.
15428         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
15429         (getdelim): Likewise.
15430         (getline): Likewise.
15431         * string/string.h: Define
15432         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15433         <bits/libc-header-start.h> instead of including <features.h>.
15434         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
15435         (strndup): Likewise.
15436         * wcsmbs/wchar.h: Define
15437         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15438         <bits/libc-header-start.h> instead of including <features.h>.
15439         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
15440         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
15442 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15444         Support linking against compatibility symbols, for use in tests.
15445         * include/libc-symbols.h (symbol_version_reference): New macro.
15446         (symbol_version): Use it.
15447         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
15448         (compat_symbol): Use compat_symbol_reference.
15449         (compat_symbol_1, compat_symbol_2): Remove.
15450         (compat_symbol_reference, compat_symbol_reference_1)
15451         (compat_symbol_reference_2): New macro.  Use
15452         symbol_version_reference.
15454 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15456         [BZ #19469]
15457         * malloc/Makefile (CPPFLAGS): Compile tests with
15458         -DTEST_NO_MALLOPT.
15459         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
15461 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
15463         [BZ #20033]
15464         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
15465         finite version.
15466         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
15467         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
15468         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
15469         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
15470         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
15471         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
15472         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
15473         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
15474         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
15475         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
15476         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
15477         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
15478         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
15479         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
15480         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
15481         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
15482         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
15483         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
15484         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
15485         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
15486         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
15487         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
15488         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
15489         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
15490         in zero power.
15492 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15494         [BZ #20370]
15495         * malloc/arena.c (get_free_list): Update comment.  Assert that
15496         arenas on the free list have no attached threads.
15497         (remove_from_free_list): New function.
15498         (reused_arena): Call it.
15500 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
15502         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
15503         when it is a NaN.
15504         [_IEEE_FP_INEXACT] Remove.
15505         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
15506         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
15507         when it is a NaN.
15508         [_IEEE_FP_INEXACT] Remove.
15509         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
15510         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
15511         when it is a NaN.
15512         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
15513         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
15514         when its absolute value is greater than 0x1.0p52.
15515         [_IEEE_FP_INEXACT] Remove.
15516         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
15517         when its absolute value is greater than 0x1.0p23.
15518         [_IEEE_FP_INEXACT] Remove.
15520 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
15522         * version.h (RELEASE): Set to "development"
15523         (VERSION): Set to 2.24.90.
15524         * NEWS: Add 2.25 section.
15526         * version.h (RELEASE): Set to "stable"
15527         (VERSION): Set to 2.24.
15528         * include/features.h (__GLIBC_MINOR__): Set to 24.
15530         * NEWS: Add 2.24 fixed bugs.
15531         * po/libc.pot: Regenerate.
15533 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
15535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15536         [$(subdir) = math] (libm-sysdep_routines): Remove.
15537         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15538         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15539         s_truncf-vis3, s_trunc-vis3.
15540         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
15542         file.
15543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
15544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
15545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
15549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
15550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
15552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
15553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
15554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
15555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
15556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
15557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
15558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
15562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
15563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
15564         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
15565         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15566         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15567         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15568         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15569         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15570         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
15571         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15572         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15573         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
15574         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15575         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15576         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
15577         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
15578         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
15579         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
15580         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15581         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15582         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
15583         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
15584         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
15585         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
15587 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
15589         [BZ #20384]
15590         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
15591         test-double-libmvec-sincos-avx-main.o,
15592         test-double-libmvec-sincos-avx2-main.o,
15593         test-double-libmvec-sincos-main.o,
15594         test-float-libmvec-sincosf-avx-main.o,
15595         test-float-libmvec-sincosf-avx2-main.o and
15596         test-float-libmvec-sincosf-main.o.
15597         test-float-libmvec-sincosf-avx512-main.o.
15598         ($(objpfx)test-double-libmvec-sincos): Also link with
15599         $(objpfx)test-double-libmvec-sincos-main.o.
15600         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
15601         $(objpfx)test-double-libmvec-sincos-avx-main.o.
15602         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
15603         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
15604         ($(objpfx)test-float-libmvec-sincosf): Also link with
15605         $(objpfx)test-float-libmvec-sincosf-main.o.
15606         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
15607         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
15608         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
15609         test-double-libmvec-sincos-avx512-main.o and
15610         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
15611         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
15612         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
15613         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
15614         (CFLAGS-test-double-libmvec-sincos.c): Removed.
15615         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
15616         (CFLAGS-test-double-libmvec-sincos-main.c): New.
15617         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
15618         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
15619         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
15620         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
15621         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
15622         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
15623         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
15624         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
15625         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
15626         -DREQUIRE_AVX2.
15627         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
15628         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
15629         -DREQUIRE_AVX512F.
15630         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
15631         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
15632         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15633         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
15634         file.
15635         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
15636         Likewise.
15637         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
15638         Likewise.
15639         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
15640         Likewise.
15641         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
15642         Likewise.
15643         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
15644         Likewise.
15645         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
15646         Likewise.
15647         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
15648         Likewise.
15650 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
15652         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
15654 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
15656         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
15657         and typo in a comment about AT_HWCAP entry.
15659 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15661         * sysdeps/aarch64/libm-test-ulps: Updated.
15663 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15665         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
15666         of r13 as it is not restored in mvcle case.
15668 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
15670         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
15671         Rename "ret" to "__ret".
15672         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
15673         inline_syscall5, inline_syscall6): Likewise.
15675 2016-07-19   Will Newton  <will.newton@gmail.com>
15677         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
15678         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
15679         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
15680         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
15681         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
15683 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
15685         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
15686         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
15687         -mfpmath=387 with $(rtld-CFLAGS).
15688         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
15689         $(rtld-CFLAGS).
15691 2016-07-18   Ross Burton  <ross.burton@intel.com>
15692              Khem Raj  <raj.khem@gmail.com>
15694         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
15695         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
15696         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
15697         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
15698         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
15699         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
15700         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
15701         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
15702         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
15703         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
15704         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
15705         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
15706         R_METAG_TLS_DTPOFF): New.
15708 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15709             Matt Clay  <mclay@lycos.com>
15711         [BZ #20357]
15712         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
15713         to call __mpsin/__mpcos and to negate values.
15714         * math/auto-libm-test-in: Add test.
15715         * math/auto-libm-test-out: Regenerate.
15717 2016-07-18  Zack Weinberg  <zackw@panix.com>
15719         * grp/Makefile: Don't install the internal header grp-merge.h.
15721 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15723         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15725 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15727         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
15729 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15731         [BZ #15368]
15732         * sysdeps/unix/sysv/linux/nptl-signals.h
15733         (__nptl_clear_internal_signals): New function.
15734         (__libc_signal_block_all): Likewise.
15735         (__libc_signal_block_app): Likewise.
15736         (__libc_signal_restore_set): Likewise.
15737         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
15738         implementation.
15739         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
15740         the cached pid/tid value in pthread structure.
15742 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
15744         [BZ #20347]
15745         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
15747 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15749         [BZ #20348]
15750         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
15751         preadv64, pwrite64 and pwritev64.
15753 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15755         [BZ #20350]
15756         * posix/tst-preadwrite.c: Renamed to ...
15757         * posix/tst-preadwrite-common.c: This.
15758         (PREAD): Removed.
15759         (PWRITE): Likewise.
15760         (STRINGIFY): Likewise.
15761         (STRINGIFY2): Likewise.
15762         (do_prepare): Make it static and remove function arguments.
15763         (do_test): Likewise.
15764         (PREPARE): Updated.
15765         (TEST_FUNCTION): New.
15766         (name): Make it static.
15767         (fd): Likewise.
15768         (do_prepare): Use create_temp_file.
15769         (do_test): Renamed to ...
15770         (do_test_with_offset): This.  Make it static and accept offset.
15771         Properly check return value of PWRITE and PREAD.  Return bytes
15772         read.  Don't close fd nor unlink name.
15773         * posix/tst-preadwrite.c: Rewrite.
15774         * posix/tst-preadwrite64.c: Likewise.
15776 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
15778         [BZ #20309]
15779         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
15780         -mtls-dialect=gnu2 works.
15781         * configure: Regenerated.
15782         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
15783         (tests): Add tst-gnu2-tls1.
15784         (modules-names): Add tst-gnu2-tls1mod.
15785         ($(objpfx)tst-gnu2-tls1): New.
15786         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
15787         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
15788         * elf/tst-gnu2-tls1.c: New file.
15789         * elf/tst-gnu2-tls1mod.c: Likewise.
15790         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
15791         bytes for push in the PLT entry to align the stack.
15793 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15795         [BZ #20349]
15796         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
15798 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15800         [BZ #18707]
15801         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
15802         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
15804 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15806         * sysdeps/unix/sysv/linux/sysdep.h
15807         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
15808         guards.
15809         * misc/tst-preadvwritev-common.c: New file.
15810         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
15811         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
15812         a check for files larger than 2GB.
15814         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15815         (__ASSUME_OFF_DIFF_OFF64): Remove define.
15816         * sysdeps/unix/sysv/linux/pread.c
15817         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
15818         __OFF_T_MATCHES_OFF64_T.
15819         * sysdeps/unix/sysv/linux/pread64.c
15820         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
15821         * sysdeps/unix/sysv/linux/preadv.c
15822         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
15823         * sysdeps/unix/sysv/linux/preadv64.c
15824         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
15825         * sysdeps/unix/sysv/linux/pwrite.c
15826         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
15827         * sysdeps/unix/sysv/linux/pwrite64.c
15828         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
15829         * sysdeps/unix/sysv/linux/pwritev.c
15830         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
15831         * sysdeps/unix/sysv/linux/pwritev64.c
15832         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
15834 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
15836         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15837         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
15839 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
15841         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
15843 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
15845         [BZ #20240]
15846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
15847         (CFLAGS-s_modf-ppc32.c): New variable.
15848         (CFLAGS-s_modff-ppc32.c): Likewise.
15849         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
15850         (CFLAGS-s_modf-ppc64.c): Likewise.
15851         (CFLAGS-s_modff-ppc64.c): Likewise.
15853 2016-07-07  Andreas Schwab  <schwab@suse.de>
15855         [BZ #20263]
15856         * nptl/tst-robust10.c: New test.
15857         * nptl/Makefile (tests): Add tst-robust10.
15859 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
15861         [BZ #20263]
15862         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
15864 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15866         * sysdeps/s390/linkmap.h (struct link_map_machine):
15867         Remove member gotplt and add member jmprel.
15868         * sysdeps/s390/s390-32/dl-machine.h
15869         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
15870         instead of gotplt with &got[3].
15871         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
15872         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15874 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
15876         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
15878 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15880         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
15881         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
15882         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
15883         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
15884         * libio/vtables.c (_IO_vtable_check)
15885         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
15886         * libio/libioP.h (IO_set_accept_foreign_vtables)
15887         [!PTR_MANGLE]: Do not call PTR_MANGLE.
15889 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
15891         [BZ #20314]
15892         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
15893         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
15894         $(common-objpfx)cmath.
15895         ($(common-objpfx)cstdlib): New target.
15896         ($(common-objpfx)cmath): Likewise.
15898 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
15900         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
15902 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15904         [BZ #20327]
15905         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
15906         are not part of the string.
15908 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15910         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
15911         * nptl/tst-cancel4-common.h (fifoname): New variable.
15912         (fifofd): Likewise.
15913         (cl_fifo): New function.
15914         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
15915         SIGINT.
15916         (tf_open): Add early cancel test.
15918 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15920         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
15922 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
15924         * sysdeps/generic/ldsodefs.h
15925         (dl_symbol_visibility_binds_local_p): New inline function.
15926         * elf/dl-addr.c (determine_info): Treat hidden and internal
15927         symbols as local.
15928         * elf/dl-lookup.c (do_lookup_x): Likewise.
15929         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
15931 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
15933         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
15934         invalid exception for a sNaN input.
15935         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15936         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15937         (__nearbyint_vis3): Likewise
15938         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15939         (__nearbyintf_vis3): Likewise
15940         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
15941         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
15942         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
15943         Likewise.
15944         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
15945         Likewise.
15947 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
15949         [BZ #20139]
15950         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
15951         (HAVE_AVX512DQ_ASM_SUPPORT): This.
15952         * sysdeps/x86_64/configure.ac: Require assembler from binutils
15953         2.24 or above.
15954         (HAVE_AVX512_ASM_SUPPORT): Removed.
15955         (HAVE_AVX512DQ_ASM_SUPPORT): New.
15956         * sysdeps/x86_64/configure: Regenerated.
15957         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
15958         check unconditional.
15959         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15960         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15961         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15962         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
15963         Likewise.
15964         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15965         Likewise.
15966         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
15967         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
15968         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15969         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15970         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
15971         Likewise.
15972         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15973         Likewise.
15974         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15975         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15976         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
15977         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
15978         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
15979         Likewise.
15980         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
15981         Likewise.
15982         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
15983         Likewise.
15984         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
15985         Likewise.
15986         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
15987         Likewise.
15988         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
15989         Likewise.
15990         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
15991         Likewise.
15992         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
15993         Likewise.
15994         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
15995         Likewise.
15996         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
15997         Likewise.
15998         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
15999         Likewise.
16001 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
16003         [BZ #20024]
16004         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
16005         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
16006         of this implementation of vector function.
16007         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16008         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16009         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
16010         Likewise.
16011         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16012         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16013         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
16014         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
16015         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
16016         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
16017         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
16018         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
16019         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
16020         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
16021         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
16022         for testing vector sincos with fixed ABI.
16023         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16024         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16025         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16026         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16027         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16028         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16029         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16030         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
16031         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
16032         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
16033         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
16034         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
16035         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
16036         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
16037         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
16038         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16040 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16042         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
16044 2016-06-30  Anton Blanchard  <anton@samba.org>
16046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16047         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
16048         s_sinf-ppc64.
16049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
16050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
16051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
16052         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
16054 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16057         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16058         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
16059         e_expf-ppc64.
16060         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
16061         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
16062         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
16063         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
16065 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
16067         [BZ #20277]
16068         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
16069         when SHARED is defined.
16071 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
16073         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
16074         (index_arch_Prefer_ERMS): Likewise.
16075         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
16076         __memcpy_erms for Prefer_ERMS.
16077         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16078         (__memmove_erms): Enabled for libc.a.
16079         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
16080         __memmove_erms or Prefer_ERMS.
16081         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
16082         __mempcpy_erms for Prefer_ERMS.
16083         * sysdeps/x86_64/multiarch/memset.S (memset): Return
16084         __memset_erms for Prefer_ERMS.
16086 2016-06-30  Andreas Schwab  <schwab@suse.de>
16088         [BZ #20262]
16089         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
16090         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
16091         of memory.
16093 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
16095         [BZ #18645]
16096         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
16097         (test-extras): Add tst-cleanupx4aux.
16098         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
16099         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
16100         tst-cleanupx4aux.o.
16101         * nptl/tst-cleanupx4aux.c: New file.
16103 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16105         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16107 2016-06-29  Andreas Schwab  <schwab@suse.de>
16109         [BZ #20260]
16110         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
16111         address before the beginning of the string as an integer to avoid
16112         array-bounds warning.
16114 2016-06-28  Richard Henderson  <rth@redhat.com>
16116         * elf/elf.h (EM_BPF): New.
16117         (EM_NUM): Update.
16118         (R_BPF_NONE, R_BPF_MAP_FD): New.
16120         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
16121         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
16122         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
16123         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
16124         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
16125         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
16126         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
16127         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
16128         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
16129         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
16130         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
16131         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
16132         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
16133         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
16134         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
16135         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
16136         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
16137         (EM_NUM): Update.
16139 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
16141         [BZ #18960]
16142         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
16143         Set _nl_current_LC_CATEGORY_used to two instead of one.
16145 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
16147         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
16148         (do_test): ... this.
16149         (TEST_FUNCTION): New macro.
16150          Include test-skeleton.c.
16151         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
16152         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
16154 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
16156         [BZ #15479]
16157         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
16158         floating-point environment rather than just control word.
16159         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16160         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
16161         floating-point environment, with "invalid" exceptions merged in,
16162         rather than just control word.
16163         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
16164         * math/libm-test.inc (trunc_test_data): Do not allow spurious
16165         "inexact" exceptions.
16167         [BZ #15479]
16168         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
16169         floating-point environment rather than just control word.
16170         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16171         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
16172         floating-point environment, with "invalid" exceptions merged in,
16173         rather than just control word.
16174         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
16175         * math/libm-test.inc (floor_test_data): Do not allow spurious
16176         "inexact" exceptions.
16178         [BZ #15479]
16179         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
16180         floating-point environment rather than just control word.
16181         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16182         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
16183         floating-point environment, with "invalid" exceptions merged in,
16184         rather than just control word.
16185         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
16186         * math/libm-test.inc (ceil_test_data): Do not allow spurious
16187         "inexact" exceptions.
16189 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
16191         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
16192         __libc_vfork.
16193         (__vfork) [IS_IN (libc)]: Remove alias.
16194         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
16195         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16196         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16198 2016-06-24  Torvald Riegel  <triegel@redhat.com>
16200         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
16201         of atomic_compare_and_exchange_bool_rel.
16202         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16203         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
16204         catomic_compare_and_exchange_bool_rel): Remove.
16205         * sysdeps/aarch64/atomic-machine.h
16206         (atomic_compare_and_exchange_bool_rel): Likewise.
16207         * sysdeps/alpha/atomic-machine.h
16208         (atomic_compare_and_exchange_bool_rel): Likewise.
16209         * sysdeps/arm/atomic-machine.h
16210         (atomic_compare_and_exchange_bool_rel): Likewise.
16211         * sysdeps/mips/atomic-machine.h
16212         (atomic_compare_and_exchange_bool_rel): Likewise.
16213         * sysdeps/microblaze/atomic-machine.h
16214         ( __arch_compare_and_exchange_bool_8_rel,
16215         __arch_compare_and_exchange_bool_16_rel): Likewise.
16216         * sysdeps/powerpc/atomic-machine.h
16217         ( __arch_compare_and_exchange_bool_8_rel,
16218         __arch_compare_and_exchange_bool_16_rel): Likewise.
16219         * sysdeps/powerpc/powerpc32/atomic-machine.h
16220         ( __arch_compare_and_exchange_bool_32_rel,
16221         __arch_compare_and_exchange_bool_64_rel): Likewise.
16222         * sysdeps/powerpc/powerpc64/atomic-machine.h
16223         ( __arch_compare_and_exchange_bool_32_rel,
16224         __arch_compare_and_exchange_bool_64_rel): Likewise.
16225         * sysdeps/tile/atomic-machine.h
16226         (atomic_compare_and_exchange_bool_rel): Likewise.
16228 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
16230         [BZ #20296]
16231         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
16232         when either argument is a NaN.
16233         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16234         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
16236         * math/libm-test.inc (snan_value_ld): New macro.
16237         (isgreater_test_data): Add sNaN tests.
16238         (isgreaterequal_test_data): Likewise.
16239         (isless_test_data): Likewise.
16240         (islessequal_test_data): Likewise.
16241         (islessgreater_test_data): Likewise.
16242         (isunordered_test_data): Likewise.
16243         (nextafter_test_data): Likewise.
16244         (nexttoward_test_data): Likewise.
16245         (remainder_test_data): Likewise.
16246         (remquo_test_data): Likewise.
16247         (significand_test_data): Likewise.
16248         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
16250 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16252         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
16253         environment macros are defined.
16254         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
16256 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16258         [BZ #20191]
16259         Implement vtable verification in libio.
16260         * Makerules (shlib.lds): Place __libc_IO_vtables section.
16261         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
16262         * debug/vdprintf_chk.c (__vdprintf_chk): Call
16263         _IO_new_file_init_internal instead of _IO_file_init.
16264         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
16265         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
16266         * libio/Makefile (routines): Add vtables.
16267         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
16268         (_IO_init): Remove, not for internal use.
16269         (_IO_init_internal): Declare, internal replacement for _IO_init.
16270         (_IO_file_init): Remove, not for internal use.
16271         (_IO_new_file_init): Remove, not for internal use.
16272         (_IO_new_file_init_internal): Declare, internal replacement for
16273         _IO_new_file_init.
16274         (_IO_old_file_init): Remove, not for internal use.
16275         (_IO_old_file_init_internal): Declare, internal replacement for
16276         _IO_old_file_init.
16277         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
16278         internal use.
16279         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
16280         Declare.
16281         (libio_vtable): New macro.
16282         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
16283         functions.
16284         * libio/fileops.c (_IO_new_file_init_internal): Rename from
16285         _IO_new_file_init.
16286         (_IO_new_file_init): New externally visible wrapper which disables
16287         vtable verification.
16288         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
16289         Define as vtables.
16290         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
16291         (_IO_init): New externally visible wrapper which disables
16292         vtable verification.
16293         * libio/iofdopen.c (_IO_new_fdopen): Call
16294         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
16295         comment.
16296         * libio/iofopen.c (__fopen_internal): Call
16297         _IO_new_file_init_internal instead of _IO_file_init.
16298         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
16299         Define as vtables.
16300         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
16301         _IO_new_file_init_internal instead of _IO_file_init.
16302         * libio/iopopen.c (_IO_new_popen): Likewise.
16303         (_IO_proc_jumps): Define as vtable.
16304         * libio/iovdprintf.c (_IO_vdprintf): Call
16305         _IO_new_file_init_internal instead of _IO_file_init.
16306         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
16307         (__open_memstream): Call _IO_init_internal instead of _IO_init.
16308         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
16309         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
16310         _IO_old_file_init.
16311         (_IO_old_file_init): New externally visible wrapper which disables
16312         vtable verification.
16313         (_IO_old_file_jumps): Define as vtable.
16314         * libio/oldiofdopen.c (_IO_old_fdopen): Call
16315         _IO_old_file_init_internal instead of _IO_old_file_init.
16316         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16317         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16318         (_IO_old_proc_jumps): Define as vtable.
16319         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
16320         Define as vtables.
16321         * libio/vtables.c: New file.
16322         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
16323         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
16324         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
16325         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
16326         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
16327         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
16328         instead of _IO_init.
16330 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16332         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
16334 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16336         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
16337         potentially unused.
16339 2016-06-22  Florian Weimer  <fweimer@redhat.com>
16341         * test-skeleton.c (write_message): New function.
16342         * malloc/tst-mallocfork2.c (write_message): Remove.
16343         * debug/tst-longjmp_chk2.c (write_indented): New function.
16344         (write_message): Remove.
16345         (stackoverflow_handler): Call write_indented.
16347 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
16349         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
16350         "inexact" exceptions after fnstenv.
16351         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16352         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16353         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16355 2015-06-22  Zack Weinberg  <zackw@panix.com>
16357         * sysdeps/generic/bits/hwcap.h: Moved to ...
16358         * bits/hwcap.h: Here.
16360 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
16362         * sysdeps/aarch64/memcpy.S (memcpy):
16363         Further tuning for performance.
16365 2016-06-21  Florian Weimer  <fweimer@redhat.com>
16367         [BZ #20284]
16368         * malloc/arena.c (reused_arena): Do not return NULL if we start
16369         out with a non-corrupted arena.
16371 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16373         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
16374         * misc/tst-preadvwritev.c: New file.
16375         * misc/tst-preadvwritev64.c: Likewise.
16376         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
16377         usage.
16378         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
16379         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
16380         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
16381         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
16383 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
16385         [BZ #19654]
16386         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16387         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
16388         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
16389         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
16390         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
16391         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
16392         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
16393         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
16394         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
16395         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
16396         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
16397         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
16398         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
16399         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
16400         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
16401         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
16402         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
16403         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
16404         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
16405         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
16406         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
16407         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
16408         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
16409         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
16410         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
16411         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
16413 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16415         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
16416         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
16418 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16420         * sysdeps/aarch64/memcpy.S (memcpy):
16421         Rewrite of optimized memcpy and memmove.
16422         * sysdeps/aarch64/memmove.S (memmove): Remove
16423         memmove code (merged into memcpy.S).
16425 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16427         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
16428         * sysdeps/generic/dl-dtv.h: New file.
16429         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16430         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
16431         (dtv_t): Remove.
16432         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16433         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
16434         (dtv_t): Remove.
16435         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16436         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
16437         (dtv_t): Remove.
16438         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16439         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
16440         (dtv_t): Remove.
16441         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16442         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
16443         (dtv_t): Remove.
16444         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16445         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
16446         (dtv_t): Remove.
16447         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16448         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
16449         (dtv_t): Remove.
16450         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
16451         (dtv_t): Remove.
16452         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16453         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
16454         (dtv_t): Remove.
16455         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16456         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
16457         (dtv_t): Remove.
16458         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16459         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
16460         (dtv_t): Remove.
16461         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16462         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
16463         (dtv_t): Remove.
16464         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16465         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
16466         (dtv_t): Remove.
16467         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16468         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
16469         (dtv_t): Remove.
16470         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16471         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
16472         (dtv_t): Remove.
16473         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16474         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
16475         (dtv_t): Remove.
16477 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16479         Revert symbol poisoning of  __malloc_initialize_hook.
16480         * include/stdc-predef.h (__malloc_initialize_hook): Remove
16481         poisoning.
16482         * malloc/Makefile: Remove un-poisoning.
16483         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
16484         instead of old__malloc_initialize_hook.
16485         * malloc/malloc-hooks.h: Likewise.
16486         * malloc/malloc.c: Likewise.
16487         * malloc/mcheck-init.c: Likewise.
16489 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
16491         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
16493 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
16495         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
16496         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
16497         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16498         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16500 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16502         * NEWS: Mention addition of nextup and nextdown.
16503         * manual/arith.texi: Document nextup and nextdown.
16504         * manual/libm-err-tab.pl: Add nextup and nextdown.
16505         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
16506         * math/Versions (libm): Add GLIBC_2.24.
16507         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
16508         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
16509         Add new test.
16510         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
16511         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
16512         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
16513         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
16514         (nextup_test_data): Likewise.
16515         (nextdown_test_data): Likewise.
16516         * math/s_nextdown.c: New file.
16517         * math/s_nextdownf.c: Likewise.
16518         * math/s_nextdownl.c: Likewise.
16519         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
16520         F(nextup): New function.
16521         F(nextdown): Likewise.
16522         * math/tgmath.h: Add nextup and nextdown.
16523         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
16524         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
16525         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16526         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16527         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16528         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
16529         Add nextup and nextdown.
16530         (CFLAGS-nldbl-nextup.c): New variable.
16531         (CFLAGS-nldbl-nextdown.c): Likewise.
16532         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
16533         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
16534         * sysdeps/nacl/libm.abilist: Update.
16535         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16536         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16537         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16538         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16539         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16540         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16541         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16542         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16543         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16544         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16545         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16546         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16549         Likewise.
16550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16552         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16553         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16554         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16555         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16556         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
16558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
16559         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16560         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16561         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16562         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16564 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16566         * manual/pattern.texi: Fix typos & grammar errors.
16568 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16570         * manual/search.texi: Fix typos & grammar errors.
16572 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16574         * manual/message.texi: Fix typos & grammar errors.
16576 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
16578         * manual/contrib.texi: Fix spelling typos.
16579         * manual/crypt.texi: Likewise.
16580         * manual/filesys.texi: Likewise.
16581         * manual/locale.texi: Likewise.
16582         * manual/message.texi: Likewise.
16583         * manual/nss.texi: Likewise.
16584         * manual/string.texi: Likewise.
16586 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16588         * manual/locale.texi: Fix typos & grammar errors.
16590 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16592         * manual/charset.texi: Fix typos & grammar errors.
16594 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16596         * manual/string.texi: Fix typos.
16598 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16600         * manual/ctype.texi: Fix typos.
16602 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16604         * manual/memory.texi: Fix various typos & grammar errors.
16606 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
16608         [BZ #20255]
16609         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
16610         * math/libm-test.inc (fdim_test_data): Add another test.
16612         [BZ #6796]
16613         [BZ #20255]
16614         [BZ #20256]
16615         * math/s_fdim.c: Include <math_private.h>.
16616         (__fdim): Use math_narrow_eval on result.
16617         * math/s_fdimf.c: Include <math_private.h>.
16618         (__fdimf): Use math_narrow_eval on result.
16619         * sysdeps/i386/fpu/s_fdim.S: Remove file.
16620         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
16621         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
16622         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
16623         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
16624         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
16625         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
16626         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
16627         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
16628         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
16629         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
16630         * math/libm-test.inc (fdim_test_data): Expect errno setting on
16631         overflow.  Add sNaN tests.
16633         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
16634         fpclassify.
16635         * math/s_fdimf.c (__fdimf): Likewise.
16636         * math/s_fdiml.c (__fdiml): Likewise.
16638 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16640         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16641         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
16642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16643         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16644         ifunc'ed strcasecmp/strncasecmp.
16645         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
16646         [EALIGN]: Removed.
16647         [END]: Likewise.
16648         [__strcasecmp]: Define instead of the above to control symbol name.
16649         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
16650         for __strcasecmp_power8.
16651         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
16652         for __strncasecmp_power8.
16653         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
16654         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
16655         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
16656         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
16657         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
16658         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
16660 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
16662         [BZ #20252]
16663         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
16664         arguments when second argument is a NaN.
16665         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
16666         qNaN tests.
16668         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
16669         (conj_test_data): Likewise.
16670         (copysign_test_data): Likewise.
16671         (creal_test_data): Likewise.
16672         (fma_test_data): Likewise.
16673         (fmod_test_data): Likewise.
16675         [BZ #20250]
16676         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
16677         itself.
16678         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
16679         zero input to itself.
16680         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
16681         Likewise.
16682         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
16683         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
16684         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16685         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
16686         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
16688 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16690         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
16691         * nptl/tst-cancel4-common.c: New file.
16692         * nptl/tst-cancel4-common.h: Likewise.
16693         * nptl/tst-cancel4.c: Move common definitions to
16694         tst-cancel4-common.{c,h} file.
16695         * nptl/tst-cancel4_1.c: New test.
16696         * nptl/tst-cancel4_2.c: New test.
16698 2016-06-13  Florian Weimer  <fweimer@redhat.com>
16700         [BZ #20248]
16701         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
16702         (write_message): New function.
16703         (stackoverflow_handler): Call it instead of printf, to avoid
16704         excessive stack usage by printf.
16705         (do_test): Restore SIGSEGV, SIGBUS default handlers.
16707 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16709         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
16710         (prio_inherit_missing): Remove define.
16711         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16712         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16713         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
16714         Likewise.
16715         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16716         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16717         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16718         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16719         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16720         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16722 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16724         [BZ #19670]
16725         [BZ #19672]
16727         * io/test-lfs.c (do_prepare): Use xmalloc.
16728         * io/tst-fcntl.c (do_prepare): Likewise.
16729         * libio/tst-fopenloc.c (do_bz17916): Likewise.
16730         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
16731         * login/tst-utmp.c (do_prepare): Likewise.
16732         * posix/tst-exec.c (do_prepare): Likewise.
16733         * posix/tst-pathconf.c (prepare): Likewise.
16734         * posix/tst-spawn.c (do_prepare): Likewise.
16735         * posix/tst-truncate.c (do_prepare): Likewise.
16736         * rt/tst-aio.c (do_prepare): Likewise.
16737         * rt/tst-aio64.c (do_prepare): Likewise.
16739 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16741         [BZ #20237]
16742         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
16743         (get*ent): Set entidx to NULL during initialization.  If entidx is
16744         NULL, start iteration from the beginning.
16746 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16748         * malloc/malloc.c (musable): Return correct size for dumped fake
16749         mmapped chunk.
16751 2016-06-11  Florian Weimer  <fweimer@redhat.com>
16753         [BZ #20222]
16754         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
16755         (_IO_cookie_write): Likewise.
16756         (_IO_cookie_seek): Likewise.
16757         (_IO_cookie_close): Likewise.
16758         (_IO_old_cookie_seek): Likewise.
16759         (set_callbacks): New function.
16760         (_IO_cookie_init): Call set_callbacks to copy callbacks.
16762 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
16764         * locale/programs/localedef.c (oldstyle_tables): Remove.
16765         * locale/programs/localedef.h (oldstyle_tables): Likewise.
16767 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
16769         [BZ #20240]
16770         * math/Makefile (CFLAGS-s_modf.c): New variable.
16771         (CFLAGS-s_modff.c): Likewise.
16772         (CFLAGS-s_modfl.c): Likewise.
16773         * math/libm-test.inc (modf_test_data): Add sNaN tests.
16775 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
16777         [BZ #20215]
16778         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
16779         [!__GNUC_PREREQ (3,2)]: Likewise.
16781 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
16783         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
16784         (msghdr.msg_controllen): Likewise.
16785         (cmsghdr.cmsg_len): Likewise.
16786         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
16787         ptw-oldsendmsg.
16788         (CFLAGS-oldrecvmsg.c): Remove rule.
16789         (CFLAGS-oldsendmsg.c): Likewise.
16790         (CFLAGS-recvmsg.c): Add rule.
16791         (CFLAGS-sendmsg.c): Likewise.
16792         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
16793         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
16794         (CFLAGS-recvmsg.c): Remove rule.
16795         (CFLAGS-sendmsg.c): Likewise.
16796         (CFLAGS-oldrecvmsg.c): Likewise.
16797         (CFLAGS-oldsendmsg.c): Likewise.
16798         (CFLAGS-recvmmsg.c): Likewise.
16799         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
16800         to kernel defined interfaces.
16801         (msghdr.msg_controllen): Likewise.
16802         (cmsghdr.cmsg_len): Likewise.
16803         (msghdr.__glibc_reserved1): Remove member.
16804         (msghdr.__glibc_reserved2): Likewise.
16805         (cmsghdr.__glibc_reserved1): Likewise.
16806         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
16807         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
16808         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
16809         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
16810         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
16811         version.
16812         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16813         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
16814         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16815         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
16816         Remove recvmsg and sendmsg.
16817         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
16818         Likewise.
16819         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
16820         Likewise.
16821         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
16822         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
16823         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
16824         Likewise.
16825         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
16826         Likewise.
16827         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
16828         [libc] (GLIBC_2.24): Likewise.
16829         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
16830         Likewise.
16831         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
16832         Likewise.
16833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16834         [libc] (GLIBC_2.24): Likewise.
16835         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
16836         Likewise.
16837         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
16838         Likewise.
16839         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
16840         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
16841         Likewise.
16842         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
16843         Likewise.
16844         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
16845         Likewise.
16846         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
16847         Likewise.
16848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
16849         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
16850         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
16851         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
16852         version for {recv,send,recm,sendm}msg.
16853         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16854         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16855         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16856         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16857         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16858         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16859         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16860         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16861         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16862         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16863         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16864         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16866         Likewise.
16867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16868         Likewise.
16869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16871         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16872         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16873         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16874         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16875         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16876         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16879         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16880         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16881         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16883 2016-06-10  Florian Weimer  <fweimer@redhat.com>
16885         [BZ #19564]
16886         Remove __malloc_initialize_hook from the API.
16887         * malloc/malloc.h (__malloc_initialize_hook): Remove.
16888         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
16889         #pragma GCC poison.
16890         * malloc/malloc-hooks.h: New file.
16891         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
16892         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
16893         (old__malloc_initialize_hook): Rename from
16894         __malloc_initialize_hook to evade poisoning.  Turn into compat
16895         symbol.
16896         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
16897         __malloc_initialize_hook.
16898         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
16899         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
16900         * manual/memory.texi (Hooks for Malloc): Remove
16901         __malloc_initialize_hook.  Adjust hook example.
16903 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
16905         [BZ #20235]
16906         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
16907         itself.
16908         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16909         * math/libm-test.inc (log2_test_data): Add sNaN tests.
16911         [BZ #20234]
16912         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
16913         infinity or NaN input to itself.
16915         [BZ #20233]
16916         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
16917         to itself.
16919         [BZ #20232]
16920         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
16921         itself.
16923 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
16925         * sysdeps/x86_64/start.S (_start): Always indirect branch to
16926         __libc_start_main via GOT.
16928 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
16930         * sysdeps/x86_64/memcopy.h: New file.
16931         * sysdeps/x86_64/wordcopy.c: Likewise.
16933 2016-06-09  Florian Weimer  <fweimer@redhat.com>
16935         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
16936         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
16937         <cstdlib>.
16938         (optimization_barrier): New.
16939         (do_test): Use it.  Call quick_exit in the global namespace.
16940         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
16941         instead of <cstdlib>, <thread>.
16942         (optimization_barrier): New.
16943         (non_main_thread): Adjust declaration.  Call optimization_barrier.
16944         Call quick_exit in the global namespace.
16945         (do_test): Call optimization_barrier.  Use pthread_create,
16946         pthread_join instead of std::thread.
16948 2016-06-09  Andreas Schwab  <schwab@suse.de>
16950         [BZ #19755]
16951         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
16952         new entries in auto-propagate mode.
16953         * nscd/grpcache.c (cache_addgr): Likewise.
16955 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
16957         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
16958         New functions.
16959         (add_temp_file): Use them.
16961 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
16963         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
16965 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
16967         [BZ #20229]
16968         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
16969         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
16970         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
16972         [BZ #20228]
16973         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
16974         itself.
16975         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16976         * math/libm-test.inc (log10_test_data): Add sNaN tests.
16978         [BZ #20227]
16979         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
16980         itself.
16981         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16982         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16983         * math/libm-test.inc (log_test_data): Add sNaN tests.
16985         [BZ #20226]
16986         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
16987         itself.
16988         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16989         * math/libm-test.inc (exp_test_data): Add sNaN tests.
16990         (exp10_test_data): Likewise.
16991         (expm1_test_data): Likewise.
16993         [BZ #20225]
16994         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
16995         itself.
16996         * math/s_ldexpf.c (__ldexpf): Likewise.
16997         * math/s_ldexpl.c (__ldexpl): Likewise.
16998         * math/w_scalbln.c (__w_scalbln): Likewise.
16999         * math/w_scalblnf.c (__w_scalblnf): Likewise.
17000         * math/w_scalblnl.c (__w_scalblnl): Likewise.
17001         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
17002         (scalbln_test_data): Likewise.
17004         [BZ #20224]
17005         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
17006         argument to itself.
17007         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
17009 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
17011         [BZ #19776]
17012         * sysdeps/x86_64/memcpy.S: Make it dummy.
17013         * sysdeps/x86_64/mempcpy.S: Likewise.
17014         * sysdeps/x86_64/memmove.S: New file.
17015         * sysdeps/x86_64/memmove_chk.S: Likewise.
17016         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17017         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17018         * sysdeps/x86_64/memmove.c: Removed.
17019         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17020         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17021         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
17022         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17023         Likewise.
17024         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17025         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17026         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17027         memcpy-sse2-unaligned, memmove-avx-unaligned,
17028         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
17029         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17030         (__libc_ifunc_impl_list): Replace
17031         __memmove_chk_avx512_unaligned_2 with
17032         __memmove_chk_avx512_unaligned.  Remove
17033         __memmove_chk_avx_unaligned_2.  Replace
17034         __memmove_chk_sse2_unaligned_2 with
17035         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
17036         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
17037         with __memmove_avx512_unaligned.  Replace
17038         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
17039         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
17040         with __memcpy_chk_avx512_unaligned.  Remove
17041         __memcpy_chk_avx_unaligned_2.  Replace
17042         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
17043         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
17044         Replace __memcpy_avx512_unaligned_2 with
17045         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
17046         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
17047         with __mempcpy_chk_avx512_unaligned.  Remove
17048         __mempcpy_chk_avx_unaligned_2.  Replace
17049         __mempcpy_chk_sse2_unaligned_2 with
17050         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
17051         Replace __mempcpy_avx512_unaligned_2 with
17052         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
17053         Replace __mempcpy_sse2_unaligned_2 with
17054         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
17055         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
17056         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
17057         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
17058         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
17059         (ENTRY): Removed.
17060         (END): Likewise.
17061         (ENTRY_CHK): Likewise.
17062         (libc_hidden_builtin_def): Likewise.
17063         Don't include ../memcpy.S.
17064         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
17065         __memcpy_chk_avx512_unaligned_erms and
17066         __memcpy_chk_avx512_unaligned.  Use
17067         __memcpy_chk_avx_unaligned_erms and
17068         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
17069         Default to __memcpy_chk_sse2_unaligned.
17070         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17071         Change function suffix from unaligned_2 to unaligned.
17072         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
17073         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
17074         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
17075         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
17076         (ENTRY): Removed.
17077         (END): Likewise.
17078         (ENTRY_CHK): Likewise.
17079         (libc_hidden_builtin_def): Likewise.
17080         Don't include ../mempcpy.S.
17081         (mempcpy): New.  Add a weak alias.
17082         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
17083         __mempcpy_chk_avx512_unaligned_erms and
17084         __mempcpy_chk_avx512_unaligned.  Use
17085         __mempcpy_chk_avx_unaligned_erms and
17086         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
17087         Default to __mempcpy_chk_sse2_unaligned.
17089 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
17091         [BZ #19881]
17092         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
17093         into ...
17094         * sysdeps/x86_64/memset.S: This.
17095         (__bzero): Removed.
17096         (__memset_tail): Likewise.
17097         (__memset_chk): Likewise.
17098         (memset): Likewise.
17099         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
17100         defined.
17101         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
17102         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
17103         (__memset_zero_constant_len_parameter): Check SHARED instead of
17104         PIC.
17105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17106         memset-avx2 and memset-sse2-unaligned-erms.
17107         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17108         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
17109         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
17110         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17111         (__bzero): Enabled.
17112         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
17113         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
17114         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
17115         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
17116         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17117         (memset): Removed.
17118         (__memset_chk): Likewise.
17119         (MEMSET_SYMBOL): New.
17120         (libc_hidden_builtin_def): Replace __memset_sse2 with
17121         __memset_sse2_unaligned.
17122         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
17123         __memset_chk_sse2 and __memset_chk_avx2 with
17124         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
17125         Use __memset_chk_sse2_unaligned_erms or
17126         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
17127         __memset_chk_avx512_unaligned_erms and
17128         __memset_chk_avx512_unaligned.
17130 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17132         * math/gen-auto-libm-test.c (fp_format_desc): remove
17133         suffix member.
17134         (output_generic_value): Remove usage of suffix member,
17135         and the resulting unuse of the fp_format argument.
17136         (output_for_one_input_case): Remove unused fp_format
17137         parameter.
17139         * math/auto-libm-test-out: Regenerate.
17141         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
17142         usage with TEST_COND_ibm128.
17143         (TEST_COND_flt_32): Remove.
17144         (TEST_COND_dbl_64): Remove.
17145         (TEST_COND_ldbl_96_intel): Remove.
17146         (TEST_COND_ldbl_96_m68k): Remove.
17147         (TEST_COND_ldbl_128): Remove.
17149 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17151         * auto-libm-test-in:
17152         Replace flt-32 usage with binary32.
17153         Replace dbl-64 usage with binary64.
17154         Replace ldbl-intel-96 usage with intel96.
17155         Replace ldbl-m68k-96 usage with m68k96.
17156         Replace ldbl-128ibm usage with ibm128.
17157         Replace ldbl-128 usage with binary128.
17159         * auto-libm-test-out: Regenerate.
17161 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17163         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
17164         (parse_ulps): Dynamically generate type name matching
17165         string from all_floats.
17166         (get_ulps): Generate the ulps as an array instead.
17167         (output_ulps): Dynamically compose the type based
17168         on the number of supported formats, and print
17169         the indices as type specific helper macros.
17171         * math/libm-test.inc: Remove comment about CHOOSE.
17172         (ulp_data): Generate the type in libm-test-ulps.h.
17173         (ULP_IDX): New macro.
17174         (find_ulps): Update usage of max_ulp.
17176         * math/test-double-vlen2.h (CHOOSE): Remove.
17177         * math/test-double-vlen4.h (CHOOSE): Likewise.
17178         * math/test-double-vlen8.h (CHOOSE): Likewise.
17179         * math/test-float.c (CHOOSE): Likewise.
17180         * math/test-float-finite.c (CHOOSE): Likewise.
17181         * math/test-double.c (CHOOSE): Likewise.
17182         * math/test-double-finite.c (CHOOSE): Likewise.
17183         * math/test-idouble.c (CHOOSE): Likewise.
17184         * math/test-ifloat.c (CHOOSE): Likewise.
17185         * math/test-ildoubl.c (CHOOSE): Likewise.
17186         * math/test-ldouble-finite.c (CHOOSE): Likewise.
17187         * math/test-ldouble.c (CHOOSE): Likewise.
17189         * math/test-float.h (TEST_FLOAT): Remove.
17190         * math/test-double.h (TEST_DOUBLE): Likewise.
17191         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
17193 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17195         * math/gen-libm-test.pl: (apply_lit): New subroutine.
17196         (parse_args): Strip C suffix from floating point literals
17197         typed with 'f' and wrap them with LIT().
17199         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
17200         (test_ff_f_data_nexttoward): Rename to
17201         (test_fj_f_data): New struct.
17202         (nexttoward_test_data): Relabel tests as
17203         TEST_fj_f instead of TEST_ff_f.
17205 2016-06-08  Florian Weimer  <fweimer@redhat.com>
17207         Emacs bug 23726.
17208         * malloc/malloc.c (dumped_main_arena_start): Update comment.
17209         (__libc_realloc): Correct size computation for dumped fake mmapped
17210         chunks.
17212 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
17214         [BZ #20219]
17215         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
17216         to itself.
17217         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
17219         [BZ #20218]
17220         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
17221         to itself.
17222         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
17224 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
17226         [BZ #20195]
17227         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
17228         check to ...
17229         (init_cpu_features): Here.
17231 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
17233         [BZ #20214]
17234         * sysdeps/unix/sysv/linux/bits/in.h
17235         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
17236          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
17237         Define to 1.
17238         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
17239          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
17240         Define to 0.
17241         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
17242         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
17244 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
17246         [BZ #20198]
17247         * stdlib/Makefile (tests): Add tst-quick_exit, and
17248         tst-thread-quick_exit.
17249         [ifeq ($(have-cxx-thread_local),yes)]
17250         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
17251         (CFLAGS-tst-thread-quick_exit.o): Likewise.
17252         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
17253         (LDLIBS-tst-thread-quick_exit): Likewise.
17254         [ifneq ($(have-cxx-thread_local),yes)]
17255         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
17256         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
17257         If run_dtors is true call __call_tls_dtors.
17258         (exit): Call __run_exit_handlers with run_dtors set to true.
17259         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
17260         definition.
17261         * stdlib/quick_exit.c (quick_exit): Remove function.
17262         (__new_quick_exit): New function.
17263         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
17264         function.
17265         * stdlib/tst-quick_exit.cc: New file.
17266         * stdlib/tst-thread-quick_exit.cc: New file.
17267         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
17268         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
17269         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
17270         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
17271         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
17272         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
17273         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
17274         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
17275         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
17276         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
17277         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
17278         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
17279         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
17280         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
17281         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
17282         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
17284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
17285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
17286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
17287         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
17288         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
17289         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
17290         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
17291         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
17292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
17293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
17294         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
17295         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
17296         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
17298 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
17300         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
17301         a typo in comments.
17303 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17305         [BZ #20213]
17306         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
17307         argument to itself.
17308         * math/libm-test.inc (asin_test_data): Add sNaN tests.
17310 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17312         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
17313         required flags.
17314         (CFLAGS-pwritev64.c): Likewise.
17315         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
17316         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17317         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
17318         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17319         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
17320         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
17321         syscall from auto-generation.
17322         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
17323         [WORDSIZE == 64] (pwritev64): Remove macro.
17324         [!PWRITEV] (PWRITEV): Likewise.
17325         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17326         [!PWRITEV] (PWRITE): Likewise.
17327         [!PWRITEV] (OFF_T): Likewise.
17328         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17329         (LO_HI_LONG): Remove macro.
17330         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
17331         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
17332         (PWRITEV): Remove macro.
17333         (PWRITEV_REPLACEMENTE): Likewise.
17334         (PWRITE): Likewise.
17335         (OFF_T): Likewise.
17336         (pwritev64): New function.
17337         * nptl/tst-cancel4.c (tf_writev): Add test.
17339         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
17340         required flags.
17341         (CFLAGS-preadv64.c): Likewise.
17342         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
17343         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17344         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
17345         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
17346         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
17347         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
17348         syscall from auto-generation.
17349         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
17350         [WORDSIZE == 64] (preadv64): Remove macro.
17351         [!PREADV] (PREADV): Likewise.
17352         [!PREADV] (PREADV_REPLACEMENT): Likewise.
17353         [!PREADV] (PREAD): Likewise.
17354         [!PREADV] (OFF_T): Likewise.
17355         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
17356         (LO_HI_LONG): Remove macro.
17357         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
17358         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
17359         (PREADV): Remove macro.
17360         (PREADV_REPLACEMENTE): Likewise.
17361         (PREAD): Likewise.
17362         (OFF_T): Likewise.
17363         (preadv64): New function.
17364         * nptl/tst-cancel4.c (tf_preadv): Add test.
17366 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17368         [BZ #20212]
17369         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
17370         argument to itself.
17371         * math/libm-test.inc (acos_test_data): Add sNaN tests.
17373 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17375         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
17376         New symbol defined as libc_hidden_def.
17377         (strcasestr): Became a weak alias to __strcasestr.
17378         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
17379         according to multi-arch support.  Move __stpncpy hidden
17380         definition from here to...
17381         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
17382         symbol stpncpy.
17383         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
17384         libc_hidden_builtin_def.
17385         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
17386         memset symbol to use when multi-arch support is available.
17388 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17390         * dlfcn/tst-rec-dlopen.c: Include string.h.
17392 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17394         * manual/install.texi: Remove mention of --without-tls
17395         * INSTALL: Regenerate.
17397 2016-06-05  Florian Weimer  <fweimer@redhat.com>
17399         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
17400         Remove.
17401         (call_function, interposed_malloc_called): New variables.
17402         (malloc): New function.
17403         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
17404         and clear call_function as needed.
17406 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
17408         * include/wchar.h (__wmemset): Use __typeof.
17410 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
17412         * include/wchar.h (__wmemset): Declare function without typeof.
17414 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
17416         [BZ #20205]
17417         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
17418         exponent when incrementing negative subnormal with low mantissa
17419         word zero.
17420         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17421         Add another test.
17423 2016-06-03  Florian Weimer  <fweimer@redhat.com>
17425         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
17426         __wmemset instead of wmemset.
17428 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
17430         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
17431         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
17432         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
17433         __USE_KERNEL_IPV6_DEFS to 0.
17434         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
17435         Update comment.
17437 2016-06-01  Florian Weimer  <fweimer@redhat.com>
17439         [BZ #19861]
17440         Do not use IFUNC resolver with potentially unrelocated symbol.
17441         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
17442         (DEFINE_FORK): Remove macro and inline definition.
17443         (fork_alias): Renamed from fork_ifunc.
17444         (__fork_alias): Renamed from __fork_ifunc.
17446 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
17448         [BZ 19653]
17449         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
17450         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
17452 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17454         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
17455         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
17456         i386-linux-gnu).
17457         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
17458         Set to no.
17459         * sysdeps/mach/hurd/configure: Refresh.
17461 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17463         [BZ #20178]
17464         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
17465         on failure instead of exit.
17467 2016-05-30  Roland McGrath  <roland@hack.frob.com>
17469         [BZ #3629]
17470         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
17471         of POSIX.1-2008.
17473 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17475         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
17476           Use PLT entry for calling _hurd_self_sigstate.
17478 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
17480         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
17481         available logical processors with SMT level type sharing L2
17482         cache for Intel processors.
17484 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17486         [BZ #20160]
17487         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
17488         argument to itself before returning the result.
17489         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17490         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17491         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17492         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17493         Likewise.
17494         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17495         Likewise.
17496         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
17497         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
17498         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17499         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17500         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17501         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17503         [BZ #20160]
17504         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
17505         argument to itself before returning the result.
17506         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17507         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17508         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17509         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
17510         Likewise.
17511         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17512         Likewise.
17513         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
17514         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
17515         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
17516         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17517         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17518         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17520 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17522         * libm-test.inc: Replace usage of M_El with
17523         (lit_e): New macro.
17525 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17527         * libm-test.inc: Replace usage of M_PI_4l with
17528         (lit_pi_4_d): New macro.
17530 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17532         * libm-test.inc: Replace usage of M_PIl with
17533         (lit_pi): New macro.
17535 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17537         * libm-test.inc: Replace usage of M_PI2l with
17538         (lit_pi_2_d): New macro.
17540         * math/test-double.h (LITM): New macro.
17541         * math/test-float.h (LITM): Likewise.
17542         * math/test-ldouble.h (LITM): Likewise.
17544 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17546         * libm-test.inc (M_PI_34l): Rename to
17547         (lit_pi_3_m_4_d): New Macro.
17548         (M_PI_34_LOG10El): Rename to
17549         (lit_pi_3_m_4_ln10_m_d): New Macro.
17550         (M_PI2_LOG10El): Rename to
17551         (lit_pi_2_ln10_m_d):  New Macro.
17552         (M_PI4_LOG10El): Rename to
17553         (lit_pi_4_ln10_m_d):  New Macro.
17554         (M_PI_LOG10El): Rename to
17555         (lit_pi_ln10_d):  New Macro.
17557 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17559         [BZ #20157]
17560         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
17561         determine whether to negate low half if [_ARCH_PPCGR], and integer
17562         comparison otherwise.
17563         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
17564         determine whether to negate low half.
17566         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
17567         (NO_TEST_INLINE_DOUBLE): Likewise.
17568         (TEST_COND_x86_64): Likewise.
17569         (TEST_COND_x86): Likewise.
17570         (M_PI_6l): Likewise.
17572 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17574         * math/libm-test.inc:
17575         (TEST_FLOAT): Change usage to TEST_COND_binary32.
17576         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
17577         (TEST_LDOUBLE): Update usage to evaluate as true if
17578         the guarded tests match the property being tested.
17579         (LDBL_MAX_EXP): Change to MAX_EXP.
17580         (LDBL_MIN_EXP): Change to MIN_EXP.
17581         (LDBL_MANT_DIG): Change to MANT_DIG, except for
17582         nexttoward tests.
17584 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17586         * math/libm-test.inc:
17587         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
17588         (TYPE_MIN): Likewise.
17589         (TYPE_TRUE_MIN): Likewise.
17590         (TYPE_MAX): Likewise.
17591         (MIN_EXP): Likewise.
17592         (MAX_EXP): Likewise.
17593         (MANT_DIG): Likewise.
17595         (FSTR_MAX): New macro.
17596         (__CONCATX): Likewise.
17597         (QTYPE_STR): Likewise.
17598         (TEST_COND_binary32): Likewise.
17599         (TEST_COND_binary64): Likewise.
17600         (TEST_COND_binary128): Likewise.
17601         (TEST_COND_ibm128): Likewise.
17602         (TEST_COND_intel96): Likewise.
17603         (TEST_COND_m68k96): Likewise.
17605         (TEST_COND_flt_32): Redefine as equivalent format test macro.
17606         (TEST_COND_dbl_64): Likewise.
17607         (TEST_COND_ldbl_96_intel): Likewise.
17608         (TEST_COND_ldbl_96_m68k): Likewise.
17609         (TEST_COND_ldbl_128): Likewise.
17610         (TEST_COND_ldbl_128ibm): Likewise.
17612         (plus_zero): Redefine using LIT macro.
17613         (minus_zero): Likewise.
17614         (plus_infty): Redefine as (INF).
17615         (minux_infty): Redefine as (-INF).
17616         (max_value): Redefine as TYPE_MAX.
17617         (min_value): Redefine as TYPE_MIN.
17618         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
17620         (print_float): Refactor to use snprintf to convert FLOAT values
17621         to string. This brings it closer to dropin replacement of strtof
17622         for the TS 18661 defined types.
17623         (update_stats): Likewise.
17624         (print_complex_function_ulps): Likewise.
17625         (print_max_error): Likewise.
17626         (print_complex_max_error): Likewise.
17627         (check_float_internal): Likewise.
17629         * math/test-float.h (PREFIX): New macro.
17630         (LIT): Likewise.
17631         (TYPE_STR): Likewise.
17632         (FTOSTR): Likewise.
17634         * math/test-double.h (PREFIX): New macro.
17635         (LIT): Likewise.
17636         (TYPE_STR): Likewise.
17637         (FTOSTR): Likewise.
17639         * math/test-ldouble.h (PREFIX): New macro.
17640         (LIT): Likewise.
17641         (TYPE_STR): Likewise.
17642         (FTOSTR): Likewise.
17644 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17646         [BZ #20156]
17647         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
17648         to itself when zero or not finite.
17649         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
17650         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17651         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
17652         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
17654 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
17656         [BZ #20153]
17657         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
17658         x * x + x for infinities and NaNs.
17660         [BZ #20151]
17661         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
17662         argument to itself before returning result.
17663         (__ieee754_y0l): Likewise.
17664         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17665         (__ieee754_y1l).
17667         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
17668         (atan_test_data): Likewise.
17669         (ceil_test_data): Likewise.
17670         (cos_test_data): Likewise.
17671         (cosh_test_data): Likewise.
17672         (erf_test_data): Likewise.
17673         (exp2_test_data): Likewise.
17674         (fabs_test_data): Likewise.
17675         (floor_test_data): Likewise.
17676         (ilogb_test_data): Likewise.
17677         (j0_test_data): Likewise.
17678         (j1_test_data): Likewise.
17679         (jn_test_data): Likewise.
17680         (lgamma_test_data): Likewise.
17681         (lrint_test_data): Likewise.
17682         (llrint_test_data): Likewise.
17683         (logb_test_data): Likewise.
17684         (lround_test_data): Likewise.
17685         (llround_test_data): Likewise.
17686         (nearbyint_test_data): Likewise.
17687         (rint_test_data): Likewise.
17688         (round_test_data): Likewise.
17689         (sin_test_data): Likewise.
17690         (sincos_test_data): Likewise.
17691         (sinh_test_data): Likewise.
17692         (sqrt_test_data): Likewise.
17693         (tan_test_data): Likewise.
17694         (tanh_test_data): Likewise.
17695         (tgamma_test_data): Likewise.
17696         (trunc_test_data): Likewise.
17697         (y0_test_data): Likewise.
17698         (y1_test_data): Likewise.
17699         (yn_test_data): Likewise.
17701         * math/libm-test.inc: Update comment about NaN testing.
17702         (TEST_SNAN): New macro.
17703         (snan_value): Likewise.
17704         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
17705         (fpclassify_test_data): Add sNaN tests.
17706         (isfinite_test_data): Likewise.
17707         (isinf_test_data): Likewise.
17708         (isnan_test_data): Likewise.
17709         (isnormal_test_data): Likewise.
17710         (issignaling_test_data): Likewise.
17711         (signbit_test_data): Likewise.
17712         * math/gen-libm-test.pl (%beautify): Add snan_value.
17713         (show_exceptions): Add argument $test_snan.
17714         (parse_args): Handle snan_value as non-finite.  Update call to
17715         show_exceptions.
17716         * math/Makefile (libm-test-no-inline-cflags): Add
17717         -fsignaling-nans.
17719 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17721         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
17722         (CFLAGS-oldsendmsg.c): Add rule.
17723         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
17724         Correct recvmsg symbol name.
17725         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
17726         Likewise.
17728 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17730         * sysdeps/unix/sysv/linux/Makefile
17731         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
17732         oldsendmmsg.
17733         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
17734         sendmmsg.
17735         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17736         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17737         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17738         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17740         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17741         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
17743         Likewise.
17744         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17745         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
17746         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
17747         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
17748         iovlen and controllen fields to adjust to POSIX specification.
17749         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17751         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
17752         and change to correct expected type.
17753         (msghdr.msg_controllen): Likewise.
17754         (cmsghdr.cmsg_len): Likewise.
17755         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
17756         expected POSIX assumption about the size.
17757         (msghdr.msg_controllen): Likewise.
17758         (msghdr.__glibc_reserved1): Likewise.
17759         (msghdr.__glibc_reserved2): Likewise.
17760         (cmsghdr.cmsg_len): Likewise.
17761         (cmsghdr.__glibc_reserved1): Likewise.
17762         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
17763         Add ptw-oldrecvmsg and ptw-oldsendmsg.
17764         (CFLAGS-sendmsg.c): Remove rule.
17765         (CFLAGS-recvmsg.c): Likewise.
17766         (CFLAGS-oldsendmsg.c): Add rule.
17767         (CFLAGS-oldrecvmsg.c): Likewise.
17768         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
17769         recvmsg and sendmsg.
17770         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
17771         Likewise.
17772         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
17773         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
17774         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
17775         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
17776         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
17777         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
17778         Likewise.
17779         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
17780         Likewise.
17781         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
17782         Likewise.
17783         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
17784         Likewise.
17785         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
17786         Likewise.
17787         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
17788         Likewise.
17789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
17790         (GLIBC_2.24): Likewise.
17791         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
17792         Likewise.
17793         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
17794         Likewise.
17795         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
17796         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
17797         Likewise.
17798         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
17799         Likewise.
17800         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
17801         Likewise.
17802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
17803         (GLIBC_2.24): Likewise.
17804         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
17805         Likewise.
17806         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
17807         Likewise.
17808         * sysdeps/unix/sysv/linux/Makefile
17809         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
17810         (CFLAGS-sendmsg.c): Add rule.
17811         (CFLAGS-recvmsg.c): Likewise.
17812         (CFLAGS-oldsendmsg.c): Likewise.
17813         (CFLAGS-oldrecvmsg.c): Likewise.
17814         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
17815         initialization.
17816         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
17817         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
17818         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
17819         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
17820         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
17821         iovlen and controllen fields to adjust to POSIX specification.
17822         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
17823         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
17824         added recvmsg and sendmsg.
17825         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17826         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17827         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17828         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17829         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17830         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17831         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17832         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17833         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17834         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17835         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17836         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17838         Likewise.
17839         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
17840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17841         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17842         Likewise.
17843         Likewise.
17844         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17845         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17846         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17847         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17848         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17849         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17851         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17853         Likewise.
17854         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17855         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17857         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
17858         from auto-generation.
17859         (sendmsg): Likewise.
17860         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
17861         (sendmsg): Likewise.
17862         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
17863         (sendmsg): Likewise.
17864         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
17865         (sendmsg): Likewise.
17866         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
17867         (sendmsg): Likewise.
17868         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
17869         (sendmsg): Likewise.
17870         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
17871         Likewise.
17872         (sendmsg): Likewise.
17873         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
17874         (sendmsg): Likewise.
17875         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17876         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17877         Remove.
17878         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17879         Likewise.
17880         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17881         Undefine.
17882         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17883         Likewise.
17884         * sysdeps/unix/sysv/linux/kernel-features.h
17885         (__ASSUME_SENDMSG_SYSCALL): Define.
17886         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17887         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17888         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17889         Remove.
17890         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17891         Likewise.
17892         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17893         Undefine.
17894         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17895         Likewise.
17896         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17897         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17898         Remove.
17899         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17900         Likewise.
17901         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17902         Undefine.
17903         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17904         Likewise.
17905         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17906         (__ASSUME_SENDMSG_SYSCALL): Undefine.
17907         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17908         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17909         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17910         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17911         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17912         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17913         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17915 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17917         * stdlib/gen-tst-strtod-round.c: Add backslash to
17918         compile command in comment.
17919         (printfp): Remove the literal suffix, and define an infinite
17920         value as INF to avoid expansion clash with INFINITY.
17921         (round_str): Remove the literal suffix.
17922         (round_for_all): Likewise, remove the now duplicate ldbl-64
17923         entry, and remove some magic constants.
17925         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
17926         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
17927         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
17928         (_CONCAT): New macro.
17929         (CONCAT): Likewise.
17930         (CHOOSE_ld): Likewise.
17931         (CHOOSE_f): Likewise.
17932         (CHOOSE_d): Likewise.
17933         (FTYPE_MEMBER): Likewise.
17934         (BOOL_MEMBER): Likewise.
17935         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
17936         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
17937         (_XNTRY): Likewise.
17938         (XNTRY): Likewise.
17939         (_ENTRY): Likewise.
17940         (ENTRY): Likewise.
17941         (test_exactness): Generate members via macro.
17942         (test_results): Likewise.
17943         (test): Update members.
17944         (TEST): Redefine using new macros.
17945         (INF): New macro.
17946         (fetestmodes): New structure.
17947         (do_test): Refactor to be type generic.
17948         (test_in_one_mode): Refactor duplicate code into
17949         (GEN_ONE_TEST): New macro.
17951         * stdlib/tst-strtod-round-data.h: Regenerate.
17953         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
17954         Extend to pass additional arbitrary parameters to
17955         generators.
17957 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
17959         [BZ #15479]
17960         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
17961         floating-point state after first floating-point operation on
17962         input.  Restore full floating-point state instead of just rounding
17963         mode.
17964         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17965         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17966         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17967         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17968         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17970         [BZ #15479]
17971         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
17972         floating-point state after first floating-point operation on
17973         input.  Restore full floating-point state instead of just rounding
17974         mode.
17975         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17976         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17977         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17978         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17979         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17981 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17983         [BZ #19727]
17984         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
17985         valid high surrogate.
17986         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
17987         of an utf16 surrogate.
17988         * iconv/gconv_simple.c (BODY): Likewise.
17989         * iconvdata/bug-iconv12.c: New file.
17990         * iconvdata/Makefile (tests): Add bug-iconv12.
17992 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
17994         [BZ #19726]
17995         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
17996         outptrp in case of an illegal input.
17997         * iconv/tst-iconv6.c: New file.
17998         * iconv/Makefile (tests): Add tst-iconv6.
18000 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18002         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
18003         an error in case of a value in range of an utf16 low surrogate.
18005 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18007         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
18008         an error in case of a value in range of an utf16 low surrogate.
18010 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18012         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
18013         Move to ...
18014         * sysdeps/s390/Makefile: ... here.
18015         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
18016         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
18017         (BRANCH_ON_COUNT): New define.
18018         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
18019         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
18020         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
18021         run on s390-32, too.
18022         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
18023         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
18024         run on s390-32, too.
18025         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
18026         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
18027         run on s390-32, too.
18029 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18031         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
18032         etf3eh or new vector loop-variant.
18034 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18036         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
18037         etf3eh or new vector loop-variant.
18039 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18041         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
18042         or new vector loop-variant.
18044 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18046         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
18047         Rename to TR_LOOP and usage of tr instead of troo instruction.
18049 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18051         * sysdeps/s390/multiarch/gconv_simple.c: New File.
18052         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
18054 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18056         * sysdeps/s390/multiarch/8bit-generic.c: New File.
18057         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
18058         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
18059         New override define.
18060         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
18062 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18064         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
18065         * sysdeps/s390/configure.ac: Add test for S390 vector register
18066         support in gcc.
18067         * sysdeps/s390/configure: Regenerated.
18069 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18071         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
18072         Install file from $(objpfx)gconv-modules.
18073         ($(objpfx)gconv-modules): Concatenate architecture specific file
18074         in variable sysdeps-gconv-modules and gconv-modules in src dir.
18075         * sysdeps/s390/gconv-modules: New file.
18076         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
18077         Deleted.
18078         ($(objpfx)gconv-modules-s390): Deleted.
18079         (sysdeps-gconv-modules): New variable.
18081 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
18083         [BZ #15479]
18084         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
18085         of immediate operand to rounding instruction.
18086         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
18087         Likewise.
18088         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
18089         Likewise.
18090         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
18091         Likewise.
18093 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18095         * math/libm-test.inc (MIN_EXP): Directly define as
18096         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
18098 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18100         * math/libm-test.inc (MANT_DIG): Directly define as
18101         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
18103 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18105         * stdlib/gen-tst-strtod-round.c (main):
18106           Change usage to more closely match the generated
18107           output.  Add usage and compilation instructions.
18108           (string_to_fp): Add and use FILE* parameter as
18109           output target.
18110           (print_fp): Likewise.
18111           (round_str): Likewise.
18112           (round_for_all): Likewise.
18113         * stdlib/tst-strtod-round.c (tests): Move into
18114         * stdlib/tst-strtod-round-data.h: New file.
18116 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
18118         [BZ #15479]
18119         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
18120         (__round): Do not force "inexact" exception.
18121         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
18122         variable.
18123         (__round): Do not force "inexact" exception.
18124         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
18125         (__roundf): Do not force "inexact" exception.
18126         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
18127         (__roundl): Do not force "inexact" exception.
18128         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
18129         (__roundl): Do not force "inexact" exception.
18130         * math/libm-test.inc (round_test_data): Do not allow spurious
18131         "inexact" exceptions.
18133         [BZ #15479]
18134         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
18135         exception in comment.
18136         (huge): Remove variable.
18137         (__floor): Do not force "inexact" exception.
18138         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
18139         "inexact" exception in comment.
18140         (huge): Remove variable.
18141         (__floor): Do not force "inexact" exception.
18142         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
18143         exception in comment.
18144         (huge): Remove variable.
18145         (__floorf): Do not force "inexact" exception.
18146         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
18147         exception in comment.
18148         (huge): Remove variable.
18149         (__floorl): Do not force "inexact" exception.
18151         [BZ #15479]
18152         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
18153         exception in comment.
18154         (huge): Remove variable.
18155         (__ceil): Do not force "inexact" exception.
18156         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
18157         "inexact" exception in comment.
18158         (huge): Remove variable.
18159         (__ceil): Do not force "inexact" exception.
18160         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
18161         (__ceilf): Do not force "inexact" exception.
18162         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
18163         exception in comment.
18164         (huge): Remove variable.
18165         (__ceill): Do not force "inexact" exception.
18167 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18169         * config.h.in (BIND_NOW): New.
18170         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
18171         * configure: Regenerated.
18172         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
18173         indirect branch via the GOT slot.
18175 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18177         [BZ #19765]
18178         * sysdeps/s390/mempcpy.S: New File.
18179         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
18180         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
18181         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18182         Add mempcpy variants.
18183         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
18184         (memcpy): Adjust to be usable from mempcpy entry point.
18185         (__memcpy_mvcle): Likewise.
18186         * sysdeps/s390/s390-64/memcpy.S: Likewise.
18187         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
18188         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
18189         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
18190         (__memcpy_z10): Likewise.
18191         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
18193 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18195         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
18196         Remove __GI_ symbol.
18197         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
18198         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
18199         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
18200         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
18201         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
18202         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
18204 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18206         * sysdeps/s390/s390-64/memcpy.S (memcpy):
18207         Use cghi instead of chi to compare 64bit value.
18209 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18211         * sysdeps/s390/s390-32/memcpy.S (memcpy):
18212         Jump to 1MB check before executing mvc-loop.
18214 2016-05-24  Florian Weimer  <fweimer@redhat.com>
18216         [BZ #6527]
18217         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
18218         unconditionally.
18219         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
18221 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18223         * stdlib/tst-strtod6.c (do_test): Use new type generic
18224         invocation of the test function.
18225         (test): Refactor into ...
18226         (TEST_STRTOD): New macro base function.
18228 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18230         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
18231         (TEST_STRTOD): New macro.
18232         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
18234 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18236         * stdlib/tst-strtod6.c (do_test): Use new type generic
18237         invocation of the test function.
18238         (test): Refactor into ...
18239         (TEST_STRTOD): New macro base function.
18241 2016-05-23  Florian Weimer  <fweimer@redhat.com>
18243         CVE-2016-4429
18244         [BZ #20112]
18245         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
18246         payload.
18248 2016-05-23  Florian Weimer  <fweimer@redhat.com>
18250         [BZ #20111]
18251         * bits/sockaddr.h (_SS_SIZE): Define.
18252         * bits/socket.h (_SS_SIZE): Remove.
18253         (_SS_PADSIZE): Adjust to account for all padding.
18254         (struct sockaddr_storage): Update comment.  Avoid implicit
18255         padding.
18256         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
18257         (_SS_PADSIZE): Adjust to account for all padding.
18258         (struct sockaddr_storage): Update comment.  Avoid implicit
18259         padding.
18260         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
18261         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
18262         (_SS_PADSIZE): Adjust to account for all padding.
18263         (struct sockaddr_storage): Update comment.  Avoid implicit
18264         padding.
18265         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
18266         __SS_SIZE is 126 in this version.
18267         * inet/tst-sockaddr.c: New file.
18268         * inet/Makefile (tests): Add tst-sockaddr.c
18269         (tst-sockaddr.c): Compile with non-strict aliasing.
18271 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
18273         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
18274         [XPG3 || XPG4].
18275         (NL_ARGMAX): Also expect for [XPG3].
18276         (NL_LANGMAX): Likewise.
18277         (NL_MSGMAX): Likewise.
18278         (NL_NMAX): Likewise.
18279         (NL_SETMAX): Likewise.
18280         (NL_TEXTMAX): Likewise.
18281         (NZERO): Likewise.
18282         (TMP_MAX): Likewise.
18283         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
18284         variable.
18286         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
18287         (PF_MAX): Update value.
18288         (AF_KCM): New macro.
18289         (SOL_NETBEUI): Likewise.
18290         (SOL_LLC): Likewise.
18291         (SOL_DCCP): Likewise.
18292         (SOL_NETLINK): Likewise.
18293         (SOL_TIPC): Likewise.
18294         (SOL_RXRPC): Likewise.
18295         (SOL_PPPOL2TP): Likewise.
18296         (SOL_BLUETOOTH): Likewise.
18297         (SOL_PNPIPE): Likewise.
18298         (SOL_RDS): Likewise.
18299         (SOL_IUCV): Likewise.
18300         (SOL_CAIF): Likewise.
18301         (SOL_ALG): Likewise.
18302         (SOL_NFC): Likewise.
18303         (SOL_KCM): Likewise.
18304         (MSG_BATCH): New enum value and macro.
18306 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
18308         [BZ #18185]
18309         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
18310         sharing L2 cache to 2 for Knights Landing.
18312 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
18314         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
18315         (FTW_DP): Do not expect for [XPG3 || XPG4].
18316         (FTW_SL): Do not expect for [XPG3].
18317         (FTW_SLN): Likewise.
18318         (FTW_PHYS): Likewise.
18319         (FTW_MOUNT): Likewise.
18320         (FTW_DEPTH): Likewise.
18321         (FTW_CHDIR): Likewise.
18322         (nftw): Likewise.
18323         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
18324         variable.
18326 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18328         * manual/errno.texi: Fix various typos & grammar errors.
18330 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18332         * manual/intro.texi: Fix duplicated typo.
18334 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18336         [BZ #13304]
18337         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
18338         <float.h>, <math_private.h> and <stdlib.h>.
18339         (add_split): New function.
18340         (mul_split): Likewise.
18341         (ext_val): New typedef.
18342         (store_ext_val): New function.
18343         (mul_ext_val): New function.
18344         (compare): New function.
18345         (add_split_ext): New function.
18346         (__fmal): After checking for Inf, NaN and zero, compute result as
18347         an exact sum of scaled double values in round-to-nearest before
18348         adding those up and adjusting for other rounding modes.
18349         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
18350         tests of fma.
18351         * math/auto-libm-test-out: Regenerated.
18353 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18355         [BZ #20119]
18356         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
18357         processor level type mask for CPUID with EAX == 11.
18359 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18361         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
18362         logical threads if the HTT bit is 0.
18363         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
18364         (index_cpu_HTT): Likewise.
18365         (reg_HTT): Likewise.
18367 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18369         [BZ #20115]
18370         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
18371         Remove alignments on jump targets.
18373 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18375         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
18376         (getpwent): Likewise.
18377         (setpwent): Likewise.
18378         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
18379         variable.
18381         * conform/data/search.h-data (insque): Do not expect for [XPG3].
18382         (remque): Likewise.
18383         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
18384         variable.
18386 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18388         * math/libm-test.inc: Update comment not to refer to signs of NaNs
18389         not being tested.
18391 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18393         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18394         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
18395         call.
18396         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18397         (__condvar_cleanup1): Likewise.
18399 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18401         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
18402         New
18403         (__pthread_unwind): Renamed to ...
18404         (PTHREAD_UNWIND): This.
18405         (__pthread_enable_asynccancel): Replace
18406         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
18408 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18410         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
18411         (CLONE_NEWCGROUP): New macro.
18413         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
18414         (Q_GETNEXTQUOTA): New macro.
18416 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18418         [BZ #19907]
18419         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
18420         buffer updated by the previous run.
18421         * string/test-memcpy.c (do_one_test): Likewise.
18422         * benchtests/bench-memmove.c (do_one_test): Add a comment.
18423         * string/test-memmove.c (do_one_test): Likewise.
18425 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
18427         [BZ #20094]
18428         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
18429         not [__USE_XOPEN].
18430         (unlockpt): Likewise.
18431         (ptsname): Likewise.
18432         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
18433         variable.
18435         [BZ #20076]
18436         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
18437         instead of [__USE_UNIX98].
18438         (S_ISSOCK): Likewise.
18439         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
18440         variable.
18442         [BZ #20074]
18443         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
18444         [__USE_POSIX].
18445         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
18446         variable.
18448         [BZ #20051]
18449         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
18450         (ttyslot): Do not declare.
18451         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
18452         (ttyslot): New prototype.
18453         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
18454         variable.
18455         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18457 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18459         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
18461 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18463         Fix race condition in tst-mallocfork2, use fewer resources.
18464         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
18465         to current process group.
18466         (signal_sender): Yield in the non-sleeping case.
18468 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
18470         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
18471         (ecvt): Likewise.
18472         (fcvt): Likewise.
18473         (gcvt): Likewise.
18474         (getsubopt): Likewise.
18475         (grantpt): Likewise.
18476         (initstate): Likewise.
18477         (l64a): Likewise.
18478         (mktemp): Likewise.
18479         (mkstemp): Likewise.
18480         (ptsname): Likewise.
18481         (random): Likewise.
18482         (realpath): Likewise.
18483         (setstate): Likewise.
18484         (srandom): Likewise.
18485         (ttyslot): Likewise.
18486         (unlockpt): Likewise.
18487         (valloc): Likewise.
18489         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
18490         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
18491         variable.
18493 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18495         [BZ #20072]
18496         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
18497         init_cpu_features only if SHARED is defined.
18498         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
18500 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18502         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
18503         non-inclusive caches on Intel processors.
18505 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18507         * malloc/malloc.c (dumped_main_arena_start)
18508         (dumped_main_arena_end): New variables.
18509         (DUMPED_MAIN_ARENA_CHUNK): New macro.
18510         (do_check_chunk): Skip dumped fake mmapped chunks.
18511         (munmap_chunk): Likewise.
18512         (__libc_free): Do not adjust statistics for fake mmapped chunks.
18513         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
18514         mmapped chunks.
18515         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
18516         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
18517         and dumped_main_arena_end to cover the dumped heap.
18519 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
18521         * conform/data/time.h-data (getdate_err): Do not expect for
18522         [XPG3].
18523         (getdate): Likewise.
18524         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
18525         variable.
18527         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
18528         (F_ULOCK): Likewise.
18529         (F_TEST): Likewise.
18530         (F_TLOCK): Likewise.
18531         (useconds_t): Likewise.
18532         (intptr_t): Do not expect for [XPG3] or [XPG4].
18533         (brk): Do not expect for [XPG3]
18534         (fchown): Likewise.
18535         (fchdir): Likewise.
18536         (ftruncate): Likewise.
18537         (getdtablesize): Likewise.
18538         (gethostid): Likewise.
18539         (getpagesize): Likewise.
18540         (getpgid): Likewise.
18541         (getsid): Likewise.
18542         (getwd): Likewise.
18543         (lchown): Likewise.
18544         (lockf): Likewise.
18545         (readlink): Likewise.
18546         (sbrk): Likewise.
18547         (setpgrp): Likewise.
18548         (setregid): Likewise.
18549         (setreuid): Likewise.
18550         (symlink): Likewise.
18551         (sync): Likewise.
18552         (truncate): Likewise.
18553         (ualarm): Likewise.
18554         (usleep): Likewise.
18555         (vfork): Likewise.
18556         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
18557         variable.
18559         [BZ #20054]
18560         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
18561         not [__USE_UNIX98].
18562         * conform/data/unistd.h-data (gethostname): Do not expect for
18563         [XPG3].
18565         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
18566         [!POSIX] (S_IFBLK): Likewise.
18567         [!POSIX] (S_IFCHR): Likewise.
18568         [!POSIX] (S_IFIFO): Likewise.
18569         [!POSIX] (S_IFREG): Likewise.
18570         [!POSIX] (S_IFDIR): Likewise.
18571         [!POSIX] (S_IFLNK): Likewise.
18572         [!POSIX] (S_IFSOCK): Likewise.
18573         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
18574         variable.
18575         (test-xfail-XPG4/fcntl.h/conform): Likewise.
18577 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
18579         * sysdeps/aarch64/memset.S (__memset):
18580         Rewrite of optimized memset.
18582 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18584         [BZ #19703]
18585         Partially async-signal-safe fork for single-threaded processes.
18586         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
18587         variable.  Do not acquire and reset/release malloc and libio locks
18588         in single-threaded processes.
18589         * malloc/tst-mallocfork2.c: New file.
18590         * malloc/Makefile (tests): Add it.
18592 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18594         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
18595         argument.  Use scratch buffer instead of extend_alloca.
18596         (gethosts): Use scratch buffer instead of extend_alloca.
18597         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
18598         extend_alloca.
18599         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
18601 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
18603         [BZ #20055]
18604         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
18605         instead of [__USE_UNIX98].
18606         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
18607         [__USE_UNIX98].
18608         * conform/data/termios.h-data (tcgetsid): Do not expect for
18609         [XPG3].
18610         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
18611         variable.
18612         (test-xfail-XPG4/termios.h/conform): Likewise.
18614 2016-05-11  Florian Weimer  <fweimer@redhat.com>
18616         Do not use mcheck in localedef.
18617         * locale/programs/localedef.c (turn_on_mcheck)
18618         (__malloc_initialize_hook): Remove.
18620 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18622         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
18623         * sysdeps/s390/s390-64/Makefile: Likewise.
18625 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18627         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
18628         Remove ifunc-defines.sym.
18629         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
18630         Likewise.
18631         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
18632         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18633         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
18634         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
18635         rtld-global-offsets.sym.
18636         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
18637         * sysdeps/x86/cpu-features-offsets.sym: This.
18638         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
18639         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
18641 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
18643         [BZ #20073]
18644         * io/sys/stat.h (fchmod): Declare for
18645         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
18646         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
18647         variable.
18649         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
18650         [XPG3] (S_IFSOCK): Likewise.
18651         [XPG3] (S_ISVTX): Likewise.
18652         [XPG3] (S_ISLNK): Likewise.
18653         [XPG3] (S_ISSOCK): Likewise.
18654         [XPG3] (fchmod): Likewise.
18655         [XPG3] (lstat): Likewise.
18656         [XPG3] (mknod): Likewise.
18658         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
18659         [XPG3].  Expect type long and XFAIL for [XPG4].
18660         (st_blocks): Likewise.
18662         [BZ #20044]
18663         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
18664         (pthread_atfork): New prototype.
18665         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
18666         variable.
18668         [BZ #20043]
18669         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
18670         prototype.
18672 2016-05-10  Florian Weimer  <fweimer@redhat.com>
18674         [BZ #20017]
18675         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
18676         gmtime.
18678 2016-05-10  Florian Weimer  <fweimer@redhat.com>
18680         [BZ #19994]
18681         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
18682         flag in _res.options.
18684 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
18686         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
18687         [XPG3 || XPG4].
18688         (blksize_t): Likewise.
18689         (clockid_t): Likewise.
18690         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
18691         variable.
18692         (test-xfail-XPG4/sys/types.h/conform): Likewise.
18694 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18696         * sysdeps/unix/sysv/linux/s390/init-first.c:
18697         Add VDSO_SYMBOL(getcpu).
18698         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
18699         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
18700         Add VDSO_SYMBOL(getcpu).
18701         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
18702         New define HAVE_GETCPU_VSYSCALL.
18703         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18705 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
18707         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
18708         instead of <sysdeps/x86_64/cacheinfo.c>.
18709         * sysdeps/x86_64/cacheinfo.c: Moved to ...
18710         * sysdeps/x86/cacheinfo.c: Here.
18712 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18714         * malloc/malloc-internal.h: Adjust header file guard.
18716 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18718         [BZ #19787]
18719         * inet/getnameinfo.c (check_sprintf_result): New function.
18720         (CHECKED_SNPRINTF): New macro.
18721         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
18722         to the host buffer.
18723         (gni_host_local): Use checked_copy to copy the host name.
18724         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
18725         (gni_serv_local): Use checked_copy to copy the service name.
18726         (getnameinfo): Remove unnecessary truncation of result buffers.
18728 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18730         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
18731         in case of inet_ntop failure.
18733 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18735         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
18736         avoid long lines.
18737         (gni_host_inet_numeric): Likewise.  Reduce scope of local
18738         variables.
18739         (gni_host_inet, gni_host_local): Add comment.
18740         (gni_host): Add comment.  Use temporary to avoid long lines.
18742 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18744         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
18745         registers specifiers where general purpose registers specifiers should
18746         have been used.
18748 2016-05-04  Florian Weimer  <fweimer@redhat.com>
18750         [BZ #19779]
18751         CVE-2016-1234
18752         Avoid copying names of directory entries.
18753         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
18754         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
18755         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
18756         (struct readdir_result): New type.
18757         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
18758         (GL_READDIR): New macros.
18759         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
18760         (convert_dirent, convert_dirent64): New functions.
18761         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
18762         convert_dirent64.  Adjust references to the readdir result.
18763         * sysdeps/unix/sysv/linux/i386/glob64.c:
18764         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
18765         * posix/bug-glob2.c (LONG_NAME): Define.
18766         (filesystem): Add LONG_NAME.
18767         (my_DIR): Increase the size of room_for_dirent.
18769 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
18771         [BZ #20041]
18772         * misc/sys/select.h (__need_timespec): Only define if
18773         [__USE_XOPEN2K].
18774         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
18775         variable.
18776         (test-xfail-XPG4/utmpx.h/conform): Likewise.
18777         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18778         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18780 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18781             Segher Boessenkool  <segher@gcc.gnu.org>
18783         [BZ #20004]
18784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
18785         (__novec_swapcontext): Add missing load.
18787 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
18789         [BZ #20023]
18790         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
18791         <time.h>.
18792         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
18793         variable.
18794         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18796 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
18799         flags CLONE_VM compare.
18801 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18803         [BZ #20031]
18804         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
18805         completely empty.
18807 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18809         [BZ #19573]
18810         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
18811         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
18812         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
18813         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
18814         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
18815         (hesiod_free_list): Mark as hidden.
18816         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
18817         res_set, res_get.
18818         * hesiod/hesiod.c: Remove unnecessary forward declarations.
18819         (init, __hesiod_res_get, __hesiod_res_set): Remove.
18820         (hesiod_init): Remove obsolete res_ninit call.
18821         (hesiod_end): Do not free resolver state.  Do not invoke callback.
18822         (hesiod_bind): Do not call init.
18823         (get_txt_records): Use res_mkquery, res_send instead of
18824         res_nmkquery, res_nsend.
18825         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
18826         instead of _nss_hesiod_init.
18827         (_nss_hesiod_initgroups_dyn): Likewise.
18828         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
18829         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
18830         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
18832 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18834         * hesiod/hesiod_p.h (DEF_RHS): Remove.
18835         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
18837 2016-05-02  Florian Weimer  <fweimer@redhat.com>
18839         * hesiod/hesiod.h: Remove RCS keyword.
18840         * hesiod/hesiod_p.h: Likewise.
18842         * hesiod/hesiod.c: Likewise.
18844 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
18846         [BZ #12450]
18847         * locale/iso-639.def: Add Samogitian/sgs.
18849 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
18851         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
18853         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
18855 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
18856             Carlos O'Donell  <carlos@redhat.com>
18858         [BZ #19072]
18859         * grp/Makefile (headers): Add grp-merge.h
18860         (routines): Add grp-merge.
18861         * grp/getgrgid_r.c: Include grp-merge.h.
18862         (DEEPCOPY_FN): Define.
18863         (MERGE_FN): Define.
18864         * grp/getgrname_r.c: Include grp-merge.h.
18865         (DEEPCOPY_FN): Define.
18866         (MERGE_FN): Define.
18867         * grp/grp-merge.c: New file.
18868         * grp/grp-merge.h: New file.
18869         * include/grp-merge.h: New file.
18870         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
18871         __copy_grp@GLIBC_PRIVATE.
18872         * manual/nss.texi (Actions in the NSS configuration): Describe
18873         return, continue, and merge.
18874         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
18875         (DEEPCOPY_FN): Define.
18876         (MERGE_FN): Define.
18877         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
18878         (DEEPCOPY_FN): Define.
18879         (MERGE_FN): Define.
18880         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
18881         [!MERGE_FN]: Define __merge_einval.
18882         (CHECK_MERGE): Define.
18883         (REENTRANT_NAME): Process merge if do_merge is true.
18884         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
18885         (__nss_getent_r): Likewise.
18886         * nss/nsswitch.c (nss_parse_service_list): Likewise.
18887         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
18889 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18891         [BZ #20012]
18892         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
18893         length to calculate the buffer to read.
18894         (fmemopen_write): Set the buffer position based on bytes written.
18895         (fmemopen_seek): Return EINVAL for invalid whence modes.
18897         [BZ #19957]
18898         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
18899         tst-getpid2.
18900         (test): Add tst-clone2.
18901         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
18902         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
18903         pid/tid fields for CLONE_VM.
18904         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
18905         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
18906         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
18907         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
18908         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
18909         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
18910         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
18911         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
18912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
18913         Likewise.
18914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18915         Likewise.
18916         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
18917         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
18918         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
18919         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
18920         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
18921         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
18922         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
18923         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
18925 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18927         [BZ #19642]
18928         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
18929         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
18930         (gni_serv_local, gni_serv): New functions extracted from
18931         getnameinfo.
18932         (getnameinfo): Call gni_host and gni_serv to perform the
18933         processing.  Always free scratch buffer.
18935 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18937         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
18938         remaining bytes in the dest string, with zeros.
18940 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18942         [BZ #20010]
18943         CVE-2016-3706
18944         * sysdeps/posix/getaddrinfo.c
18945         (convert_hostent_to_gaih_addrtuple): New function.
18946         (gethosts): Call convert_hostent_to_gaih_addrtuple.
18947         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
18948         AF_INET data.
18950 2016-04-29  Florian Weimer  <fweimer@redhat.com>
18952         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
18953         callback function gl_readdir.
18954         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
18955         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
18956         (glob_in_dir): Remove len.  Use strdup instead of malloc and
18957         memcpy to copy the name.
18958         * manual/pattern.texi (Calling Glob): Document requirements for
18959         implementations of the gl_readdir callback function.
18960         * manual/examples/mkdirent.c: New example.
18961         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
18962         per the manual guidance.
18963         * posix/tst-gnuglob.c (my_readdir): Likewise.
18965 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
18967         [BZ #20014]
18968         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
18969         not [__USE_POSIX].
18970         (getchar_unlocked): Likewise.
18971         (putc_unlocked): Likewise.
18972         (putchar_unlocked): Likewise.
18973         (flockfile): Likewise.
18974         (ftrylockfile): Likewise.
18975         (funlockfile): Likewise.
18976         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
18977         variable.
18978         (test-xfail-XPG4/stdio.h/conform): Likewise.
18980         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
18981         Expect constant.
18982         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
18983         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
18984         variable.
18985         (test-xfail-XPG4/langinfo.h/conform): Likewise.
18986         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18988         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
18989         [__USE_LARGEFILE64] (off64_t): Likewise.
18990         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
18991         variable.
18993 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18995         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
18997 2016-04-28  Florian Weimer  <fweimer@redhat.com>
18999         * resolv/inet_addr.c: Reindent preprocessor conditionals.
19000         * resolv/res_init.c: Likewise.
19001         * resolv/res_mkquery.c: Likewise.
19003 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19005         * resolv/res_init.c (isascii): Do not define.  Use definition in
19006         <ctype.h>.
19007         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
19008         (LOG_AUTH): Remove.
19009         (SPRINTF): Remove, adjust caller.
19010         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
19012 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19014         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
19015         SUNSECURITY conditional.
19016         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
19018 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19020         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
19021         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
19022         Remove BSD-related preprocessor conditionals.
19023         * conf/portability.h: Remove.
19025 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19027         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
19028         * resolv/res_data.c: Likewise.
19030 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19032         * resolv/res_comp.c: Remove code conditional on __ultrix__.
19033         * resolv/res_data.c: Remove code conditional on ultrix.
19035 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19037         * resolv/res_init.c (RFC1535): Do not define.  Remove
19038         RFC1535 preprocessor conditionals.
19039         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
19040         because there configuration options which make the resolver
19041         behavior different.
19043 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19045         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
19046         RESOLVSORT preprocessor conditionals.
19047         * resolv/nss_dns/dns-host.c: Likewise.
19048         * resolv/res_init.c: Likewise.
19050 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19052         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
19053         is never defined.
19055 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19057         * inet/inet_lnaof.c: Remove SCSS keyword.
19058         * inet/inet_mkadr.c: Likewise.
19059         * inet/inet_net.c: Likewise.
19060         * inet/inet_netof.c: Likewise.
19061         * inet/rcmd.c: Likewise.
19062         * inet/rexec.c: Likewise.
19063         * inet/ruserpass.c: Likewise.
19065 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19067         * resolv/inet_addr.c: Remove _LIBC conditionals.
19068         * resolv/res_data.c: Likewise.
19069         * resolv/res_init.c: Likewise.
19070         * resolv/res_mkquery.c: Likewise.
19071         * resolv/res_libc.c: Update comment.
19072         * resolv/README: Update.
19074 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19076         * resolv/gethnamaddr.c: Remove SCSS keyword.
19077         * resolv/herror.c: Likewise.
19078         * resolv/inet_addr.c: Likewise.
19079         * resolv/inet_net_ntop.c: Likewise.
19080         * resolv/inet_net_pton.c: Likewise.
19081         * resolv/inet_neta.c: Likewise.
19082         * resolv/inet_ntop.c: Likewise.
19083         * resolv/inet_pton.c: Likewise.
19084         * resolv/ns_date.c: Remove RCS keyword.
19085         * resolv/ns_name.c: Likewise.
19086         * resolv/ns_netint.c: Likewise.
19087         * resolv/ns_parse.c: Likewise.
19088         * resolv/ns_print.c: Likewise.
19089         * resolv/ns_samedomain.c: Likewise.
19090         * resolv/ns_ttl.c: Likewise.
19091         * resolv/nsap_addr.c: Likewise.
19092         * resolv/res_comp.c: Remove SCSS and RCS keyword.
19093         * resolv/res_data.c: Remove RCS keyword.
19094         * resolv/res_debug.c: Remove SCSS and RCS keyword.
19095         * resolv/res_init.c: Likewise.
19096         * resolv/res_mkquery.c: Likewise.
19097         * resolv/res_query.c: Likewise.
19098         * resolv/res_send.c: Likewise.
19100 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
19102         * conform/data/stdio.h-data (fdopen): Expect also for
19103         [XPG3 || XPG4].
19105         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
19106         (fseeko): Likewise.
19107         (ftello): Likewise.
19108         (ftrylockfile): Likewise.
19109         (funlockfile): Likewise.
19110         (getc_unlocked): Likewise.
19111         (getchar_unlocked): Likewise.
19112         (putc_unlocked): Likewise.
19113         (putchar_unlocked): Likewise.
19115 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19117         [BZ #19868]
19118         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
19119         DNS packet syntax checks (which were not needed before).  Skip
19120         over non-PTR records.
19122 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19124         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
19125         definition.  Include <stddef.h> instead.
19127 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19129         [BZ #19831]
19130         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
19131         function.
19132         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
19133         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
19135 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19137         [BZ #19862]
19138         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
19139         (getanswer_r): Do not call syslog.
19140         (gaih_getanswer_slice): Likewise.
19141         * resolv/gethnamaddr.c (AskedForGot): Remove.
19142         (getanswer): Do not call syslog.
19143         (gethostbyaddr): Likewise.
19145 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
19147         * conform/data/signal.h-data (union sigval): Expect also if
19148         [XOPEN2K].
19149         (struct sigevent): Likewise.
19150         (SIGEV_NONE): Likewise.
19151         (SIGEV_SIGNAL): Likewise.
19152         (SIGEV_THREAD): Likewise.
19153         (SIGRTMIN): Likewise.
19154         (SIGRTMAX): Likewise.
19155         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
19156         variable.
19157         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19159 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19161         [BZ #19830]
19162         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
19163         (gaih_getanswer_slice): Likewise.
19164         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
19165         Also check for availability of RR metadata.
19167 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19169         [BZ #19825]
19170         * resolv/res_send.c (send_vc): Remove early *resplen2
19171         initialization.  Set *resplen2 on socket error.  Call
19172         close_and_return_error for other errors.
19174 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19176         * sysdeps/unix/sysv/linux/netiucv/iucv.h
19177         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
19178         (SCM_IUCV_TRGCLS): New define.
19180 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19182         [BZ #20005]
19183         * libio/fmemopen.c (fmemopen_write): Update internal position after
19184         write.
19185         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
19186         * stdio-common/tst-fmemopen4.c: New file..
19188 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
19190         [BZ #19996]
19191         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
19192         not [__USE_XOPEN2K].
19193         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
19194         variable.
19196         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
19197         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
19198         variable.
19200         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
19201         [__USE_XOPEN2K8].
19202         [__USE_LARGEFILE64] (off64_t): Likewise.
19203         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
19204         variable.
19206 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
19208         [BZ #19989]
19209         * libio/stdio.h (cuserid): Do not declare if
19210         [__USE_XOPEN2K && !__USE_GNU].
19211         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
19212         variable.
19214 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19216         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19217         (sysdep_routines): Add P8 and PPC64 strcspn targets.
19218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19219         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19220         ifunc'ed strcspn.
19221         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
19222         [EALIGN]: Removed.
19223         [END]: Likewise
19224         [STRSPN]: Define instead of the above to control symbol name.
19225         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
19226         New file.
19227         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
19228         Likewise.
19229         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
19230         Likewise.
19231         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
19232         Likewise.
19233         * sysdeps/powerpc/powerpc64/power8/strspn.S:
19234         [INITIAL_MASK]: New macro.
19235         [STRCSPN]: Likewise.
19236         [UPDATE_MASK]: Likewise.
19237         [USE_AS_STRCSPN]: Likewise.
19239 2016-04-25  Florian Weimer  <fweimer@redhat.com>
19241         [BZ #19931]
19242         * stdio-common/tst-vfprintf-width-prec.c: New file.
19243         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
19244         (tests-special): Add tst-vfprintf-width-prec-mem.out.
19245         (generated): Add mtrace-related files.
19246         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
19247         (tst-%-mem.out): New pattern rule, replaces
19248         tst-printf-bz18872-mem.out.
19249         * stdio-common/vfprintf.c (vfprintf): When handling a precision
19250         specifier, deallocate any previously allocated work buffer.
19252 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
19254         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
19255         Add nop before __startcontext, add explaining comments.
19257 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
19259         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
19260         any more. Notably since IPV6_PKTINFO has been reintroduced with a
19261         completely different API.
19263         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
19264         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
19265         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
19266         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
19267         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
19268         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
19269         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
19270         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
19271         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
19272         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
19274 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
19276         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
19278 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
19280         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
19281         when it is the default of 0.
19283 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19285         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
19286         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19287         (sysdep_routines): Add new strcasestr targets.
19288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19289         (__libc_ifunc_impl_list): Likewise.
19290         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
19291         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
19292         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
19293         * sysdeps/powerpc/powerpc64/power8/Makefile:
19294         New file to add strcasestr-ppc64 to sysdep_routines.
19295         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
19296         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
19298 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
19300         * benchtests/Makefile (wcsmbs-benchset): Include only for
19301         native builds and runs.
19302         (LOCALES): Likewise.
19303         (bench-build): Build timing-type here instead of the bench
19304         target.  Generate locale only for native builds.
19305         * benchtests/README: Add note for cross-building.
19307         * benchtests/Makefile (bench-clean): Clean up extra-objs.
19309         * benchtests/README: Update README to include instructions on
19310         using bench-build.
19312         * Makefile.in (bench-build): New target.
19313         * Rules (PHONY): Add bench-build target.
19314         * benchtests/Makefile (bench): Depend on bench-build.
19315         (bench-build): New target.
19317 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19319         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
19320         profil_reply_port.
19321         (profile_waiter): Do not initialize profil_reply_port.
19322         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
19323         frequency instead of tick length in us.
19325 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
19327         [BZ #18712]
19328         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
19329         (__old_mempcpy_small): Likewise.
19330         (__old_strcpy_small): Likewise.
19331         (__old_stpcpy_small): Likewise.
19332         (__old_strpbrk_c2): Fix compat symbol name.
19333         (__old_strpbrk_c3): Likewise.
19334         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
19335         (__mempcpy_small): Remove.
19336         (__strcpy_small): Remove.
19337         (__stpcpy_small): Remove.
19339 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
19341         [BZ #19400]
19342         * locale/iso-639.def: Add the Talossan/tzl language.
19344 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19346         [BZ #16983]
19347         * locale/programs/ld-address.c (address_finish): Update postal_fmt
19348         comment.  Add "ln" to strchr check on postal_fmt.
19350 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19352         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
19353         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
19354         tel_dom_fmt.
19356 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19358         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19359         (sysdep_routines): Added __strlen_power8.
19360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
19361         __strlen_power8 entry.
19362         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
19363         Implementation for POWER8.
19364         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
19365         for __strlen_power8.
19366         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
19367         Implementation for POWER8.
19369 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
19371         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
19373 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
19375         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
19376         Goldmont and Airmont processors.
19378 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
19380         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
19381         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
19382         (__STRING2_SMALL_GET32): Remove.
19383         (memset): Remove.
19384         (__memset_1): Remove.
19385         (__memset_gc): Remove.
19386         (__mempcpy): Remove.
19387         (mempcpy): Remove.
19388         (__mempcpy_args): Remove.
19389         (strchr): Remove.
19390         (strcpy): Remove.
19391         (strcpy_args): Remove.
19392         (__stpcpy_args): Remove.
19393         (__strcmp_cc): Remove.
19394         (__strcmp_gc): Remove.
19395         (strstr): Remove.
19397 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
19399         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
19400         * nis/nis_call.c (nis_server_cache_add): Likewise.
19402 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19404         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
19406 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19408         * malloc/arena.c (__malloc_fork_lock_parent)
19409         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
19410         internal_function attribute.
19412 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
19414         * stdio-common/printf_fp.c (__printf_fp_l):
19415         Rename ___printf_fp_l to __printf_fp_l and
19416         remove strong alias. Use libc_hidden_def instead
19417         of ldbl_hidden_def macro.
19419 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19421         Remove malloc hooks from fork handler.  They are no longer needed
19422         because malloc runs right before fork, and no malloc calls from
19423         other fork handlers are not possible anymore.
19424         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
19425         declarations.
19426         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
19427         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
19428         (atfork_recursive_cntr): Remove.
19429         (__malloc_fork_lock_parent): Do not override malloc hooks and
19430         thread_arena.
19431         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
19432         thread_arena.
19433         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
19434         thread_arena instead of save_arena.
19436 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19438         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
19439         (thread_atfork, thread_atfork_static): Remove.
19440         * sysdeps/mach/hurd/malloc-machine.h:
19441         (thread_atfork, thread_atfork_static): Remove.
19443 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19445         [BZ #19431]
19446         Run the malloc fork handler as late as possible to avoid deadlocks.
19447         * malloc/malloc-internal.h: New file.
19448         * malloc/malloc.c: Include it.
19449         * malloc/arena.c (ATFORK_MEM): Remove.
19450         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
19451         Update comment.
19452         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
19453         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
19454         Remove outdated comment.
19455         (ptmalloc_init): Do not call thread_atfork.  Remove
19456         thread_atfork_static.
19457         * malloc/tst-malloc-fork-deadlock.c: New file.
19458         * Makefile (tests): Add tst-malloc-fork-deadlock.
19459         (tst-malloc-fork-deadlock): Link against libpthread.
19460         * manual/memory.texi (Aligned Memory Blocks): Update safety
19461         annotation comments.
19462         * sysdeps/nptl/fork.c (__libc_fork): Call
19463         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
19464         __malloc_fork_unlock_child.
19465         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
19467 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19469         [BZ #19613]
19470         Remove union wait.
19471         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
19472         (w_stopsig, w_stopval): Remove.
19473         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
19474         stat_loc argument.
19475         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
19476         (__WAIT_STATUS_DEFN): Remove.
19477         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19478         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
19479         (wait, wait3, wait4): Use int * for the stat_loc argument.
19480         * posix/wait.c (__wait): Likewise.
19481         * posix/wait3.c (__wait3): Likewise.
19482         * posix/wait4.c (__wait4): Likewise.
19483         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
19484         (__WAIT_STATUS_DEFN): Remove.
19485         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19486         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
19487         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
19488         argument.
19489         * sysdeps/posix/wait.c (__libc_wait): Likewise.
19490         * sysdeps/posix/wait3.c (__wait3): Likewise.
19491         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
19492         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19493         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
19494         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
19495         stat_loc argument.
19496         * manual/process.texi (BSD Wait Functions): Remove union wait.
19498 2016-04-13  Andreas Schwab  <schwab@suse.de>
19500         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
19501         (test-extras): Add tst-tlsalign-vars.
19502         * math/Makefile: Wrap long lines.
19503         (libm-vec-test-wrappers): Define.
19504         (test-extras): Add $(libm-vec-test-wrappers).
19505         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
19506         * nss/Makefile (extra-test-objs): Add nss_test1.os.
19507         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
19508         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
19509         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
19510         (extra-test-objs): Add corresponding objects.
19512 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
19514         [BZ #19928]
19515         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
19516         New.
19517         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
19518         times of shared cache size.
19519         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
19520         (VMOVNT): New.
19521         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
19522         (VMOVNT): Likewise.
19523         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
19524         (VMOVNT): Likewise.
19525         (VMOVU): Changed to movups for smaller code sizes.
19526         (VMOVA): Changed to movaps for smaller code sizes.
19527         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
19528         comments.
19529         (PREFETCH): New.
19530         (PREFETCH_SIZE): Likewise.
19531         (PREFETCHED_LOAD_SIZE): Likewise.
19532         (PREFETCH_ONE_SET): Likewise.
19533         Rewrite to use forward and backward loops, which move 4 vector
19534         registers at a time, to support overlapping addresses and use
19535         non temporal store if size is above the threshold and there is
19536         no overlap between destination and source.
19538 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
19540         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
19541         Include dl-vdso.
19542         * sysdeps/unix/sysv/linux/mips/Versions: Add
19543         __vdso_clock_gettime.
19544         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
19545         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
19546         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
19547         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
19548         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
19549         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
19550         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19551         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19552         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19554 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19556         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
19557         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
19558         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
19559         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
19560         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
19561         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
19562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19564         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
19565         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
19566         syscalls generation.
19567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19568         [__NR_pwrite64] (__NR_write): Remove define.
19569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19570         [__NR_pwrite64] (__NR_write): Remove define.
19571         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
19572         Remove define.
19573         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
19574         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
19575         Remove define.
19576         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
19577         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
19578         Linux implementation as base.
19579         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19581         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
19582         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
19583         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
19584         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
19585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
19586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19587         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
19588         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
19589         syscall generation.
19590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19591         [__NR_pread64] (__NR_pread): Remove define.
19592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19593         [__NR_pread64] (__NR_pread): Likewise.
19594         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
19595         define.
19596         (__libc_pread): Use SYSCALL_LL macro on offset argument.
19597         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
19598         Remove define.
19599         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
19600         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
19601         Linux implementation as base.
19602         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19603         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
19604         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
19606         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
19607         definition.
19608         (__ALIGNMENT_COUNT): Likewise.
19609         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
19610         (__ALIGNMENT_COUNT): Likewise.
19611         (SYSCALL_LL): New define.
19612         (SYSCALL_LL64): Likewise.
19613         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
19614         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
19615         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
19616         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
19618         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19619         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
19620         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19621         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19622         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19623         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19625 2016-04-11  Florian Weimer  <fweimer@redhat.com>
19627         [BZ #19865]
19628         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
19629         original buffer before retry.
19631 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19633         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
19634         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
19635         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
19636         GLRO(dl_auxv) list.
19637         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
19638         including <ldsodefs.h>.
19639         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
19641 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
19643         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
19644         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
19645         $(CPPFLAGS).
19647 2016-04-09  Khem Raj  <raj.khem@gmail.com>
19649         [BZ #17950]
19650         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
19651         Add -mfpmath=387.
19653 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
19655         * sysdeps/i386/configure.ac: Change == to = when calling test.
19656         * sysdeps/x86_64/configure.ac: Likewise.
19657         * sysdeps/i386/configure: Regenerated.
19658         * sysdeps/x86_64/configure: Likewise.
19660 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
19662         [BZ #16137]
19663         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
19664         * benchtests/bench-strcoll.c (input_files): Likewise.
19665         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19666         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
19667         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
19669 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
19671         [BZ #19929]
19672         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
19673         [__USE_XOPEN2K8 && !__USE_GNU].
19674         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
19675         variable.
19677         [BZ #19925]
19678         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
19679         define if [!__USE_MISC && __USE_XOPEN2K].
19680         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
19681         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
19682         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
19683         Likewise.
19684         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
19685         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
19686         variable.
19687         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19689 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19691         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19692         (sysdep_routines): Add new strspn targets.
19693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19694         (__libc_ifunc_impl_list): Add strspn.
19695         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
19696         New file.
19697         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
19698         Likewise.
19699         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
19700         Likewise.
19701         * sysdeps/powerpc/powerpc64/power8/strspn.S:
19702         Likewise.
19704 2016-04-07  Florian Weimer  <fweimer@redhat.com>
19706         * misc/hsearch_r.c: Include <limits.h>.
19708 2016-04-07  Florian Weimer  <fweimer@redhat.com>
19710         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
19712 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19714         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19715         (MEMCPY_SYMBOL): New.
19716         (MEMPCPY_SYMBOL): Likewise.
19717         (MEMMOVE_CHK_SYMBOL): Likewise.
19718         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
19719         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
19720         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
19721         Provide alias for memcpy in libc.a and ld.so.
19723 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19725         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
19726         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
19727         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
19728         Disabled fro now.
19729         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
19730         symbols.  Properly check USE_MULTIARCH on __memset symbols.
19732 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
19734         * benchtests/Makefile (string-benchset): Add memcpy-large,
19735         memmove-large and memset-large.
19736         * benchtests/bench-memcpy-large.c: New file.
19737         * benchtests/bench-memmove-large.c: Likewise.
19738         * benchtests/bench-memmove-large.c: Likewise.
19739         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
19741 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
19743         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
19744         32-bit displacement to avoid long nop between instructions.
19746 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
19748         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
19749         a comment on VMOVU and VMOVA.
19751 2016-04-04  Florian Weimer  <fweimer@redhat.com>
19753         [BZ #19633]
19754         Use specified locale for number formatting in strfmon_l.
19755         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
19756         (__nl_lookup_word): New inline functions.
19757         * include/printf.h (__print_fp_l): Declare.
19758         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
19759         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
19760         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
19761         (___printf_fp): New function.
19762         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
19763         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
19764         * stdlib/tst-strfmon_l.c (do_test): New test.
19765         * stdlib/Makefile (tests): Add kt.
19766         (LOCALES): Build additional locales.
19767         (tst-strfmon_l.out): Require locales.
19769 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
19771         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
19772         if not in libc.
19773         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19774         Likewise.
19775         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
19776         Likewise.
19777         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19778         Likewise.
19780 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
19782         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19783         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
19784         with unaligned_erms.
19785         (__memmove_erms): Skip if source == destination.
19786         (__memmove_unaligned_erms): Don't check source == destination
19787         first.
19789 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19791         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
19792         bit_arch_Fast_Copy_Backward for Intel Core proessors.
19794 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19796         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
19797         * string/strspn.c (strspn): Likewise.
19799 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19801         * benchtests/bench-memset.c (do_test): Support 64-byte
19802         alignment.
19803         (test_main): Test 64-byte alignment.
19805 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19807         * benchtests/bench-memmove.c (test_main): Test 64-byte
19808         alignment.
19810 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
19812         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
19814 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19816         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
19817         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
19818         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
19820         * string/strpbrk.c (strpbrk): Rewrite function.
19821         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
19822         (__strpbrk_c2): Likewise.
19823         (__strpbrk_c3): Likewise.
19824         * string/string-inlines.c
19825         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
19826         Likewise.
19827         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
19828         Likewise.
19830         * string/strspn.c (strcspn): Rewrite function.
19831         * string/bits/string2.h (strspn): Use __builtin_strcspn.
19832         (__strspn_c1): Remove inline function.
19833         (__strspn_c2): Likewise.
19834         (__strspn_c3): Likewise.
19835         * string/string-inlines.c
19836         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
19837         compatibility symbol.
19838         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
19839         Likewise.
19840         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
19841         Likewise.
19842         * string/string-inlines.c: Include generic version.
19844 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
19845             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19847         * string/Version (libc): Add GLIBC_2.24.
19848         * string/strcspn.c (strcspn): Rewrite function.
19849         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
19850         (__strcspn_c1): Remove inline function.
19851         (__strcspn_c2): Likewise.
19852         (__strcspn_c3): Likewise.
19853         * string/string-inline.c
19854         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
19855         compatibility symbol.
19856         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
19857         Likewise.
19858         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
19859         Likewise.
19860         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
19862 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
19864         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
19865         Use ahi instead of aghi to adjust stack pointer.
19867 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19869         [BZ #19853]
19870         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
19871         TEST to take significant digits as second parameter.
19872         [TEST]: Redefine in terms of TEST_N taking 30
19873         significant digits.
19874         (do_test): Add test case to demonstrate precision
19875         failure in the ldbl-128ibm printf.
19876         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
19877         (__mpn_extract_long_double): Carry 7 extra intermediate
19878         bits of precision to aide computing difference when
19879         signs differ.
19881 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
19883         [BZ #19881]
19884         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19885         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
19886         memset-avx512-unaligned-erms.
19887         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19888         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
19889         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
19890         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
19891         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
19892         __memset_sse2_unaligned_erms, __memset_erms,
19893         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
19894         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
19895         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
19896         file.
19897         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19898         Likewise.
19899         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
19900         Likewise.
19901         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
19902         Likewise.
19904 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
19906         [BZ #19776]
19907         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19908         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
19909         memmove-avx512-unaligned-erms.
19910         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19911         (__libc_ifunc_impl_list): Test
19912         __memmove_chk_avx512_unaligned_2,
19913         __memmove_chk_avx512_unaligned_erms,
19914         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
19915         __memmove_chk_sse2_unaligned_2,
19916         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
19917         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
19918         __memmove_avx512_unaligned_erms, __memmove_erms,
19919         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
19920         __memcpy_chk_avx512_unaligned_2,
19921         __memcpy_chk_avx512_unaligned_erms,
19922         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
19923         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
19924         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
19925         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
19926         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
19927         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
19928         __mempcpy_chk_avx512_unaligned_erms,
19929         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
19930         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
19931         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
19932         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
19933         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
19934         __mempcpy_erms.
19935         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
19936         file.
19937         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19938         Likewise.
19939         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
19940         Likewise.
19941         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
19942         Likewise.
19944 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19946         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
19947         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
19948         (La_s390_64_regs): Likewise.
19949         (La_s390_32_retval): Append vector register lrv_v24.
19950         (La_s390_64_retval): Likeweise.
19951         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
19952         Handle extended structs La_s390_32_regs and La_s390_32_retval.
19953         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
19954         Handle extended structs La_s390_64_regs and La_s390_64_retval.
19956 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
19958         [BZ #19916]
19959         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
19960         to create a non-vector/vector version for _dl_runtime_resolve and
19961         _dl_runtime_profile. Move implementation to ...
19962         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
19963         (_dl_runtime_resolve) Save and restore fpr/vrs.
19964         (_dl_runtime_profile) Save and restore vrs and fix some issues
19965         if _dl_call_pltexit is called.
19966         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
19967         Choose the correct resolver function if running on a machine with vx.
19968         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
19969         to create a non-vector/vector version for _dl_runtime_resolve and
19970         _dl_runtime_profile. Move implementation to ...
19971         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
19972         (_dl_runtime_resolve) Save and restore fpr/vrs.
19973         (_dl_runtime_profile) Save and restore vrs and fix some issues
19974         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
19975         Choose the correct resolver function if running on a machine with vx.
19977 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19979         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
19981 2016-03-31  Florian Weimer  <fweimer@redhat.com>
19983         [BZ #19509]
19984         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
19985         skip_map != NULL.
19986         * elf/tst-dlsym-error.c: New file.
19987         * elf/Makefile (tests): Add tst-dlsym-error.
19988         (tst-dlsym-error): Link against libdl.
19990 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
19992         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19993         (__ASSUME_FUTIMESAT): Remove macro.
19994         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
19996 2016-03-29  Florian Weimer  <fweimer@redhat.com>
19998         [BZ #19879]
19999         CVE-2016-3075
20000         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
20001         copy name.
20003 2016-03-29  Florian Weimer  <fweimer@redhat.com>
20005         [BZ #19837]
20006         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
20007         error if parse_line fails.
20009 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20011         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
20012         (index_cpu_ERMS): Likewise.
20013         (reg_ERMS): Likewise.
20015 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
20017         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
20018         PER_LINUX_FDPIC): Add.
20020 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20022         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20023         memcpy-avx512-no-vzeroupper.
20024         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
20025         to ...
20026         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
20027         (MEMCPY): Don't define.
20028         (MEMCPY_CHK): Likewise.
20029         (MEMPCPY): Likewise.
20030         (MEMPCPY_CHK): Likewise.
20031         (MEMPCPY_CHK): Renamed to ...
20032         (__mempcpy_chk_avx512_no_vzeroupper): This.
20033         (MEMPCPY_CHK): Renamed to ...
20034         (__mempcpy_chk_avx512_no_vzeroupper): This.
20035         (MEMCPY_CHK): Renamed to ...
20036         (__memmove_chk_avx512_no_vzeroupper): This.
20037         (MEMCPY): Renamed to ...
20038         (__memmove_avx512_no_vzeroupper): This.
20039         (__memcpy_avx512_no_vzeroupper): New alias.
20040         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
20042 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20044         [BZ #18858]
20045         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20046         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
20047         and mempcpy-avx512-no-vzeroupper.
20048         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
20049         New.
20050         (MEMPCPY): Likewise.
20051         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
20052         (MEMPCPY_CHK): New.
20053         (MEMPCPY): Likewise.
20054         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
20055         (MEMPCPY): Likewise.
20056         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
20057         (MEMPCPY): Likewise.
20058         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
20059         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
20060         Likewise.
20061         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
20062         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
20064 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20065              Amit Pawar  <Amit.Pawar@amd.com>
20067         [BZ #19583]
20068         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
20069         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
20070         processors.  Set Fast_Copy_Backward for AMD Excavator
20071         processors.
20072         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
20073         New.
20074         (index_arch_Fast_Unaligned_Copy): Likewise.
20075         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
20076         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
20078 2016-03-25  Florian Weimer  <fweimer@redhat.com>
20080         [BZ #19791]
20081         * resolv/res_send.c (close_and_return_error): New function.
20082         (send_dg): Initialize *resplen2 after reopen failure.  Call
20083         close_and_return_error for error returns.  On error paths without
20084         __res_iclose, initialze *resplen2 explicitly.  Update comment for
20085         successful return.
20087 2016-03-25  Florian Weimer  <fweimer@redhat.com>
20089         [BZ #19860]
20090         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
20091         zero if the compiler does not provide the AVX512F bit.
20093 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
20095         [BZ #19848]
20096         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
20097         from 8 to 4.
20098         (__ieee754_powl): Compare integer exponent against 4 not 8.
20099         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
20100         from 8 to 4.
20101         (__ieee754_powl): Compare integer exponent against 4 not 8.
20102         * math/auto-libm-test-in: Add more tests of pow.
20103         * math/auto-libm-test-out: Regenerated.
20104         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
20105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20107 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
20109         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
20110         Make code unconditional.
20111         [!__NR_utimensat]: Remove conditional code.
20112         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
20113         Make code unconditional.
20114         [!__NR_utimensat]: Remove conditional code.
20115         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
20116         Make code unconditional.
20117         [!__NR_utimensat]: Remove conditional code.
20119 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
20121         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
20122         Make code unconditional.
20124 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
20126         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
20127         call-clobbered %eax on retry path.
20128         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
20130 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20132         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
20133         Don't set %rcx twice before "rep movsb".
20135 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20137         [BZ #19583]
20138         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
20139         inline.  Check family before setting family, model and
20140         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
20141         bits here.
20142         (init_cpu_features): Replace HAS_CPU_FEATURE and
20143         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
20144         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
20145         for Intel processors with usable AVX2.  Call get_common_indeces
20146         for other processors with family == NULL.
20147         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
20148         (CPU_FEATURES_ARCH_P): Likewise.
20149         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
20150         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
20152 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20154         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
20155         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
20156         $(shared-thread-library) instead of hardcoding the path to libpthread.
20158 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
20160         * sysdeps/unix/sysv/linux/kernel-features.h
20161         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
20162         * sysdeps/unix/sysv/linux/getdents.c
20163         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
20164         [!have_no_getdents64_defined]: Likewise.
20165         (__GETDENTS): Remove __have_no_getdents64 conditional.
20167 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
20169         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
20170         Remove macro.
20171         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
20172         <kernel-features.h>.
20173         (signalfd) [__NR_signalfd4]: Make code unconditional.
20174         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
20176 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20178         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
20179         style.
20181 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20183         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
20184         (__pthread_enable_asynccancel): Use JUMPTARGET to call
20185         __pthread_unwind.
20186         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20187         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
20188         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20189         (__condvar_cleanup1): Likewise.
20191 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
20193         [BZ #19822]
20194         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
20195         move it to the final $@ location.
20197 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20199         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
20200         access where posix_spawn success and pid argument is null.
20201         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
20202         success case.
20204 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
20206         * sysdeps/mach/hurd/i386/c++-types.data: New file.
20208         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
20210         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
20211         and __fcntl.
20212         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
20213         __fcntl only.
20214         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
20215         adding attribute_hidden to __open and __fcntl.
20217         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
20218         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
20219         depend on libc-modules.h,
20220         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
20222 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
20224         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
20225         Remove macro.
20226         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
20227         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
20228         entry.
20230         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
20231         Remove macro.
20232         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
20233         include <kernel-features.h>.
20234         [!__ASSUME_FALLOCATE]: Remove conditional code.
20235         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
20237 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20239         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
20240         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
20241         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
20242         (_ZGVdN4v_cos_avx2): Likewise.
20243         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
20244         (_ZGVdN4v_cos): Likewise.
20245         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
20246         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
20247         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
20248         (_ZGVdN4v_exp_avx2): Likewise.
20249         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
20250         (_ZGVdN4v_exp): Likewise.
20251         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
20252         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
20253         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
20254         (_ZGVdN4v_log_avx2): Likewise.
20255         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
20256         (_ZGVdN4v_log): Likewise.
20257         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
20258         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
20259         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
20260         (_ZGVdN4vv_pow_avx2): Likewise.
20261         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
20262         (_ZGVdN4vv_pow): Likewise.
20263         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
20264         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
20265         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
20266         (_ZGVdN4v_sin_avx2): Likewise.
20267         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
20268         (_ZGVdN4v_sin): Likewise.
20269         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
20270         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
20271         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
20272         (_ZGVdN4vvv_sincos_avx2): Likewise.
20273         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
20274         (_ZGVdN4vvv_sincos): Likewise.
20275         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
20276         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
20277         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
20278         (_ZGVbN4v_cosf_sse4): Likewise.
20279         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
20280         (_ZGVdN8v_cosf_avx2): Likewise.
20281         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
20282         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
20283         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
20284         (_ZGVbN4v_expf_sse4): Likewise.
20285         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
20286         (_ZGVdN8v_expf_avx2): Likewise.
20287         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
20288         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
20289         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
20290         (_ZGVbN4v_logf_sse4): Likewise.
20291         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
20292         (_ZGVdN8v_logf_avx2): Likewise.
20293         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
20294         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
20295         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
20296         (_ZGVbN4vv_powf_sse4): Likewise.
20297         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
20298         (_ZGVdN8vv_powf_avx2): Likewise.
20299         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20300         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
20301         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20302         (_ZGVbN4vvv_sincosf_sse4): Likewise.
20303         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20304         (_ZGVdN8vvv_sincosf_avx2): Likewise.
20305         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
20306         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
20307         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
20308         (_ZGVbN4v_sinf_sse4): Likewise.
20309         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
20310         (_ZGVdN8v_sinf_avx2): Likewise.
20311         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20312         Use JUMPTARGET to call callee.
20313         (WRAPPER_IMPL_SSE2_ff): Likewise.
20314         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20315         (WRAPPER_IMPL_AVX): Likewise.
20316         (WRAPPER_IMPL_AVX_ff): Likewise.
20317         (WRAPPER_IMPL_AVX_fFF): Likewise.
20318         (WRAPPER_IMPL_AVX512): Likewise.
20319         (WRAPPER_IMPL_AVX512_ff): Likewise.
20320         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20321         Likewise.
20322         (WRAPPER_IMPL_SSE2_ff): Likewise.
20323         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20324         (WRAPPER_IMPL_AVX): Likewise.
20325         (WRAPPER_IMPL_AVX_ff): Likewise.
20326         (WRAPPER_IMPL_AVX_fFF): Likewise.
20327         (WRAPPER_IMPL_AVX512): Likewise.
20328         (WRAPPER_IMPL_AVX512_ff): Likewise.
20329         (WRAPPER_IMPL_AVX512_fFF): Likewise.
20331 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20333         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
20334         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
20335         qualifier.
20336         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
20337         internal_function qualifiers.
20339 2016-03-15  Carlos O'Donell <carlos@redhat.com>
20341         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
20342         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
20343         * math/atest-exp.c (exp_mpn): Mark chk unused.
20344         * math/atest-exp2.c (exp_mpn): Likewise.
20345         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
20346         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
20348 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
20350         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
20351         Remove macro.
20352         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
20353         <kernel-features.h>.
20354         [__NR_ppoll]: Make code unconditional.
20355         [!__ASSUME_PPOLL]: Remove conditional code.
20357         * sysdeps/unix/sysv/linux/kernel-features.h
20358         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
20359         (__ASSUME_ACCEPT4): Likewise.
20360         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20361         Define.
20362         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
20363         Likewise.
20364         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20365         Likewise.
20366         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
20367         Likewise.
20368         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
20369         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
20370         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20371         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20372         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20373         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20374         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20375         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20376         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20377         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20378         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20379         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20380         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20381         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20382         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20383         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20384         Likewise.
20385         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20386         Likewise.
20387         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20388         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20389         0x040300].
20390         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20391         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20392         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20393         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20394         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20395         0x030300].
20396         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
20397         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20398         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20399         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20400         0x040300].
20401         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20402         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20403         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20404         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20405         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20406         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20407         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20408         0x030300].
20409         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20410         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20411         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20412         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20413         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20414         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20415         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20416         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20417         * sysdeps/unix/sysv/linux/s390/kernel-features.h
20418         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20419         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20420         0x040300].
20421         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20422         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20423         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20424         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20425         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20426         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20427         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20428         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20429         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20430         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20431         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20432         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20433         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20434         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20435         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
20436         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20437         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20438         Likewise.
20439         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20440         Likewise.
20442 2016-03-15  Andreas Schwab  <schwab@suse.de>
20444         [BZ #19257]
20445         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
20446         statp->_u._ext.nscount as loop count.
20448 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20450         * math/test-signgam-finite-c99.c: Also #undef
20451         __LIBC_INTERNAL_MATH_INLINES.
20452         * math/test-signgam-main.c: Likewise.
20454 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
20456         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
20457         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20458         (MADV_FREE): Likewise.
20459         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
20460         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
20461         EPOLLEXCLUSIVE.
20463 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
20465         * timezone/README: Remove mention of checktab.awk. Mention wiki
20466         SharedSourceFiles.
20468 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
20470         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
20471         WUNTRACED.
20473 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20475         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
20476         order to match the type of p when calling atomic_exchange_acq().
20478 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20480         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
20481         cfi_offset calls.
20482         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
20483         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
20484         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
20485         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
20486         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
20488 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
20490         * timezone/checktab.awk: Removed.
20492 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
20494         * manual/math.texi (Errors in Math Functions): Document relaxed
20495         accuracy goals for IBM long double.
20496         * math/libm-test.inc (test_exceptions): Always allow spurious
20497         "underflow" and "inexact" exceptions for IBM long double.
20499 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
20501         [BZ #19762]
20502         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20503         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
20504         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
20505         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
20506         (bit_arch_*): This for feature array.
20507         (bit_*): Renamed to ...
20508         (bit_cpu_*): This for cpu array.
20509         (index_*): Renamed to ...
20510         (index_arch_*): This for feature array.
20511         (index_*): Renamed to ...
20512         (index_cpu_*): This for cpu array.
20513         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
20514         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
20515         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
20516         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
20517         bit_##name with index_cpu_##name and bit_cpu_##name.
20518         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
20519         bit_##name with index_arch_##name and bit_arch_##name.
20521 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
20523         [BZ #19792]
20524         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
20525         Terminate FDE before return label.
20527 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
20529         [BZ #19790]
20530         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
20531         (rintl): Define as macro.
20532         [USE_AS_NEARBYINTL] (__rintl): Likewise.
20533         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
20534         of fesetround.  Ensure results are evaluated before end of scope.
20535         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
20536         USE_AS_NEARBYINTL and include s_rintl.c.
20537         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
20538         Disable exception traps in new environment.
20539         (libc_feholdsetround_ppc_ctx): Likewise.
20541 2016-03-08  Roland McGrath  <roland@hack.frob.com>
20543         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
20544         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
20545         (tst_audit10_aux) [__AVX512F__]: ... here.
20547 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
20549         * include/sys/auxv.h: New file.
20551 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20553         [BZ #19759]
20554         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
20556 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20558         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
20559         operand modifier.
20560         (feclearexcept): Likewise.
20562 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20564         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
20565         to reflect the entire 32-bit HWCAP.
20566         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
20567         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
20569 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20571         [BZ #19783]
20572         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
20573         $(test-via-rtld-prefix).
20574         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
20576 2016-03-08  Florian Weimer  <fweimer@redhat.com>
20578         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
20579         union wait.  Report any non-zero exit status as error.
20581 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20583         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
20584         configured with --enable-hardcoded-path-in-tests.
20586 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
20588         [BZ #19677]
20589         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20590         (__ieee754_remainderl): Put zero low parts in canonical form.
20591         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
20592         file.  Based on
20593         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
20594         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
20595         with wrapper round test-fmodrem-ldbl-128ibm.c.
20596         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
20597         file.
20598         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
20599         Likewise.
20600         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
20601         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
20603 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20605         [BZ #19610]
20606         * elf/ldconfig.c (opt_link): Update comment.
20607         (options): Update help string for option -X.
20608         (search_dir): Unlink stale symbolic link only if updating symbolic
20609         links.
20610         * elf/tst-ldconfig-X.sh: New file.
20611         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
20612         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
20614 2016-03-07  Andreas Schwab  <schwab@suse.de>
20616         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
20617         needed arguments.
20619 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
20621         [BZ #15333]
20622         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
20623         to lstat64.
20625 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20627         * libio/filedoalloc.c (isatty): Remove.
20628         (local_isatty): Add comment.  Call __isatty directly.
20629         (_IO_file_doallocate): Update comment.  Assume _LIBC.
20630         * libio/wfiledoalloc.c (isatty): Remove.
20631         (_IO_wfile_doallocate): Update comment.
20633 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20635         [BZ #19269]
20636         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
20637         tst-audit4-aux.o.
20638         (tst-audit10): Depend on tst-audit10-aux.o.
20639         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
20640         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
20641         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
20642         instead of inline AVX code.
20643         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
20644         instead of inline AVX512 code.
20645         * sysdeps/x86_64/tst-audit4-aux.c: New file
20646         * sysdeps/x86_64/tst-audit10-aux.c: New file
20648         [BZ #19648]
20649         * test-skeleton.c (main): Do not set RLIMIT_DATA.
20651 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20653         [BZ #14750]
20654         [BZ #10354]
20655         [BZ #18433]
20656         * include/sched.h (__clone): Add hidden prototype.
20657         (__clone2): Likewise.
20658         * include/unistd.h (__dup): Likewise.
20659         * posix/Makefile (tests): Add tst-spawn2.
20660         * posix/tst-spawn2.c: New file.
20661         * sysdeps/posix/dup.c (__dup): Add hidden definition.
20662         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
20663         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20664         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20665         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20666         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20667         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
20668         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20669         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
20670         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20671         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20673         Likewise.
20674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20675         Likewise.
20676         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20677         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20678         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20679         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20680         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20681         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20682         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20683         * sysdeps/unix/sysv/linux/nptl-signals.h
20684         (____nptl_is_internal_signal): New function.
20685         * sysdeps/unix/sysv/linux/spawni.c: New file.
20687         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
20688         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
20689         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
20690         * posix/tst-execvp2.c (do_test): Likewise.
20691         * posix/tst-execvp3.c (do_test): Likewise.
20692         * posix/tst-execvp4.c (do_test): Likewise.
20693         * posix/tst-execvpe1.c: New file.
20694         * posix/tst-execvpe2.c: Likewise.
20695         * posix/tst-execvpe3.c: Likewise.
20696         * posix/tst-execvpe4.c: Likewise.
20697         * posix/tst-execvpe5.c: Likewise.
20698         * posix/tst-execvpe6.c: Likewise.
20700         [BZ #19534]
20701         * posix/execl.c (execl): Remove dynamic memory allocation.
20702         * posix/execle.c (execle): Likewise.
20703         * posix/execlp.c (execlp): Likewise.
20705 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20707         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
20708         Replace .text with .text.avx512.
20709         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
20710         Likewise.
20712 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
20714         * sysdeps/generic/libnsl.abilist: New file.
20715         * sysdeps/generic/libutil.abilist: New file.
20717 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20719         [BZ #19762]
20720         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
20721         HAS_ARCH_FEATURE with Fast_Rep_String.
20722         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
20723         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
20724         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
20725         Likewise.
20726         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
20727         Likewise.
20728         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
20729         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
20730         Likewise.
20731         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
20732         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
20733         Likewise.
20735 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20737         [BZ #19745]
20738         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
20739         with *%rax in call.
20741 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20743         [BZ #19745]
20744         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
20745         with *__libc_start_main@GOTPCREL(%rip) in call.
20747 2016-03-04  Roland McGrath  <roland@hack.frob.com>
20749         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
20750         inside conditional for nonempty $(CXX).
20752         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
20753         nonempty.
20755         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
20756         to test for empty $(CXX) rather than $(CXX) of "no".
20758 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
20760         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
20762 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
20763             H.J. Lu  <hongjiu.lu@intel.com>
20765         [BZ #18880]
20766         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
20767         instead of Slow_BSF, and also check for Fast_Copy_Backward to
20768         enable __memcpy_ssse3_back.
20770 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
20772         [BZ #19758]
20773         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20774         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
20776 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
20778         [BZ #19490]
20779         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
20780         (__fentry__): Likewise.
20782 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
20784         * gmon/Makefile (noprof): Add $(sysdep_noprof).
20785         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
20787 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
20789         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
20790         __mcount_internal directly.
20791         (C_LABEL(__fentry__)): Likewise.
20792         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
20793         directly.
20795 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
20797         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20798         (__start_context): Call __setcontext directly.
20800 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
20802         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20803         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20804         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
20805         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20806         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20807         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20808         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
20809         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20810         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20811         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
20812         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
20813         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
20814         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20815         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20816         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20817         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20818         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
20819         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20820         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20821         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
20822         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
20823         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20824         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20825         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
20826         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
20827         Remove conditional code.
20828         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20829         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
20830         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20831         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20832         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
20833         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20834         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
20835         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20836         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
20837         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20838         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20839         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
20841 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
20843         * NEWS (2.23): Fix typo in bug 19048 text.
20845 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
20847         [BZ #14259]
20848         * Makeconfig: Rename msgcatdir to localedir.
20849         Rename inst_msgcatdir to inst_localedir.
20850         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
20851         * config.make.in: Add localedir.
20852         * elf/Makefile ($(objpfx)sotruss): Use localedir.
20853         (ldd-rewrite): Likewise.
20854         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
20855         (install-others): Use inst_localedir.
20856         (CPPFLAGS): Use localedir.
20857         * locale/Makefile (locale-CPPFLAGS): Likewise.
20858         * po/Makefile (mo-installed): Use inst_localedir.
20860         [BZ #19575]
20861         * localedata/charmaps/GB18030: Update comments regarding PAU to
20862         non-PUA mappings.
20864 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
20866         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
20867         test for header.
20868         * sysdeps/unix/sysv/linux/configure: Regenerated.
20869         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
20870         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
20871         Remove conditional code.
20872         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
20874         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20875         Define to 3.2.0.
20876         (arch_minimum_kernel): Likewise.
20877         * sysdeps/unix/sysv/linux/configure: Regenerated.
20878         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
20879         Define to 2.6.32.
20880         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
20881         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
20882         (arch_minimum_kernel): Define to 2.6.32.
20883         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
20884         * README: Document Linux 3.2 requirement.
20885         * manual/install.texi (Linux): Document Linux 3.2 headers
20886         requirement.
20887         * INSTALL: Regenerated.
20889 2016-02-24  Andreas Schwab  <schwab@suse.de>
20891         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
20892         if !NO_LONG_DOUBLE.
20894 2016-02-22  Roland McGrath  <roland@hack.frob.com>
20896         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
20897         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
20899 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
20901         [BZ #19512]
20902         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
20904 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
20906         * posix/tst-dir.c: Include libc-internal.h.
20908 2016-02-20  Florian Weimer  <fweimer@redhat.com>
20910         [BZ #19056]
20911         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
20912         * manual/filesys.texi (Reading/Closing Directory): Mention
20913         deprecaion.
20914         * posix/tst-dir.c (main): Disable deprecation warning in test.
20916 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
20918         [BZ #19679]
20919         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
20920         Renamed to ...
20921         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
20922         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20923         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
20924         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20925         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20926         * sysdeps/x86_64/dl-trampoline.h
20927         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
20928         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
20930 2016-02-19  Mark Wielaard  <mjw@redhat.com>
20932         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
20934 2016-02-19  Mark Wielaard  <mjw@redhat.com>
20936         * elf/elf.h (R_386_GOT32X): New.
20937         (R_386_NUM): Update.
20938         (R_X86_64_GOTPCRELX: New.
20939         (R_X86_64_REX_GOTPCRELX): New.
20940         (R_X86_64_NUM): Update.
20942 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
20944         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
20946 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
20948         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
20949         assign attr->stackaddr to it, and adjust it down when
20950         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
20951         [_STACK_GROWS_UP]: Delete assert.
20952         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
20953         Implement stack grows up logic.
20954         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
20955         stack grows up logic.
20957 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20959         * NEWS: Update with 2.24 template.
20961 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
20963         [BZ #19678]
20964         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20965         Ensure +0.0 is returned when taking the next value below the least
20966         positive value.
20968 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20970         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
20971         available.  Do not define NO_THREADS.
20972         * malloc/malloc.c: Do not check NO_THREADS.
20973         * malloc/arena.c: Likewise.
20975 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20977         * malloc/malloc.c (__libc_mallinfo): Update comment.
20978         (struct malloc_par): Remove max_total_mem member, it was always 0.
20979         (int_mallinfo): Store 0 into usmblks (no functional change).
20980         * malloc/hooks.c (struct malloc_state): Document that
20981         max_total_mem is always 0.
20982         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
20983         always 0.
20984         * manual/memory.texi (Statistics of Malloc): Likewise.
20986 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20988         * malloc/malloc.c (sysmalloc): Do not update arena_max.
20989         * malloc/arena.c (arena_max): Remove.
20990         (heap_trim, _int_new_arena): Do not update arena_max.
20992 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20994         * resolv/res_init.c (res_ninit): Update comment.
20996 2016-02-19  Florian Weimer  <fweimer@redhat.com>
20998         [BZ #19505]
20999         * posix/spawn_int.h: Add headers and include guard.
21000         (__spawn_valid_fd): New function.
21001         * posix/spawn_faction_addopen.c
21002         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
21003         * posix/spawn_faction_addclose.c
21004         (posix_spawn_file_actions_addclose): Likewise.
21005         * posix/spawn_faction_adddup2.c
21006         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
21007         second file descriptor.
21008         * posix/spawn_valid_fd.c: New file.
21009         * posix/tst-posix_spawn-fd.c: New file.
21010         * posix/Makefile (routines): Add spawn_valid_fd.
21011         (tests): Add tst-posix_spawn-fd.
21013 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21015         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
21016         (do_test): Limit the number of arenas, so that we can use fewer
21017         outer threads.  Limit timeout to 3 seconds, in preparation for a
21018         larger TIMEOUT value.
21020 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
21022         [BZ #19674]
21023         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
21024         sign in overflowing and underflowing results when overflow or
21025         underflow is detected early.  Include sign in result before rather
21026         than after scaling.
21028         [BZ #19603]
21029         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
21030         (__ieee754_remainderl): Adjust sign of integer version of low part
21031         when taking absolute value of high part.
21032         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21033         * math/libm-test.inc (remainder_test_data): Add another test.
21034         (remquo_test_data): Likewise.
21036 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
21038         [BZ #19602]
21039         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
21040         equal high parts and both low parts zero specially.
21041         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
21042         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
21043         Add test-fmodl-ldbl-128ibm.
21045         [BZ #19595]
21046         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
21047         common logic for all cases of shifting subnormal results.  Do not
21048         insert sign bit in shifted mantissa.  Always pass -1023 as biased
21049         exponent to ldbl_insert_mantissa in subnormal case.
21051         [BZ #19594]
21052         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
21053         on high and low parts then adjust result and use
21054         ldbl_canonicalize_int if needed.
21056         [BZ #19593]
21057         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
21058         on high part and __floor or __ceil on low part then use
21059         ldbl_canonicalize_int if needed.
21061         [BZ #19592]
21062         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
21063         high and low parts then use ldbl_canonicalize_int if needed.
21065         [BZ #17899]
21066         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
21067         New function.
21068         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
21069         on high and low parts then use ldbl_canonicalize_int if needed.
21071 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21073         * configure: Regenerated.
21075         * po/libc.pot: Regenerated.
21077         * po/be.po: Updated translation.
21078         * po/bg.po: Likewise.
21079         * po/ca.po: Likewise.
21080         * po/cs.po: Likewise.
21081         * po/da.po: Likewise.
21082         * po/el.po: Likewise.
21083         * po/eo.po: Likewise.
21084         * po/es.po: Likewise.
21085         * po/fi.po: Likewise.
21086         * po/fr.po: Likewise.
21087         * po/gl.po: Likewise.
21088         * po/hr.po: Likewise.
21089         * po/hu.po: Likewise.
21090         * po/ia.po: Likewise.
21091         * po/id.po: Likewise.
21092         * po/it.po: Likewise.
21093         * po/ja.po: Likewise.
21094         * po/lt.po: Likewise.
21095         * po/nb.po: Likewise.
21096         * po/nl.po: Likewise.
21097         * po/pt_BR.po: Likewise.
21098         * po/rw.po: Likewise.
21099         * po/sk.po: Likewise.
21100         * po/sl.po: Likewise.
21101         * po/sv.po: Likewise.
21102         * po/tr.po: Likewise.
21103         * po/zh_CN.po: Likewise.
21104         * po/zh_TW.po: Likewise.
21106         * version.h (RELEAES): Set to "development".
21107         (VERSION): Set to 2.23.90.
21109         * version.h (RELEASE): Set to "stable".
21110         (VERSION): Set to 2.23.
21111         * include/feature.h (__GLIBC_MINOR__): Set to 23.
21113         * NEWS: Updated fixed bugs.
21115 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
21116             Wilco Dijkstra  <wdijkstr@arm.com>
21118         [BZ #19462]
21119         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
21120         (_STRING_INLINE_unaligned): This.
21121         * include/string.h: Include <string_private.h>.
21122         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
21123         _STRING_INLINE_unaligned.
21124         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
21125         (_STRING_INLINE_unaligned): New.
21126         * sysdeps/aarch64/string_private.h: New file.
21127         * sysdeps/generic/string_private.h: Likewise.
21128         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
21129         * sysdeps/s390/string_private.h: Likewise.
21130         * sysdeps/x86/string_private.h: Likewise.
21131         * sysdeps/m68k/m680x0/m68020/bits/string.h
21132         (_STRING_ARCH_unaligned): Renamed to ...
21133         (_STRING_INLINE_unaligned): This.
21134         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
21135         to ...
21136         (_STRING_INLINE_unaligned): This.
21137         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
21138         to ...
21139         (_STRING_INLINE_unaligned): This.
21140         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
21141         to ...
21142         (_STRING_INLINE_unaligned): This.
21144 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21145             H.J. Lu  <hongjiu.lu@intel.com>
21147         [BZ #19590]
21148         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
21149         relocation.
21151 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
21153         [BZ #18665]
21154         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
21155         *herrno_p.
21156         (gaih_getanswer): Document functional behviour. Return tryagain
21157         if any result is tryagain.
21158         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
21159         when freed.
21160         * resolv/res_send.c: Add copyright text.
21161         (__libc_res_nsend): Document that MAXPACKET is expected.
21162         (send_vc): Document. Remove buffer reuse.
21163         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
21164         size of the buffer. Add Dprint for truncated UDP buffer.
21166 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
21168         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
21169         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
21170         * INSTALL: Regenerate.
21172 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
21173             Jonathan Wakely  <jwakely@redhat.com>
21174             Carlos O'Donell  <carlos@redhat.com>
21176         [BZ 19439]
21177         * math/Makefile (tests): Add test-math-isinff.
21178         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
21179         * math/bits/mathcalls.h [__USE_MISC]: Use
21180         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
21181         functions not in C++11 and which don't conflict e.g. isinff,
21182         isinfl etc.
21183         * math/test-math-isinff.cc: New file.
21185 2016-02-12  Florian Weimer  <fweimer@redhat.com>
21187         * misc/bug18240.c (do_test): Set RLIMIT_AS.
21189 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21191         [BZ #19529]
21192         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
21194 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21196         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21198 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
21200         [BZ #19550]
21201         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
21202         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
21203         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
21204         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
21205         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
21206         New syscall entry.
21207         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
21208         New syscall entry.
21209         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
21210         syscall entry.
21212 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
21214         [BZ #18240]
21215         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
21216         unsigned int wraparound.
21218 2016-01-27  Florian Weimer  <fweimer@redhat.com>
21220         [BZ #18240]
21221         * misc/bug18240.c: New test.
21222         * misc/Makefile (tests): Add it.
21224 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
21225             Joseph Myers  <joseph@codesourcery.com>
21227         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
21228         load in branch delay slot when less than a word of input left.
21230 2016-01-27  Andreas Schwab  <schwab@suse.de>
21232         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
21233         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
21234         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
21235         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
21237 2016-01-26  David S. Miller  <davem@davemloft.net>
21239         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
21241 2016-01-25  David S. Miller  <davem@davemloft.net>
21243         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
21244         __sqrtl_finite.
21245         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
21246         instead using versioned_symbol.
21247         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
21248         of entries.
21250         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
21251         __sqrtl_finite to GLIBC_2.23
21253 2016-01-25  Ricchard Henderson  <rth@redhat.com>
21255         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21257 2016-01-25  Andreas Schwab  <schwab@suse.de>
21259         [BZ #17514]
21260         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
21261         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
21262         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
21263         * nptl/tst-mutex-errorcheck.c: New file.
21265 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21267         [BZ #18560]
21268         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
21269         (IPCOP_semop): Likewise.
21270         (IPCOP_semget): Likewise.
21271         (IPCOP_semctl): Likewise.
21272         (IPCOP_msgsnd): Likewise.
21273         (IPCOP_msgrcv): Likewise.
21274         (IPCOP_msgget): Likewise.
21275         (IPCOP_msgctl): Likewise.
21276         (IPCOP_shmat): Likewise.
21277         (IPCOP_shmdt): Likewise.
21278         (IPCOP_shmget): Likewise.
21279         (IPCOP_shmctl): Likewise.
21281 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
21283         * string/tst-endian.c: Include <libc-internal.h>.
21284         (do_test): Ignore tautological-compare warnings around
21285         "htobeXX (beXXtoh (i)) != i" and
21286         "htoleXX (leXXtoh (i)) != i" if-statements.
21288 2016-01-24  David S. Miller  <davem@davemloft.net>
21290         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
21291         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
21292         alias.
21293         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
21294         __sqrtl_finite.
21296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21298 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
21300         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
21301         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
21302         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21304 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21306         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
21307         (thread_func): Use new function to simplify barrier check.
21308         (do_test): Use new function to simplify checking barrier exit
21309         code, and actually join the child thread.
21311 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21313         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
21314         semicolon.
21315         (__libc_tend): Likewise.
21316         (__libc_tabort): Likewise.
21318 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
21320         * sysdeps/nios2/libm-test-ulps: Update.
21321         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
21322         (__gtsf2): Likewise.
21323         (__unorddf2): Likewise.
21324         (__unordsf2): Likewise.
21325         (__ledf2): Likewise.
21327 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
21329         * nis/nis_table.c (__follow_path): Disable diagnostic for
21330         uninitialized variable that is a false positive for gcc 4.7.
21331         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
21333 2016-01-20  Roland McGrath  <roland@hack.frob.com>
21335         * sysdeps/nacl/lowlevellock-futex.h
21336         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
21337         Always evaluate PRIVATE argument.
21339 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
21341         [BZ #19490]
21342         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
21343         (pthread_cond_broadcast): Use ENTRY/END
21344         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
21345         (pthread_cond_signal): Likewise.
21346         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
21347         Likewise.
21348         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
21349         Likewise.
21350         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
21351         Likewise.
21353 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
21355         * sysdeps/ieee754/dbl-64/s_finite.c
21356         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
21357         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
21358         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
21359         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
21360         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
21362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
21363         (__gtsf2): Add as optional for libc.so.
21364         (__unordsf2): Likewise.
21365         (__signbit): Remove for libc.so.
21366         (__signbitl): Likewise.
21368 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21370         * iconvdata/bug-iconv11.c (test_ibm93x):
21371         Use %zu printf format specifier for size_t argument.
21373 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
21375         * math/gen-libm-test.pl (parse_ulps): Do not reduce
21376         already-recorded ulps.
21377         * sysdeps/arm/libm-test-ulps: Regenerated.
21378         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21379         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21380         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21382 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21383             Paul Pluzhnikov  <ppluzhnikov@google.com>
21385         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
21386         assembler not supporting AVX-512.
21388 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
21390         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21392 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
21394         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21395         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21397         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21399         * sysdeps/arm/libm-test-ulps: Regenerated.
21401 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21403         [BZ #19451]
21404         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
21406 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21408         [BZ #19486]
21409         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
21410         * sysdeps/generic/fix-fp-int-convert-overflow.h
21411         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
21412         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
21413         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
21414         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
21415         Likewise.
21416         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
21417         Avoid conversions to long int where inexact exceptions
21418         could be raised.
21419         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
21420         Likewise.
21421         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
21422         Avoid conversions to long long int where inexact exceptions
21423         could be raised.
21424         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
21425         Likewise.
21427 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
21429         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
21430         * configure: Regenerated.
21432 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21434         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
21436 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
21438         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
21439         outside of comment.
21441 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21443         * nptl/tst-barrier1.c: Add description on first line.
21444         * nptl/tst-barrier2.c: Likewise.
21445         * nptl/tst-barrier3.c: Likewise.
21446         * nptl/tst-barrier4.c: Likewise.
21447         * nptl/tst-barrier5.c: Likewise.
21449 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21451         [BZ #18868]
21452         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
21454 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21456         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
21457         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21458         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
21459         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
21460         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
21461         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
21462         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21463         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21464         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21465         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21466         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21468 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21470         [BZ #13065]
21471         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
21472         new implementation.
21473         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
21474         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
21475         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
21476         (BARRIER_IN_THRESHOLD): New macro.
21477         * nptl/pthread_barrierattr_setpshared.c
21478         (pthread_barrierattr_setpshared): Clean up.
21479         * nptl/tst-barrier4.c: Correct comment.
21480         * nptl/tst-barrier5.c: New file.
21481         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
21482         (gen-as-const-headers): Remove lowlevelbarrier.sym.
21483         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
21484         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
21485         * nptl/lowlevelbarrier.sym: Remove.
21486         * nptl/DESIGN-barrier.txt: Remove.
21487         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
21488         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
21489         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
21490         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
21491         error.
21492         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
21493         implementation.
21495 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21497         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
21498         (do_child): Mask SIGRTMIN while thr is running.
21500 2016-01-15  Martin Sebor  <msebor@redhat.com>
21502         [BZ #19432]
21503         * iconvdata/Makefile: Add bug-iconv11.
21504         * iconvdata/bug-iconv11.c: New test.
21505         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
21506         * iconvdata/ibm933.c: Same.
21507         * iconvdata/ibm935.c: Same.
21508         * iconvdata/ibm937.c: Same.
21509         * iconvdata/ibm939.c: Same.
21511 2016-01-15  Martin Sebor  <msebor@redhat.com>
21513         [BZ #19443]
21514         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
21515         [DEBUG] (_ufc_set_bits): Declare used.
21516         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
21517         [DEBUG] (print_all): Declare used.
21518         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
21519         operands of the ternary ?: expression to target type.
21520         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
21521         calling the undeclared abort.
21522         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
21524 2016-01-15  Martin Sebor  <msebor@redhat.com>
21526         [BZ #18755]
21527         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
21528         warnings.
21529         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
21530         (__gai_create_helper_thread): Same.
21531         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
21532         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
21533         to suppress -Wmaybe-uninitialized warnings.
21535 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
21537         [BZ #19465]
21538         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
21539         inside if.
21540         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21541         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21542         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21544 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
21546         [BZ #19466]
21547         * time/tst-mktime2.c (time_t_max): Removed.
21548         (time_t_min): Likewise.
21549         (TYPE_SIGNED): New.
21550         (TYPE_MINIMUM): Likewise.
21551         (TYPE_MAXIMUM): Likewise.
21552         (TIME_T_MIN): Likewise.
21553         (TIME_T_MAX): Likewise.
21554         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
21555         and TIME_T_MIN.
21556         (do_test): Likewise.
21558 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
21560         [BZ #19467]
21561         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21562         index_Fast_Unaligned_Load flag for Excavator family CPUs.
21564 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
21566         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
21568 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
21570         * benchtests/Makefile (PYTHON): Define.
21571         (bench-func): Use $(PYTHON) to run python scripts.
21572         ($(objpfx)bench-%.c): Likewise.
21574 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
21576         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
21577         leading slash when `file_name' is "/".
21579 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
21581         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
21582         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
21583         Likewise.
21584         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
21585         Likewise.
21586         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
21587         Likewise.
21588         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
21589         enum constant and macro.
21590         (PTRACE_SETSIGMASK): Likewise.
21591         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21592         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
21593         (PTRACE_GETSIGMASK): Likewise.
21594         (PTRACE_SETSIGMASK): Likewise.
21595         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21596         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
21597         Likewise.
21598         (PTRACE_SETSIGMASK): Likewise.
21599         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21600         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
21601         (PTRACE_GETSIGMASK): Likewise.
21602         (PTRACE_SETSIGMASK): Likewise.
21603         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21604         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
21605         Likewise.
21606         (PTRACE_SETSIGMASK): Likewise.
21607         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21608         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
21609         Likewise.
21610         (PTRACE_SETSIGMASK): Likewise.
21611         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21612         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
21613         Likewise.
21614         (PTRACE_SETSIGMASK): Likewise.
21615         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21617 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
21618             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21620         [BZ #19439]
21621         * math/bits/mathcalls.h
21622         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
21623         prototype.
21624         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
21626 2016-01-11  Andreas Schwab  <schwab@suse.de>
21628         [BZ #19253]
21629         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
21630         cache when TZDEFRULES was used.
21631         * time/tst-tzname.c: New file.
21632         * time/Makefile (test): Add tst-tzname.
21633         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
21634         * timezone/Makefile (test-zones): Add $(posixrules-file).
21635         ($(testdata)/$(posixrules-file)): New rule.
21637 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
21639         Fix doc quoting problems with Texinfo 5
21640         Without this change, in the info file output, Texinfo 5 quotes code
21641         in text with undirected single quotes 'like this' and generates
21642         code examples that with many PDF readers cannot be cut out of PDFs
21643         and pasted into code.
21644         * manual/libc.texinfo: Configure the libc manual like the GNU
21645         Emacs manual, by using @documentencoding and setting
21646         txicodequoteundirected and txicodequotebacktick.  This way,
21647         Texinfo 5 quotes code in text with directed single quotes ‘like
21648         this’ and produces examples that can be cut out of PDFs.  This
21649         change causes Texinfo 5 to generate info files that contain UTF-8
21650         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
21651         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
21653 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21655         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
21656         __libc_tabort, __libc_tend): New wrappers that enforce compiler
21657         barriers to their respective compiler built-ins.
21658         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
21659         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
21660         * sysdeps/powerpc/sysdep.h: Likewise.
21661         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
21662         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
21663         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
21665 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
21667         * scripts/config.guess: Revert previous shebang change.
21668         * scripts/config.sub: Likewise.
21669         * scripts/mkinstalldirs: Likewise.
21671 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21673         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
21674         PPC_FEATURE2_HAS_IEEE128.
21675         * sysdeps/powerpc/dl-procinfo.c:
21676         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
21678 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
21680         [BZ #19415]
21681         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
21682         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
21683         (_dl_lookup_address): Rewrite using function resolver trampoline.
21684         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
21685         two bits in address.
21687 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
21689         * longlong.h: Change !__SHMEDIA__ to
21690         (!defined (__SHMEDIA__) || !__SHMEDIA__).
21691         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
21693 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
21694             Joseph Myers  <joseph@codesourcery.com>
21695             Mark Shinwell  <shinwell@codesourcery.com>
21696             Andrew Stubbs  <ams@codesourcery.com>
21697             Rich Felker <dalias@libc.org>
21699         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
21701 2016-01-07  Richard Henderson  <rth@redhat.com>
21703         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
21705 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
21707         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
21708         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
21709         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21710         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21711         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
21713 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
21714             Joseph Myers  <joseph@codesourcery.com>
21716         * timezone/private.h: Update from tzcode 2015g.
21717         * timezone/tzfile.h: Likewise.
21718         * timezone/tzselect.ksh: Likewise.
21719         * timezone/zdump.c: Likewise.
21720         * timezone/zic.c: Likewise.
21721         * timezone/ialloc.c: Remove file.
21722         * timezone/scheck.c: Likewise.
21723         * timezone/Makefile (extra-objs): Remove variable.
21724         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
21725         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
21726         -Wno-maybe-uninitialized.
21727         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
21728         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
21729         (CFLAGS-ialloc.c): Remove variable.
21730         (CFLAGS-scheck.c): Likewise.
21731         * timezone/README: Update list of files from tzcode.
21733 2016-01-07  Khem Raj  <raj.khem@gmail.com>
21735         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
21736         instead of __fxprintf when _LIBC is undefined.
21738 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
21740         * catgets/test-gencat.sh: Remove space after shebang.
21741         * conform/GlibcConform.pm: Likewise.
21742         * conform/check-header-lists.sh: Likewise.
21743         * conform/conformtest.pl: Likewise.
21744         * conform/linknamespace.pl: Likewise.
21745         * conform/list-header-symbols.pl: Likewise.
21746         * debug/catchsegv.sh: Likewise.
21747         * elf/genrtldtbl.awk: Likewise.
21748         * elf/tst-pathopt.sh: Likewise.
21749         * elf/tst-rtld-load-self.sh: Likewise.
21750         * grp/tst_fgetgrent.sh: Likewise.
21751         * iconvdata/gen-8bit-gap-1.sh: Likewise.
21752         * iconvdata/gen-8bit-gap.sh: Likewise.
21753         * iconvdata/gen-8bit.sh: Likewise.
21754         * iconvdata/run-iconv-test.sh: Likewise.
21755         * intl/tst-gettext.sh: Likewise.
21756         * intl/tst-gettext2.sh: Likewise.
21757         * intl/tst-gettext4.sh: Likewise.
21758         * intl/tst-gettext6.sh: Likewise.
21759         * intl/tst-translit.sh: Likewise.
21760         * io/ftwtest-sh: Likewise.
21761         * libio/test-freopen.sh: Likewise.
21762         * locale/gen-translit.pl: Likewise.
21763         * malloc/tst-mtrace.sh: Likewise.
21764         * manual/check-safety.sh: Likewise.
21765         * manual/libc-texinfo.sh: Likewise.
21766         * manual/tsort.awk: Likewise.
21767         * manual/xtract-typefun.awk: Likewise.
21768         * nptl/tst-cancel-wrappers.sh: Likewise.
21769         * nptl/tst-tls6.sh: Likewise.
21770         * posix/globtest.sh: Likewise.
21771         * posix/tst-getconf.sh: Likewise.
21772         * posix/wordexp-tst.sh: Likewise.
21773         * scripts/check-c++-types.sh: Likewise.
21774         * scripts/check-local-headers.sh: Likewise.
21775         * scripts/config.guess: Likewise.
21776         * scripts/config.sub: Likewise.
21777         * scripts/cpp: Likewise.
21778         * scripts/cross-test-ssh.sh: Likewise.
21779         * scripts/documented.sh: Likewise.
21780         * scripts/evaluate-test.sh: Likewise.
21781         * scripts/gen-libc-abis: Likewise.
21782         * scripts/gen-sorted.awk: Likewise.
21783         * scripts/list-fixed-bugs.py: Likewise.
21784         * scripts/merge-test-results.sh: Likewise.
21785         * scripts/mkinstalldirs: Likewise.
21786         * scripts/rellns-sh: Likewise.
21787         * scripts/test-installation.pl: Likewise.
21788         * scripts/update-copyrights: Likewise.
21789         * stdio-common/tst-printf.sh: Likewise.
21790         * stdio-common/tst-unbputc.sh: Likewise.
21791         * stdlib/tst-fmtmsg.sh: Likewise.
21792         * stdlib/tst-setcontext3.sh: Likewise.
21793         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
21794         * sysdeps/unix/make-syscalls.sh: Likewise.
21796 2016-01-06  John David Anglin  <dave.anglin@bell.net>
21798         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
21799         asm stw with atomic_exchange_rel.  Add explanatory comment.
21800         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
21801         Likewise.
21803 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
21805         [BZ #19122]
21806         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
21807         * sysdeps/generic/dl-unistd.h: New file.
21808         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
21810 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
21812          [BZ #19122]
21813          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
21814          * sysdeps/generic/dl-mman.h: New file.
21815          * sysdeps/mach/hurd/dl-mman.h: Likewise.
21817 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
21819         * manual/texinfo.tex: Update to version 2016-01-04.21 with
21820         trailing whitespace removed.
21821         * scripts/config.guess: Update to version 2016-01-01.
21822         * scripts/config.sub: Update to version 2016-01-01.
21823         * scripts/move-if-change: Update from gnulib.
21825 2016-01-04  Anton Blanchard  <anton@samba.org>
21827         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
21828         for array indices.
21829         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
21831 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
21833         * NEWS: Update copyright dates.
21834         * catgets/gencat.c (print_version): Likewise.
21835         * csu/version.c (banner): Likewise.
21836         * debug/catchsegv.sh: Likewise.
21837         * debug/pcprofiledump.c (print_version): Likewise.
21838         * debug/xtrace.sh (do_version): Likewise.
21839         * elf/ldconfig.c (print_version): Likewise.
21840         * elf/ldd.bash.in: Likewise.
21841         * elf/pldd.c (print_version): Likewise.
21842         * elf/sotruss.sh: Likewise.
21843         * elf/sprof.c (print_version): Likewise.
21844         * iconv/iconv_prog.c (print_version): Likewise.
21845         * iconv/iconvconfig.c (print_version): Likewise.
21846         * locale/programs/locale.c (print_version): Likewise.
21847         * locale/programs/localedef.c (print_version): Likewise.
21848         * login/programs/pt_chown.c (print_version): Likewise.
21849         * malloc/memusage.sh (do_version): Likewise.
21850         * malloc/memusagestat.c (print_version): Likewise.
21851         * malloc/mtrace.pl: Likewise.
21852         * manual/libc.texinfo: Likewise.
21853         * nptl/version.c (banner): Likewise.
21854         * nscd/nscd.c (print_version): Likewise.
21855         * nss/getent.c (print_version): Likewise.
21856         * nss/makedb.c (print_version): Likewise.
21857         * posix/getconf.c (main): Likewise.
21858         * scripts/test-installation.pl: Likewise.
21859         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
21861         * All files with FSF copyright notices: Update copyright dates
21862         using scripts/update-copyrights.
21863         * intl/plural.c: Regenerated.
21864         * locale/programs/charmap-kw.h: Likewise.
21865         * locale/programs/locfile-kw.h: Likewise.
21867 2016-01-02  Helge Deller  <deller@gmx.de>
21869         [BZ #19285]
21870         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
21871         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
21872         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
21873         (MADV_xxK_PAGES): Remove.
21875 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
21877         [BZ #15421]
21878         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
21879         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
21880         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
21881         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
21883 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
21885         [BZ #19408]
21886         * sysdeps/unix/sysv/linux/personality.c: New file.
21887         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
21888         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
21889         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
21890         (sysdep_routines): Add personality.
21891         (tests): Add tst-personality.
21892         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
21893         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
21894         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
21895         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
21896         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
21897         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
21898         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
21899         Likewise.
21900         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
21901         Likewise.
21902         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
21903         Likewise.
21904         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
21905         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
21906         Likewise.
21908 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
21910         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
21911         (PATH_ARM_SYSTYPE): Remove.
21912         (PATH_CPUINFO): Likewise.
21913         (IO_BASE_FOOTBRIDGE): Likewise.
21914         (IO_SHIFT_FOOTBRIDGE): Likewise.
21915         (struct platform): Likewise.
21916         (init_iosys): Remove compatibility code for 2.4 kernels.
21917         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
21919 2015-12-29  Florian Weimer  <fweimer@redhat.com>
21921         * malloc/tst-malloc-thread-fail.c: New file.
21922         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
21923         (tst-malloc-thread-fail): Link against libpthread.
21925 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
21927         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
21928         (get_parser): New function.
21929         (main): New function.
21931 2015-12-29  Rob Wu  <rob@robwu.nl>
21933         [BZ #19369]
21934         * resolv/res_init.c (__res_vinit): Reset defdname before use.
21936 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
21938         [BZ #19270]
21939         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
21941 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
21943         [BZ #15421]
21944         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
21946 2015-12-23  Torvald Riegel  <triegel@redhat.com>
21948         [BZ #13690]
21949         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
21950         after releasing it.
21951         (__lll_robust_unlock): Likewise.
21952         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
21953         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
21954         (lll_robust_unlock): Likewise.
21955         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
21956         Prevent warnings in callers.
21958 2015-12-23  Florian Weimer  <fweimer@redhat.com>
21960         * malloc/arena.c (list_lock): Update comment.
21962 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21964         * sysdeps/powerpc/hwcapinfo.c: Export symbol
21965         __parse_hwcap_and_convert_at_platform to libc.a.
21967 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21969         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
21970         platform and feature support for POWER9.
21971         * sysdeps/powerpc/dl-procinfo.h: Likewise.
21972         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
21973         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
21974         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
21975         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
21976         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
21977         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
21978         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
21980 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21982         Harmonize generic stdio-lock support with nptl
21984         This fixes build when _IO_funlockfile is a macro, fixes build where
21985         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
21986         stack unwind.
21988         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
21989         _IO_release_lock ): Use cleanup attribute on new
21990         _IO_acquire_lock_file variable instead of assuming that
21991         _IO_release_lock will be called.
21992         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
21993         _IO_acquire_lock_needs_exceptions_enabled.
21994         (_IO_acquire_lock_clear_flags2): New macro.
21996 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21998         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22000 2015-12-21  Florian Weimer  <fweimer@redhat.com>
22002         [BZ #19182]
22003         * malloc/arena.c (list_lock): Document lock ordering requirements.
22004         (free_list_lock): New lock.
22005         (ptmalloc_lock_all): Comment on free_list_lock.
22006         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
22007         (detach_arena): Update comment.  free_list_lock is now needed.
22008         (_int_new_arena): Use free_list_lock around detach_arena call.
22009         Acquire arena lock after list_lock.  Add comment, including FIXME
22010         about incorrect synchronization.
22011         (get_free_list): Switch to free_list_lock.
22012         (reused_arena): Acquire free_list_lock around detach_arena call
22013         and attached threads counter update.  Add two FIXMEs about
22014         incorrect synchronization.
22015         (arena_thread_freeres): Switch to free_list_lock.
22016         * malloc/malloc.c (struct malloc_state): Update comments to
22017         mention free_list_lock.
22019 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
22021         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
22022         Remove functions.
22023         (sloww, sloww1): Accept argument to offset quadrant.
22024         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
22025         quadrant.
22026         (__sin, __cos): Consolidate common code into new functions.
22027         (reduce_sincos_1, do_sincos_1): New functions.
22028         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
22030         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
22031         code to new functions.
22032         (reduce_sincos_2, do_sincos_2): New functions.
22033         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
22035         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
22036         common code for sincos.
22037         (__cos) [!IN_SINCOS]: Likewise.
22038         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
22039         New function.
22040         (__sincos): Use it.
22042 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
22044         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
22045         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
22046         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22048 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22050         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
22051         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
22052         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
22053         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
22054         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22055         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
22056         index_Prefer_No_VZEROUPPER): New feature.
22057         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
22058         Prefer_No_VZEROUPPER for Knights Landing.
22060 015-12-18  Torvald Riegel  <triegel@redhat.com>
22062         * math/atest-exp2.c (mp_exp_m1): Remove.
22064 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22066         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
22067         syscalls.
22068         (__SYSCALL0): New macro.
22069         (__SYSCALL1): Likewise.
22070         (__SYSCALL2): Likewise.
22071         (__SYSCALL3): Likewise.
22072         (__SYSCALL4): Likewise.
22073         (__SYSCALL5): Likewise.
22074         (__SYSCALL6): Likewise.
22075         (__SYSCALL_CONCAT_X): Likewise.
22076         (__SYSCALL_CONCAT): Likewise.
22077         (__SYSCALL_DIST): Likewise.
22078         (__SYSCALL_CALL): Likewise.
22080 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
22082         [BZ #19363]
22083         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
22085 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22087         [BZ #19375]
22088         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
22089         negative subnormals.
22091 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
22093         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22094         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
22095         (INTERNAL_SYSCALL_NCS): Use it.
22096         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22098 2015-12-16  Florian Weimer  <fweimer@redhat.com>
22100         [BZ #19243]
22101         * malloc/arena.c (get_free_list): Remove assert and adjust
22102         reference count handling.  Add comment about reused_arena
22103         interaction.
22104         (reused_arena): Add comments abount get_free_list interaction.
22105         * malloc/tst-malloc-thread-exit.c: New file.
22106         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
22107         (tst-malloc-thread-exit): Link against libpthread.
22109 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22111         [BZ #19367]
22112         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
22113         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
22114         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
22115         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
22116         (index_Prefer_MAP_32BIT_EXEC): Likewise.
22118 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22120         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
22121         Silvermont optimizations for Knights Landing.
22123 2015-12-15  Andreas Schwab  <schwab@suse.de>
22125         [BZ #17197]
22126         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
22127         immediately after emitting SI.
22128         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
22129         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
22130         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
22131         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
22132         * iconvdata/bug-iconv10.c: New file.
22133         * iconvdata/Makefile (tests): Add bug-iconv10.
22134         ($(objpfx)bug-iconv10.out): New rule.
22136 2015-12-15  Florian Weimer  <fweimer@redhat.com>
22138         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
22139         aliasing violation.
22141 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
22143         [BZ #18472]
22144         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
22145         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
22146         conditionals for them.
22147         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
22148         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
22149         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
22150         sys/kdaemon.h.
22151         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
22152         compat-only syscall, obsoleted in glibc 2.23.
22153         (create_module): Likewise.
22154         (get_kernel_syms): Likewise.
22155         (query_module): Likewise.
22156         (uselib): Likewise.
22157         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
22159 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
22161         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
22162         <linux/version.h>.
22163         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
22164         conditional code.
22165         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
22166         and ioshift_name initialization.
22168 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22170         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22171         Fix indentation.
22173 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22175         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
22177 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22179         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
22181 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
22182             Jakub Wilk  <jwilk@debian.org>
22184         [BZ #19347]
22185         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
22186         to change the group of the device to the tty group.
22188 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
22190         Split large string section; add truncation advice
22191         * manual/examples/strncat.c: Remove.
22192         This example was misleading, as the code would have undefined
22193         behavior if "hello" was longer than SIZE.  Anyway, the manual
22194         shouldn't encourage strncpy+strncat for this sort of thing.
22195         * manual/string.texi (Copying Strings and Arrays): Split into
22196         three sections Copying Strings and Arrays, Concatenating Strings,
22197         and Truncating Strings, as this section was way too long.  All
22198         cross-referenced changed.  Add advice about string-truncation
22199         functions.  Remove misleading strncat example.
22201 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
22203         * manual/nss.texi (NSS Modules Interface): Document
22204         NSS_STATUS_NOTFOUND and SUCCESS.
22206 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
22208         [BZ 18568]
22209         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22210         201505L, for Unicode 8.
22212 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
22214         * locale/C-translit.h: Regenerate.
22216 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
22218         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
22219         and U+0153.
22221 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
22223         [BZ #19351]
22224         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
22225         expanding log(1+z), compare z rather than its square with epsilon
22226         to determine when to avoid evaluating the expansion.
22228         [BZ #19350]
22229         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22230         Increase overflow threshold.
22232         [BZ #19349]
22233         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
22234         when small.
22236         * sysdeps/unix/sysv/linux/i386/kernel-features.h
22237         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22238         New macro.
22239         [__LINUX_KERNEL_VERSION >= 0x040300]
22240         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22241         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22242         Likewise.
22243         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22244         Likewise.
22245         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22246         Likewise.
22247         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22248         Likewise.
22249         [__LINUX_KERNEL_VERSION >= 0x040300]
22250         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22251         [__LINUX_KERNEL_VERSION >= 0x040300]
22252         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22253         [__LINUX_KERNEL_VERSION >= 0x040300]
22254         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22255         [__LINUX_KERNEL_VERSION >= 0x040300]
22256         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22257         [__LINUX_KERNEL_VERSION >= 0x040300]
22258         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22259         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22260         Likewise.
22261         [__LINUX_KERNEL_VERSION >= 0x040300]
22262         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22263         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22264         Likewise.
22265         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22266         Likewise.
22267         [__LINUX_KERNEL_VERSION >= 0x040300]
22268         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22269         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22270         Likewise.
22271         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22272         Likewise.
22273         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22274         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
22275         Likewise.
22276         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
22277         Likewise.
22278         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22279         Likewise.
22280         [__LINUX_KERNEL_VERSION >= 0x040300]
22281         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22282         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22283         Likewise.
22284         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22285         Likewise.
22286         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22287         Likewise.
22288         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22289         Likewise.
22290         [__LINUX_KERNEL_VERSION >= 0x040300]
22291         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22292         [__LINUX_KERNEL_VERSION >= 0x040300]
22293         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22294         [__LINUX_KERNEL_VERSION >= 0x040300]
22295         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22296         [__LINUX_KERNEL_VERSION >= 0x040300]
22297         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22298         [__LINUX_KERNEL_VERSION >= 0x040300]
22299         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22300         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22301         Likewise.
22302         [__LINUX_KERNEL_VERSION >= 0x040300]
22303         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22304         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22305         Likewise.
22306         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22307         Likewise.
22308         [__LINUX_KERNEL_VERSION >= 0x040300]
22309         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22310         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22311         Likewise.
22312         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22313         Likewise.
22314         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22315         (__ASSUME_SOCKET_SYSCALL): Likewise.
22316         (__ASSUME_BIND_SYSCALL): Likewise.
22317         (__ASSUME_CONNECT_SYSCALL): Likewise.
22318         (__ASSUME_LISTEN_SYSCALL): Likewise.
22319         (__ASSUME_ACCEPT_SYSCALL): Likewise.
22320         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22321         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22322         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22323         (__ASSUME_SEND_SYSCALL): Likewise.
22324         (__ASSUME_SENDTO_SYSCALL): Likewise.
22325         (__ASSUME_RECV_SYSCALL): Likewise.
22326         (__ASSUME_RECVFROM_SYSCALL): Likewise.
22327         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
22328         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22329         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22330         (__ASSUME_SENDMSG_SYSCALL): Likewise.
22331         (__ASSUME_RECVMSG_SYSCALL): Likewise.
22332         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22333         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
22334         Likewise.
22335         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
22336         Likewise.
22337         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
22338         Likewise.
22339         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
22340         Likewise.
22341         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
22342         Likewise.
22343         [__LINUX_KERNEL_VERSION >= 0x020625]
22344         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22345         [__LINUX_KERNEL_VERSION >= 0x020625]
22346         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22347         [__LINUX_KERNEL_VERSION >= 0x020625]
22348         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22349         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
22350         Likewise.
22351         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
22352         Likewise.
22353         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
22354         Likewise.
22355         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
22356         Likewise.
22357         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
22358         Likewise.
22359         [__LINUX_KERNEL_VERSION >= 0x020625]
22360         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22361         [__LINUX_KERNEL_VERSION >= 0x020625]
22362         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22363         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
22364         Likewise.
22365         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
22366         Likewise.
22368 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22370         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
22371         record the current if the current ABI and CPU support the FP64
22372         extension.
22373         (has-modd-spreg): Define to record the current if the current ABI and
22374         CPU support 32-bit floating point values in odd FPU registers.
22375         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22376         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
22377         $(has-modd-spreg) equals yes.
22378         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
22379         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
22380         $(has-modd-spreg) equal yes.
22382 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22384         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
22385         basename.
22387 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
22389         * benchtests/Makefile (bench-math): Move ffs and ffsll...
22390         (bench-string): ... here.
22391         (bench): Add bench-string.
22392         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
22393         to *-benchset to reflect what they are.
22394         (benchset): Adjust.
22396         * benchtests/sincos-inputs: Add inputs from sin-inputs and
22397         cos-inputs.
22399 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
22401         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
22402         __attribute__ ((__simd__)) for vector math function declarations.
22404 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22406         Fix typo in strncat, wcsncat manual entries
22407         * manual/string.texi (Copying and Concatenation): Fix typos in
22408         sample implementations of strncat and wcsncat, by having them use
22409         the old value of the destination length, not the new one.
22411 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
22413         [BZ #16961]
22414         [BZ #16962]
22415         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
22416         string on the stack for strtod.
22417         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
22418         a string on the stack for strtof.
22419         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
22420         constructing a string on the stack for strtold.
22421         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
22422         __strtold_nan to GLIBC_PRIVATE.
22423         * math/test-nan-overflow.c: New file.
22424         * math/test-nan-payload.c: Likewise.
22425         * math/Makefile (tests): Add test-nan-overflow and
22426         test-nan-payload.
22428 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22430         Consistency about byte vs character in string.texi
22431         * manual/string.texi (String and Array Utilities):
22432         Distinguish more carefully among bytes, multibyte characters,
22433         and wide characters.  Use "byte" when talking about C 'char',
22434         to distinguish it more clearly from multibyte characters.
22435         Say "wide character" or "multibyte character" instead of
22436         "character", when a wide or multibyte character is intended.
22437         Similarly for "multibyte string" versus "string".
22438         Define these terms more carefully.
22440 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
22442         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
22443         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
22444         Likewise.
22445         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22446         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22447         * sysdeps/sh/math_private.h: New file.
22448         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
22449         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
22450         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
22451         long double function name.
22452         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22453         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22454         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22455         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22456         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22458         Remove __finitel, __isinfl, and __isnanl.
22459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22460         Likewise.
22461         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22463         Remove __finitel.
22464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22465         Likewise.
22466         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22468 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
22470         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
22471         installed libmvec_nonshared.a.
22473 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22475         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
22476         (sysdep_routines): Likewise.
22477         (sysdep-rtld-routines): Likewise.
22478         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
22479         [$(subdir) = nptl](tests-static): test-get_hwcap-static
22480         * sysdeps/powerpc/Versions: Added new
22481         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
22482         * sysdeps/powerpc/hwcapinfo.c: New file.
22483         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
22484         and parse hwcap, hwcap2 and platform number information.
22485         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
22486         to store HWCAP+HWCAP2 and platform number.
22487         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
22488         for HWCAP+HWCAP2 and platform number in the TCB.
22489         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
22490         the HWCAP, HWCAP2 and platform number in the TCB.
22491         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
22492         (TLS_INIT_TP): Included calls to add the hwcap and
22493         at_platform values in the TCB in TP initialization.
22494         (TLS_DEFINE_INIT_TP): Likewise.
22495         (THREAD_GET_HWCAP): New macro.
22496         (THREAD_SET_HWCAP): Likewise.
22497         (THREAD_GET_AT_PLATFORM): Likewise.
22498         (THREAD_SET_AT_PLATFORM): Likewise.
22499         * sysdeps/powerpc/powerpc32/dl-machine.h:
22500         (dl_platform_init): New function that calls
22501         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
22502         powerpc32.
22503         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
22504         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
22505         this functionality, static linking case.
22506         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
22507         linking case.
22508         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
22509         __parse_hwcap_and_convert_at_platform for the static linking case.
22510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
22511         Included the new __parse_hwcap_and_convert_at_platform symbol in the
22512         ABI list for GLIBC 2.23.
22513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
22514         Likewise.
22515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
22516         Likewise.
22518 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
22520         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
22521         * configure: Regenerate.
22522         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
22523         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
22525 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
22527         * iconvdata/ibm930.c: Add comment explaining encoding uses.
22528         * iconvdata/ibm933.c: Likewise.
22529         * iconvdata/ibm935.c: Likewise.
22530         * iconvdata/ibm937.c: Likewise.
22531         * iconvdata/ibm939.c: Likewise.
22533 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22535         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
22536         pthread_join.
22537         * nptl/tst-cancel21.c (tf): Likewise.
22539 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22541         [BZ #19313]
22542         * bits/typesizes.h (__CPU_MASK_TYPE): New.
22543         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22544         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22545         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
22546         Likewise.
22547         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
22548         Likewise.
22549         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
22550         Likewise.
22551         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
22552         Likewise.
22553         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
22554         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
22555         unsigned long int with __CPU_MASK_TYPE.
22557 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22559         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22561 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
22563         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
22564         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
22565         t512.x.
22566         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
22568 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
22570         [BZ #19214]
22571         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
22572         argument to return extended model.  Update family and model
22573         with extended family and model when family == 0x0f.
22574         (init_cpu_features): Updated.
22576 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22578         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
22579         signed off_t, so 32bit bigger than 2GiB values are fine actually.
22581         * sysdeps/mach/hurd/mmap64.c: New file.
22583 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
22585         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
22586         rights for its main user thread in NEWTASK.
22588 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
22590         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
22591         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
22593 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
22595         [BZ #14259]
22596         * Makeconfig: Rename localedir to complocaledir.
22597         Rename inst_localedir to inst_complocaledir.
22598         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
22599         * config.make.in: Use complocaledir and libc_cv_complocaledir.
22600         * configure.ac: Use libc_cv_complocaledir.
22601         * configure: Regenerate.
22602         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
22603         -DCOMPLOCALEDIR.
22604         * locale/findlocale.c: Use COMPLOCALEDIR.
22605         * locale/loadarchive.c: Likewise.
22606         * locale/programs/locale.c: Likewise.
22607         * locale/programs/localedef.c: Likewise.
22608         * locale/programs/locarchive.c: Likewise.
22609         * localedata/Makefile: Use inst_complocaledir.
22610         * sysdeps/gnu/configure: Regenerate.
22611         * sysdeps/hppa/configure: Regenerate.
22612         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22613         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22615         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22616         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22617         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22618         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22620 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
22622         [BZ #19058]
22623         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
22624         AS_NEEDED.
22625         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
22626         workaround.
22627         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
22628         libmvec-static-only-routines): Added new file.
22629         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
22631 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22633         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
22634         of interrupted RPC instead of restoring it.
22636         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
22637         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
22638         libc_hidden_def.
22639         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
22640         into initialized data instead of common. Define rtld_hidden_data_def.
22641         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
22642         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
22643         libc_hidden_def.
22644         (if_freenameindex): Add libc_hidden_weak.
22645         (if_nameindex): Add libc_hidden_weak.
22646         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
22647         __open64.
22648         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
22649         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
22650         * sysdeps/mach/nanosleep.c: Include <time.h>
22651         (__nanosleep): Rename to __libc_nanosleep.
22652         (__nanosleep): Add weak_alias.
22653         (nanosleep): Update alias.
22655 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
22657         * stdlib/strtod_nan.c: New file.
22658         * stdlib/strtod_nan_double.h: Likewise.
22659         * stdlib/strtod_nan_float.h: Likewise.
22660         * stdlib/strtod_nan_main.c: Likewise.
22661         * stdlib/strtod_nan_narrow.h: Likewise.
22662         * stdlib/strtod_nan_wide.h: Likewise.
22663         * stdlib/strtof_nan.c: Likewise.
22664         * stdlib/strtold_nan.c: Likewise.
22665         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
22666         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
22667         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
22668         * wcsmbs/wcstod_nan.c: Likewise.
22669         * wcsmbs/wcstof_nan.c: Likewise.
22670         * wcsmbs/wcstold_nan.c: Likewise.
22671         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
22672         strtold_nan.
22673         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
22674         wcstof_nan.
22675         * include/stdlib.h (__strtof_nan): Declare and use
22676         libc_hidden_proto.
22677         (__strtod_nan): Likewise.
22678         (__strtold_nan): Likewise.
22679         (__wcstof_nan): Likewise.
22680         (__wcstod_nan): Likewise.
22681         (__wcstold_nan): Likewise.
22682         * include/wchar.h (____wcstoull_l_internal): Declare.
22683         * stdlib/strtod_l.c: Do not include <ieee754.h>.
22684         (____strtoull_l_internal): Remove declaration.
22685         (STRTOF_NAN): Define macro.
22686         (SET_MANTISSA): Remove macro.
22687         (STRTOULL): Likewise.
22688         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
22689         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
22690         (STRTOF_NAN): Define macro.
22691         (SET_MANTISSA): Remove macro.
22692         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
22693         (SET_MANTISSA): Remove macro.
22694         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
22695         macro.
22696         (SET_MANTISSA): Remove macro.
22697         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
22698         macro.
22699         (SET_MANTISSA): Remove macro.
22700         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
22701         (SET_MANTISSA): Remove macro.
22702         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
22703         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
22704         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
22706         [BZ #19266]
22707         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
22708         upper case and lower case letters inside NAN(), not using TOLOWER.
22709         * stdlib/tst-strtod-nan-locale-main.c: New file.
22710         * stdlib/tst-strtod-nan-locale.c: Likewise.
22711         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
22712         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
22713         Depend on $(gen-locales).
22714         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
22715         * wcsmbs/tst-wcstod-nan-locale.c: New file.
22716         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
22717         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
22718         Depend on $(gen-locales).
22719         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
22721 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
22723         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
22725         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
22726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
22727         __finitel, __isinfl, and __isnanl.
22728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22729         Likewise.
22730         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
22732         __finitel.
22733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22734         Likewise.
22735         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22737 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
22739         * malloc/memusage.c (me): Remove redundant getenv call.
22741 2015-10-24  Florian Weimer  <fweimer@redhat.com>
22743         [BZ #19143]
22744         [BZ #19164]
22745         * nptl/check-cpuset.h: Remove.
22746         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
22747         Remove CPU set size check.
22748         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
22749         Likewise.
22750         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
22751         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22752         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
22753         (__pthread_setaffinity_new): Remove CPU set size check.
22754         * sysdeps/unix/sysv/linux/sched_setaffinity.c
22755         (__kernel_cpumask_size): Remove.
22756         (__sched_setaffinity_new): Remove CPU set size check.
22757         * manual/threads.texi (Default Thread Attributes): Remove stale
22758         reference to check_cpuset_attr, determine_cpumask_size in comment.
22759         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
22760         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
22761         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
22762         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
22763         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
22764         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
22765         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
22766         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
22767         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
22768         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
22769         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
22770         skeleton test file.
22771         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
22772         tst-affinity-pid.
22774 2015-11-24  Florian Weimer  <fweimer@redhat.com>
22776         * scripts/update-abilist.sh: New file.
22777         * Makefile (+subdir_targets): Add subdir_update-all-abi.
22778         * Makerules (update-all-abi-%, update-all-abi)
22779         (subdir_update-all-abi): New targets.
22780         * elf/Makefile (update-all-abi): New target.
22782 2015-11-24  Florian Weimer  <fweimer@redhat.com>
22784         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
22785         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
22786         (__libc_lock_define_initialized): Use it.
22787         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
22788         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
22789         * malloc/malloc.c (main_arena): Likewise.
22790         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
22791         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
22793 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
22795         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
22796         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
22797         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22798         (PTRACE_O_MASK): Update value.
22799         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
22800         New value in enum __ptrace_setoptions.
22801         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22802         (PTRACE_O_MASK): Update value.
22803         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
22804         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22805         (PTRACE_O_MASK): Update value.
22806         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
22807         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22808         (PTRACE_O_MASK): Update value.
22809         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
22810         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
22811         (PTRACE_O_MASK): Update value.
22812         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
22813         New value in enum __ptrace_setoptions.
22814         (PTRACE_O_MASK): Update value.
22815         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
22816         New value in enum __ptrace_setoptions.
22817         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
22818         (PTRACE_O_MASK): Update value.
22820         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
22821         New macro.
22822         (PACKET_AUXDATA): Likewise.
22823         (PACKET_ORIGDEV): Likewise.
22824         (PACKET_VERSION): Likewise.
22825         (PACKET_HDRLEN): Likewise.
22826         (PACKET_RESERVE): Likewise.
22827         (PACKET_TX_RING): Likewise.
22828         (PACKET_LOSS): Likewise.
22829         (PACKET_VNET_HDR): Likewise.
22830         (PACKET_TX_TIMESTAMP): Likewise.
22831         (PACKET_TIMESTAMP): Likewise.
22832         (PACKET_FANOUT): Likewise.
22833         (PACKET_TX_HAS_OFF): Likewise.
22834         (PACKET_QDISC_BYPASS): Likewise.
22835         (PACKET_ROLLOVER_STATS): Likewise.
22836         (PACKET_FANOUT_DATA): Likewise.
22837         (PACKET_MR_UNICAST): Likewise.
22839         [BZ #19242]
22840         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
22841         (TOUPPER): Likewise.
22842         * stdlib/tst-strtol-locale-main.c: New file.
22843         * stdlib/tst-strtol-locale.c: Likewise.
22844         * stdlib/Makefile (tests): Add tst-strtol-locale.
22845         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
22846         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
22847         Depend on $(gen-locales).
22848         * wcsmbs/tst-wcstol-locale.c: New file.
22849         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
22850         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
22851         tr_TR.ISO-8859-9.
22852         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
22853         Depend on $(gen-locales).
22855 2015-11-20  Roland McGrath  <roland@hack.frob.com>
22857         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
22858         __glibc_likely instead of __builtin_expect.  After falling back to
22859         dyncode_create in a non-ET_DYN case, use the allocate_code_data
22860         system interface to register the code pages as occupied.
22862 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
22864         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22865         [!ARM_MATH_PRIVATE_H].
22866         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
22867         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22868         [!HPPA_MATH_PRIVATE_H].
22869         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
22870         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
22871         to [!I386_MATH_PRIVATE_H].
22872         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
22873         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
22874         Change guard to [!M68K_MATH_PRIVATE_H].
22875         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
22876         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
22877         guard to [!MICROBLAZE_MATH_PRIVATE_H].
22878         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
22879         macro.
22880         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22881         [!MIPS_MATH_PRIVATE_H].
22882         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
22883         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22884         [!NIO2_MATH_PRIVATE_H].
22885         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
22886         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
22887         [!TILE_MATH_PRIVATE_H].
22888         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
22890         [BZ #15421]
22891         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
22892         initialize with 0 and define as weak alias of __signgam.
22893         * include/math.h [!_ISOMAC] (__signgam): Declare.
22894         * math/Makefile (libm-calls): Add w_lgamma_compat.
22895         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
22896         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
22897         test-signgam-ullong-init.
22898         (tests-static): Add test-signgam-uchar-static,
22899         test-signgam-uchar-init-static, test-signgam-uint-static,
22900         test-signgam-uint-init-static, test-signgam-ullong-static and
22901         test-signgam-ullong-init-static.
22902         (CFLAGS-test-signgam-uchar.c): New variable.
22903         (CFLAGS-test-signgam-uchar-init.c): Likewise.
22904         (CFLAGS-test-signgam-uchar-static.c): Likewise.
22905         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
22906         (CFLAGS-test-signgam-uint.c): Likewise.
22907         (CFLAGS-test-signgam-uint-init.c): Likewise.
22908         (CFLAGS-test-signgam-uint-static.c): Likewise.
22909         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
22910         (CFLAGS-test-signgam-ullong.c): Likewise.
22911         (CFLAGS-test-signgam-ullong-init.c): Likewise.
22912         (CFLAGS-test-signgam-ullong-static.c): Likewise.
22913         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
22914         * math/Versions (libm): Add GLIBC_2.23.
22915         * math/lgamma-compat.h: New file.
22916         * math/test-signgam-main.c: Likewise.
22917         * math/test-signgam-uchar-init-static.c: Likewise.
22918         * math/test-signgam-uchar-init.c: Likewise.
22919         * math/test-signgam-uchar-static.c: Likewise.
22920         * math/test-signgam-uchar.c: Likewise.
22921         * math/test-signgam-uint-init-static.c: Likewise.
22922         * math/test-signgam-uint-init.c: Likewise.
22923         * math/test-signgam-uint-static.c: Likewise.
22924         * math/test-signgam-uint.c: Likewise.
22925         * math/test-signgam-ullong-init-static.c: Likewise.
22926         * math/test-signgam-ullong-init.c: Likewise.
22927         * math/test-signgam-ullong-static.c: Likewise.
22928         * math/test-signgam-ullong.c: Likewise.
22929         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
22930         wrapper of w_lgamma_main.c.
22931         * math/w_lgamma_compat.c: New file.
22932         * math/w_lgamma_compatf.c: Likewise.
22933         * math/w_lgamma_compatl.c: Likewise.
22934         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
22935         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22936         defining compatibility symbols.
22937         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
22938         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
22939         wrapper of w_lgammaf_main.c.
22940         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
22941         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22942         defining compatibility symbols.
22943         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
22944         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
22945         wrapper of w_lgammal_main.c.
22946         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
22947         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
22948         defining compatibility symbols.
22949         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
22950         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
22951         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
22952         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
22953         <lgamma-compat.h>.
22954         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
22955         (__ieee754_gamma): Define as alias.
22956         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
22957         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
22958         <lgamma-compat.h>.
22959         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
22960         (__ieee754_gammaf): Define as alias.
22961         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
22962         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
22963         <lgamma-compat.h>.
22964         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
22965         (__ieee754_gammal): Define as alias.
22966         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
22967         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
22968         <math/w_lgamma_compat.c>.
22969         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
22970         Define as alias of __lgamma_compat and use in defining lgammal.
22971         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
22972         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
22973         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
22974         (USE_AS_COMPAT): New macro.
22975         (LGAMMA_OLD_VER): Undefine and redefine.
22976         (lgammal): Do not define here.
22977         (gammal): Only define here if [GAMMA_ALIAS].
22978         * conform/linknamespace.pl (@whitelist): Remove signgam.
22979         * sysdeps/nacl/libm.abilist: Update.
22980         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22981         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22982         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22983         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22984         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22985         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22986         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22987         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22988         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22989         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22990         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22991         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22993         Likewise.
22994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22995         Likewise.
22996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22997         Likewise.
22998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22999         Likewise.
23000         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23001         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23002         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23003         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23004         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23006         Likewise.
23007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23008         Likewise.
23009         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23010         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23011         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23013 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23015         [BZ #16364]
23016         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
23017         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
23019 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23021         * sysdeps/s390/fpu/bits/mathinline.h:
23022         Use __asm__ [__volatile__] instead of asm [volatile].
23023         * sysdeps/s390/abort-instr.h: Likewise.
23024         * sysdeps/s390/atomic-machine.h: Likewise.
23025         * sysdeps/s390/bits/string.h: Likewise.
23026         * sysdeps/s390/dl-tls.h: Likewise.
23027         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23028         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23029         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23030         * sysdeps/s390/fpu/fesetround.c: Likewise.
23031         * sysdeps/s390/fpu/fpu_control.h: Likewise.
23032         * sysdeps/s390/fpu/s_fma.c: Likewise.
23033         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
23034         * sysdeps/s390/memusage.h: Likewise.
23035         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
23036         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
23037         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
23038         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
23039         * sysdeps/s390/nptl/tls.h: Likewise.
23040         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
23041         * sysdeps/s390/s390-32/backtrace.c: Likewise.
23042         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23043         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
23044         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23045         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23046         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
23047         * sysdeps/s390/s390-64/backtrace.c: Likewise.
23048         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23049         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
23050         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
23051         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23052         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23053         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
23054         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23055         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23056         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
23057         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
23058         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
23059         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23060         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
23061         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23062         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
23064 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23065             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23067         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
23068         Add lwarx hint, and use macro for acquire instruction.
23069         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23070         Likewise.
23071         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
23072         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
23073         update to use new atomic macros.
23075 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23077         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23078         (__lll_trylock_elision): Fix setting of adapt_count.
23079         * sysdeps/unix/sysv/linux/powerpc/htm.h
23080         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
23081         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
23082         (_ABORT_SYSCALL): Renumber, and clarify definition.
23083         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
23085 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23087         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
23088         after system headers to prevent MIN/MAX redefinition.  Define
23089         HAVE_ALLOCA to preserve builtin alloca usage.
23091 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
23093         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
23094         static and don't set or restore rounding.
23095         (__cos)[IN_SINCOS]: Likewise.
23096         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
23097         (__sincos): Set and restore rounding mode.  Remove check for infinite
23098         or NaN input.
23100         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
23102         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
23103         as used.
23105 2015-11-16  Florian Weimer  <fweimer@redhat.com>
23107         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
23109 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23111         * config.make.in (have-glob-dat-reloc): New.
23112         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
23113         target supports GLOB_DAT relocaton. AC_SUBST.
23114         * configure: Regenerated.
23115         * elf/Makefile (tests): Add tst-prelink.
23116         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
23117         (tst-prelink-ENV): New.
23118         ($(objpfx)tst-prelink-conflict.out): Likewise.
23119         ($(objpfx)tst-prelink-cmp.out): Likewise.
23120         * sysdeps/x86/tst-prelink.c: Moved to ...
23121         * elf/tst-prelink.c: Here.
23122         * sysdeps/x86/tst-prelink.exp: Moved to ...
23123         * elf/tst-prelink.exp: Here.
23124         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
23125         (tst-prelink-ENV): Removed.
23126         ($(objpfx)tst-prelink-conflict.out): Likewise.
23127         ($(objpfx)tst-prelink-cmp.out): Likewise.
23128         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
23130 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
23132         [BZ #14551]
23133         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
23134         (__mpn_construct_long_double): If high part overflows to infinity,
23135         set errno and recompute overflowed result of the correct sign.
23136         * sysdeps/ieee754/ldbl-128ibm/Makefile
23137         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
23138         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
23139         $(libm).
23140         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
23142 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
23144         [BZ #15479]
23145         [BZ #19238]
23146         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
23147         floating-point state after first operation on input.  Restore full
23148         state rather than just rounding mode.
23149         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
23150         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
23151         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
23153         [BZ #19235]
23154         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
23155         add 0.5 to integer arguments.
23156         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
23157         Likewise.
23158         (.LC2): New object.
23160 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
23162         * scripts/pylintrc (reports): Set to no.
23164 2015-11-10  Roland McGrath  <roland@hack.frob.com>
23166         * elf/dl-load.c (open_verify): Take new argument FD.
23167         Skip __open call if passed FD is not -1.
23168         (_dl_map_object, open_path): Update callers.
23169         * elf/dl-sysdep-open.h: New file.
23170         * elf/dl-load.c: Include it.
23171         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
23172         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
23173         * sysdeps/nacl/dl-sysdep-open.h: New file.
23174         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
23175         from libc to rtld.
23177 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
23179         [BZ #19228]
23180         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
23181         and restore full floating-point state.
23182         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23183         Likewise.
23184         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
23185         Likewise.
23186         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
23187         Likewise.
23188         * math/test-nearbyint-except-2.c: New file.
23189         * math/Makefile (tests): Add test-nearbyint-except-2.
23191 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
23193         [BZ #19178]
23194         * sysdeps/x86/Makefile (tests): Add tst-prelink.
23195         (tst-prelink-ENV): New.
23196         ($(objpfx)tst-prelink-conflict.out): Likewise.
23197         ($(objpfx)tst-prelink-cmp.out): Likewise.
23198         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
23199         * sysdeps/x86/tst-prelink.c: New file.
23200         * sysdeps/x86/tst-prelink.exp: Likewise.
23202 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
23204         * math/auto-libm-test-in: Add another test of pow.
23205         * math/auto-libm-test-out: Regenerated.
23206         * math/libm-test.inc (pow_test_data): Add another test.
23208 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23210         [BZ #19219]
23211         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
23212         weak_alias to nearbyintl.
23214 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
23216         * sysdeps/aarch64/bits/string.h: New file.
23217         (_STRING_ARCH_unaligned): Define.
23219 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
23221         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
23222         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23223         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23224         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
23225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
23227 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
23229         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
23230         for original name of the DSO.  Add it to the name list of the DSO
23231         if it is actually given.
23232         (_dl_map_object): Keep track of whether an audit module rewrote
23233         the file name.  If yes, pass the original name to
23234         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
23235         debugging is enabled, log the change of the file name.
23236         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
23237         _dl_map_object_from_fd.
23238         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
23239         * elf/tst-audit11.c: New file
23240         * elf/tst-auditmod11.c: New file.
23241         * elf/tst-audit11mod1.c: New file.
23242         * elf/tst-audit11mod2.c: New file.
23243         * elf/tst-audit11mod2.map: New file.
23244         * elf/tst-audit12.c: New file
23245         * elf/tst-auditmod12.c: New file.
23246         * elf/tst-audit12mod1.c: New file.
23247         * elf/tst-audit12mod2.c: New file.
23248         * elf/tst-audit12mod2.map: New file.
23249         * elf/tst-audit12mod3.c: New file.
23251 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
23253         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
23254         Don't create weak aliases,
23255         because versioned symbols are created later.
23256         * sysdeps/s390/s390-32/setjmp.S
23257         (setjmp, _setjmp): Remove weak and rename to an unique name
23258         in SHARED case due to existing versioned symbols.
23259         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23260         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
23261         (getcontext): Create weak alias only in non SHARED case.
23262         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23264 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
23266         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
23267         (__ASSUME_*_SYSCALL) Define new macros.
23268         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
23269         Remove socketcall syscalls.
23270         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
23271         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
23272         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
23273         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
23274         * sysdeps/unix/sysv/linux/send.c (__libc_send):
23275         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
23277 2015-11-09  Florian Weimer  <fweimer@redhat.com>
23279         [BZ #12926]
23280         Terminate process on invalid netlink response.
23281         * sysdeps/unix/sysv/linux/netlinkaccess.h
23282         (__netlink_assert_response): Declare.
23283         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
23284         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
23285         (sysdep_routines): Add netlink_assert_response.
23286         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
23287         __netlink_assert_response.
23288         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
23289         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
23290         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
23291         __netlink_assert_response.
23293 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23295         [BZ #19178]
23296         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
23297         (RTYPE_CLASS_PLT): Likewise.
23298         (RTYPE_CLASS_COPY): Likewise.
23299         (RTYPE_CLASS_TLS): Likewise.
23300         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
23301         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
23302         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
23303         DL_DEBUG_PRELINK.
23305 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
23307         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
23308         calls with argument -0.5.
23309         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
23311         * configure.ac (libc_cv_z_nodelete): Remove configure test.
23312         (libc_cv_z_nodlopen): Likewise.
23313         (libc_cv_z_initfirst): Likewise.
23314         * configure: Regenerated.
23316 2015-11-06  Florian Weimer  <fweimer@redhat.com>
23318         Simplify abilist format to be line-based.
23319         * scripts/abilist.awk: Collect descriptors in the descs variable.
23320         (emit): Write descs variable and sort it
23321         externally, with sort.
23322         * sysdeps/**/*.abilist: Convert to new format.
23324 2015-11-06  Mark Wielaard  <mjw@redhat.com>
23326         [BZ #11460]
23327         * io/Makefile (routines): Add fts64.
23328         (tests): Add tst-fts and tst-fts-lfs.
23329         (CFLAGS-fts64.c): New.
23330         * io/Versions (GLIBC_2.23): New.
23331         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
23332         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
23333         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
23334         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
23335         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
23336         (FTSENT64): Likewise.
23337         (fts64_children): Likewise.
23338         (fts64_close): Likewise.
23339         (fts64_open): Likewise.
23340         (fts64_read): Likewise.
23341         (fts64_set): Likewise.
23342         * io/fts64.c: New file.
23343         * io/tst-fts.c: New test.
23344         * io/tst-fts-lfs.c: Likewise.
23345         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
23346         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
23347         fts64_set.
23348         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23349         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23350         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23351         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23352         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23353         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23354         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23355         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23356         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23357         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
23358         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23359         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23360         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23362         Likewise.
23363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23364         Likewise.
23365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
23366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
23367         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23368         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23369         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23370         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23371         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
23373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
23374         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23375         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23376         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23377         * sysdeps/wordsize-64/fts.c: New file.
23378         * sysdeps/wordsize-64/fts64.c: Likewise.
23379         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
23380         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
23381         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
23382         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
23384 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23386         * math/libm-test.inc (NON_FINITE): New macro.
23387         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
23388         * math/gen-libm-test.pl (show_exceptions): Add argument
23389         $non_finite.
23390         (parse_args): Update call to show_exceptions.
23391         * math/test-math-finite.h: New file.
23392         * math/test-math-no-finite.h: Likewise.
23393         * math/test-double-finite.c: Likewise.
23394         * math/test-float-finite.c: Likewise.
23395         * math/test-ldouble-finite.c: Likewise.
23396         * math/test-double.c: Include "test-math-no-finite.h".
23397         * math/test-float.c: Include "test-math-no-finite.h".
23398         * math/test-ldouble.c: Include "test-math-no-finite.h".
23399         * math/test-math-inline.h (TEST_FINITE): New macro.
23400         * math/test-math-vector.h (TEST_FINITE): Likewise.
23401         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
23402         (libm-tests): Add test-float-finite and test-double-finite.
23403         ($(objpfx)test-float-finite.o): New dependency on
23404         $(objpfx)libm-test.stmp.
23405         ($(objpfx)test-double-finite.o): Likewise.
23406         ($(objpfx)test-ldouble-finite.o): Likewise.
23407         (libm-test-no-inline-cflags): New variable.
23408         (libm-test-finite-cflags): Likewise.
23409         (CFLAGS-test-float-finite.c): Likewise.
23410         (CFLAGS-test-double-finite.c): Likewise.
23411         (CFLAGS-test-ldouble-finite.c): Likewise.
23412         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
23413         (CFLAGS-test-double.c): Likewise.
23414         (CFLAGS-test-ldouble.c): Likewise.
23416 2015-11-05  Roland McGrath  <roland@hack.frob.com>
23418         * io/fcntl.c (__fcntl): Add ... to prototype.
23419         * misc/ioctl.c (__ioctl): Likewise.
23420         * misc/syscall.c (syscall): Likewise.
23422 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23424         * scripts/list-fixed-bugs.py: New file.
23426         [BZ #19213]
23427         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
23428         returned for argument 1.
23429         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
23430         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
23431         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
23432         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
23433         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
23434         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
23436         [BZ #19211]
23437         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
23438         __USE_XOPEN], not if [!__USE_ISOC99].
23439         (lgammaf): Likewise.
23440         (lgammal): Likewise.
23441         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
23442         (gammaf): Likewise.
23443         (gammal): Likewise.
23444         * math/test-signgam-finite-c11.c: New file.
23445         * math/test-signgam-finite-c99.c: Likewise.
23446         * math/test-signgam-finite.c: Likewise.
23447         * math/Makefile (tests): Add test-signgam-finite,
23448         test-signgam-finite-c99 and test-signgam-finite-c11.
23449         (CFLAGS-test-signgam-finite.c): New variable.
23450         (CFLAGS-test-signgam-finite-c99.c): Likewise.
23451         (CFLAGS-test-signgam-finite-c11.c): Likewise.
23453         [BZ #19212]
23454         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
23455         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
23456         500].
23457         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
23458         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
23459         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
23460         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
23461         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
23462         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
23463         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
23464         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
23465         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
23466         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
23468         [BZ #19209]
23469         * math/bits/math-finite.h (ldexp): Remove declaration.
23470         (ldexpf): Likewise.
23471         (ldexpl): Likewise.
23473         [BZ #19205]
23474         * math/bits/math-finite.h (acosf): Condition declaration on
23475         [__USE_ISOC99].
23476         (acosl): Likewise.
23477         (acoshf): Likewise.
23478         (acoshl): Likewise.
23479         (asinf): Likewise.
23480         (asinl): Likewise.
23481         (atan2f): Likewise.
23482         (atan2l): Likewise.
23483         (atanhf): Likewise.
23484         (atanhl): Likewise.
23485         (coshf): Likewise.
23486         (coshl): Likewise.
23487         (expf): Likewise.
23488         (expl): Likewise.
23489         (fmodf): Likewise.
23490         (fmodl): Likewise.
23491         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
23492         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
23493         (j0l): Likewise.
23494         (y0f): Likewise.
23495         (y0l): Likewise.
23496         (j1f): Likewise.
23497         (j1l): Likewise.
23498         (y1f): Likewise.
23499         (y1l): Likewise.
23500         (jnf): Likewise.
23501         (jnl): Likewise.
23502         (ynf): Likewise.
23503         (ynl): Likewise.
23504         (lgammaf_r): Condition declaration on [__USE_ISOC99].
23505         (lgammal_r): Likewise.
23506         (__lgamma_r_finite): New declaration.
23507         (__lgammaf_r_finite): Likewise.
23508         (__lgammal_r_finite): Likewise.
23509         (lgamma): Use __lgamma_r_finite.
23510         (lgammaf): Condition definition on [__USE_ISOC99].  Use
23511         __lgammaf_r_finite.
23512         (lgammal): Condition definition on [__USE_ISOC99].  Use
23513         __lgammal_r_finite.
23514         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
23515         __lgamma_r_finite.
23516         (gammaf): Condition definition on [__USE_ISOC99].  Use
23517         __lgammaf_r_finite.
23518         (gammal): Condition definition on [__USE_ISOC99].  Use
23519         __lgammal_r_finite.
23520         (logf): Condition declaration on [__USE_ISOC99].
23521         (logl): Likewise.
23522         (log10f): Likewise.
23523         (log10l): Likewise.
23524         (ldexpf): Likewise.
23525         (ldexpl): Likewise.
23526         (powf): Likewise.
23527         (powl): Likewise.
23528         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
23529         __USE_ISOC99].
23530         (remainderf): Condition declaration on [__USE_ISOC99].
23531         (remainderl): Likewise.
23532         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
23533         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
23534         (scalbl): Likewise.
23535         (sinhf): Condition declaration on [__USE_ISOC99].
23536         (sinhl): Likewise.
23537         (sqrtf): Likewise.
23538         (sqrtl): Likewise.
23540 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23542         * sysdeps/arm/atomic-machine.h
23543         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23544         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23545         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
23546         Remove conditional code.
23547         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23548         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23549         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
23550         Change conditional to [__ASSEMBLER__].
23551         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23552         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
23553         [!__ASSEMBLER__].
23554         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
23555         code.
23556         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
23557         conditional macro definitions.
23558         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
23559         (__arch_compare_and_exchange_val_16_acq): Likewise.
23560         (__arch_compare_and_exchange_val_32_acq): Likewise.
23561         (atomic_exchange_and_add): Likewise.
23562         (atomic_add): Likewise.
23563         (atomic_add_negative): Likewise.
23564         (atomic_add_zero): Likewise.
23565         (atomic_bit_set): Likewise.
23566         (atomic_bit_test_set): Likewise.
23567         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
23568         code unconditional.
23569         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23571         * math/test-math-errno.h: New file.
23572         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
23573         empty.
23574         (TEST_ERRNO): New macro.
23575         (TEST_EXCEPTIONS): Likewise.
23576         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
23577         (TEST_EXCEPTIONS): Likewise.
23578         * math/test-math-vector.h (TEST_ERRNO): Likewise.
23579         * math/test-double.c: Include "test-math-errno.h".
23580         * math/test-float.c: Likewise.
23581         * math/test-ldouble.c: Likewise.
23582         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
23583         code unconditional.
23584         (test_exceptions): Only run code if TEST_EXCEPTIONS.
23585         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
23586         unconditional.
23587         (test_errno): Only run code if TEST_ERRNO.
23588         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
23590 2015-11-04  Florian Weimer  <fweimer@redhat.com>
23592         * nptl/tst-once5.cc: Remove attribution.
23594 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23596         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
23597         sqrt, tan, tanh, y0, y1 and yn.
23598         * math/auto-libm-test-out: Regenerated.
23599         * math/libm-test.inc (scalb_test_data): Add more tests.
23600         (scalbn_test_data): Likewise.
23601         (scalbln_test_data): Likewise.
23602         (signbit_test_data): Likewise.
23603         (sin_test_data): Likewise.
23604         (sincos_test_data): Likewise.
23605         (sinh_test_data): Likewise.
23606         (sqrt_test_data): Likewise.
23607         (tan_test_data): Likewise.
23608         (tanh_test_data): Likewise.
23609         (tgamma_test_data): Likewise.
23610         (y0_test_data): Likewise.
23611         (y1_test_data): Likewise.
23612         (yn_test_data): Likewise.
23613         (significand_test_data): Likewise.
23614         * sysdeps/i386/fpu/libm-test-ulps: Update.
23616 2015-11-03  David Kastrup  <dak@gnu.org>
23618         [BZ #18604]
23619         * assert/assert.h (assert): Don't macro-expand failed assertion
23620         expression in error message.
23621         * malloc/malloc.c (assert): Likewise.
23623 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
23625         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
23626         test.
23627         * configure: Regenerated.
23629 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
23631         * math/libm-test.inc (modf_test_data): Add more tests.
23632         (nearbyint_test_data): Likewise.
23633         (nextafter_test_data): Likewise.
23634         (nexttoward_test_data): Likewise.
23635         (pow_test_data): Likewise.
23636         (remainder_test_data): Likewise.
23637         (remquo_test_data): Likewise.
23638         (rint_test_data): Likewise.
23640         [BZ #19201]
23641         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23642         Check for zero remainder in case of large exponents and ensure
23643         correct sign of result in that case.
23644         * math/libm-test.inc (remainder_test_data): Add more tests.
23646         [BZ #6799]
23647         * math/s_nextafter.c: Include <errno.h>.
23648         (__nextafter): Set errno on overflow and underflow.
23649         * math/s_nexttowardf.c: Include <errno.h>.
23650         (__nexttowardf): Set errno on overflow and underflow.
23651         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
23652         (__nextafterl): Set errno on overflow and underflow.
23653         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
23654         (__nexttoward): Set errno on overflow and underflow.
23655         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
23656         (__nexttowardf): Set errno on overflow and underflow.
23657         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
23658         (__nextafterf): Set errno on overflow and underflow.
23659         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
23660         (__nextafterl): Set errno on overflow and underflow.
23661         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
23662         (__nexttoward): Set errno on overflow and underflow.
23663         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
23664         (__nexttowardf): Set errno on overflow and underflow.
23665         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
23666         (__nextafterl): Set errno on overflow and underflow.
23667         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
23668         (__nexttoward): Set errno on overflow and underflow.
23669         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
23670         (__nexttowardf): Set errno on overflow and underflow.
23671         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
23672         (__nexttoward): Set errno on overflow and underflow.
23673         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
23674         (__nexttowardf): Set errno on overflow and underflow.
23675         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
23676         (__nldbl_nexttowardf): Set errno on overflow and underflow.
23677         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
23678         (__nextafterl): Set errno on overflow and underflow.
23679         * math/libm-test.inc (nextafter_test_data): Do not allow errno
23680         setting to be missing on overflow.  Add more tests.
23681         (nexttoward_test_data): Likewise.
23683         * configure.ac (libc_cv_initfini_array): Remove configure test.
23684         * configure: Regenerated.
23686 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
23688         [BZ #19189]
23689         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
23690         non-finite argument handle arguments with negative sign.
23692         * math/libm-test.inc (j0_test_data): Do not test sign of zero
23693         result from infinite argument.
23694         (j1_test_data): Likewise.
23695         (jn_test_data): Likewise.
23696         (y0_test_data): Likewise.
23697         (y1_test_data): Likewise.
23698         (yn_test_data): Likewise.
23700         [BZ #16171]
23701         * math/w_remainder.c (drem): Define as weak alias of __remainder.
23702         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
23703         * math/w_remainderf.c (dremf): Define as weak alias of
23704         __remainderf.
23705         * math/w_remainderl.c (dreml): Define as weak alias of
23706         __remainderl.
23707         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
23708         __remainder.
23709         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
23710         __remainderf.
23711         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
23712         __remainderl.
23713         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
23714         weak alias of remainderl.
23715         * sysdeps/ieee754/ldbl-opt/w_remainder.c
23716         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
23717         alias of __remainder.
23718         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
23719         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
23720         strong alias of __remainderl.
23721         (dreml): Use long_double_symbol.
23722         * math/Makefile (libm-calls): Remove w_drem.
23723         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
23724         (CFLAGS-nldbl-drem.c): Remove variable.
23725         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
23726         * math/w_drem.c: Remove file.
23727         * math/w_dremf.c: Likewise.
23728         * math/w_dreml.c: Likewise.
23729         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
23730         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
23731         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
23733         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
23734         * sysdeps/i386/configure: Regenerated.
23735         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
23736         * sysdeps/x86_64/configure: Regenerated.
23738         * configure.ac (libc_cv_asm_protected_directive): Remove configure
23739         test.
23740         (libc_cv_visibility_attribute): Likewise.
23741         (libc_cv_protected_data): Test unconditionally.
23742         (libc_cv_broken_visibility_attribute): Remove configure test.
23743         (libc_cv_have_sdata_section): Test unconditionally.
23744         * configure: Regenerated.
23746         * include/libc-internal.h (libc_max_align_t): Remove typedef.
23747         * include/scratch_buffer.h: Include <stddef.h> instead of
23748         <libc-internal.h>.
23749         (struct scratch_buffer): Use max_align_t instead of
23750         libc_max_align_t.
23752 2015-10-29  Florian Weimer  <fweimer@redhat.com>
23754         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
23755         instead of extend_alloca.  Change control flow to avoid a goto.
23756         Remove assert which is trivially always true.
23758 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23760         [BZ #16068]
23761         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
23762         (FE_ALL_EXCEPT_X86): New macro.
23763         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
23764         FE_ALL_EXCEPT.  Ensure precision control is included in
23765         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
23766         handle "denormal operand exception" and clear FZ and DAZ bits.
23767         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
23768         (FE_ALL_EXCEPT_X86): New macro.
23769         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
23770         FE_ALL_EXCEPT.  Ensure precision control is included in
23771         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
23772         handle "denormal operand exception" and clear FZ and DAZ bits.
23773         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
23774         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
23775         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23776         test-fenv-x87 and test-fenv-sse-2.
23777         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
23779         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
23780         * math/test-double.h (BUILD_COMPLEX): New macro.
23781         * math/test-float.h (BUILD_COMPLEX): Likewise.
23782         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
23784         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
23785         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
23786         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
23787         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
23788         instead of DBL_DENORM_MIN in comment.
23789         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
23790         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
23791         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
23792         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
23793         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
23794         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
23796 2015-10-28  Florian Weimer  <fweimer@redhat.com>
23798         [BZ #19048]
23799         * malloc/malloc.c (struct malloc_state): Update comment.  Add
23800         attached_threads member.
23801         (main_arena): Initialize attached_threads.
23802         * malloc/arena.c (list_lock): Update comment.
23803         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
23804         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
23805         (deattach_arena): New function.
23806         (_int_new_arena): Initialize arena reference count and deattach
23807         replaced arena.
23808         (get_free_list, reused_arena): Update reference count and deattach
23809         replaced arena.
23810         (arena_thread_freeres): Update arena reference count and only put
23811         unreferenced arenas on the free list.
23813 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23815         [BZ #19181]
23816         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
23817         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
23818         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
23819         * math/test-fenv-clear-main.c: New file.
23820         * math/test-fenv-clear.c: Likewise.
23821         * math/Makefile (tests): Add test-fenv-clear.
23822         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
23823         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23824         test-fenv-clear-sse.
23825         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
23827         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
23828         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
23829         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
23831 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23833         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
23834         static libc.
23836 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
23838         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
23839         test.
23840         * sysdeps/i386/configure: Regenerated.
23841         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
23842         test.
23843         * sysdeps/x86_64/configure: Regenerated.
23844         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
23845         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23846         memset-avx2 unconditionally instead of conditionally on
23847         [$(config-cflags-avx2) = yes].
23848         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23849         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
23850         unconditional.
23851         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
23852         * sysdeps/x86_64/multiarch/memset_chk.S
23853         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
23854         to [IS_IN (libc) && SHARED].
23856 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23858         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
23859         configure test.
23860         * sysdeps/arm/configure: Regenerated.
23861         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
23862         Define variable if not already defined.
23864         [BZ #17404]
23865         * sysdeps/mips/atomic-machine.h
23866         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
23867         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
23868         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23870         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
23871         unconditional.
23872         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
23873         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23874         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
23875         unconditional.
23876         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23877         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
23878         unconditional.
23879         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23880         * stdlib/setenv.c
23881         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
23882         code unconditional.
23883         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
23884         Remove conditional code.
23885         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
23886         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
23887         unconditional.
23888         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23889         code.
23890         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
23891         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
23892         unconditional.
23893         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23894         code.
23895         * sysdeps/ieee754/ldbl-128/k_tanl.c
23896         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23897         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23898         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
23899         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23900         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23901         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
23902         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
23903         unconditional.
23904         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
23905         code.
23906         * sysdeps/ieee754/ldbl-96/k_tanl.c
23907         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
23908         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23910         * nptl/tst-initializers1-c11.c: New file.
23911         * nptl/tst-initializers1-gnu11.c: Likewise.
23912         * nptl/Makefile (tests): Add these new tests.
23913         (CFLAGS-tst-initializers1-c11.c): New variable.
23914         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
23916         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
23917         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
23918         instead of -std=gnu99.
23919         * configure.ac (systemtap): Test with -std=gnu11 instead of
23920         -std=gnu99.
23921         * configure: Regenerated.
23922         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
23923         in compilation command in comment.
23925         * sysdeps/nptl/configure.ac: Remove file.
23926         * sysdeps/nptl/configure: Remove generated file.
23927         * configure.ac (libc_cv_forced_unwind): Do not substitute.
23928         * configure: Regenerated.
23929         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
23930         * config.make.in (have-forced-unwind): Remove variable.
23931         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23932         unconditional.
23933         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
23934         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
23935         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
23936         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
23937         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
23938         unconditional.
23940 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23942         [BZ #19174]
23943         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
23944         .skip_lock_out_of_tbegin_retries.
23945         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23946         (__lll_lock_elision): Likewise, and respect a value of
23947         try_tbegin <= 0.
23949 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23951         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
23952         statement.
23954 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23956         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
23957         variable.
23958         (test-xfail-ISO11/stdalign.h/conform): Likewise.
23959         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
23961         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
23962         of -std=c1x -D_ISOC11_SOURCE.
23964         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
23965         * configure: Regenerated.
23966         * manual/install.texi (Tools for Compilation): Document
23967         requirement for GCC 4.7 or later.
23968         * INSTALL: Regenerated.
23970 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
23972         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
23973         on CNT to a conditional jump to 'puntdata'.
23975 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
23977         * configure.ac (libc_cv_gcc___thread): Remove configure test.
23978         (libc_cv_gcc_tls_model_attr): Likewise.
23979         * configure: Regenerated.
23981         * configure.ac (libc_cv_need_minus_P): Remove configure test.
23982         * configure: Regenerated.
23983         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
23985 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
23987         * configure.ac (old_glibc_headers): Remove configure test.
23988         * configure: Regenerated.
23989         * config.make.in (old-glibc-headers): Remove variable.
23990         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
23991         (install): Remove dependency on remove-old-headers.
23992         (headers2_0): Remove variable.
23993         (remove-old-headers): Remove rule.
23995         * configure.ac (libc_cv_dot_text): Remove configure test.
23996         (libc_cv_asm_set_directive): Use .text instead of
23997         ${libc_cv_dot_text} in configure test.
23998         * configure: Regenerated.
24000 2015-10-26  Florian Weimer  <fweimer@redhat.com>
24002         [BZ #19168]
24003         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24005 2015-10-26  Florian Weimer  <fweimer@redhat.com>
24007         * configure.ac (CXX): Clear the variable if the C++ toolchain does
24008         not support static linking.
24009         * configure: Regenerate.
24011 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
24013         * math/libm-test.inc (check_float_internal): Do not special-case
24014         errors up to 0.5 ulp.
24016         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24017         log2.
24018         * math/auto-libm-test-out: Regenerated.
24019         * math/libm-test.inc (MAX_EXP): New macro.
24020         (ilogb_test_data): Add more tests.
24021         (isfinite_test_data): Likewise.
24022         (isgreater_test_data): Likewise.
24023         (isgreaterequal_test_data): Likewise.
24024         (isinf_test_data): Likewise.
24025         (isless_test_data): Likewise.
24026         (islessequal_test_data): Likewise.
24027         (islessgreater_test_data): Likewise.
24028         (isnan_test_data): Likewise.
24029         (isnormal_test_data): Likewise.
24030         (issignaling_test_data): Likewise.
24031         (isunordered_test_data): Likewise.
24032         (j0_test_data): Likewise.
24033         (j1_test_data): Likewise.
24034         (jn_test_data): Likewise.
24035         (lgamma_test_data): Likewise.
24036         (log_test_data): Likewise.
24037         (log10_test_data): Likewise.
24038         (log1p_test_data): Likewise.
24039         (log2_test_data): Likewise.
24040         (logb_test_data): Likewise.
24041         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24043         [BZ #18611]
24044         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
24045         avoid excess range and precision on underflow.
24046         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24047         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
24048         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24049         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
24050         underflow.
24051         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24052         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24053         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24054         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24055         * math/auto-libm-test-in: Do not allow missing errno setting for
24056         tests of j1 and jn.
24057         * math/auto-libm-test-out: Regenerated.
24059 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
24061         [BZ #15491]
24062         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
24063         floating-point environment instead of clearing all exceptions.
24064         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
24065         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
24066         merging in "invalid" exceptions from frndint.
24067         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
24068         * math/test-nearbyint-except.c: New file.
24069         * math/Makefile (tests): Add test-nearbyint-except.
24071 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
24073         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
24075         * sysdeps/tile/libm-test-ulps: Regenerated.
24077 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
24080         (__NR_sync_file_range2): Assume it is always defined.
24081         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
24082         (__NR_sync_file_range): Assume it is always defined.
24084 2015-10-22  Andreas Schwab  <schwab@suse.de>
24086         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
24087         INTERNAL_SYSCALL_ERRNO.
24088         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24089         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
24090         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24091         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
24092         Likewise.
24093         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24095 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24097         * io/tst-fcntl.c (fd): New static variable.
24098         (do_prepare): Open temporary file here....
24099         (do_test): ...not here.
24101         * io/ftwtest-sh: Also trap on exit to remove temporary files.
24103 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
24105         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
24106         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
24107         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
24108         Moved before "#ifdef __ASSEMBLER__".
24110 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24112         [BZ #19156]
24113         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
24114         arguments very close to 0.
24116 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
24118         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
24119         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
24121 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
24123         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
24124         New.  Defined for GCC 5 and above when not compiling for
24125         profiling.
24126         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
24128         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
24129         Renamed to ...
24130         (CFLAGS-epoll_pwait.o): This.
24131         (CFLAGS-mmap.c): Renamed to ...
24132         (CFLAGS-mmap.o): This.
24133         (CFLAGS-mmap64.c): Renamed to ...
24134         (CFLAGS-mmap64.o): This.
24135         (CFLAGS-epoll_pwait.os): New.
24136         (CFLAGS-mmap.os): Likewise.
24137         (CFLAGS-mmap64.os): Likewise.
24138         (CFLAGS-semtimedop.os): Likewise.
24139         (CFLAGS-semtimedop.c): Renamed to ...
24140         (CFLAGS-semtimedop.o): This.
24142 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24144         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
24145         warning message.
24147 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24149         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
24150         * Makefile ($(objpfx)c++-types-check.out): Filter out
24151         $(+gccwarn-c) instead of -Wstrict-prototypes.
24153         * io/fts.c (fts_open): Convert to prototype-style function
24154         definition.
24155         * malloc/mcheck.c (mcheck): Likewise.
24156         (mcheck_pedantic): Likewise.
24157         * posix/regexec.c (re_search_2_stub): Likewise.  Use
24158         internal_function.
24159         (re_search_internal): Likewise.
24160         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
24161         prototype-style function definition.
24162         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24163         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
24164         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
24165         (xdr_utmpptr): Likewise.
24166         (xdr_utmparr): Likewise.
24167         (xdr_utmpidle): Likewise.
24168         (xdr_utmpidleptr): Likewise.
24169         (xdr_utmpidlearr): Likewise.
24171         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
24172         log, log10 and log2.
24173         * math/auto-libm-test-out: Regenerated.
24174         * math/libm-test.inc (fmod_test_data): Add more tests.
24175         (fpclassify_test_data): Likewise.
24176         (frexp_test_data): Likewise.
24177         (hypot_test_data): Likewise.
24178         (ilogb_test_data): Likewise.
24180 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
24182         * debug/fortify_fail.c (__fortify_fail): Convert to
24183         prototype-style function definition.  Use internal_function.
24184         * libio/genops.c (save_for_backup): Convert to prototype-style
24185         function definition.
24186         * libio/wgenops.c (save_for_wbackup): Likewise.
24187         * login/grantpt.c (grantpt): Likewise.
24188         * login/ptsname.c (ptsname): Likewise.
24189         (__ptsname_r): Likewise.
24190         * login/unlockpt.c (unlockpt): Likewise.
24191         * mach/msgserver.c (__mach_msg_server): Likewise.
24192         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
24193         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
24194         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
24195         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
24196         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
24197         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
24198         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
24199         Likewise.
24200         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
24201         internal_function.
24202         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
24203         prototype-style function definition.
24204         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
24205         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
24206         (__pthread_create_2_0): Likewise.
24207         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
24208         * nptl/register-atfork.c (__register_atfork): Likewise.
24209         * posix/glob.c (glob): Likewise.
24210         * posix/regcomp.c (re_comp): Likewise.
24211         * posix/regexec.c (re_exec): Likewise.
24212         * stdlib/add_n.c [__STDC__]: Make code unconditional.
24213         [!__STDC__]: Remove conditional code.
24214         * stdlib/cmp.c [__STDC__]: Make code unconditional.
24215         [!__STDC__]: Remove conditional code.
24216         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
24217         [!__STDC__]: Remove conditional code.
24218         * stdlib/divrem.c [__STDC__]: Make code unconditional.
24219         [!__STDC__]: Remove conditional code.
24220         * stdlib/lshift.c [__STDC__]: Make code unconditional.
24221         [!__STDC__]: Remove conditional code.
24222         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
24223         [!__STDC__]: Remove conditional code.
24224         * stdlib/mul.c [__STDC__]: Make code unconditional.
24225         [!__STDC__]: Remove conditional code.
24226         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
24227         [!__STDC__]: Remove conditional code.
24228         * stdlib/rshift.c [__STDC__]: Make code unconditional.
24229         [!__STDC__]: Remove conditional code.
24230         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
24231         function definition.
24232         (STRTOF): Likewise.
24233         * stdlib/strtod_l.c (__STRTOF): Likewise.
24234         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
24235         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
24236         (__strtol_l): Likewise.
24237         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
24238         [!__STDC__]: Remove conditional code.
24239         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
24240         definition.
24241         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24242         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24243         type.
24244         (__strcasecmp): Convert to prototype-style function definition.
24245         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
24246         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24247         type.
24248         (__strncasecmp): Convert to prototype-style function definition.
24249         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
24250         * sunrpc/xdr.c (xdr_union): Likewise.
24251         * sunrpc/xdr_array.c (xdr_array): Likewise.
24252         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
24253         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
24254         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
24255         Likewise.
24256         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
24257         Likewise.
24258         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
24259         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24260         Likewise.
24261         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
24262         (LOCALE_PARAM_PROTO): Likewise.
24263         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
24264         argument type.
24265         (ut_argument_spec): Remove macro.
24266         (ut_argument_spec_iso): Rename to ut_argument_spec.
24267         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
24268         prototype-style function definition.
24269         (memcpy_uppcase): Likewise.
24270         (__strftime_internal): Likewise.
24271         (my_strftime): Likewise.
24272         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
24273         (LOCALE_PARAM_DECL): Likewise.
24274         [_LIBC] (LOCALE_PARAM): Include argument type.
24275         (__strptime_internal): Convert to prototype-style function
24276         definition.
24277         (strptime): Likewise.
24278         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24279         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24280         type.
24281         (__wcscasecmp): Convert to prototype-style function definition.
24282         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
24283         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24284         type.
24285         (__wcsncasecmp): Convert to prototype-style function definition.
24287         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
24288         function definition.
24289         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24290         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24291         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
24292         * elf/dl-minimal.c (_itoa): Likewise.
24293         * hurd/hurdmalloc.c (malloc): Likewise.
24294         (free): Likewise.
24295         (realloc): Likewise.
24296         * inet/inet6_option.c (inet6_option_space): Likewise.
24297         (inet6_option_init): Likewise.
24298         (inet6_option_append): Likewise.
24299         (inet6_option_alloc): Likewise.
24300         (inet6_option_next): Likewise.
24301         (inet6_option_find): Likewise.
24302         * io/ftw.c (FTW_NAME): Likewise.
24303         (NFTW_NAME): Likewise.
24304         (NFTW_NEW_NAME): Likewise.
24305         (NFTW_OLD_NAME): Likewise.
24306         * libio/iofwide.c (_IO_fwide): Likewise.
24307         * libio/strops.c (_IO_str_init_static_internal): Likewise.
24308         (_IO_str_init_static): Likewise.
24309         (_IO_str_init_readonly): Likewise.
24310         (_IO_str_overflow): Likewise.
24311         (_IO_str_underflow): Likewise.
24312         (_IO_str_count): Likewise.
24313         (_IO_str_seekoff): Likewise.
24314         (_IO_str_pbackfail): Likewise.
24315         (_IO_str_finish): Likewise.
24316         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
24317         (_IO_wstr_overflow): Likewise.
24318         (_IO_wstr_underflow): Likewise.
24319         (_IO_wstr_count): Likewise.
24320         (_IO_wstr_seekoff): Likewise.
24321         (_IO_wstr_pbackfail): Likewise.
24322         (_IO_wstr_finish): Likewise.
24323         * locale/programs/localedef.c (normalize_codeset): Likewise.
24324         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24325         (add_locales_to_archive): Likewise.
24326         (delete_locales_from_archive): Likewise.
24327         * malloc/malloc.c (__libc_mallinfo): Likewise.
24328         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
24329         * misc/tsearch.c (__tfind): Likewise.
24330         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
24331         * nptl/pthread_attr_getdetachstate.c
24332         (__pthread_attr_getdetachstate): Likewise.
24333         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24334         Likewise.
24335         * nptl/pthread_attr_getinheritsched.c
24336         (__pthread_attr_getinheritsched): Likewise.
24337         * nptl/pthread_attr_getschedparam.c
24338         (__pthread_attr_getschedparam): Likewise.
24339         * nptl/pthread_attr_getschedpolicy.c
24340         (__pthread_attr_getschedpolicy): Likewise.
24341         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
24342         Likewise.
24343         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
24344         Likewise.
24345         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24346         Likewise.
24347         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24348         Likewise.
24349         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
24350         (__pthread_attr_init_2_0): Likewise.
24351         * nptl/pthread_attr_setdetachstate.c
24352         (__pthread_attr_setdetachstate): Likewise.
24353         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24354         Likewise.
24355         * nptl/pthread_attr_setinheritsched.c
24356         (__pthread_attr_setinheritsched): Likewise.
24357         * nptl/pthread_attr_setschedparam.c
24358         (__pthread_attr_setschedparam): Likewise.
24359         * nptl/pthread_attr_setschedpolicy.c
24360         (__pthread_attr_setschedpolicy): Likewise.
24361         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
24362         Likewise.
24363         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
24364         Likewise.
24365         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24366         Likewise.
24367         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24368         Likewise.
24369         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
24370         Likewise.
24371         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
24372         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
24373         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
24374         use internal_function.
24375         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
24376         prototype-style function definition.
24377         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24378         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
24379         internal_function.
24380         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
24381         Convert to prototype-style function definition.
24382         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24383         Likewise.
24384         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
24385         Likewise.
24386         (__pthread_mutex_unlock): Likewise.
24387         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
24388         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
24389         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
24390         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
24391         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
24392         * nss/makedb.c (process_input): Likewise.
24393         * posix/fnmatch.c (__strchrnul): Likewise.
24394         (__wcschrnul): Likewise.
24395         (fnmatch): Likewise.
24396         * posix/fnmatch_loop.c (FCT): Likewise.
24397         * posix/glob.c (globfree): Likewise.
24398         (__glob_pattern_type): Likewise.
24399         (__glob_pattern_p): Likewise.
24400         * posix/regcomp.c (re_compile_pattern): Likewise.
24401         (re_set_syntax): Likewise.
24402         (re_compile_fastmap): Likewise.
24403         (regcomp): Likewise.
24404         (regerror): Likewise.
24405         (regfree): Likewise.
24406         * posix/regexec.c (regexec): Likewise.
24407         (re_match): Likewise.
24408         (re_search): Likewise.
24409         (re_match_2): Likewise.
24410         (re_search_2): Likewise.
24411         (re_search_stub): Likewise.  Use internal_function
24412         (re_copy_regs): Likewise.
24413         (re_set_registers): Convert to prototype-style function
24414         definition.
24415         (prune_impossible_nodes): Likewise.  Use internal_function.
24416         * resolv/inet_net_pton.c (inet_net_pton): Convert to
24417         prototype-style function definition.
24418         (inet_net_pton_ipv4): Likewise.
24419         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24420         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
24421         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
24422         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
24423         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24424         Make variadic.
24425         * time/strptime_l.c (localtime_r): Convert to prototype-style
24426         function definition.
24427         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24428         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24429         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24430         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24432         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
24433         definition.
24434         (_ufc_doit_r): Likewise.
24435         * crypt/crypt_util.c (_ufc_copymem): Likewise.
24436         (_ufc_output_conversion_r): Likewise.
24437         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
24438         * inet/rcmd.c (rcmd_af): Likewise.
24439         (rcmd): Likewise.
24440         (ruserok_af): Likewise.
24441         (ruserok): Likewise.
24442         (ruserok2_sa): Likewise.
24443         (ruserok_sa): Likewise.
24444         (iruserok_af): Likewise.
24445         (iruserok): Likewise.
24446         (__ivaliduser): Likewise.
24447         (__validuser2_sa): Likewise.
24448         * inet/rexec.c (rexec_af): Likewise.
24449         (rexec): Likewise.
24450         * inet/ruserpass.c (ruserpass): Likewise.
24451         * locale/programs/xmalloc.c (xcalloc): Likewise.
24452         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
24453         * math/w_drem.c (__drem): Likewise.
24454         * math/w_dremf.c (__dremf): Likewise.
24455         * math/w_dreml.c (__dreml): Likewise.
24456         * misc/daemon.c (daemon): Likewise.
24457         * resolv/res_debug.c (p_fqnname): Likewise.
24458         * stdlib/div.c (div): Likewise.
24459         * string/memcmp.c (memcmp_bytes): Likewise.
24460         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
24461         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
24463         * crypt/cert.c (main): Convert to prototype-style function
24464         definition.
24465         * io/pipe.c (__pipe): Likewise.
24466         * io/pipe2.c (__pipe2): Likewise.
24467         * misc/futimesat.c (futimesat): Likewise.
24468         * misc/utimes.c (__utimes): Likewise.
24469         * posix/execve.c (__execve): Likewise.
24470         * posix/execvp.c (execvp): Likewise.
24471         * posix/execvpe.c (__execvpe): Likewise.
24472         * posix/fexecve.c (fexecve): Likewise.
24473         * socket/socketpair.c (socketpair): Likewise.
24474         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24475         * stdlib/erand48.c (erand48): Likewise.
24476         * stdlib/erand48_r.c (__erand48_r): Likewise.
24477         * stdlib/jrand48.c (jrand48): Likewise.
24478         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
24479         * stdlib/lcong48.c (lcong48): Likewise.
24480         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
24481         * stdlib/nrand48.c (nrand48): Likewise.
24482         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
24483         * stdlib/seed48.c (seed48): Likewise.
24484         * stdlib/seed48_r.c (__seed48_r): Likewise.
24485         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
24486         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
24487         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
24489 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24491         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
24492         * configure: Regenerated.
24493         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
24494         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
24495         unconditional.
24496         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24497         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24498         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24499         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
24500         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
24501         unconditional.
24502         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24504         * posix/Makefile (CFLAGS-regex.c): Remove variable.
24505         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
24507         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
24508         function definition.
24509         * crypt/crypt_util.c (__encrypt_r): Likewise.
24510         * libio/genops.c (_IO_no_init): Likewise.
24511         * libio/iofopncook.c (_IO_fopencookie): Likewise.
24512         (_IO_old_fopencookie): Likewise.
24513         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24514         * libio/iogetline.c (_IO_getline): Likewise.
24515         (_IO_getline_info): Likewise.
24516         * libio/iogetwline.c (_IO_getwline): Likewise.
24517         (_IO_getwline_info): Likewise.
24518         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
24519         * libio/vswprintf.c (_IO_vswprintf): Likewise.
24520         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
24521         (find_entry): Likewise.
24522         (iterate_table): Likewise.
24523         (lookup): Likewise.
24524         * login/forkpty.c (forkpty): Likewise.
24525         * misc/hsearch_r.c (__hsearch_r): Likewise.
24526         * misc/select.c (__select): Likewise.
24527         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
24528         Likewise.
24529         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
24530         Likewise.
24531         * nptl/old_pthread_cond_timedwait.c
24532         (__pthread_cond_timedwait_2_0): Likewise.
24533         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24534         * nptl/pthread_barrierattr_getpshared.c
24535         (pthread_barrierattr_getpshared): Likewise.
24536         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
24537         Likewise.
24538         * nptl/pthread_mutex_setprioceiling.c
24539         (pthread_mutex_setprioceiling): Likewise.
24540         * nptl/pthread_mutexattr_getprioceiling.c
24541         (pthread_mutexattr_getprioceiling): Likewise.
24542         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24543         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24544         Likewise.
24545         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24546         Likewise.
24547         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
24548         Likewise.
24549         * socket/recvfrom.c (__recvfrom): Likewise.
24550         * socket/sendto.c (__sendto): Likewise.
24551         * socket/setsockopt.c (__setsockopt): Likewise.
24552         * stdio-common/_itoa.c (_itoa): Likewise.
24553         * stdio-common/_itowa.c (_itowa): Likewise.
24554         * stdio-common/reg-printf.c (__register_printf_specifier):
24555         Likewise.
24556         (__register_printf_function): Likewise.
24557         * stdio-common/tempname.c (__path_search): Likewise.
24558         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
24559         * stdlib/mul_1.c (mpn_mul_1): Likewise.
24560         * stdlib/random_r.c (__initstate_r): Likewise.
24561         * stdlib/setenv.c (__add_to_environ): Likewise.
24562         * stdlib/submul_1.c (mpn_submul_1): Likewise.
24563         * streams/getpmsg.c (getpmsg): Likewise.
24564         * streams/putmsg.c (putmsg): Likewise.
24565         * streams/putpmsg.c (putpmsg): Likewise.
24566         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
24567         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
24568         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
24569         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
24570         * sunrpc/pm_getport.c (pmap_getport): Likewise.
24571         * sunrpc/svc_udp.c (cache_get): Likewise.
24572         * sunrpc/xdr_array.c (xdr_vector): Likewise.
24573         * sysdeps/mach/hurd/getcwd.c
24574         (__canonicalize_directory_name_internal): Likewise.
24575         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
24576         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
24577         * sysdeps/mach/hurd/select.c (__select): Likewise.
24578         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
24579         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
24580         * sysdeps/sparc/nptl/pthread_barrier_init.c
24581         (__pthread_barrier_init): Likewise.
24582         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
24583         (__pthread_cond_timedwait): Likewise.
24584         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
24585         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
24586         Likewise.
24587         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
24588         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
24589         Likewise.
24590         * sysvipc/semtimedop.c (semtimedop): Likewise.
24591         * time/setitimer.c (__setitimer): Likewise.
24592         * time/strftime_l.c (emacs_strftime): Likewise.
24594 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24596         * config.make.in (have-ssp): Delete.
24597         (stack-protector): New variable.
24598         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
24599         cache test for -fstack-protector-strong.  Export stack_protector to
24600         the best ssp flag.
24601         * configure: Regenerated.
24602         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
24603         * nscd/Makefile (CFLAGS-nscd): Likewise.
24604         * resolv/Makefile (CFLAGS-libresolv): Likewise.
24606 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
24608         [BZ #19122]
24609         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
24610         attribute_hidden.
24612 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24614         [BZ #18743]
24615         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
24616         code to...
24617         (ELIDE_LOCK): ...here.
24618         (__get_new_count): New function with part of the code from
24619         __elide_lock that updates the value of adapt_count after a
24620         transaction abort.
24621         (__elided_trylock): Moved this code to...
24622         (ELIDE_TRYLOCK): ...here.
24624 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24626         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
24627         * configure: Regenerate.
24628         * INSTALL: Regenerate.
24629         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
24630         and tweak grammar.
24632 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
24634         * login/programs/pt_chown.c: Include signal.h
24635         (main): Clear any signal mask from the parent process.
24637 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24639         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
24640         * configure: Regenerated.
24641         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
24642         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
24643         $(gnu89-inline-CFLAGS).
24645         * configure.ac (libc_cv_asm_weak_directive): Remove configure
24646         test.
24647         (libc_cv_asm_weakext_directive): Likewise.
24648         * configure: Regenerated.
24649         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
24650         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
24651         * include/libc-symbols.h
24652         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
24653         #error.
24654         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
24655         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
24657         * sysdeps/arm/backtrace.c (__backtrace): Convert to
24658         prototype-style function definition.
24659         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
24660         * sysdeps/i386/ffs.c (__ffs): Likewise.
24661         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24662         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
24663         Likewise.
24664         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24665         Likewise.
24666         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
24667         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24668         Likewise.
24669         * sysdeps/m68k/ffs.c (__ffs): Likewise.
24670         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
24671         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
24672         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
24673         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
24674         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
24675         * sysdeps/mach/hurd/access.c (__access): Likewise.
24676         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
24677         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
24678         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
24679         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
24680         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
24681         (cthread_getspecific): Likewise.
24682         (cthread_setspecific): Likewise.
24683         (__libc_getspecific): Likewise.
24684         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
24685         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
24686         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
24687         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
24688         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
24689         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
24690         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
24691         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
24692         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
24693         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
24694         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
24695         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
24696         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
24697         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
24698         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
24699         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
24700         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
24701         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
24702         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
24703         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
24704         * sysdeps/mach/hurd/link.c (__link): Likewise.
24705         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
24706         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
24707         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
24708         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
24709         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24710         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
24711         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
24712         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
24713         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24714         * sysdeps/mach/hurd/rename.c (rename): Likewise.
24715         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
24716         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
24717         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
24718         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
24719         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
24720         * sysdeps/mach/hurd/send.c (__send): Likewise.
24721         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
24722         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
24723         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
24724         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
24725         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
24726         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
24727         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
24728         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
24729         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
24730         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
24731         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
24732         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
24733         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
24734         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
24735         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
24736         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
24737         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
24738         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
24739         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
24740         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24741         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
24742         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
24743         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
24744         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
24745         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
24746         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
24747         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
24748         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
24749         * sysdeps/posix/alarm.c (alarm): Likewise.
24750         * sysdeps/posix/cuserid.c (cuserid): Likewise.
24751         * sysdeps/posix/dirfd.c (dirfd): Likewise.
24752         * sysdeps/posix/dup.c (__dup): Likewise.
24753         * sysdeps/posix/dup2.c (__dup2): Likewise.
24754         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
24755         (main): Likewise.
24756         * sysdeps/posix/flock.c (__flock): Likewise.
24757         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
24758         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
24759         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
24760         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
24761         * sysdeps/posix/isatty.c (__isatty): Likewise.
24762         * sysdeps/posix/killpg.c (killpg): Likewise.
24763         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24764         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
24765         * sysdeps/posix/raise.c (raise): Likewise.
24766         * sysdeps/posix/remove.c (remove): Likewise.
24767         * sysdeps/posix/rename.c (rename): Likewise.
24768         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
24769         * sysdeps/posix/seekdir.c (seekdir): Likewise.
24770         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
24771         * sysdeps/posix/sigignore.c (sigignore): Likewise.
24772         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
24773         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
24774         * sysdeps/posix/sigset.c (sigset): Likewise.
24775         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
24776         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
24777         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
24778         * sysdeps/posix/time.c (time): Likewise.
24779         * sysdeps/posix/ttyname.c (getttyname): Likewise.
24780         (ttyname): Likewise.
24781         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
24782         * sysdeps/posix/utime.c (utime): Likewise.
24783         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
24784         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24785         Likewise.
24786         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
24787         (pthread_spin_trylock): Likewise.
24788         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
24789         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
24790         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
24791         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
24792         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
24793         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
24794         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
24795         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
24796         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
24797         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
24798         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
24799         * sysdeps/s390/ffs.c (__ffs): Likewise.
24800         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
24801         Likewise.
24802         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24803         Likewise.
24804         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
24805         Likewise.
24806         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
24807         (pthread_barrier_destroy): Likewise.
24808         * sysdeps/sparc/nptl/pthread_barrier_wait.c
24809         (__pthread_barrier_wait): Likewise.
24810         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
24811         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24812         (__pthread_barrier_wait): Likewise.
24813         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
24814         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
24815         (memcmp_not_common_alignment): Likewise.
24816         (MEMCMP): Likewise.
24817         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
24818         (_wordcopy_fwd_dest_aligned): Likewise.
24819         (_wordcopy_bwd_aligned): Likewise.
24820         (_wordcopy_bwd_dest_aligned): Likewise.
24821         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
24822         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
24823         * sysdeps/unix/bsd/stty.c (stty): Likewise.
24824         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
24825         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
24826         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
24827         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
24828         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
24829         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
24830         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
24831         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
24832         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
24833         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
24834         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
24835         * sysdeps/unix/stime.c (stime): Likewise.
24836         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
24837         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
24838         Likewise.  Use internal_function.
24839         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
24840         Convert to prototype-style function definition.
24841         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
24842         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
24843         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
24844         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24845         Likewise.  Use internal_function.
24846         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
24847         prototype-style function definition
24848         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24849         Likewise.
24850         (__getlogin_r): Likewise.
24851         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
24852         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
24853         (__pthread_cond_broadcast): Likewise.
24854         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
24855         (__pthread_cond_destroy): Likewise.
24856         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
24857         (__pthread_cond_init): Likewise.
24858         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
24859         (__pthread_cond_signal): Likewise.
24860         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
24861         (__pthread_cond_wait): Likewise.
24862         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
24863         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
24864         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
24865         Likewise.
24866         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
24867         Likewise.
24868         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
24869         Likewise.
24870         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
24871         Likewise.
24872         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
24873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
24874         (__ftruncate64): Likewise.
24875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
24876         (truncate64): Likewise.
24877         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
24878         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
24879         (pthread_getcpuclockid): Likewise.
24880         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
24881         Likewise.
24882         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
24883         Likewise.
24884         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
24885         Likewise.
24886         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
24887         Likewise.
24888         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
24889         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
24890         (__libc_sigaction): Likewise.
24891         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
24892         Likewise.
24893         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
24894         (__sigprocmask): Likewise.
24895         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
24896         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
24897         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
24898         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
24899         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24900         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
24901         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24902         Likewise.
24903         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
24904         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
24905         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24906         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
24907         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
24908         Likewise.
24909         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
24910         (__sigprocmask): Likewise.
24911         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
24912         (cfgetispeed): Likewise.
24913         (cfsetospeed): Likewise.
24914         (cfsetispeed): Likewise.
24915         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
24916         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
24917         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
24918         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
24919         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
24920         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
24921         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
24922         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
24923         Likewise.
24924         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
24925         Likewise.
24926         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
24927         Likewise.
24928         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
24929         Likewise.
24930         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
24932 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24934         sunrpc: Rewrite with explicit TLS access using __thread.
24935         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
24936         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
24937         directly.
24938         (__rpc_thread_variables): Access thread_rpc_vars directly.
24939         Eliminate redundant assignment of the tvp variable.
24941 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24943         malloc: Rewrite with explicit TLS access using __thread.
24944         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
24945         (tsd_setspecific, tsd_getspecific): Remove.
24946         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
24947         (tsd_setspecific, tsd_getspecific): Likewise.
24948         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
24949         (tsd_setspecific, tsd_getspecific): Likewise.
24950         * malloc/arena.c (thread_arena): New TLS variable.
24951         (arena_key): Remove variable.
24952         (arena_get): Use thread_arena.
24953         (arena_lookup): Remove macro.
24954         (malloc_atfork, free_atfork, ptmalloc_lock_all)
24955         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
24956         (_int_new_arena, get_free_list, reused_arena)
24957         (arena_thread_freeres): Use thread_arena.
24958         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
24959         tsd_getspecific, tsd_setspecific from safety annotations.
24960         (Allocating Cleared Space): Remove arena_lookup from safety
24961         annotations.
24963 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24965         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
24966         struct scratch_buffer instead of extend_alloca.
24968 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24970         * sysdeps/unix/sysv/linux/kernel-features.h
24971         (__ASSUME_SOCK_CLOEXEC): Remove.
24972         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
24973         (__have_paccept): Remove unused macro.
24974         * include/unistd.h (__have_sock_cloexec): Remove declaration.
24975         * misc/syslog.c (openlog_internal): Remove fallback code for
24976         !__ASSUME_SOCK_CLOEXEC.
24977         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
24978         missing SOCK_CLOEXEC.
24979         * nscd/connections.c (have_sock_cloexec): Remove definition.
24980         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24981         * nscd/nscd_helper.c (open_socket): Remove fallback code for
24982         !__ASSUME_SOCK_CLOEXEC.
24983         * resolv/res_send.c (__have_o_nonblock): Remove definition.
24984         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
24985         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
24986         definition.
24987         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
24988         code for !__ASSUME_SOCK_CLOEXEC.
24990 2015-10-17  Florian Weimer  <fweimer@redhat.com>
24992         [BZ #18982]
24993         * manual/stdio.texi (Variable Arguments Output): Add portability
24994         note, explaining that vfprintf clobbers the va_list pointer.
24996 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
24998         * math/libm-test.inc (fabs_test_data): Add more tests.
24999         (fdim_test_data): Likewise.
25000         (fma_test_data): Likewise.
25001         (fmax_test_data): Likewise.
25002         (fmin_test_data): Likewise.
25003         (fmod_test_data): Likewise.
25005 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
25007         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
25008         data.
25010 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
25012         * math/libm-test.inc (ceil_test_data): Add more tests and more
25013         expectations for "inexact".
25014         (floor_test_data): Add more tests.
25015         (round_test_data): Likewise.
25016         (trunc_test_data): Likewise.
25018         * crypt/cert.c (good_bye): Convert to prototype-style function
25019         definition.
25020         (get8): Likewise.
25021         (put8): Likewise.
25022         * crypt/crypt-entry.c (crypt): Likewise.
25023         (__fcrypt): Likewise.
25024         * crypt/crypt_util.c (_ufc_prbits): Likewise.
25025         (_ufc_set_bits): Likewise.
25026         (_ufc_clearmem): Likewise.
25027         (__init_des_r): Likewise.
25028         (shuffle_sb): Likewise.
25029         (shuffle_sb): Likewise.
25030         (_ufc_setup_salt_r): Likewise.
25031         (_ufc_mk_keytab_r): Likewise.
25032         (_ufc_dofinalperm_r): Likewise.
25033         (encrypt): Likewise.
25034         (__setkey_r): Likewise.
25035         (setkey): Likewise.
25036         * crypt/md5.c (md5_init_ctx): Likewise.
25037         (md5_read_ctx): Likewise.
25038         (md5_finish_ctx): Likewise.
25039         (md5_stream): Likewise.
25040         (md5_buffer): Likewise.
25041         (md5_process_bytes): Likewise.
25042         * crypt/sha256.c (__sha256_init_ctx): Likewise.
25043         (__sha256_finish_ctx): Likewise.
25044         (__sha256_process_bytes): Likewise.
25045         * crypt/sha512.c (__sha512_init_ctx): Likewise.
25046         (__sha512_finish_ctx): Likewise.
25047         (__sha512_process_bytes): Likewise.
25048         * ctype/isctype.c (__isctype): Likewise.
25049         * debug/backtrace.c (__backtrace): Likewise.
25050         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
25051         * debug/fgets_chk.c (__fgets_chk): Likewise.
25052         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
25053         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
25054         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25055         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25056         * debug/memset_chk.c (__memset_chk): Likewise.
25057         * debug/strcat_chk.c (__strcat_chk): Likewise.
25058         * debug/strncat_chk.c (__strncat_chk): Likewise.
25059         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
25060         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
25061         * dirent/dirfd.c (dirfd): Likewise.
25062         * dirent/getdents.c (__getdirentries): Likewise.
25063         * dirent/getdents64.c (getdirentries64): Likewise.
25064         * dirent/rewinddir.c (__rewinddir): Likewise.
25065         * dirent/seekdir.c (seekdir): Likewise.
25066         * dirent/telldir.c (telldir): Likewise.
25067         * elf/sln.c (makesymlinks): Likewise.
25068         (makesymlink): Likewise.
25069         * gmon/gmon.c (__moncontrol): Likewise.
25070         (__monstartup): Likewise.
25071         (write_hist): Likewise.
25072         (write_call_graph): Likewise.
25073         (write_bb_counts): Likewise.
25074         * grp/setgroups.c (setgroups): Likewise.
25075         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25076         * inet/inet_net.c (inet_network): Likewise.
25077         * inet/inet_netof.c (inet_netof): Likewise.
25078         * inet/rcmd.c (rresvport_af): Likewise.
25079         (rresvport): Likewise.
25080         * io/access.c (__access): Likewise.
25081         * io/chdir.c (__chdir): Likewise.
25082         * io/chmod.c (__chmod): Likewise.
25083         * io/chown.c (__chown): Likewise.
25084         * io/close.c (__close): Likewise.
25085         * io/creat.c (creat): Likewise.
25086         * io/creat64.c (creat64): Likewise.
25087         * io/dup.c (__dup): Likewise.
25088         * io/dup2.c (__dup2): Likewise.
25089         * io/dup3.c (__dup3): Likewise.
25090         * io/euidaccess.c (__euidaccess): Likewise.
25091         * io/faccessat.c (faccessat): Likewise.
25092         * io/fchmod.c (__fchmod): Likewise.
25093         * io/fchmodat.c (fchmodat): Likewise.
25094         * io/fchown.c (__fchown): Likewise.
25095         * io/fchownat.c (fchownat): Likewise.
25096         * io/fcntl.c (__fcntl): Likewise.
25097         * io/flock.c (__flock): Likewise.
25098         * io/fts.c (fts_load): Likewise.
25099         (fts_close): Likewise.
25100         (fts_read): Likewise.
25101         (fts_set): Likewise.
25102         (fts_children): Likewise.
25103         (fts_build): Likewise.
25104         (fts_stat): Likewise.
25105         (fts_sort): Likewise.
25106         (fts_alloc): Likewise.
25107         (fts_lfree): Likewise.
25108         (fts_palloc): Likewise.
25109         (fts_padjust): Likewise.
25110         (fts_maxarglen): Likewise.
25111         (fts_safe_changedir): Likewise.
25112         * io/getwd.c (getwd): Likewise.
25113         * io/isatty.c (__isatty): Likewise.
25114         * io/lchown.c (__lchown): Likewise.
25115         * io/link.c (__link): Likewise.
25116         * io/linkat.c (linkat): Likewise.
25117         * io/lseek.c (__libc_lseek): Likewise.
25118         * io/mkdir.c (__mkdir): Likewise.
25119         * io/mkdirat.c (mkdirat): Likewise.
25120         * io/mkfifo.c (mkfifo): Likewise.
25121         * io/mkfifoat.c (mkfifoat): Likewise.
25122         * io/open.c (__libc_open): Likewise.
25123         * io/open64.c (__libc_open64): Likewise.
25124         * io/readlink.c (__readlink): Likewise.
25125         * io/readlinkat.c (readlinkat): Likewise.
25126         * io/rmdir.c (__rmdir): Likewise.
25127         * io/symlink.c (__symlink): Likewise.
25128         * io/symlinkat.c (symlinkat): Likewise.
25129         * io/ttyname.c (ttyname): Likewise.
25130         * io/ttyname_r.c (__ttyname_r): Likewise.
25131         * io/umask.c (__umask): Likewise.
25132         * io/unlink.c (__unlink): Likewise.
25133         * io/unlinkat.c (unlinkat): Likewise.
25134         * io/utime.c (utime): Likewise.
25135         * libio/clearerr.c (clearerr): Likewise.
25136         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
25137         * libio/feof.c (_IO_feof): Likewise.
25138         * libio/feof_u.c (feof_unlocked): Likewise.
25139         * libio/ferror.c (_IO_ferror): Likewise.
25140         * libio/ferror_u.c (ferror_unlocked): Likewise.
25141         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25142         * libio/fileno.c (__fileno): Likewise.
25143         * libio/fputc.c (fputc): Likewise.
25144         * libio/fputc_u.c (fputc_unlocked): Likewise.
25145         * libio/fputwc.c (fputwc): Likewise.
25146         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
25147         * libio/freopen.c (freopen): Likewise.
25148         * libio/freopen64.c (freopen64): Likewise.
25149         * libio/fseek.c (fseek): Likewise.
25150         * libio/fseeko.c (fseeko): Likewise.
25151         * libio/fseeko64.c (fseeko64): Likewise.
25152         * libio/ftello.c (__ftello): Likewise.
25153         * libio/ftello64.c (ftello64): Likewise.
25154         * libio/fwide.c (fwide): Likewise.
25155         * libio/genops.c (_IO_un_link): Likewise.
25156         (_IO_link_in): Likewise.
25157         (_IO_least_marker): Likewise.
25158         (_IO_switch_to_main_get_area): Likewise.
25159         (_IO_switch_to_backup_area): Likewise.
25160         (_IO_switch_to_get_mode): Likewise.
25161         (_IO_free_backup_area): Likewise.
25162         (_IO_switch_to_put_mode): Likewise.
25163         (__overflow): Likewise.
25164         (__underflow): Likewise.
25165         (__uflow): Likewise.
25166         (_IO_setb): Likewise.
25167         (_IO_doallocbuf): Likewise.
25168         (_IO_default_underflow): Likewise.
25169         (_IO_default_uflow): Likewise.
25170         (_IO_default_xsputn): Likewise.
25171         (_IO_sgetn): Likewise.
25172         (_IO_default_xsgetn): Likewise.
25173         (_IO_sync): Likewise.
25174         (_IO_default_setbuf): Likewise.
25175         (_IO_default_seekpos): Likewise.
25176         (_IO_default_doallocate): Likewise.
25177         (_IO_init): Likewise.
25178         (_IO_old_init): Likewise.
25179         (_IO_default_sync): Likewise.
25180         (_IO_default_finish): Likewise.
25181         (_IO_default_seekoff): Likewise.
25182         (_IO_sputbackc): Likewise.
25183         (_IO_sungetc): Likewise.
25184         (_IO_set_column): Likewise.
25185         (_IO_set_column): Likewise.
25186         (_IO_adjust_column): Likewise.
25187         (_IO_get_column): Likewise.
25188         (_IO_init_marker): Likewise.
25189         (_IO_remove_marker): Likewise.
25190         (_IO_marker_difference): Likewise.
25191         (_IO_marker_delta): Likewise.
25192         (_IO_seekmark): Likewise.
25193         (_IO_unsave_markers): Likewise.
25194         (_IO_nobackup_pbackfail): Likewise.
25195         (_IO_default_pbackfail): Likewise.
25196         (_IO_default_seek): Likewise.
25197         (_IO_default_stat): Likewise.
25198         (_IO_default_read): Likewise.
25199         (_IO_default_write): Likewise.
25200         (_IO_default_showmanyc): Likewise.
25201         (_IO_default_imbue): Likewise.
25202         (_IO_iter_next): Likewise.
25203         (_IO_iter_file): Likewise.
25204         * libio/getc.c (_IO_getc): Likewise.
25205         * libio/getwc.c (_IO_getwc): Likewise.
25206         * libio/iofclose.c (_IO_new_fclose): Likewise.
25207         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25208         * libio/iofflush.c (_IO_fflush): Likewise.
25209         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
25210         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
25211         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
25212         * libio/iofgets.c (_IO_fgets): Likewise.
25213         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
25214         * libio/iofgetws.c (fgetws): Likewise.
25215         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25216         * libio/iofopen64.c (_IO_fopen64): Likewise.
25217         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25218         (_IO_cookie_write): Likewise.
25219         (_IO_cookie_seek): Likewise.
25220         (_IO_cookie_close): Likewise.
25221         (_IO_cookie_seekoff): Likewise.
25222         (_IO_old_cookie_seek): Likewise.
25223         * libio/iofputs.c (_IO_fputs): Likewise.
25224         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
25225         * libio/iofputws.c (fputws): Likewise.
25226         * libio/iofputws_u.c (fputws_unlocked): Likewise.
25227         * libio/iofread.c (_IO_fread): Likewise.
25228         * libio/iofread_u.c (__fread_unlocked): Likewise.
25229         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
25230         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
25231         * libio/ioftell.c (_IO_ftell): Likewise.
25232         * libio/iofwrite.c (_IO_fwrite): Likewise.
25233         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25234         * libio/iogets.c (_IO_gets): Likewise.
25235         * libio/iopadn.c (_IO_padn): Likewise.
25236         * libio/iopopen.c (_IO_new_proc_open): Likewise.
25237         (_IO_new_popen): Likewise.
25238         (_IO_new_proc_close): Likewise.
25239         * libio/ioputs.c (_IO_puts): Likewise.
25240         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
25241         (_IO_seekoff): Likewise.
25242         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
25243         (_IO_seekpos): Likewise.
25244         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
25245         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
25246         * libio/ioungetc.c (_IO_ungetc): Likewise.
25247         * libio/ioungetwc.c (ungetwc): Likewise.
25248         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25249         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
25250         * libio/iowpadn.c (_IO_wpadn): Likewise.
25251         * libio/libc_fatal.c (__libc_fatal): Likewise.
25252         * libio/memstream.c (__open_memstream): Likewise.
25253         (_IO_mem_sync): Likewise.
25254         (_IO_mem_finish): Likewise.
25255         * libio/oldfileops.c (_IO_old_file_init): Likewise.
25256         (_IO_old_file_close_it): Likewise.
25257         (_IO_old_file_finish): Likewise.
25258         (_IO_old_file_fopen): Likewise.
25259         (_IO_old_file_attach): Likewise.
25260         (_IO_old_file_setbuf): Likewise.
25261         (_IO_old_do_write): Likewise.
25262         (old_do_write): Likewise.
25263         (_IO_old_file_underflow): Likewise.
25264         (_IO_old_file_overflow): Likewise.
25265         (_IO_old_file_sync): Likewise.
25266         (_IO_old_file_seekoff): Likewise.
25267         (_IO_old_file_write): Likewise.
25268         (_IO_old_file_xsputn): Likewise.
25269         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
25270         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25271         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
25272         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
25273         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
25274         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
25275         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
25276         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
25277         (_IO_old_popen): Likewise.
25278         (_IO_old_proc_close): Likewise.
25279         * libio/oldpclose.c (__old_pclose): Likewise.
25280         * libio/pclose.c (__new_pclose): Likewise.
25281         * libio/peekc.c (_IO_peekc_locked): Likewise.
25282         * libio/putc.c (_IO_putc): Likewise.
25283         * libio/putc_u.c (putc_unlocked): Likewise.
25284         * libio/putchar.c (putchar): Likewise.
25285         * libio/putchar_u.c (putchar_unlocked): Likewise.
25286         * libio/putwc.c (putwc): Likewise.
25287         * libio/putwc_u.c (putwc_unlocked): Likewise.
25288         * libio/putwchar.c (putwchar): Likewise.
25289         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
25290         * libio/rewind.c (rewind): Likewise.
25291         * libio/setbuf.c (setbuf): Likewise.
25292         * libio/setlinebuf.c (setlinebuf): Likewise.
25293         * libio/vasprintf.c (_IO_vasprintf): Likewise.
25294         * libio/vscanf.c (_IO_vscanf): Likewise.
25295         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
25296         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
25297         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25298         * libio/wgenops.c (_IO_least_wmarker): Likewise.
25299         (_IO_switch_to_main_wget_area): Likewise.
25300         (_IO_switch_to_wbackup_area): Likewise.
25301         (_IO_wsetb): Likewise.
25302         (_IO_wdefault_pbackfail): Likewise.
25303         (_IO_wdefault_finish): Likewise.
25304         (_IO_wdefault_uflow): Likewise.
25305         (__woverflow): Likewise.
25306         (__wuflow): Likewise.
25307         (__wunderflow): Likewise.
25308         (_IO_wdefault_xsputn): Likewise.
25309         (_IO_wdefault_xsgetn): Likewise.
25310         (_IO_wdoallocbuf): Likewise.
25311         (_IO_wdefault_doallocate): Likewise.
25312         (_IO_switch_to_wget_mode): Likewise.
25313         (_IO_free_wbackup_area): Likewise.
25314         (_IO_switch_to_wput_mode): Likewise.
25315         (_IO_sputbackwc): Likewise.
25316         (_IO_sungetwc): Likewise.
25317         (_IO_adjust_wcolumn): Likewise.
25318         (_IO_init_wmarker): Likewise.
25319         (_IO_wmarker_delta): Likewise.
25320         (_IO_seekwmark): Likewise.
25321         (_IO_unsave_wmarkers): Likewise.
25322         * libio/wmemstream.c (open_wmemstream): Likewise.
25323         (_IO_wmem_sync): Likewise.
25324         (_IO_wmem_finish): Likewise.
25325         * locale/nl_langinfo.c (nl_langinfo): Likewise.
25326         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
25327         * locale/programs/simple-hash.c (init_hash): Likewise.
25328         (delete_hash): Likewise.
25329         (insert_entry): Likewise.
25330         (set_entry): Likewise.
25331         (next_prime): Likewise.
25332         (is_prime): Likewise.
25333         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
25334         (xmalloc): Likewise.
25335         (xrealloc): Likewise.
25336         * locale/programs/xstrdup.c (xstrdup): Likewise.
25337         * localedata/collate-test.c (xstrcoll): Likewise.
25338         * localedata/xfrm-test.c (xstrcmp): Likewise.
25339         * login/getlogin_r.c (__getlogin_r): Likewise.
25340         * login/getpt.c (__posix_openpt): Likewise.
25341         * login/login_tty.c (login_tty): Likewise.
25342         * login/setlogin.c (setlogin): Likewise.
25343         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
25344         (mach_msg_destroy_port): Likewise.
25345         (mach_msg_destroy_memory): Likewise.
25346         * malloc/mcheck.c (flood): Likewise.
25347         * misc/acct.c (acct): Likewise.
25348         * misc/brk.c (__brk): Likewise.
25349         * misc/chflags.c (chflags): Likewise.
25350         * misc/chroot.c (chroot): Likewise.
25351         * misc/fchflags.c (fchflags): Likewise.
25352         * misc/fstab.c (getfsspec): Likewise.
25353         (getfsfile): Likewise.
25354         * misc/fsync.c (fsync): Likewise.
25355         * misc/ftruncate.c (__ftruncate): Likewise.
25356         * misc/ftruncate64.c (__ftruncate64): Likewise.
25357         * misc/getdomain.c (getdomainname): Likewise.
25358         (getdomainname): Likewise.
25359         * misc/gethostname.c (__gethostname): Likewise.
25360         * misc/getpass.c (getpass): Likewise.
25361         * misc/getttyent.c (skip): Likewise.
25362         (value): Likewise.
25363         * misc/gtty.c (gtty): Likewise.
25364         * misc/hsearch.c (hsearch): Likewise.
25365         (hcreate): Likewise.
25366         * misc/hsearch_r.c (__hcreate_r): Likewise.
25367         (__hdestroy_r): Likewise.
25368         * misc/ioctl.c (__ioctl): Likewise.
25369         * misc/mkdtemp.c (mkdtemp): Likewise.
25370         * misc/mkostemp.c (mkostemp): Likewise.
25371         * misc/mkostemp64.c (mkostemp64): Likewise.
25372         * misc/mkostemps.c (mkostemps): Likewise.
25373         * misc/mkostemps64.c (mkostemps64): Likewise.
25374         * misc/mkstemp.c (mkstemp): Likewise.
25375         * misc/mkstemp64.c (mkstemp64): Likewise.
25376         * misc/mkstemps.c (mkstemps): Likewise.
25377         * misc/mkstemps64.c (mkstemps64): Likewise.
25378         * misc/mktemp.c (__mktemp): Likewise.
25379         * misc/preadv.c (preadv): Likewise.
25380         * misc/preadv64.c (preadv64): Likewise.
25381         * misc/pwritev.c (pwritev): Likewise.
25382         * misc/pwritev64.c (pwritev64): Likewise.
25383         * misc/readv.c (__readv): Likewise.
25384         * misc/revoke.c (revoke): Likewise.
25385         * misc/setdomain.c (setdomainname): Likewise.
25386         * misc/setegid.c (setegid): Likewise.
25387         * misc/seteuid.c (seteuid): Likewise.
25388         * misc/sethostid.c (sethostid): Likewise.
25389         * misc/sethostname.c (sethostname): Likewise.
25390         * misc/setregid.c (__setregid): Likewise.
25391         * misc/setreuid.c (__setreuid): Likewise.
25392         * misc/sstk.c (sstk): Likewise.
25393         * misc/stty.c (stty): Likewise.
25394         * misc/syscall.c (syscall): Likewise.
25395         * misc/syslog.c (setlogmask): Likewise.
25396         * misc/truncate.c (__truncate): Likewise.
25397         * misc/truncate64.c (truncate64): Likewise.
25398         * misc/ualarm.c (ualarm): Likewise.
25399         * misc/usleep.c (usleep): Likewise.
25400         * misc/ustat.c (ustat): Likewise.
25401         * misc/writev.c (__writev): Likewise.
25402         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
25403         * nptl/old_pthread_cond_broadcast.c
25404         (__pthread_cond_broadcast_2_0): Likewise.
25405         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
25406         Likewise.
25407         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
25408         Likewise.
25409         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
25410         Likewise.
25411         * nptl/pt-raise.c (raise): Likewise.
25412         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
25413         Likewise.
25414         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
25415         * nptl/pthread_barrierattr_destroy.c
25416         (pthread_barrierattr_destroy): Likewise.
25417         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25418         Likewise.
25419         * nptl/pthread_barrierattr_setpshared.c
25420         (pthread_barrierattr_setpshared): Likewise.
25421         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25422         Likewise.
25423         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
25424         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25425         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
25426         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
25427         Likewise.
25428         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
25429         Likewise.
25430         * nptl/pthread_condattr_getpshared.c
25431         (pthread_condattr_getpshared): Likewise.
25432         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
25433         Likewise.
25434         * nptl/pthread_condattr_setpshared.c
25435         (pthread_condattr_setpshared): Likewise.
25436         * nptl/pthread_detach.c (pthread_detach): Likewise.
25437         * nptl/pthread_equal.c (__pthread_equal): Likewise.
25438         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
25439         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
25440         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
25441         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
25442         Likewise.
25443         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
25444         Likewise.
25445         * nptl/pthread_mutex_getprioceiling.c
25446         (pthread_mutex_getprioceiling): Likewise.
25447         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
25448         Likewise.
25449         * nptl/pthread_mutexattr_getprotocol.c
25450         (pthread_mutexattr_getprotocol): Likewise.
25451         * nptl/pthread_mutexattr_getpshared.c
25452         (pthread_mutexattr_getpshared): Likewise.
25453         * nptl/pthread_mutexattr_getrobust.c
25454         (pthread_mutexattr_getrobust): Likewise.
25455         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25456         Likewise.
25457         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
25458         Likewise.
25459         * nptl/pthread_mutexattr_setprioceiling.c
25460         (pthread_mutexattr_setprioceiling): Likewise.
25461         * nptl/pthread_mutexattr_setprotocol.c
25462         (pthread_mutexattr_setprotocol): Likewise.
25463         * nptl/pthread_mutexattr_setpshared.c
25464         (pthread_mutexattr_setpshared): Likewise.
25465         * nptl/pthread_mutexattr_setrobust.c
25466         (pthread_mutexattr_setrobust): Likewise.
25467         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
25468         Likewise.
25469         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
25470         Likewise.
25471         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
25472         Likewise.
25473         * nptl/pthread_rwlockattr_getkind_np.c
25474         (pthread_rwlockattr_getkind_np): Likewise.
25475         * nptl/pthread_rwlockattr_getpshared.c
25476         (pthread_rwlockattr_getpshared): Likewise.
25477         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
25478         Likewise.
25479         * nptl/pthread_rwlockattr_setkind_np.c
25480         (pthread_rwlockattr_setkind_np): Likewise.
25481         * nptl/pthread_rwlockattr_setpshared.c
25482         (pthread_rwlockattr_setpshared): Likewise.
25483         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
25484         Likewise.
25485         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
25486         Likewise.
25487         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
25488         Likewise.
25489         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
25490         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
25491         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
25492         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
25493         * nptl/sem_close.c (sem_close): Likewise.
25494         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
25495         * nptl/sem_init.c (__old_sem_init): Likewise.
25496         * nptl/sigaction.c (__sigaction): Likewise.
25497         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25498         * posix/_exit.c (_exit): Likewise.
25499         * posix/alarm.c (alarm): Likewise.
25500         * posix/confstr.c (confstr): Likewise.
25501         * posix/fpathconf.c (__fpathconf): Likewise.
25502         * posix/getgroups.c (__getgroups): Likewise.
25503         * posix/getpgid.c (__getpgid): Likewise.
25504         * posix/group_member.c (__group_member): Likewise.
25505         * posix/pathconf.c (__pathconf): Likewise.
25506         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
25507         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
25508         * posix/setgid.c (__setgid): Likewise.
25509         * posix/setpgid.c (__setpgid): Likewise.
25510         * posix/setuid.c (__setuid): Likewise.
25511         * posix/sleep.c (__sleep): Likewise.
25512         * posix/sysconf.c (__sysconf): Likewise.
25513         * posix/times.c (__times): Likewise.
25514         * posix/uname.c (__uname): Likewise.
25515         * posix/waitid.c (__waitid): Likewise.
25516         * pwd/getpw.c (__getpw): Likewise.
25517         * resolv/base64.c (b64_pton): Likewise.
25518         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
25519         * resolv/gethnamaddr.c (Dprintf): Likewise.
25520         (gethostbyname): Likewise.
25521         (gethostbyname2): Likewise.
25522         (gethostbyaddr): Likewise.
25523         (_sethtent): Likewise.
25524         (_gethtbyname): Likewise.
25525         (_gethtbyname2): Likewise.
25526         (_gethtbyaddr): Likewise.
25527         (map_v4v6_address): Likewise.
25528         (map_v4v6_hostent): Likewise.
25529         (addrsort): Likewise.
25530         (ht_sethostent): Likewise.
25531         (ht_gethostbyname): Likewise.
25532         (ht_gethostbyaddr): Likewise.
25533         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
25534         (inet_net_ntop_ipv4): Likewise.
25535         * resolv/inet_neta.c (inet_neta): Likewise.
25536         * resolv/inet_ntop.c (inet_ntop): Likewise.
25537         (inet_ntop4): Likewise.
25538         (inet_ntop6): Likewise.
25539         * resolv/inet_pton.c (__inet_pton): Likewise.
25540         (inet_pton4): Likewise.
25541         (inet_pton6): Likewise.
25542         * resolv/res_debug.c (loc_aton): Likewise.
25543         (loc_ntoa): Likewise.
25544         * resource/getpriority.c (__getpriority): Likewise.
25545         * resource/getrusage.c (__getrusage): Likewise.
25546         * resource/nice.c (nice): Likewise.
25547         * resource/setpriority.c (__setpriority): Likewise.
25548         * resource/setrlimit64.c (setrlimit64): Likewise.
25549         * resource/vlimit.c (vlimit): Likewise.
25550         * resource/vtimes.c (vtimes): Likewise.
25551         * rt/aio_error.c (aio_error): Likewise.
25552         * rt/aio_return.c (aio_return): Likewise.
25553         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
25554         * signal/kill.c (__kill): Likewise.
25555         * signal/killpg.c (killpg): Likewise.
25556         * signal/raise.c (raise): Likewise.
25557         * signal/sigaction.c (__sigaction): Likewise.
25558         * signal/sigaddset.c (sigaddset): Likewise.
25559         * signal/sigaltstack.c (sigaltstack): Likewise.
25560         * signal/sigandset.c (sigandset): Likewise.
25561         * signal/sigblock.c (__sigblock): Likewise.
25562         * signal/sigdelset.c (sigdelset): Likewise.
25563         * signal/sigempty.c (sigemptyset): Likewise.
25564         * signal/sigfillset.c (sigfillset): Likewise.
25565         * signal/sighold.c (sighold): Likewise.
25566         * signal/sigignore.c (sigignore): Likewise.
25567         * signal/sigintr.c (siginterrupt): Likewise.
25568         * signal/sigisempty.c (sigisemptyset): Likewise.
25569         * signal/sigismem.c (sigismember): Likewise.
25570         * signal/signal.c (signal): Likewise.
25571         * signal/sigorset.c (sigorset): Likewise.
25572         * signal/sigpause.c (__sigpause): Likewise.
25573         * signal/sigpending.c (sigpending): Likewise.
25574         * signal/sigprocmask.c (__sigprocmask): Likewise.
25575         * signal/sigrelse.c (sigrelse): Likewise.
25576         * signal/sigreturn.c (__sigreturn): Likewise.
25577         * signal/sigset.c (sigset): Likewise.
25578         * signal/sigsetmask.c (__sigsetmask): Likewise.
25579         * signal/sigstack.c (sigstack): Likewise.
25580         * signal/sigsuspend.c (__sigsuspend): Likewise.
25581         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
25582         * signal/sysv_signal.c (__sysv_signal): Likewise.
25583         * socket/accept.c (accept): Likewise.
25584         * socket/accept4.c (__libc_accept4): Likewise.
25585         * socket/bind.c (__bind): Likewise.
25586         * socket/connect.c (__connect): Likewise.
25587         * socket/getpeername.c (getpeername): Likewise.
25588         * socket/getsockname.c (__getsockname): Likewise.
25589         * socket/getsockopt.c (getsockopt): Likewise.
25590         * socket/listen.c (__listen): Likewise.
25591         * socket/recv.c (__recv): Likewise.
25592         * socket/recvmsg.c (__recvmsg): Likewise.
25593         * socket/send.c (__send): Likewise.
25594         * socket/sendmsg.c (__sendmsg): Likewise.
25595         * socket/shutdown.c (shutdown): Likewise.
25596         * socket/sockatmark.c (sockatmark): Likewise.
25597         * socket/socket.c (__socket): Likewise.
25598         * stdio-common/ctermid.c (ctermid): Likewise.
25599         * stdio-common/cuserid.c (cuserid): Likewise.
25600         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
25601         * stdio-common/remove.c (remove): Likewise.
25602         * stdio-common/rename.c (rename): Likewise.
25603         * stdio-common/renameat.c (renameat): Likewise.
25604         * stdio-common/tempname.c (__gen_tempname): Likewise.
25605         * stdio-common/xbug.c (InitBuffer): Likewise.
25606         (AppendToBuffer): Likewise.
25607         (ReadFile): Likewise.
25608         * stdlib/a64l.c (a64l): Likewise.
25609         * stdlib/drand48_r.c (drand48_r): Likewise.
25610         * stdlib/getcontext.c (getcontext): Likewise.
25611         * stdlib/getenv.c (getenv): Likewise.
25612         * stdlib/l64a.c (l64a): Likewise.
25613         * stdlib/llabs.c (llabs): Likewise.
25614         * stdlib/lldiv.c (lldiv): Likewise.
25615         * stdlib/lrand48_r.c (lrand48_r): Likewise.
25616         * stdlib/mrand48_r.c (mrand48_r): Likewise.
25617         * stdlib/putenv.c (putenv): Likewise.
25618         * stdlib/random.c (__srandom): Likewise.
25619         (__initstate): Likewise.
25620         (__setstate): Likewise.
25621         * stdlib/random_r.c (__srandom_r): Likewise.
25622         (__setstate_r): Likewise.
25623         (__random_r): Likewise.
25624         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
25625         * stdlib/setcontext.c (setcontext): Likewise.
25626         * stdlib/setenv.c (setenv): Likewise.
25627         (unsetenv): Likewise.
25628         * stdlib/srand48.c (srand48): Likewise.
25629         * stdlib/srand48_r.c (__srand48_r): Likewise.
25630         * stdlib/swapcontext.c (swapcontext): Likewise.
25631         * stdlib/system.c (__libc_system): Likewise.
25632         * stdlib/tst-strtod.c (expand): Likewise.
25633         * stdlib/tst-strtol.c (expand): Likewise.
25634         * stdlib/tst-strtoll.c (expand): Likewise.
25635         * streams/fattach.c (fattach): Likewise.
25636         * streams/fdetach.c (fdetach): Likewise.
25637         * streams/getmsg.c (getmsg): Likewise.
25638         * streams/isastream.c (isastream): Likewise.
25639         * string/ffs.c (__ffs): Likewise.
25640         * string/ffsll.c (ffsll): Likewise.
25641         * string/memcmp.c (memcmp_common_alignment): Likewise.
25642         (memcmp_not_common_alignment): Likewise.
25643         (MEMCMP): Likewise.
25644         * string/memcpy.c (memcpy): Likewise.
25645         * string/memmove.c (MEMMOVE): Likewise.
25646         * string/memset.c (memset): Likewise.
25647         * string/rawmemchr.c (RAWMEMCHR): Likewise.
25648         * string/strchrnul.c (STRCHRNUL): Likewise.
25649         * string/strerror.c (strerror): Likewise.
25650         * string/strndup.c (__strndup): Likewise.
25651         * string/strverscmp.c (__strverscmp): Likewise.
25652         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
25653         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
25654         (clnttcp_freeres): Likewise.
25655         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
25656         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
25657         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
25658         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
25659         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
25660         (xdr_callhdr): Likewise.
25661         * sunrpc/rpcinfo.c (udpping): Likewise.
25662         (tcpping): Likewise.
25663         (pstatus): Likewise.
25664         (pmapdump): Likewise.
25665         (brdcst): Likewise.
25666         (deletereg): Likewise.
25667         (getprognum): Likewise.
25668         (getvers): Likewise.
25669         (get_inet_address): Likewise.
25670         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
25671         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25672         (svcudp_stat): Likewise.
25673         (svcudp_recv): Likewise.
25674         (svcudp_reply): Likewise.
25675         (svcudp_getargs): Likewise.
25676         (svcudp_freeargs): Likewise.
25677         (svcudp_destroy): Likewise.
25678         * sunrpc/xdr.c (xdr_bytes): Likewise.
25679         (xdr_netobj): Likewise.
25680         (xdr_string): Likewise.
25681         (xdr_wrapstring): Likewise.
25682         * sunrpc/xdr_float.c (xdr_float): Likewise.
25683         (xdr_double): Likewise.
25684         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
25685         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
25686         * sysvipc/ftok.c (ftok): Likewise.
25687         * sysvipc/msgctl.c (msgctl): Likewise.
25688         * sysvipc/msgget.c (msgget): Likewise.
25689         * sysvipc/msgrcv.c (msgrcv): Likewise.
25690         * sysvipc/msgsnd.c (msgsnd): Likewise.
25691         * sysvipc/semget.c (semget): Likewise.
25692         * sysvipc/semop.c (semop): Likewise.
25693         * sysvipc/shmat.c (shmat): Likewise.
25694         * sysvipc/shmctl.c (shmctl): Likewise.
25695         * sysvipc/shmdt.c (shmdt): Likewise.
25696         * sysvipc/shmget.c (shmget): Likewise.
25697         * termios/cfmakeraw.c (cfmakeraw): Likewise.
25698         * termios/speed.c (cfgetospeed): Likewise.
25699         (cfgetispeed): Likewise.
25700         (cfsetospeed): Likewise.
25701         (cfsetispeed): Likewise.
25702         * termios/tcflow.c (tcflow): Likewise.
25703         * termios/tcflush.c (tcflush): Likewise.
25704         * termios/tcgetattr.c (__tcgetattr): Likewise.
25705         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
25706         * termios/tcgetsid.c (tcgetsid): Likewise.
25707         * termios/tcsendbrk.c (tcsendbreak): Likewise.
25708         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
25709         * time/adjtime.c (__adjtime): Likewise.
25710         * time/dysize.c (dysize): Likewise.
25711         * time/ftime.c (ftime): Likewise.
25712         * time/getitimer.c (__getitimer): Likewise.
25713         * time/gettimeofday.c (__gettimeofday): Likewise.
25714         * time/gmtime.c (__gmtime_r): Likewise.
25715         (gmtime): Likewise.
25716         * time/localtime.c (__localtime_r): Likewise.
25717         (localtime): Likewise.
25718         * time/offtime.c (__offtime): Likewise.
25719         * time/settimeofday.c (__settimeofday): Likewise.
25720         * time/stime.c (stime): Likewise.
25721         * time/strftime_l.c (tm_diff): Likewise.
25722         (iso_week_days): Likewise.
25723         * time/strptime.c (strptime): Likewise.
25724         * time/time.c (time): Likewise.
25725         * time/timespec_get.c (timespec_get): Likewise.
25726         * time/tzset.c (tzset_internal): Likewise.
25727         (compute_change): Likewise.
25728         (__tz_compute): Likewise.
25729         * wcsmbs/btowc.c (__btowc): Likewise.
25730         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
25731         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
25732         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
25733         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
25734         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
25735         * wcsmbs/wcscat.c (__wcscat): Likewise.
25736         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25737         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
25738         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
25739         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25740         * wcsmbs/wcsdup.c (wcsdup): Likewise.
25741         * wcsmbs/wcslen.c (__wcslen): Likewise.
25742         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
25743         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
25744         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
25745         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
25746         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25747         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
25748         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25749         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25750         * wcsmbs/wcstok.c (wcstok): Likewise.
25751         * wcsmbs/wctob.c (wctob): Likewise.
25752         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
25753         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25754         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
25755         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
25756         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
25757         * wcsmbs/wmemset.c (__wmemset): Likewise.
25758         * wctype/wcfuncs.c (__towlower): Likewise.
25759         (__towupper): Likewise.
25761         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
25762         (lll_unlock_elision): Add adapt_count parameter.
25764 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
25766         * sysdeps/nptl/configure.ac: Do not give errors based on the
25767         results of top-level configure tests.
25768         * sysdeps/nptl/configure: Regenerated.
25770         * configure.ac (libc_cv_Bgroup): Remove configure test.
25771         * configure: Regenerated.
25772         * config.make.in (have-Bgroup): Remove variable.
25774         * configure.ac (sizeof_long_double): Remove configure test.
25775         * configure: Regenerated.
25776         * config.make.in (sizeof-long-double): Remove variable.
25778         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
25779         * configure: Regenerated.
25780         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
25781         variable.
25782         (exceptions): Likewise.
25783         * sysdeps/arm/configure: Regenerated.
25784         * config.make.in (exceptions): Remove variable.
25785         * Makeconfig (uses-callbacks): Use -fexceptions instead of
25786         $(exceptions).
25787         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
25788         (CFLAGS-vdprintf_chk.c): Likewise.
25789         (CFLAGS-printf_chk.c): Likewise.
25790         (CFLAGS-fprintf_chk.c): Likewise.
25791         (CFLAGS-vprintf_chk.c): Likewise.
25792         (CFLAGS-vfprintf_chk.c): Likewise.
25793         (CFLAGS-gets_chk.c): Likewise.
25794         (CFLAGS-fgets_chk.c): Likewise.
25795         (CFLAGS-fgets_u_chk.c): Likewise.
25796         (CFLAGS-fread_chk.c): Likewise.
25797         (CFLAGS-fread_u_chk.c): Likewise.
25798         (CFLAGS-wprintf_chk.c): Likewise.
25799         (CFLAGS-fwprintf_chk.c): Likewise.
25800         (CFLAGS-vwprintf_chk.c): Likewise.
25801         (CFLAGS-vfwprintf_chk.c): Likewise.
25802         (CFLAGS-fgetws_chk.c): Likewise.
25803         (CFLAGS-fgetws_u_chk.c): Likewise.
25804         * libio/Makefile (CFLAGS-fileops.c): Likewise.
25805         (CFLAGS-fputc.c): Likewise.
25806         (CFLAGS-fputwc.c): Likewise.
25807         (CFLAGS-freopen64.c): Likewise.
25808         (CFLAGS-freopen.c): Likewise.
25809         (CFLAGS-fseek.c): Likewise.
25810         (CFLAGS-fseeko64.c): Likewise.
25811         (CFLAGS-fseeko.c): Likewise.
25812         (CFLAGS-ftello64.c): Likewise.
25813         (CFLAGS-ftello.c): Likewise.
25814         (CFLAGS-fwide.c): Likewise.
25815         (CFLAGS-genops.c): Likewise.
25816         (CFLAGS-getc.c): Likewise.
25817         (CFLAGS-getchar.c): Likewise.
25818         (CFLAGS-getwc.c): Likewise.
25819         (CFLAGS-getwchar.c): Likewise.
25820         (CFLAGS-iofclose.c): Likewise.
25821         (CFLAGS-iofflush.c): Likewise.
25822         (CFLAGS-iofgetpos64.c): Likewise.
25823         (CFLAGS-iofgetpos.c): Likewise.
25824         (CFLAGS-iofgets.c): Likewise.
25825         (CFLAGS-iofgetws.c): Likewise.
25826         (CFLAGS-iofputs.c): Likewise.
25827         (CFLAGS-iofputws.c): Likewise.
25828         (CFLAGS-iofread.c): Likewise.
25829         (CFLAGS-iofsetpos64.c): Likewise.
25830         (CFLAGS-iofsetpos.c): Likewise.
25831         (CFLAGS-ioftell.c): Likewise.
25832         (CFLAGS-iofwrite.c): Likewise.
25833         (CFLAGS-iogetdelim.c): Likewise.
25834         (CFLAGS-iogetline.c): Likewise.
25835         (CFLAGS-iogets.c): Likewise.
25836         (CFLAGS-iogetwline.c): Likewise.
25837         (CFLAGS-ioputs.c): Likewise.
25838         (CFLAGS-ioseekoff.c): Likewise.
25839         (CFLAGS-ioseekpos.c): Likewise.
25840         (CFLAGS-iosetbuffer.c): Likewise.
25841         (CFLAGS-iosetvbuf.c): Likewise.
25842         (CFLAGS-ioungetc.c): Likewise.
25843         (CFLAGS-ioungetwc.c): Likewise.
25844         (CFLAGS-oldfileops.c): Likewise.
25845         (CFLAGS-oldiofclose.c): Likewise.
25846         (CFLAGS-oldiofgetpos64.c): Likewise.
25847         (CFLAGS-oldiofgetpos.c): Likewise.
25848         (CFLAGS-oldiofsetpos64.c): Likewise.
25849         (CFLAGS-oldiofsetpos.c): Likewise.
25850         (CFLAGS-peekc.c): Likewise.
25851         (CFLAGS-putc.c): Likewise.
25852         (CFLAGS-putchar.c): Likewise.
25853         (CFLAGS-putwc.c): Likewise.
25854         (CFLAGS-putwchar.c): Likewise.
25855         (CFLAGS-rewind.c): Likewise.
25856         (CFLAGS-wfileops.c): Likewise.
25857         (CFLAGS-wgenops.c): Likewise.
25858         (CFLAGS-oldiofopen.c): Likewise.
25859         (CFLAGS-iofopen.c): Likewise.
25860         (CFLAGS-iofopen64.c): Likewise.
25861         (CFLAGS-oldtmpfile.c): Likewise.
25862         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
25863         (CFLAGS-fprintf.c): Likewise.
25864         (CFLAGS-printf.c): Likewise.
25865         (CFLAGS-vfwprintf.c): Likewise.
25866         (CFLAGS-vfscanf.c): Likewise.
25867         (CFLAGS-vfwscanf.c): Likewise.
25868         (CFLAGS-fscanf.c): Likewise.
25869         (CFLAGS-scanf.c): Likewise.
25870         (CFLAGS-isoc99_vfscanf.c): Likewise.
25871         (CFLAGS-isoc99_vscanf.c): Likewise.
25872         (CFLAGS-isoc99_fscanf.c): Likewise.
25873         (CFLAGS-isoc99_scanf.c): Likewise.
25874         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
25875         (CFLAGS-isoc99_fwscanf.c): Likewise.
25876         (CFLAGS-isoc99_vwscanf.c): Likewise.
25877         (CFLAGS-isoc99_vfwscanf.c): Likewise.
25879         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
25880         after mkstemp64.
25881         * login/tst-utmp.c (do_prepare): Likewise.
25882         * rt/tst-aio.c (do_prepare): Likewise.
25883         * rt/tst-aio64.c (do_prepare): Likewise.
25885 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25887         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25888         (__lll_lock_elision): Remove adapt_count decrement...
25889         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
25890         (__lll_trylock_elision): Likewise.
25891         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
25892         (__lll_unlock_elision): ... to here. And utilize
25893         new adapt_count parameter.
25894         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
25895         (__lll_unlock_elision): Update to include adapt_count
25896         parameter.
25897         (lll_unlock_elision): Pass pointer to adapt_count
25898         variable.
25900 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25902         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
25903         Add elision adapt_count parameter to list of arguments.
25904         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
25905         (lll_unlock_elision): Update with new parameter list
25906         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
25907         (lll_unlock_elision): Likewise.
25908         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
25909         (lll_unlock_elision): Likewise.
25911 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
25913         [BZ #19122]
25914         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
25915         attribute_hidden.
25917         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
25918         attribute_hidden.
25919         [IS_IN (rtld)] (__strdup): Likewise.
25920         [IS_IN (rtld)] (__strerror_r): Likewise.
25921         [IS_IN (rtld)] (__strsep_g): Likewise.
25922         [IS_IN (rtld)] (memchr): Likewise.
25923         [IS_IN (rtld)] (memcmp): Likewise.
25924         [IS_IN (rtld)] (memcpy): Likewise.
25925         [IS_IN (rtld)] (memmove): Likewise.
25926         [IS_IN (rtld)] (memset): Likewise.
25927         [IS_IN (rtld)] (rawmemchr): Likewise.
25928         [IS_IN (rtld)] (stpcpy): Likewise.
25929         [IS_IN (rtld)] (strchr): Likewise.
25930         [IS_IN (rtld)] (strcmp): Likewise.
25931         [IS_IN (rtld)] (strlen): Likewise.
25932         [IS_IN (rtld)] (strnlen): Likewise.
25933         [IS_IN (rtld)] (strsep): Likewise.
25935         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
25936         attribute_hidden.
25937         [IS_IN (rtld)] (__strtoul_internal): Likewise.
25939         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
25940         attribute_hidden.
25941         [IS_IN (rtld)] (__libc_sigaction): Likewise.
25943         * include/setjmp.h (__longjmp): Add attribute_hidden.
25944         [IS_IN (rtld)] (__sigsetjmp): Likewise.
25946         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
25947         Add attribute_hidden.
25949         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
25950         [IS_IN (rtld)] (__open): Likewise.
25951         [IS_IN (rtld)] (__fcntl): Likewise.
25953         * include/dirent.h (__opendirat): Add attribute_hidden.
25954         (__getdents): Likewise.
25955         (__getdents64): Likewise.
25956         (__alloc_dir): Likewise.
25957         [IS_IN (rtld)] (__closedir): Likewise.
25958         [IS_IN (rtld)] (__fdopendir): Likewise.
25959         [IS_IN (rtld)] (__readdir): Likewise.
25960         [IS_IN (rtld)] (__readdir64): Likewise.
25961         [IS_IN (rtld)] (__rewinddir): Likewise.
25963         * include/dlfcn.h (_dl_catch_error): Moved to ...
25964         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
25965         attribute_hidden.
25967         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
25968         (_itoa_word): Likewise.
25970         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
25971         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
25972         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
25973         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
25974         (_dl_higher_prime_number): Likewise.
25975         (_dl_debug_printf_c): Likewise.
25976         (_dl_signal_cerror): Likewise.
25977         (_dl_receive_error): Likewise.
25978         (_dl_reloc_bad_type): Likewise.
25979         (_dl_resolve_conflicts): Likewise.
25980         (_dl_check_all_versions): Likewise.
25981         (_dl_check_map_versions): Likewise.
25982         (_dl_sort_fini): Likewise.
25983         (_dl_debug_initialize): Likewise.
25984         (_dl_init_paths): Likewise.
25985         (_dl_show_auxv): Likewise.
25986         (_dl_next_ld_env_entry): Likewise.
25987         (_dl_important_hwcaps): Likewise.
25988         (_dl_load_cache_lookup): Likewise.
25989         (_dl_update_slotinfo): Likewise.
25990         (_dl_show_scope): Likewise.
25992         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
25993         attribute_hidden.
25994         (_wordcopy_fwd_dest_aligned): Likewise.
25995         (_wordcopy_bwd_aligned): Likewise.
25996         (_wordcopy_bwd_dest_aligned): Likewise.
25998         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
25999         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
26000         Likewise.
26001         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
26002         Likewise.
26003         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
26005 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26007         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
26008         GCC 5 requirement.
26010 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
26012         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
26013         test.
26014         * sysdeps/i386/configure: Regenerated.
26015         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
26016         code unconditional.
26018         * configure.ac (libc_cv_asm_previous_directive): Remove configure
26019         test.
26020         (libc_cv_asm_popsection_directive): Likewise.
26021         * configure: Regenerated.
26022         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
26023         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
26024         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
26025         (__make_section_unallocated): Make definition unconditional.
26026         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
26027         Remove conditional definition.
26028         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
26029         (__make_section_unallocated): Likewise.
26031         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
26032         * configure: Regenerated.
26033         * config.make.in (static-libgcc): Remove variable.
26034         * Makerules (build-shlib-helper): Use -static-libgcc instead of
26035         $(static-libgcc).
26036         (build-module-helper): Likewise.
26038         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
26039         * configure: Regenerated.
26041 2015-10-15  Florian Weimer  <fweimer@redhat.com>
26043         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
26044         (struct char_buffer): New type.
26045         (char_buffer_start, char_buffer_size, char_buffer_error)
26046         (char_buffer_rewind, char_buffer_add): New functions.
26047         (ADDW): Remove macro, replaced by the char_buffer_add function.
26048         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
26049         of extend_alloca.  Make control flow more explicit.
26051 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26053         [BZ #19137]
26054         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
26055         Add -fomit-frame-pointer.
26056         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
26058 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26060         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
26061         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
26062         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
26063         only if !__GNUC_PREREQ (5,0).
26064         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
26065         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
26066         (INTERNAL_SYSCALL_NCS): Likewise.
26067         (LOADREGS_0): New macro for GCC 5.
26068         (ASMARGS_0): Likewise.
26069         (LOADREGS_1): Likewise.
26070         (ASMARGS_1): Likewise.
26071         (LOADREGS_2): Likewise.
26072         (ASMARGS_2): Likewise.
26073         (LOADREGS_3): Likewise.
26074         (ASMARGS_3): Likewise.
26075         (LOADREGS_4): Likewise.
26076         (ASMARGS_4): Likewise.
26077         (LOADREGS_5): Likewise.
26078         (ASMARGS_5): Likewise.
26079         (LOADREGS_6): Likewise.
26080         (ASMARGS_6): Likewise.
26082 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26084         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
26085         -fomit-frame-pointer.
26086         (CFLAGS-mmap64.c): Likewise.
26087         (CFLAGS-semtimedop.c): Likewise.
26088         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
26089         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
26090         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26091         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26093 2015-10-15  Florian Weimer  <fweimer@redhat.com>
26095         [BZ #18928]
26096         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
26097         _dl_pointer_guard member.
26098         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
26099         initializer.
26100         (security_init): Always set up pointer guard.
26101         (process_envvars): Do not process LD_POINTER_GUARD.
26103 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
26105         [BZ #19134]
26106         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
26107         (.LC2): Likewise.
26108         (.LC3): Likewise.
26109         (__lround): Do not add 0.5 to integer or out-of-range arguments.
26111 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26113         [BZ #19129]
26114         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
26115         r0 and r1.
26117 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
26119         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
26121 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
26123         * include/stap-probe.h: Fix macro definition formatting.
26125 2015-10-14  Florian Weimer  <fweimer@redhat.com>
26127         [BZ #19074]
26128         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
26129         load and store num_ifs.
26131 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26133         [BZ #18822]
26134         * sysdeps/unix/sysv/linux/sched_getaffinity.c
26135         (__sched_getaffinity_new): Add libc_hidden_proto and
26136         libc_hidden_def.
26138 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26140         [BZ #19007]
26141         * scripts/localplt.awk: Also allow GOT references.
26142         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
26143         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
26144         with "+ REL R_386_GLOB_DAT".
26145         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
26146         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
26148 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26150         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
26151         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26152         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
26153         Likewise.
26154         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26155         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
26156         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
26157         INTERNAL_SYSCALLINTERNAL_SYSCALL and
26158         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26159         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
26160         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26161         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
26162         Likewise.
26163         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26165 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
26167         [BZ #19125]
26168         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
26169         <math_private.h> and <stdint.h>.
26170         (__llround): Avoid conversions to and from long long int, and
26171         subtractions, where those might raise spurious exceptions.
26172         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
26173         <math_private.h> and <stdint.h>.
26174         (__llroundf): Avoid conversions to and from long long int, and
26175         subtractions, where those might raise spurious exceptions.
26177 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26179         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
26180         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26181         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26182         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
26183         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26184         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26185         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
26186         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
26187         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
26188         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26189         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26190         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26191         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
26192         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26193         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26194         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
26195         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
26196         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26197         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
26198         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
26199         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26200         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
26201         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
26202         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26203         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
26204         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
26205         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
26206         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26207         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26208         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
26209         (__xstat64_conv): Likewise.
26210         (__xstat32_conv): Likewise.
26212 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26214         * sysdeps/unix/sysv/linux/sysdep.h: New file.
26215         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
26216         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
26217         <sysdeps/unix/sysv/linux/sysdep.h>.
26218         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26219         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
26220         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
26221         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26222         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26223         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
26224         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
26225         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
26226         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
26227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26229         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26230         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26231         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26232         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26233         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26234         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
26235         (sysdep-dl-routines): Add sysdep.
26236         [$(subdir) == nptl] (libpthread-routines): Likewise.
26237         [$(subdir) == rt] (librt-routines): Likewise.
26238         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
26239         PIC when branching to SYSCALL_ERROR_LABEL.
26240         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
26241         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
26242         <sysdeps/unix/sysv/linux/sysdep.h>.
26243         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
26244         (SYSCALL_ERROR_ERRNO): Removed.
26245         (SYSCALL_ERROR_HANDLER): Changed to empty.
26246         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
26247         (__syscall_error): New prototype.
26248         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
26249         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
26251 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26253         [BZ #19124]
26254         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
26255         (_dl_runtime_resolve_avx512): Make it a hidden alias of
26256         _dl_runtime_resolve_avx.
26257         (_dl_runtime_profile_avx512): Make it a hidden alias of
26258         _dl_runtime_profile_avx.
26260 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
26262         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
26263         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
26264         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
26265         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
26267         [BZ #16422]
26268         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
26269         New configure test.
26270         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
26271         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
26272         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
26273         <math_private.h> and <stdint.h>.
26274         (__llrint): Avoid conversions to long long int where those might
26275         raise spurious exceptions.
26276         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
26277         <math_private.h> and <stdint.h>.
26278         (__llrintf): Avoid conversions to long long int where those might
26279         raise spurious exceptions.
26281 2015-10-12  Andreas Schwab  <schwab@suse.de>
26283         [BZ #18969]
26284         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
26285         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
26286         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
26287         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
26288         $(gen-locales).
26289         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
26290         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
26291         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
26292         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
26293         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
26294         $(gen-locales).
26295         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
26296         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
26297         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
26298         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
26299         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
26300         ($(objpfx)tst-ftell-active-handler.out)
26301         ($(objpfx)tst-ftell-append.out)
26302         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
26303         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
26304         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
26305         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
26306         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
26307         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
26308         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
26309         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
26310         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
26311         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
26312         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
26313         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
26314         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
26315         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
26316         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
26317         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
26318         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
26319         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
26320         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
26321         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
26322         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
26323         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
26324         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
26325         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
26326         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
26327         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
26328         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
26329         $(gen-locales).
26330         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
26331         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
26332         $(gen-locales).
26333         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
26334         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
26335         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
26336         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
26337         $(gen-locales).
26338         * libio/tst_wprintf2.c (main): Use explicit locale.
26339         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
26341 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26343         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
26344         __msg_sig_post.
26345         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
26347 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26349         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26350         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26352         * sysdeps/arm/libm-test-ulps: Regenerated.
26354         [BZ #15470]
26355         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
26357         [BZ #16399]
26358         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
26359         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
26360         and <fix-fp-int-convert-overflow.h>.
26361         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26362         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26363         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
26364         and <fix-fp-int-convert-overflow.h>.
26365         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
26366         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26367         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
26368         <fix-fp-int-convert-overflow.h>.
26369         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26370         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26371         * sysdeps/ieee754/dbl-64/s_lround.c: Include
26372         <fix-fp-int-convert-overflow.h>.
26373         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
26374         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26375         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
26376         and <fix-fp-int-convert-overflow.h>.
26377         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26378         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26379         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
26380         <limits.h> and <fix-fp-int-convert-overflow.h>.
26381         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26382         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26383         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
26384         and <fix-fp-int-convert-overflow.h>.
26385         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26386         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26387         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
26388         and <fix-fp-int-convert-overflow.h>.
26389         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26390         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26391         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
26393 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
26395         [BZ #18589]
26396         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
26397         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
26398         $(gen-locales).
26400 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26401             Phil Blundell <pb@pbcl.net>
26403         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
26404         * nptl/tst-cancel26.c: New file.
26405         * nptl/tst-cancel27.c: Likewise.
26407 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
26409         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
26410         __ILP32__ isn't defined.
26411         (lrint): Likewise.
26412         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
26413         (lrintf): Likewise.
26414         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
26415         (lrintl): Likewise.
26416         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
26417         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
26418         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
26420 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26422         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
26423         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
26425         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
26426         file.
26427         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
26428         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
26430 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26432         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
26433         configure test.
26434         * sysdeps/i386/configure: Regenerated.
26435         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
26436         configure test.
26437         * sysdeps/x86_64/configure: Regenerated.
26438         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
26439         Make code unconditional.
26441         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
26442         test.
26443         * sysdeps/i386/configure: Regenerated.
26444         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
26445         test.
26446         * sysdeps/x86_64/configure: Regenerated.
26447         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
26448         Make code unconditional.
26449         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26450         Likewise.
26451         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
26452         Likewise.
26453         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26454         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
26455         code unconditional.
26456         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26457         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
26458         code unconditional.
26459         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26460         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
26461         code unconditional.
26462         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
26463         code unconditional.
26464         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26465         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
26466         code unconditional.
26467         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26468         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
26469         code unconditional.
26470         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26471         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
26472         code unconditional.
26473         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26474         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
26475         code unconditional.
26476         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26477         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
26479         [BZ #19095]
26480         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
26481         mantissa to long int before shifting left.
26483 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26485         [BZ #19094]
26486         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
26487         <limits.h>.
26488         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26489         when result overflows but exception would not result from cast.
26490         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
26491         <limits.h>.
26492         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26493         when result overflows but exception would not result from cast.
26494         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
26495         <limits.h>.
26496         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26497         when result overflows but exception would not result from cast.
26498         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
26499         <limits.h>.
26500         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26501         when result overflows but exception would not result from cast.
26502         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
26503         <limits.h>.
26504         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26505         when result overflows but exception would not result from cast.
26506         * math/libm-test.inc (lrint_test_data): Add more tests.
26507         (llrint_test_data): Likewise.
26509 2015-10-08  Roland McGrath  <roland@hack.frob.com>
26511         [BZ #18872]
26512         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
26513         Move out from under [$(run-built-tests) = yes] conditional.
26514         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
26515         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
26517 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
26519         [BZ #18589]
26520         * string/Makefile (tests): Add bug-strcoll2.
26521         (LOCALES): Add cs_CZ.UTF-8.
26522         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
26524         [BZ #18589]
26525         * string/bug-strcoll2.c: New file.
26526         * locale/categories.def: Revert commit
26527         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
26528         * locale/langinfo.h: Likewise.
26529         * locale/localeinfo.h: Likewise.
26530         * locale/C-collate.c: Likewise.
26531         * locale/programs/ld-collate.c (collate_output): Likewise.
26532         * string/strcoll_l.c (STRDIFF): Likewise.
26533         (STRCOLL): Likewise.
26534         * wcsmbs/wcscoll_l.c: Likewise.
26536 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26538         * math/libm-test.inc (lround_test_data): Do not expect the absence
26539         of "inexact" for some tests with non-integer arguments.
26540         (llround_test_data): Likewise.
26542         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
26543         test.
26544         (libc_cv_cc_sse2avx): Likewise.
26545         * sysdeps/i386/configure: Regenerated.
26546         * sysdeps/i386/i686/multiarch/Makefile
26547         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
26548         [$(subdir) = math].
26549         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
26550         code unconditional.
26551         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26552         Likewise.
26553         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
26554         Likewise.
26555         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26556         Likewise.
26557         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
26558         test.
26559         (libc_cv_cc_sse2avx): Likewise.
26560         * sysdeps/x86_64/configure: Regenerated.
26561         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
26562         unconditional.
26563         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
26564         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
26565         unconditional.
26566         (_dl_runtime_profile)
26567         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
26568         conditional code.
26569         * sysdeps/x86_64/fpu/multiarch/Makefile
26570         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
26571         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26572         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26573         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26574         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26575         * sysdeps/x86_64/fpu/multiarch/e_log.c
26576         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26577         * sysdeps/x86_64/fpu/multiarch/s_atan.c
26578         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26579         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26580         Likewise.
26581         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26582         Likewise.
26583         * sysdeps/x86_64/fpu/multiarch/s_sin.c
26584         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26585         * sysdeps/x86_64/fpu/multiarch/s_tan.c
26586         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26587         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
26588         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
26589         (HAVE_SSE2AVX_SUPPORT): Likewise.
26591 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
26593         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
26594         instead of #pragma optimize.
26596 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26598         [BZ #17195]
26599         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
26600         as is similarly done in systrim and _int_free already.
26602 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26604         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
26606 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26608         [BZ #19088]
26609         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
26610         <limits.h>.
26611         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26612         overflows but exception would not result from cast.
26613         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
26614         and <limits.h>.
26615         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26616         overflows but exception would not result from cast.
26617         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
26618         <limits.h>.
26619         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26620         overflows but exception would not result from cast.
26621         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
26622         <limits.h>.
26623         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26624         overflows but exception would not result from cast.
26625         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
26626         <limits.h>.
26627         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26628         overflows but exception would not result from cast.
26629         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
26630         <limits.h>.
26631         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26632         overflows but exception would not result from cast.
26633         * math/libm-test.inc (lround_test_data): Add more tests.
26634         (llround_test_data): Likewise.
26636 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
26638         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
26639         (CFLAGS-ialloc.c): Ditto.
26640         (CFLAGS-scheck.c): Ditto.
26642 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26644         [BZ #19086]
26645         * manual/filesys.texi (Storage Allocation): Fix argument order for
26646         posix_fallocate64.
26648 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26650         [BZ #19085]
26651         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
26652         exponent below 48 inside case for non-overflowing exponent.
26653         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
26655 2015-10-07  Florian Weimer  <fweimer@redhat.com>
26657         * iconvdata/cp737.h (from_idx): Add const.
26658         * iconvdata/cp775.h (from_idx): Likewise.
26660 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26662         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
26663         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
26664         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
26666         [BZ #19079]
26667         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
26668         file, conditioned on [!_LP64].
26669         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
26670         [!_LP64] (__lround): Do not define as function or alias.
26671         [!_LP64] (lround): Likewise.
26672         [!_LP64] (__lroundl): Likewise.
26673         [!_LP64] (lroundl): Likewise.
26674         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
26675         macro.
26676         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26677         Likewise.
26679 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
26681         * math/libm-test.inc (lrint_test_data): Add more tests.
26682         (llrint_test_data): Likewise.
26683         (lround_test_data): Likewise.
26684         (llround_test_data): Likewise.
26686         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
26687         (llrint_test_data): Add tests used for lrint.
26689         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
26690         test.
26691         * sysdeps/i386/configure: Regenerated.
26692         * sysdeps/i386/i686/multiarch/Makefile
26693         [$(config-cflags-sse4) = yes]: Make code unconditional.
26694         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
26695         Likewise.
26696         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
26697         Likewise.
26698         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
26699         test.
26700         * sysdeps/x86_64/configure: Regenerated.
26701         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
26702         Make code unconditional.
26703         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
26704         Likewise.
26705         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
26706         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
26708         * scripts/rpm2dynsym.sh: Remove file.
26710 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26712         * configure.ac (libc_cv_cxx_thread_local): Define.
26713         * configure: Regenerate.
26714         * config.make.in (have-cxx-thread_local): Define.
26715         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
26716         (LDLIBS-tst-thread_local1): Define.
26717         (tests): Add tst-thread_local1.
26718         [have-cxx-thread_local != yes] (tests-unsupported): Add
26719         tst-thread_local1.
26720         * nptl/tst-thread_local1.cc: New file.
26722 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
26724         [BZ #19078]
26725         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
26726         (u_thres): Likewise.
26727         (__expl): Determine whether to call __kernel_standard_l based on
26728         value of result, not argument.
26730         * math/libm-test.inc (scalb_test_data): Add more expectations for
26731         the "inexact" exception.
26733         [BZ #19077]
26734         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
26735         0.0L for argument 1.0L.
26737         [BZ #19076]
26738         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
26739         constant 0.0L when computing infinite result.
26741 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26743         [BZ #10432]
26744         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
26745         malloc_usable_size.
26747 2015-10-06  Florian Weimer  <fweimer@redhat.com>
26749         [BZ #19018]
26750         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26751         Mangle function pointer before storing it.
26752         (__call_tls_dtors): Demangle function pointer before calling it.
26754 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26756         [BZ #19012]
26757         * iconv/gconv_db.c (gen_steps): Check for additional errors.
26758         Clean up on failure.
26760 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
26762         [BZ #19071]
26763         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
26764         long int variable to store possibly incremented high part of
26765         mantissa.
26766         * math/libm-test.inc (lround_test_data): Add tests used for
26767         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
26768         for tests requiring 64-bit long.  Do not condition tests on
26769         [TEST_FLOAT] unnecessarily.
26770         (llround_test_data): Add tests used for lround.  Add another
26771         expectation for the "inexact" exception.  Do not condition tests
26772         on [TEST_FLOAT] unnecessarily.
26774         [BZ #887]
26775         [BZ #19049]
26776         [BZ #19050]
26777         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
26778         * sysdeps/ieee754/dbl-64/e_log10.c: Include
26779         <fix-int-fp-convert-zero.h>.
26780         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26781         * sysdeps/ieee754/dbl-64/e_log2.c: Include
26782         <fix-int-fp-convert-zero.h>.
26783         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26784         * sysdeps/ieee754/dbl-64/s_erf.c: Include
26785         <fix-int-fp-convert-zero.h>.
26786         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26787         * sysdeps/ieee754/dbl-64/s_logb.c: Include
26788         <fix-int-fp-convert-zero.h>.
26789         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26790         * sysdeps/ieee754/flt-32/e_log10f.c: Include
26791         <fix-int-fp-convert-zero.h>.
26792         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26793         * sysdeps/ieee754/flt-32/e_log2f.c: Include
26794         <fix-int-fp-convert-zero.h>.
26795         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26796         * sysdeps/ieee754/flt-32/s_erff.c: Include
26797         <fix-int-fp-convert-zero.h>.
26798         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26799         * sysdeps/ieee754/flt-32/s_logbf.c: Include
26800         <fix-int-fp-convert-zero.h>.
26801         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26802         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
26803         <fix-int-fp-convert-zero.h>.
26804         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26805         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
26806         <fix-int-fp-convert-zero.h>.
26807         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
26808         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
26809         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
26810         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
26811         file.
26812         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
26814 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
26816         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26818 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
26820         [BZ #19059]
26821         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
26822         overflowing computation.
26823         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26824         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
26825         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26826         Likewise.
26827         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26828         Likewise.
26829         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
26830         Likewise.
26831         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26832         Likewise.
26833         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26834         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26835         Likewise.
26836         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26837         Likewise.
26838         * math/libm-test.inc (nexttoward_test_data): Add more tests.
26840         * nss/rewrite_field.c (__nss_rewrite_field): Use
26841         internal_function.
26842         * nss/valid_field.c (__nss_valid_field): Likewise.
26843         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
26845 2015-10-02  Florian Weimer  <fweimer@redhat.com>
26847         [BZ #18724]
26848         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
26849         (__nss_invalid_field_characters, __nss_valid_field)
26850         (__nss_valid_list_field, __nss_rewrite_field): Declare.
26851         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
26852         tst-field.c: New file.
26853         * nss/Makefile (routines): Add valid_field, rewrite_field.
26854         (tests-static): Define unconditionally.
26855         (tests): Include tests-static.
26856         [build-static-nss] (tests-static): Use append.
26857         [build-static-nss] (tests): Remove modification.
26858         * nss/getent.c (print_group): Call putgrent.  Report error.
26859         (print_gshadow): Call putsgent.  Report error.
26860         (print_passwd): Call putpwent.  Report error.
26861         (print_shadow): Call putspent.  Report error.
26862         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
26863         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
26864         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
26865         name, password, directory, shell fields for valid syntax.  Rewrite
26866         GECOS field to match syntax.
26867         * pwd/Makefile (tests): Add tst-putpwent.
26868         * pwd/tst-putpwent.c: New file.
26869         * grp/putgrent.c (putgrent): Convert to ISO function definition.
26870         Check grName, grpasswd, gr_mem fields for valid syntax.
26871         Change loop variable i to size_t.
26872         * grp/Makefile (tests): Add tst-putgrent.
26873         * grp/tst-putgrent.c: New file.
26874         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
26875         valid syntax.
26876         * shadow/Makefile (tests): Add tst-putspent.
26877         * shadow/tst-putspent.c: New file.
26878         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
26879         sg_mem fields for valid syntax.
26880         * gshadow/Makefile (tests): Add tst-putsgent.
26881         * gshadow/tst-putsgent.c: New file.
26883 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26885         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
26886         assembly instructions.
26888 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26890         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
26891         prefix from operands.
26893 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
26895         [BZ #16347]
26896         [BZ #19046]
26897         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
26898         <libc-internal.h>.
26899         (MAXLGM): Do not use diagnostic control macros.
26900         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
26901         threshold for ldbl-128ibm.
26902         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
26903         instead of multiplying by log then subtracting.
26904         * math/auto-libm-test-in: Add more tests of lgamma.
26905         * math/auto-libm-test-out: Regenerated.
26907         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
26908         (TYPE_HEX_DIG): Likewise.
26909         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
26910         precisions when printing floating-point numbers.
26911         (check_float_internal): Likewise.
26913 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
26915         [BZ #16620]
26916         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
26917         of log (10) rounded downward to 48 bits.
26918         (log10_low): Use corresponding low part of log (10).
26920         [BZ #19032]
26921         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
26922         compute result as (x - x) / (x - x) not as 0 / 0.
26923         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26924         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
26926         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26927         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
26928         and expm1.
26929         * math/auto-libm-test-out: Regenerated.
26930         * math/libm-test.inc (acos_test_data): Add more tests.
26931         (asin_test_data): Likewise.
26932         (asinh_test_data): Likewise.
26933         (atan_test_data): Likewise.
26934         (atanh_test_data): Likewise.
26935         (atan2_test_data): Likewise.
26936         (cbrt_test_data): Likewise.
26937         (ceil_test_data): Likewise.
26938         (copysign_test_data): Likewise.
26939         (cos_test_data): Likewise.
26940         (cosh_test_data): Likewise.
26941         (erf_test_data): Likewise.
26942         (erfc_test_data): Likewise.
26943         (exp_test_data): Likewise.
26944         (exp10_test_data): Likewise.
26945         (exp2_test_data): Likewise.
26946         (expm1_test_data): Likewise.
26947         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26949 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
26951         [BZ #19006]
26952         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
26953         to ...
26954         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
26955         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
26956         to ...
26957         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
26958         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
26959         to ...
26960         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
26961         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
26962         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
26963         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
26964         to ...
26965         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
26966         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
26967         Moved to ...
26968         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
26969         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
26970         Moved to ...
26971         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
26972         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
26973         to ...
26974         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
26975         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
26976         Moved to ...
26977         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
26978         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
26979         to ...
26980         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
26981         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
26982         Removed.
26983         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
26984         Likewise.
26985         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
26986         Likewise.
26987         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
26988         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
26989         Likewise.
26990         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
26991         Likewise.
26992         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
26993         Likewise.
26994         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
26995         Likewise.
26996         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
26997         Likewise.
26998         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
26999         Likewise.
27000         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
27001         Likewise.
27002         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
27003         Likewise.
27004         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
27005         Likewise.
27006         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
27007         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
27008         Likewise.
27009         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27010         Likewise.
27011         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27012         Likewise.
27013         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27014         Likewise.
27015         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
27016         Likewise.
27017         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27018         Replace ../i486/pthread_cond_timedwait.S with
27019         ../pthread_cond_timedwait.S.
27021 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
27023         * math/libm-test.inc (acos_test_data): Refine expectations for
27024         errno and "inexact" exceptions.
27025         (acosh_test_data): Likewise.
27026         (asin_test_data): Likewise.
27027         (asinh_test_data): Likewise.
27028         (atan_test_data): Likewise.
27029         (atanh_test_data): Likewise.
27030         (atan2_test_data): Likewise.
27031         (cbrt_test_data): Likewise.
27032         (ceil_test_data): Likewise.
27033         (copysign_test_data): Likewise.
27034         (cosh_test_data): Likewise.
27035         (erf_test_data): Likewise.
27036         (erfc_test_data): Likewise.
27037         (exp_test_data): Likewise.
27038         (exp10_test_data): Likewise.
27039         (exp2_test_data): Likewise.
27040         (expm1_test_data): Likewise.
27041         (fabs_test_data): Likewise.
27042         (floor_test_data): Likewise.
27043         (fma_test_data): Likewise.
27044         (fmax_test_data): Likewise.
27045         (fmin_test_data): Likewise.
27046         (fmod_test_data): Likewise.
27047         (fpclassify_test_data): Likewise.
27048         (frexp_test_data): Likewise.
27049         (hypot_test_data): Likewise.
27050         (ilogb_test_data): Likewise.
27051         (isgreater_test_data): Likewise.
27052         (isgreaterequal_test_data): Likewise.
27053         (isinf_test_data): Likewise.
27054         (isless_test_data): Likewise.
27055         (islessequal_test_data): Likewise.
27056         (islessgreater_test_data): Likewise.
27057         (isnan_test_data): Likewise.
27058         (isnormal_test_data): Likewise.
27059         (issignaling_test_data): Likewise.
27060         (isunordered_test_data): Likewise.
27061         (j0_test_data): Likewise.
27062         (j1_test_data): Likewise.
27063         (jn_test_data): Likewise.
27064         (lgamma_test_data): Likewise.
27065         (lrint_test_data): Likewise.
27066         (llrint_test_data): Likewise.
27067         (log_test_data): Likewise.
27068         (log10_test_data): Likewise.
27069         (log1p_test_data): Likewise.
27070         (log2_test_data): Likewise.
27071         (logb_test_data): Likewise.
27072         (lround_test_data): Likewise.
27073         (llround_test_data): Likewise.
27074         (modf_test_data): Likewise.
27075         (nearbyint_test_data): Likewise.
27076         (nextafter_test_data): Likewise.
27077         (nexttoward_test_data): Likewise.
27078         (pow_test_data): Likewise.
27079         (remainder_test_data): Likewise.
27080         (remquo_test_data): Likewise.
27081         (rint_test_data): Likewise.
27082         (round_test_data): Likewise.
27083         (signbit_test_data): Likewise.
27084         (sinh_test_data): Likewise.
27085         (sqrt_test_data): Likewise.
27086         (tanh_test_data): Likewise.
27087         (tgamma_test_data): Likewise.
27088         (trunc_test_data): Likewise.
27089         (y0_test_data): Likewise.
27090         (y1_test_data): Likewise.
27091         (yn_test_data): Likewise.
27092         (significand_test_data): Likewise.
27094 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
27096         * manual/filesys.texi (Storage Allocation): Document that
27097         posix_fallocate emulation fails when fd is open with O_WRONLY.
27099 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
27101         [BZ #19016]
27102         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
27103         allow more cases with X^2 + Y^2 >= 0.5.
27104         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
27105         normal element in sum instead of special-casing based on values of
27106         arguments.
27107         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
27108         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
27109         -1 as normal element in sum instead of special-casing based on
27110         values of arguments.
27111         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
27112         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
27113         (__x2y2m1): Update comment.
27114         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
27115         as normal element in sum instead of special-casing based on values
27116         of arguments.
27117         * math/s_clog.c (__clog): Handle more cases using log1p without
27118         hypot.
27119         * math/s_clog10.c (__clog10): Likewise.
27120         * math/s_clog10f.c (__clog10f): Likewise.
27121         * math/s_clog10l.c (__clog10l): Likewise.
27122         * math/s_clogf.c (__clogf): Likewise.
27123         * math/s_clogl.c (__clogl): Likewise.
27124         * math/auto-libm-test-in: Add more tests of clog and clog10.
27125         * math/auto-libm-test-out: Regenerated.
27126         * sysdeps/i386/fpu/libm-test-ulps: Update.
27127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27129 2015-09-28  Martin Sebor  <msebor@redhat.com>
27131         [BZ #18969]
27132         * string/Makefile (LOCALES): Define.
27133         (gen-locales.mk): Include.
27134         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
27135         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
27136         * string/tst-strxfrm2.c (do_test): Print the name of the locale
27137         on setlocale failure.
27139 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
27141         [BZ #18985]
27142         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
27143         (__strftime_internal): Likewise.
27144         * time/tst-strftime.c (do_bz18985): New test.
27145         (do_test): Call it.
27147 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
27149         [BZ #18956]
27150         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
27151         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
27152         extracting high part.
27153         * math/auto-libm-test-in: Add another test of pow.
27154         * math/auto-libm-test-out: Regenerated.
27155         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27157 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
27159         [BZ #18825]
27160         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
27161         New macro.
27162         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
27163         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27164         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
27165         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
27166         DBL_NARROW_EVAL, reloading the PIC register as needed.
27167         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
27168         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
27169         FLT_NARROW_EVAL.  Use separate return path for case when first
27170         argument is NaN.
27171         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
27172         DEFINE_LDBL_MIN.
27173         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
27174         PIC register.
27175         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
27176         math_check_force_underflow_nonneg.
27177         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
27178         underflow for subnormal result.
27179         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
27180         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
27181         math_check_force_underflow_nonneg.
27182         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
27183         math_check_force_underflow.
27184         * sysdeps/x86_64/fpu/x86_64-math-asm.h
27185         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
27186         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
27187         DEFINE_LDBL_MIN.
27188         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
27189         * math/auto-libm-test-in: Add more tests of pow.
27190         * math/auto-libm-test-out: Regenerated.
27192 2015-09-25  Florian Weimer  <fweimer@redhat.com>
27194         * nss/bug17079.c (init_test_items): Add diagnostic for
27195         inconsistent entries.
27196         (test_buffer_size): Skip inconsistent entries.
27198 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
27200         [BZ #13304]
27201         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
27202         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
27203         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
27205         [BZ #13304]
27206         * sysdeps/microblaze/s_fma.c: New file.
27207         * sysdeps/microblaze/s_fmaf.c: Likewise.
27208         * sysdeps/microblaze/sfp-machine.h: Likewise.
27210 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
27212         [BZ #17250]
27213         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
27214         member.
27216 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
27218         [BZ #18803]
27219         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
27220         (MO): New macro.
27221         (__ieee754_hypot) [PIC]: Load PIC register.
27222         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
27223         DBL_NARROW_EVAL.
27224         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
27225         math_check_force_underflow_nonneg in case where result might be
27226         tiny.
27227         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27228         Likewise.
27229         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27230         Likewise.
27231         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
27232         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
27233         * math/auto-libm-test-in: Add more tests of hypot.
27234         * math/auto-libm-test-out: Regenerated.
27236 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
27238         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
27240 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
27242         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
27243         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
27244         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27245         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27246         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
27247         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27248         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27250         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
27251         LOAD_PIC_REG.
27253         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
27254         (FLT_CHECK_FORCE_UFLOW): Likewise.
27255         (DBL_CHECK_FORCE_UFLOW): Likewise.
27256         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
27257         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
27258         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
27259         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27260         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27261         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27262         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27263         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27264         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
27265         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27266         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
27267         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
27268         (flt_min): Replace with use of DEFINE_FLT_MIN.
27269         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
27270         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
27271         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27272         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
27273         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
27274         (flt_min): Replace with use of DEFINE_FLT_MIN.
27275         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
27276         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
27277         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27278         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
27279         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
27280         (flt_min): Replace with use of DEFINE_FLT_MIN.
27281         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
27282         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
27283         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27284         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27285         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
27286         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27287         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27288         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
27289         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27290         (__atan): Use DBL_CHECK_FORCE_UFLOW.
27291         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
27292         (flt_min): Replace with use of DEFINE_FLT_MIN.
27293         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
27294         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
27295         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27296         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
27297         main computation.
27298         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
27299         (flt_min): Replace with use of DEFINE_FLT_MIN.
27300         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
27301         main computation.
27302         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
27303         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27304         (MO): New macro.
27305         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
27306         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
27307         (flt_min): Replace with use of DEFINE_FLT_MIN.
27308         (MO): New macro.
27309         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
27310         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
27311         (__log1pl): Use MO.
27313         [BZ #19003]
27314         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
27315         $(config-cflags-nofma).
27317 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27319         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27321 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
27323         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
27324         (TWO127): Likewise.
27326         * sysdeps/generic/math_private.h (fabs_tg): New macro.
27327         (min_of_type): Likewise.
27328         (math_check_force_underflow): Likewise.
27329         (math_check_force_underflow_nonneg): Likewise.
27330         (math_check_force_underflow_complex): Likewise.
27331         * math/e_exp2l.c (__ieee754_exp2l): Use
27332         math_check_force_underflow_nonneg.
27333         * math/k_casinh.c (__kernel_casinh): Likewise.
27334         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27335         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27336         * math/s_catan.c (__catan): Use
27337         math_check_force_underflow_complex.
27338         * math/s_catanf.c (__catanf): Likewise.
27339         * math/s_catanh.c (__catanh): Likewise.
27340         * math/s_catanhf.c (__catanhf): Likewise.
27341         * math/s_catanhl.c (__catanhl): Likewise.
27342         * math/s_catanl.c (__catanl): Likewise.
27343         * math/s_ccosh.c (__ccosh): Likewise.
27344         * math/s_ccoshf.c (__ccoshf): Likewise.
27345         * math/s_ccoshl.c (__ccoshl): Likewise.
27346         * math/s_cexp.c (__cexp): Likewise.
27347         * math/s_cexpf.c (__cexpf): Likewise.
27348         * math/s_cexpl.c (__cexpl): Likewise.
27349         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
27350         * math/s_clog10.c (__clog10): Likewise.
27351         * math/s_clog10f.c (__clog10f): Likewise.
27352         * math/s_clog10l.c (__clog10l): Likewise.
27353         * math/s_clogf.c (__clogf): Likewise.
27354         * math/s_clogl.c (__clogl): Likewise.
27355         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
27356         * math/s_csinf.c (__csinf): Likewise.
27357         * math/s_csinh.c (__csinh): Likewise.
27358         * math/s_csinhf.c (__csinhf): Likewise.
27359         * math/s_csinhl.c (__csinhl): Likewise.
27360         * math/s_csinl.c (__csinl): Likewise.
27361         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
27362         * math/s_csqrtf.c (__csqrtf): Likewise.
27363         * math/s_csqrtl.c (__csqrtl): Likewise.
27364         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
27365         * math/s_ctanf.c (__ctanf): Likewise.
27366         * math/s_ctanh.c (__ctanh): Likewise.
27367         * math/s_ctanhf.c (__ctanhf): Likewise.
27368         * math/s_ctanhl.c (__ctanhl): Likewise.
27369         * math/s_ctanl.c (__ctanl): Likewise.
27370         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
27371         instead of volatile.
27372         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
27373         math_check_force_underflow.
27374         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27375         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
27376         volatile when forcing underflow.
27377         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27378         math_check_force_underflow_nonneg.
27379         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
27380         Likewise.
27381         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
27382         math_check_force_underflow.
27383         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27384         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27385         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27386         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
27387         math_check_force_underflow_nonneg.
27388         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
27389         math_check_force_underflow.
27390         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
27391         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
27392         instead of volatile.
27393         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
27394         math_check_force_underflow.
27395         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27396         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27397         math_check_force_underflow_nonneg.
27398         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
27399         math_check_force_underflow.
27400         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
27401         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27402         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
27403         math_check_force_underflow_nonneg.
27404         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27405         Likewise.
27406         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
27407         math_check_force_underflow.
27408         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27409         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27410         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
27411         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
27412         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
27413         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
27414         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
27415         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
27416         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27417         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
27418         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
27419         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
27420         Likewise.
27421         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
27422         math_check_force_underflow_nonneg.
27423         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27424         Likewise.
27425         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
27426         math_check_force_underflow.
27427         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27428         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
27429         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27430         Likewise.
27431         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
27432         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
27433         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
27434         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
27435         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
27436         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
27437         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
27438         instead of volatile.
27439         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
27440         math_check_force_underflow.
27441         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
27442         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
27443         math_check_force_underflow.
27444         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
27445         Likewise.
27446         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27447         Use math_check_force_underflow_nonneg.
27448         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
27449         math_check_force_underflow.
27450         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
27451         Likewise.
27452         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27453         Likewise.
27454         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27455         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27456         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27457         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27458         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
27459         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27460         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
27461         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
27462         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
27463         math_check_force_underflow_nonneg.
27464         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
27465         math_check_force_underflow.
27466         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27467         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
27468         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
27469         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
27470         math_check_force_underflow_nonneg.
27471         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
27472         math_check_force_underflow.
27473         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
27474         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
27475         instead of volatile.
27476         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
27477         math_check_force_underflow.
27479         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
27480         * stdlib/strtod_l.c: Include <math_private.h>.
27481         (overflow_value): Use math_narrow_eval.
27482         (underflow_value): Likewise.
27483         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27484         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27485         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
27486         (__ieee754_gamma_r): Likewise.
27487         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
27488         Likewise.
27489         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
27490         Likewise.
27491         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
27492         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
27493         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
27494         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
27495         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
27496         (__ieee754_gammaf_r): Likewise.
27497         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
27498         Likewise.
27499         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
27500         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
27501         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
27502         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
27503         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
27504         volatile.
27505         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
27506         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
27507         math_narrow_eval.
27508         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27509         Likewise.
27510         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27511         Likewise.
27512         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
27513         Likewise.
27514         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
27515         volatile.
27516         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
27517         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
27518         math_narrow_eval.
27519         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27520         Likewise.
27521         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27522         Likewise.
27524 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
27526         * nptl/Versions: Remove ignored symbols.
27528 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27530         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
27531         * nss/Makefile (tests): Update.
27533 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27535         * nss/bug18287.c: New file.
27536         * nss/Makefile (tests): Add bug18287.
27538 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27540         * mach/Versions (__mach_host_self_): Add symbol.
27542 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27544         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
27545         vm_page_size.
27547 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27549         Really fix sysdeps/i386/fpu/s_scalbn.S build
27551         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
27552         (libc: GLIBC_2_22): Remove unused version set.
27554 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27556         * config.make.in (enable-timezone-tools): New variable.
27557         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
27558         (enable_timezone_tools): Export to generated files.
27559         * configure: Regenerate.
27560         * INSTALL: Regenerate.
27561         * manual/install.texi (--disable-timezone-tools): Document new flag.
27562         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
27563         ifeq ($(enable-timezone-tools),yes) check.
27565 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27567         * timezone/Makefile: Revert previous change.
27569         [BZ #18980]
27570         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
27571         (DEFINE_DBL_MIN): Likewise.
27572         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27573         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27574         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27575         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27576         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
27577         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27578         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27579         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
27580         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
27581         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27582         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27583         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
27584         (flt_min): Replace with use of DEFINE_FLT_MIN.
27585         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27586         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
27587         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27588         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27589         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
27590         (flt_min): Replace with use of DEFINE_FLT_MIN.
27591         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27592         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
27593         (flt_min): Replace with use of DEFINE_FLT_MIN.
27594         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27595         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
27596         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
27597         (__ieee754_hypot): Use DBL_NARROW_EVAL.
27598         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
27599         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
27600         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
27601         (__ieee754_pow): Use DBL_NARROW_EVAL.
27602         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
27603         (__ieee754_powf): Use FLT_NARROW_EVAL.
27604         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
27605         (__ieee754_expf_sse2): Convert double-precision result to single
27606         precision.
27607         * sysdeps/i386/fpu/libm-test-ulps: Update.
27609 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27611         * timezone/Makefile: Ignore unused variable errors due to private.h
27612         (time_t_min) and (time_t_max).
27613         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
27614         Likewise.
27616 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27618         [BZ #18981]
27619         * sysdeps/i386/fpu/i386-math-asm.h: New file.
27620         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
27621         (__ieee754_scalb): Use DBL_NARROW_EVAL.
27622         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
27623         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
27624         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
27625         (__scalbn): Use DBL_NARROW_EVAL.
27626         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
27627         (__scalbnf): Use FLT_NARROW_EVAL.
27629 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27631         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
27632         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
27633         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
27634         * stdio-common/printf_fp.c (___printf_fp):
27635         Use signbit to get the sign. Use isinf macro to allow inlining.
27636         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
27637         * stdio-common/printf_size.c (__printf_size): Likewise.
27639 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27641         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
27643 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27645         [BZ #18980]
27646         * sysdeps/generic/math_private.h: Include <float.h>.
27647         (math_narrow_eval): New macro.
27648         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
27649         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
27650         math_narrow_eval on overflowing return value.
27651         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
27652         Likewise.
27653         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27654         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
27655         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
27656         Likewise.
27657         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27659 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27661         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
27662         * math/Makefile: Remove isinf_ns.c.
27663         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
27664         * math/multc3.c (__multc3): Likewise.
27665         * math/s_casin.c (__casin): Likewise.
27666         * math/s_casinf.c (__casinf): Likewise.
27667         * math/s_casinl.c (__casinl): Likewise.
27668         * math/s_cproj.c (__cproj): Likewise.
27669         * math/s_cprojf.c (__cprojf): Likewise.
27670         * math/s_cprojl.c (__cprofl): Likewise.
27671         * math/s_ctan.c (__ctan): Likewise.
27672         * math/s_ctanf.c (__ctanf): Likewise.
27673         * math/s_ctanh.c (__ctanh): Likewise.
27674         * math/s_ctanhf.c (__ctanhf): Likewise.
27675         * math/s_ctanhl.c (__ctanhl): Likewise.
27676         * math/s_ctanl.c (__ctanl): Likewise.
27677         * math/w_fmod.c (__fmod): Likewise.
27678         * math/w_fmodf.c (__fmodf): Likewise.
27679         * math/w_fmodl.c (_fmodl): Likewise.
27680         * math/w_remainder.c (__remainder): Likewise.
27681         * math/w_remainderf.c (__remainderf): Likewise.
27682         * math/w_remainderl.c (__remainderl): Likewise.
27683         * math/w_scalb.c (__scalb): Likewise.
27684         * math/w_scalbf.c (__scalbf): Likewise.
27685         * math/w_scalbl.c (__scalbl): Likewise.
27686         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
27687         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
27688         with isinf.
27689         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
27690         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
27691         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
27692         __isinf_nsf with isinf.
27693         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
27694         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
27695         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
27696         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
27697         with isinf.
27698         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
27699         __isinf_nsl with isinf.
27700         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
27701         with isinf.
27702         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
27703         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
27704         __isinf_nsl with isinf.
27705         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
27706         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
27707         with isinf.
27709 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27711         * resolv/base64.c (rcsid): Remove unused static.
27712         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
27713         static.  (tqpi1): Likewise.
27714         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
27715         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
27716         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
27717         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
27718         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
27719         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
27720         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
27721         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
27722         Likewise.
27724 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
27726         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
27727         <nptl/pthreadP.h>.
27728         (_longjmp_unwind): Use __libc_ptf_call.
27729         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
27731 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
27733         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
27734         * sysdeps/arm/__longjmp.S: Likewise.
27736 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27738         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
27739         Use __builtin_signbit.
27740         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
27741         Use __builtin_signbitf.
27742         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
27743         Use __builtin_signbitl.
27744         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27745         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
27747 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27749         [BZ #15367]
27750         [BZ #17441]
27752         * math/Makefile: Build test-snan.c with -fsignaling-nans.
27753         * math/math.h (fpclassify): Use __builtin_fpclassify when
27754         available.  (signbit): Use __builtin_signbit(f/l).
27755         (isfinite): Use__builtin_isfinite.  (isnormal): Use
27756         __builtin_isnormal.  (isnan): Use __builtin_isnan.
27757         (isinf): Use __builtin_isinf_sign.
27759 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27761         * benchtests/Makefile: Add bench-math-inlines, link with libm.
27762         * benchtests/bench-math-inlines.c: New benchmark.
27763         * benchtests/bench-util.h: New file.
27764         * benchtests/bench-util.c: New file.
27765         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
27767 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
27769         * elf/tst-dlmopen1.c: Define TEST_SO.
27770         (do_test): Use TEST_SO.
27772         * elf/dl-load.c: Include libc-internal.h.
27773         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
27775 2015-09-18  Vincent Bernat  <vincent@bernat.im>
27777         [BZ #17887]
27778         * time/strptime_l.c (__strptime_internal): Make %z accept
27779         [+-]HH:MM time zones.
27781 2015-09-18  Vincent Bernat  <vincent@bernat.im>
27783         [BZ #17886]
27784         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
27785         valid time zone.
27787 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
27789         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
27790         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
27791         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27792         (__ASSUME_FDATASYNC): Delete.
27794 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27796         * conform/linknamespace.pl: Require weak undefined symbols to be
27797         in the standard namespace.
27798         (%strong_syms): Rename to %seen_syms.
27799         (%strong_seen): Rename to %seen_where.
27801 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
27803         [BZ #18970]
27804         * misc/error.c (error): Replace pthread_setcancelstate with
27805         __pthread_setcancelstate.
27806         (error_at_line): Likewise.
27807         * posix/wordexp.c (parse_comm): Likewise.
27808         * stdlib/fmtmsg.c (fmtmsg): Likewise.
27809         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
27810         (__pthread_setcancelstate): This.
27811         (pthread_setcancelstate): Add an alias.
27812         * nptl/nptl-init.c (pthread_functions): Replace
27813         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
27814         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
27815         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
27816         hidden_proto.
27817         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
27818         it with hidden_def.
27819         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
27820         (pthread_setcancelstate): Renamed to ...
27821         (__pthread_setcancelstate): This.
27822         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
27823         __libc_ptf_call with __pthread_setcancelstate.
27825 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27826             Andreas Schwab  <schwab@suse.de>
27828         [BZ #17118]
27829         * math/s_ctan.c (__ctan): Determine sign of zero real part of
27830         result when imaginary part of argument is infinite using sine and
27831         cosine.
27832         * math/s_ctanf.c (__ctanf): Likewise.
27833         * math/s_ctanl.c (__ctanl): Likewise.
27834         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
27835         of result when real part of argument is infinite using sine and
27836         cosine.
27837         * math/s_ctanhf.c (__ctanhf): Likewise.
27838         * math/s_ctanhl.c (__ctanhl): Likewise.
27839         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
27840         (ctanh_test_data): Add more tests of ctanh.
27842 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
27844         [BZ #15384]
27845         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
27846         bit-mask as in subtraction.
27847         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
27848         Likewise.
27849         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
27850         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
27851         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
27853         [BZ #18951]
27854         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
27855         underflow exception for small results.
27856         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27857         Likewise.
27858         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27859         Likewise.
27860         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27861         Likewise.
27862         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
27863         Likewise.
27864         * math/auto-libm-test-in: Add more tests of tgamma.
27865         * math/auto-libm-test-out: Regenerated.
27867 2015-09-17  Andreas Schwab  <schwab@suse.de>
27869         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
27871 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
27873         [BZ #18977]
27874         * math/bits/mathcalls.h
27875         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
27876         not declare.
27877         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
27878         Likewise.
27879         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
27880         Likewise.
27881         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
27882         Likewise.
27883         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
27884         Likewise.
27885         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
27886         Likewise.
27887         * conform/data/math.h-data
27888         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
27889         function.
27890         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
27891         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
27892         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
27893         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
27894         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
27895         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
27896         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
27897         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
27898         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
27899         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
27900         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
27902         [BZ #6803]
27903         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
27904         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
27905         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
27906         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
27907         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
27908         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
27909         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
27910         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
27911         [NO_LONG_DOUBLE] (scalbnl): Likewise.
27912         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
27913         Likewise.
27914         [NO_LONG_DOUBLE] (scalbnl): Likewise.
27915         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
27916         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
27917         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
27918         long_double_symbol calls.
27919         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
27920         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
27921         strong alias of __ldexpl.
27922         (scalbnl): Define using long_double_symbol.
27923         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
27924         Remove alias.
27925         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
27926         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
27927         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
27928         (scalbln_test_data): Add more errno expectations.
27930 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
27932         Cache the host port like we cache the task port.  This way we do not
27933         need to call the kernel just to get the port.  Furthermore, we no
27934         longer increase the reference count on every invocation of
27935         `mach_host_self'.
27937         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
27938         Protect declarations against the macro expansion.
27939         * mach/mach_init.c (__mach_host_self_): New variable.
27940         (mach_init): Initialize `__mach_host_self_'.
27941         * mach/mach_init.h (__mach_host_self_): New declaration.
27942         (__mach_host_self, mach_host_self): New macros.
27943         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
27944         Release reference.
27946 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
27948         [BZ #4404]
27949         * po/de.po: Update from Translation Project.
27951         [BZ #16415]
27952         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
27953         (__expm1l): Remove code to handle positive infinity and overflow.
27954         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
27955         variable.
27956         (__expm1l): Remove code to handle positive infinity and overflow.
27958 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
27959             Paul Pluzhnikov  <ppluzhnikov@google.com>
27961         [BZ #18872]
27962         * stdio-common/Makefile (tst-printf-bz18872): New test.
27963         (tst-printf-bz18872-mem.out): Likewise.
27964         * stdio-common/tst-printf-bz18872.sh: Generate new test.
27965         * stdio-common/vfprintf.c: Fix memory leaks.
27967 2015-09-16  Andreas Schwab  <schwab@suse.de>
27969         [BZ #17244]
27970         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
27971         Remove extra va_start/va_end calls.
27973         [BZ #17243]
27974         * posix/execl.c (execl): Add missing va_end.
27975         * posix/execle.c (execle): Likewise.
27976         * posix/execlp.c (execlp): Likewise.
27978 2015-09-15  Roland McGrath  <roland@hack.frob.com>
27980         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
27981         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
27983 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
27985         [BZ #18967]
27986         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
27987         undefine around includes of <bits/mathcalls.h>.
27988         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
27989         not declare function.
27990         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
27991         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
27992         (scalb): Likewise.
27993         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
27994         not define macro.
27995         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
27996         variable.
27997         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
27998         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
27999         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
28001         [BZ #18857]
28002         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
28003         return non-finite argument without doing ordered comparisons on
28004         it.
28006         [BZ #16296]
28007         * math/fenv.h (fegetround): Use __attribute_pure__.
28008         * include/fenv.h (__fegetround): Likewise.
28010         [BZ #18595]
28011         * math/s_ctan.c (__ctan): Force underflow exception for results
28012         whose real or imaginary part has small absolute value.
28013         * math/s_ctanf.c (__ctanf): Likewise.
28014         * math/s_ctanh.c (__ctanh): Likewise.
28015         * math/s_ctanhf.c (__ctanhf): Likewise.
28016         * math/s_ctanhl.c (__ctanhl): Likewise.
28017         * math/s_ctanl.c (__ctanl): Likewise.
28018         * math/auto-libm-test-in: Do not allow missing underflow for ctan
28019         and ctanh.  Add more tests of ctan and ctanh.
28021         [BZ #15918]
28022         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
28023         handling of cases where one argument is an infinity.
28025         [BZ #18875]
28026         [BZ #18966]
28027         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
28028         (MO): New macro.
28029         (__ieee754_exp10): For small results, force underflow exception
28030         and remove excess range and precision from return value.
28031         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
28032         (MO): New macro.
28033         (__ieee754_exp10f): For small results, force underflow exception
28034         and remove excess range and precision from return value.
28035         * math/auto-libm-test-in: Add more tests of exp10.
28036         * math/auto-libm-test-out: Regenerated.
28038 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
28040         [BZ #18875]
28041         [BZ #18961]
28042         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
28043         (MO): New macro.
28044         (__ieee754_exp): For small results, force underflow exception and
28045         remove excess range and precision from return value.
28046         (__exp_finite): Likewise.
28047         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
28048         (MO): New macro.
28049         (__ieee754_expf): For small results, force underflow exception and
28050         remove excess range and precision from return value.
28051         (__expf_finite): Likewise.
28052         * math/auto-libm-test-in: Add more tests of exp.
28053         * math/auto-libm-test-out: Regenerated.
28055         [BZ #16521]
28056         [BZ #18875]
28057         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
28058         small results.
28059         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
28060         (MO): New macro.
28061         (__ieee754_exp2): For small results, force underflow exception and
28062         remove excess range and precision from return value.
28063         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
28064         (MO): New macro.
28065         (__ieee754_exp2f): For small results, force underflow exception
28066         and remove excess range and precision from return value.
28067         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
28068         (MO): New macro.
28069         (__ieee754_exp2l): Force underflow exception for small results.
28070         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28071         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28072         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
28073         (MO): New macro.
28074         (__ieee754_exp2l): Force underflow exception for small results.
28075         * math/auto-libm-test-in: Add more tests or exp2.
28076         * math/auto-libm-test-out: Regenerated.
28078 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
28080         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
28082         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
28083         /dev/null.
28085 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28087         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28088         io fs process)): Drop spurious backslash.
28090 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28092         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
28093         Use sysinfo system call instead of parsing /proc/meminfo.
28094         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
28095         Likewise.
28097 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
28099         [BZ #16985]
28100         * programs/localedef.c (main): Display argv[remaining] when
28101         output_path is NULL.
28103 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
28105         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28106         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
28107         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
28108         tanh.
28109         * math/auto-libm-test-out: Regenerated.
28110         * sysdeps/i386/fpu/libm-test-ulps: Update.
28111         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28112         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28115 2015-09-11  Roland McGrath  <roland@hack.frob.com>
28117         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
28118         Use 'override' keyword to freeze the value here, preventing
28119         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
28121 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
28123         [BZ #14912]
28124         * sysdeps/aarch64/bits/atomic.h: Move to ...
28125         * sysdeps/aarch64/atomic-machine.h: ...here.
28126         (_AARCH64_BITS_ATOMIC_H): Rename macro to
28127         _AARCH64_ATOMIC_MACHINE_H.
28128         * sysdeps/alpha/bits/atomic.h: Move to ...
28129         * sysdeps/alpha/atomic-machine.h: ...here.
28130         * sysdeps/arm/bits/atomic.h: Move to ...
28131         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
28132         * bits/atomic.h: Move to ...
28133         * sysdeps/generic/atomic-machine.h: ...here.
28134         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28135         * sysdeps/i386/bits/atomic.h: Move to ...
28136         * sysdeps/i386/atomic-machine.h: ...here.
28137         * sysdeps/ia64/bits/atomic.h: Move to ...
28138         * sysdeps/ia64/atomic-machine.h: ...here.
28139         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
28140         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
28141         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28142         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
28143         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
28144         * sysdeps/microblaze/bits/atomic.h: Move to ...
28145         * sysdeps/microblaze/atomic-machine.h: ...here.
28146         * sysdeps/mips/bits/atomic.h: Move to ...
28147         * sysdeps/mips/atomic-machine.h: ...here.
28148         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
28149         * sysdeps/powerpc/bits/atomic.h: Move to ...
28150         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
28151         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
28152         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
28153         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
28154         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
28155         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
28156         <atomic-machine.h> instead of <bits/atomic.h>.
28157         * sysdeps/s390/bits/atomic.h: Move to ...
28158         * sysdeps/s390/atomic-machine.h: ...here.
28159         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
28160         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
28161         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28162         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
28163         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
28164         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
28165         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
28166         * sysdeps/tile/bits/atomic.h: Move to ...
28167         * sysdeps/tile/atomic-machine.h: ...here.
28168         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
28169         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
28170         <sysdeps/tile/atomic-machine.h> instead of
28171         <sysdeps/tile/bits/atomic.h>.
28172         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28173         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
28174         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
28175         <sysdeps/tile/atomic-machine.h> instead of
28176         <sysdeps/tile/bits/atomic.h>.
28177         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28178         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
28179         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
28180         <sysdeps/arm/atomic-machine.h> instead of
28181         <sysdeps/arm/bits/atomic.h>.
28182         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
28183         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
28184         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28185         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
28186         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
28187         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28188         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
28189         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
28190         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
28191         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
28192         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
28193         * sysdeps/x86_64/bits/atomic.h: Move to ...
28194         * sysdeps/x86_64/atomic-machine.h: ...here.
28195         * include/atomic.h: Include <atomic-machine.h> instead of
28196         <bits/atomic.h>.
28198         * sysdeps/mips/mips32/libm-test-ulps: Update.
28199         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28201         [BZ #18952]
28202         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
28203         not convert non-integer negative arguments to int to determine the
28204         value of signgam.
28205         * math/auto-libm-test-in: Add more tests of lgamma.
28206         * math/auto-libm-test-out: Regenerated.
28208         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
28209         cosh, csqrt, erfc, expm1 and lgamma.
28210         * math/auto-libm-test-out: Regenerated.
28211         * sysdeps/i386/fpu/libm-test-ulps: Update.
28212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28214 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
28216         [BZ #2542]
28217         [BZ #2543]
28218         [BZ #2558]
28219         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
28220         __lgamma_neg for arguments from -28.0 to -2.0.
28221         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
28222         __lgamma_negf for arguments from -15.0 to -2.0.
28223         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28224         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
28225         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
28226         Call __lgamma_negl for arguments from -33.0 to -2.0.
28227         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
28228         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
28229         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
28230         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
28231         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
28232         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
28233         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
28234         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
28235         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
28236         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
28237         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
28238         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
28239         (__lgamma_neg): Likewise.
28240         (__lgamma_negl): Likewise.
28241         (__lgamma_product): Likewise.
28242         (__lgamma_productl): Likewise.
28243         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
28244         * math/auto-libm-test-in: Add more tests of lgamma.
28245         * math/auto-libm-test-out: Regenerated.
28246         * sysdeps/i386/fpu/libm-test-ulps: Update.
28247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28249 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
28251         [BZ #18675]
28252         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
28254 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
28256         [BZ #14912]
28257         * bits/libc-lock.h: Move to ...
28258         * sysdeps/generic/libc-lock.h: ...here.
28259         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28260         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
28261         * sysdeps/mach/hurd/libc-lock.h: ...here.
28262         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28263         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
28264         * sysdeps/mach/bits/libc-lock.h: Move to ...
28265         * sysdeps/mach/libc-lock.h: ...here.
28266         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28267         * sysdeps/nptl/bits/libc-lock.h: Move to ...
28268         * sysdeps/nptl/libc-lock.h: ...here.
28269         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28270         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
28271         * sysdeps/nptl/libc-lockP.h: ...here.
28272         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
28273         * crypt/crypt_util.c: Include <libc-lock.h> instead of
28274         <bits/libc-lock.h>.
28275         * dirent/scandir-tail.c: Likewise.
28276         * dlfcn/dlerror.c: Likewise.
28277         * elf/dl-close.c: Likewise.
28278         * elf/dl-iteratephdr.c: Likewise.
28279         * elf/dl-lookup.c: Likewise.
28280         * elf/dl-open.c: Likewise.
28281         * elf/dl-support.c: Likewise.
28282         * elf/dl-writev.h: Likewise.
28283         * elf/rtld.c: Likewise.
28284         * grp/fgetgrent.c: Likewise.
28285         * gshadow/fgetsgent.c: Likewise.
28286         * gshadow/sgetsgent.c: Likewise.
28287         * iconv/gconv_conf.c: Likewise.
28288         * iconv/gconv_db.c: Likewise.
28289         * iconv/gconv_dl.c: Likewise.
28290         * iconv/gconv_int.h: Likewise.
28291         * iconv/gconv_trans.c: Likewise.
28292         * include/link.h: Likewise.
28293         * inet/getnameinfo.c: Likewise.
28294         * inet/getnetgrent.c: Likewise.
28295         * inet/getnetgrent_r.c: Likewise.
28296         * intl/bindtextdom.c: Likewise.
28297         * intl/dcigettext.c: Likewise.
28298         * intl/finddomain.c: Likewise.
28299         * intl/gettextP.h: Likewise.
28300         * intl/loadmsgcat.c: Likewise.
28301         * intl/localealias.c: Likewise.
28302         * intl/textdomain.c: Likewise.
28303         * libidn/idn-stub.c: Likewise.
28304         * libio/libioP.h: Likewise.
28305         * locale/duplocale.c: Likewise.
28306         * locale/freelocale.c: Likewise.
28307         * locale/newlocale.c: Likewise.
28308         * locale/setlocale.c: Likewise.
28309         * login/getutent_r.c: Likewise.
28310         * login/getutid_r.c: Likewise.
28311         * login/getutline_r.c: Likewise.
28312         * login/utmp-private.h: Likewise.
28313         * login/utmpname.c: Likewise.
28314         * malloc/mtrace.c: Likewise.
28315         * misc/efgcvt.c: Likewise.
28316         * misc/error.c: Likewise.
28317         * misc/fstab.c: Likewise.
28318         * misc/getpass.c: Likewise.
28319         * misc/mntent.c: Likewise.
28320         * misc/syslog.c: Likewise.
28321         * nis/nis_call.c: Likewise.
28322         * nis/nis_callback.c: Likewise.
28323         * nis/nss-default.c: Likewise.
28324         * nis/nss_compat/compat-grp.c: Likewise.
28325         * nis/nss_compat/compat-initgroups.c: Likewise.
28326         * nis/nss_compat/compat-pwd.c: Likewise.
28327         * nis/nss_compat/compat-spwd.c: Likewise.
28328         * nis/nss_nis/nis-alias.c: Likewise.
28329         * nis/nss_nis/nis-ethers.c: Likewise.
28330         * nis/nss_nis/nis-grp.c: Likewise.
28331         * nis/nss_nis/nis-hosts.c: Likewise.
28332         * nis/nss_nis/nis-network.c: Likewise.
28333         * nis/nss_nis/nis-proto.c: Likewise.
28334         * nis/nss_nis/nis-pwd.c: Likewise.
28335         * nis/nss_nis/nis-rpc.c: Likewise.
28336         * nis/nss_nis/nis-service.c: Likewise.
28337         * nis/nss_nis/nis-spwd.c: Likewise.
28338         * nis/nss_nisplus/nisplus-alias.c: Likewise.
28339         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
28340         * nis/nss_nisplus/nisplus-grp.c: Likewise.
28341         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
28342         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
28343         * nis/nss_nisplus/nisplus-network.c: Likewise.
28344         * nis/nss_nisplus/nisplus-proto.c: Likewise.
28345         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
28346         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
28347         * nis/nss_nisplus/nisplus-service.c: Likewise.
28348         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
28349         * nis/ypclnt.c: Likewise.
28350         * nptl/libc_pthread_init.c: Likewise.
28351         * nss/getXXbyYY.c: Likewise.
28352         * nss/getXXent.c: Likewise.
28353         * nss/getXXent_r.c: Likewise.
28354         * nss/nss_db/db-XXX.c: Likewise.
28355         * nss/nss_db/db-netgrp.c: Likewise.
28356         * nss/nss_db/nss_db.h: Likewise.
28357         * nss/nss_files/files-XXX.c: Likewise.
28358         * nss/nss_files/files-alias.c: Likewise.
28359         * nss/nsswitch.c: Likewise.
28360         * posix/regex_internal.h: Likewise.
28361         * posix/wordexp.c: Likewise.
28362         * pwd/fgetpwent.c: Likewise.
28363         * resolv/res_hconf.c: Likewise.
28364         * resolv/res_libc.c: Likewise.
28365         * shadow/fgetspent.c: Likewise.
28366         * shadow/lckpwdf.c: Likewise.
28367         * shadow/sgetspent.c: Likewise.
28368         * socket/opensock.c: Likewise.
28369         * stdio-common/reg-modifier.c: Likewise.
28370         * stdio-common/reg-printf.c: Likewise.
28371         * stdio-common/reg-type.c: Likewise.
28372         * stdio-common/vfprintf.c: Likewise.
28373         * stdio-common/vfscanf.c: Likewise.
28374         * stdlib/abort.c: Likewise.
28375         * stdlib/cxa_atexit.c: Likewise.
28376         * stdlib/fmtmsg.c: Likewise.
28377         * stdlib/random.c: Likewise.
28378         * stdlib/setenv.c: Likewise.
28379         * string/strsignal.c: Likewise.
28380         * sunrpc/auth_none.c: Likewise.
28381         * sunrpc/bindrsvprt.c: Likewise.
28382         * sunrpc/create_xid.c: Likewise.
28383         * sunrpc/key_call.c: Likewise.
28384         * sunrpc/rpc_thread.c: Likewise.
28385         * sysdeps/arm/backtrace.c: Likewise.
28386         * sysdeps/generic/ldsodefs.h: Likewise.
28387         * sysdeps/generic/stdio-lock.h: Likewise.
28388         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
28389         * sysdeps/i386/backtrace.c: Likewise.
28390         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28391         * sysdeps/m68k/backtrace.c: Likewise.
28392         * sysdeps/mach/hurd/cthreads.c: Likewise.
28393         * sysdeps/mach/hurd/dirstream.h: Likewise.
28394         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28395         * sysdeps/nptl/malloc-machine.h: Likewise.
28396         * sysdeps/nptl/stdio-lock.h: Likewise.
28397         * sysdeps/posix/dirstream.h: Likewise.
28398         * sysdeps/posix/getaddrinfo.c: Likewise.
28399         * sysdeps/posix/system.c: Likewise.
28400         * sysdeps/pthread/aio_suspend.c: Likewise.
28401         * sysdeps/s390/s390-32/backtrace.c: Likewise.
28402         * sysdeps/s390/s390-64/backtrace.c: Likewise.
28403         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28404         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28405         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
28406         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
28407         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
28408         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28409         * sysdeps/unix/sysv/linux/system.c: Likewise.
28410         * sysdeps/x86_64/backtrace.c: Likewise.
28411         * time/alt_digit.c: Likewise.
28412         * time/era.c: Likewise.
28413         * time/tzset.c: Likewise.
28414         * wcsmbs/wcsmbsload.c: Likewise.
28415         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
28416         instead of <bits/libc-lock.h> in comment.
28418 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
28420         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
28421         Only use .set mips2 if the current ISA is below mips2.
28422         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
28423         Likewise.
28424         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
28425         mips32r2 if the current ISA is below mips32r2.
28426         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
28427         (TLS_IE): Updated to use the TLD_RDHWR macro.
28428         (TLS_LE): Likewise.
28429         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
28430         __ASSEMBLER__ condition.
28432 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28434         Fix parallel build of before-compile targets.
28436         * sysdeps/mach/Makefile ($(patsubst
28437         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
28438         mach-before-compile target.
28439         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28440         io fs process)): Move rule to dedicated hurd-before-compile target.
28442 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28444         Fix rules generating headers in hurd/ and mach/ when initial make call
28445         has subdir= explicitly set.
28447         * sysdeps/mach/Makefile ($(patsubst
28448         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
28449         calling $(MAKE).
28450         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28451         io fs process)): Force subdir to hurd when calling $(MAKE).
28452         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
28453         subdir to mach when calling $(MAKE).
28455 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
28457         Check sysheaders when looking for Mach and Hurd headers
28459         * sysdeps/mach/configure.ac: Add sysheaders check.
28460         * sysdeps/mach/configure: Regenerate.
28461         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
28462         * sysdeps/mach/hurd/configure: Regenerate.
28464 2015-09-04  Roland McGrath  <roland@hack.frob.com>
28466         [BZ #18921]
28467         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
28468         Fix inverted sense of test of 'o_directory_works' value.
28469         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
28470         Bernhard Voelker <mail@bernhard-voelker.de>.
28472 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28474         [BZ #14912]
28475         * bits/linkmap.h: Move to ...
28476         * sysdeps/generic/linkmap.h: ...here.
28477         * sysdeps/aarch64/bits/linkmap.h: Move to ...
28478         * sysdeps/aarch64/linkmap.h: ...here.
28479         * sysdeps/arm/bits/linkmap.h: Move to ...
28480         * sysdeps/arm/linkmap.h: ...here.
28481         * sysdeps/hppa/bits/linkmap.h: Move to ...
28482         * sysdeps/hppa/linkmap.h: ...here.
28483         * sysdeps/ia64/bits/linkmap.h: Move to ...
28484         * sysdeps/ia64/linkmap.h: ...here.
28485         * sysdeps/mips/bits/linkmap.h: Move to ...
28486         * sysdeps/mips/linkmap.h: ...here.
28487         * sysdeps/s390/bits/linkmap.h: Move to ...
28488         * sysdeps/s390/linkmap.h: ...here.
28489         * sysdeps/sh/bits/linkmap.h: Move to ...
28490         * sysdeps/sh/linkmap.h: ...here.
28491         * sysdeps/x86/bits/linkmap.h: Move to ...
28492         * sysdeps/x86/linkmap.h: ...here.
28493         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
28495 2015-09-04  Andreas Schwab  <schwab@suse.de>
28497         [BZ #18635]
28498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
28499         (__makecontext): Terminate FDE before return label.
28500         (__novec_makecontext): Likewise.
28502 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28504         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
28505         first member of struct sv in syscall macro.
28507 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28509         [BZ #14912]
28510         * bits/stdio-lock.h: Move to ...
28511         * sysdeps/generic/stdio-lock.h: ...here.
28512         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28513         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
28514         * sysdeps/nptl/stdio-lock.h: ...here.
28515         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28516         * include/libio.h: Include <stdio-lock.h> instead of
28517         <bits/stdio-lock.h>.
28518         * sysdeps/nptl/fork.c: Likewise.
28519         * sysdeps/pthread/flockfile.c: Likewise.
28520         * sysdeps/pthread/ftrylockfile.c: Likewise.
28521         * sysdeps/pthread/funlockfile.c: Likewise.
28523         [BZ #14912]
28524         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
28525         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
28526         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
28527         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
28528         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
28529         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28530         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
28532 2015-09-03  Roland McGrath  <roland@hack.frob.com>
28534         * elf/Makefile (test-xfail-tst-protected1a): New variable.
28535         (test-xfail-tst-protected1b): New variable.
28537 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
28539         [BZ #14912]
28540         * bits/libc-tsd.h: Move to ...
28541         * sysdeps/generic/libc-tsd.h: ...here.
28542         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
28543         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
28544         * sysdeps/mach/hurd/libc-tsd.h: ...here.
28545         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
28546         * include/ctype.h: Include <libc-tsd.h> instead of
28547         <bits/libc-tsd.h>.
28548         * include/rpc/rpc.h: Likewise.
28549         * locale/localeinfo.h: Likewise.
28550         * sunrpc/rpc_thread.c: Likewise.
28551         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28552         * sysdeps/nptl/malloc-machine.h: Likewise.
28554         * Makefile (headers): Remove bits/libc-lock.h.
28555         * libio/Makefile (headers): Remove bits/stdio-lock.h.
28557         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
28558         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
28559         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
28560         <bits/stdio-lock.h>.
28561         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
28562         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
28564 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28566         [BZ #18757]
28567         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
28568         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
28569         BZ #18757.
28571 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28573         * malloc/mtrace.pl: Filter out NULL entries.
28575 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
28577         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
28578         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
28579         macro.
28581         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
28582         (TCP_CC_INFO): Likewise.
28583         (TCP_SAVE_SYN): Likewise.
28584         (TCP_SAVED_SYN): Likewise.
28586 2015-08-31  Brett Neumeier <brett@neumeier.us>
28588         [BZ #18870]
28589         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
28591 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
28593         [BZ #18873]
28594         Fix broken overflow check in posix_fallocate
28595         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
28596         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
28597         Fix parenthesization typo.
28599 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
28601         [BZ #18887]
28602         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
28603         tst-mntent-blank-passno.
28604         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
28605         * misc/tst-mntent-blank-corrupt.c: New test.
28606         * misc/tst-mntent-blank-passno.c: New test ripped from ...
28607         * misc/tst-mntent.c (do_test): ... here.
28609 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
28611         [BZ #4404]
28612         * po/de.po: Fix SIGALRM typo.
28614 2015-08-28  James Perkins  <james@loowit.net>
28616         * time/tst-strptime2.c (tests): Replace short list of test
28617         strings for strptime %z specifier with code which exhaustively
28618         tests every combination of sign and 0 to 5 digits. Tests for
28619         rejection of invalid strings.
28621 2015-08-28  James Perkins  <james@loowit.net>
28623         [BZ #16141]
28624         * time/strptime_l.c (__strptime_internal): Fix %z minutes
28625         calculation, removing incorrect decimal time rounding, so that
28626         all minute values result in a valid seconds value.
28627         * time/strptime_l.c (__strptime_internal): Extend %z time zone
28628         offset range limits to UTC-99:59 through UTC+99:59 to parse
28629         current and historical use cases.
28630         * time/tst-strptime2.c (tests): Modify and add tests for the
28631         strptime %z input field descriptor, specifically conversion of
28632         minutes to seconds and validating an offset range of -9959 to
28633         +9959.
28635 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28636             Dmitry V. Levin  <ldv@altlinux.org>
28638         [BZ #18877]
28639         * posix/Makefile (tests): Add tst-mmap-offset.
28640         * posix/tst-mmap.c: New file.
28641         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
28642         offset calculation for negative values.
28644 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28646         * sysdeps/i386/init-arch.h: New file.
28647         * sysdeps/i386/i586/init-arch.h: Likewise.
28648         * sysdeps/i386/i686/init-arch.h: Likewise.
28649         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
28650         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
28651         * sysdeps/x86/cpu-features.h (bit_I586): New.
28652         (bit_I686): Likewise.
28653         (bit_CX8): Likewise.
28654         (bit_CMOV): Likewise.
28655         (index_CX8): Likewise.
28656         (index_CMOV): Likewise.
28657         (index_I586): Likewise.
28658         (index_I686): Likewise.
28659         (reg_CX8): Likewise.
28660         (reg_CMOV): Likewise.
28661         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
28662         available at compile-time.
28663         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
28664         available at compile-time.
28665         * sysdeps/x86/init-arch.h (USE_I586): New macro.
28666         (USE_I686): Likewise.
28668 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28670         * sysdeps/i386/bcopy.S: New file.
28671         * sysdeps/i386/bzero.S: Likewise.
28672         * sysdeps/i386/memcpy.S: Likewise.
28673         * sysdeps/i386/memmove.S: Likewise.
28674         * sysdeps/i386/mempcpy.S: Likewise.
28675         * sysdeps/i386/memset.S: Likewise.
28676         * sysdeps/i386/bzero.c: Removed.
28677         * sysdeps/i386/memset.c: Likewise.
28678         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
28679         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
28680         * sysdeps/i386/i586/memset_chk.S: Likewise.
28681         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
28682         * sysdeps/i386/memcpy_chk.S: Here.
28683         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
28684         * sysdeps/i386/memmove_chk.S: Here.
28685         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
28686         * sysdeps/i386/mempcpy_chk.S: Likewise.
28687         * sysdeps/i386/i686/memset_chk.S: Moved to ...
28688         * sysdeps/i386/memset_chk.S: Likewise.
28690 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
28692         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
28693         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
28694         file, move DIAG_POP_NEEDS_COMMENT to end of file.
28695         * soft-fp/fmadf4.c: Ditto.
28696         * soft-fp/fmatf4.c: Ditto.
28698 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28700         * sysdeps/i386/i586/Implies: Removed.
28701         * sysdeps/i386/i686/Implies: Likewise.
28703 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28705         * sysdeps/i386/i486/strlen.S: Moved to ...
28706         * sysdeps/i386/strlen.S: Here.
28708 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28710         * sysdeps/i386/i486/strcat.S: Moved to ...
28711         * sysdeps/i386/strcat.S: Here.
28713 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28715         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
28716         * sysdeps/i386/pthread_spin_trylock.S: Here.
28717         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
28718         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
28720 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28722         * sysdeps/i386/i486/string-inlines.c: Moved to ...
28723         * sysdeps/i386/string-inlines.c: Here.
28725 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28727         * sysdeps/i386/i486/htonl.S: Moved ...
28728         * sysdeps/i386/htonl.S: here.
28730 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28732         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
28733         * sysdeps/i386/bits/atomic.h: Here.
28735 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28737         * sysdeps/i386/i486/Versions: Removed.
28739 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
28741         [BZ #2898]
28742         * misc/mktemp.c: Add mkdtemp to the link_warning message.
28743         Based on patch by Aurelien Jarno.
28745 2015-08-26  Stan Shebs  <stanshebs@google.com>
28747         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
28748         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
28750 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28752         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
28753         * sysdeps/powerpc/dl-procinfo.c:
28754         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
28755         feature so it shows when LD_SHOW_AUXV=1.
28757 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28759         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
28760         (__arch_compare_and_exchange_val_32_acq): Remove and use common
28761         definition.  ISA 2.07B no longer requires full sync.
28763 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
28765         [BZ #18863]
28766         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
28767         (si_call_addr): Define.
28768         (si_syscall): Define.
28769         (si_arch): Define.
28771 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
28773         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
28774         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
28775         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
28776         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
28777         (__memset_zero_constant_len_parameter): New.
28778         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
28779         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
28780         (__memset_zero_constant_len_parameter): Don't define if
28781         __memset_chk or USE_AS_BZERO are defined.
28783         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
28784         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
28785         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
28787         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
28788         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
28789         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
28790         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
28791         comments.
28792         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
28793         -mno-mmx for $(all-rtld-routines).
28794         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
28795         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
28796         i386.
28798 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28800         * sysdeps/generic/unwind.h
28801         (_Unwind_Word): Use __mode__(__unwind_word__)
28802         instead of __mode__(__word__).
28803         (_Unwind_Sword): Likewise.
28805         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28806         (MAX_NEEDED_INPUT): New define.
28807         (MAX_NEEDED_OUTPUT): New define.
28809         * NEWS: New item for IBM z13 string optimizations.
28811         * sysdeps/s390/multiarch/memrchr-c.c: New File.
28812         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
28813         * sysdeps/s390/multiarch/memrchr.c: Likewise.
28814         * sysdeps/s390/multiarch/Makefile
28815         (sysdep_routines): Add memrchr functions.
28816         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28817         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
28819         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
28820         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
28821         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
28822         * sysdeps/s390/multiarch/Makefile
28823         (sysdep_routines): Add wmemcmp functions.
28824         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28825         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
28826         * benchtests/bench-wmemcmp.c: New File.
28827         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
28829         * sysdeps/s390/multiarch/wmemset-c.c: New File.
28830         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
28831         * sysdeps/s390/multiarch/wmemset.c: Likewise.
28832         * sysdeps/s390/multiarch/Makefile
28833         (sysdep_routines): Add wmemset functions.
28834         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28835         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
28836         * wcsmbs/wmemset.c: Use WMEMSET if defined.
28837         * string/test-memset.c: Add wmemset support.
28838         * wcsmbs/test-wmemset.c: New File.
28839         * wcsmbs/Makefile (strop-tests): Add wmemset.
28840         * benchtests/bench-memset.c: Add wmemset support.
28841         * benchtests/bench-wmemset.c: New File.
28842         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
28844         * sysdeps/s390/multiarch/memccpy-c.c: New File.
28845         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
28846         * sysdeps/s390/multiarch/memccpy.c: Likewise.
28847         * sysdeps/s390/multiarch/Makefile
28848         (sysdep_routines): Add memccpy functions.
28849         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28850         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
28851         * string/memccpy.c: Use MEMCCPY if defined.
28853         * sysdeps/s390/multiarch/memchr-vx.S: New File.
28854         * sysdeps/s390/multiarch/memchr.c: Likewise.
28855         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
28856         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
28857         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
28858         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
28859         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
28860         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
28861         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
28862         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
28863         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
28864         and rawmemchr functions.
28865         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
28866         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
28867         and wmemchr.
28868         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
28869         * string/test-memchr.c: Add wmemchr support.
28870         * wcsmbs/test-wmemchr.c: New File.
28871         * wcsmbs/Makefile (strop-tests): Add wmemchr.
28872         * benchtests/bench-memchr.c: Add wmemchr support.
28873         * benchtests/bench-wmemchr.c: New File.
28874         * benchtests/Makefile (wcsmbs-bench): wmemchr.
28876         * sysdeps/s390/multiarch/strcspn-c.c: New File.
28877         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
28878         * sysdeps/s390/multiarch/strcspn.c: Likewise.
28879         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
28880         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
28881         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
28882         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
28883         wcscspn functions.
28884         * sysdeps/s390/multiarch/ifunc-impl-list.c
28885         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
28886         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
28887         * string/test-strcspn.c: Add wcscspn support.
28888         * wcsmbs/test-wcscspn.c: New File.
28889         * wcsmbs/Makefile (strop-tests): Add wcscspn.
28890         * benchtests/bench-strcspn.c: Add wcscspn support.
28891         * benchtests/bench-wcscspn.c: New File.
28892         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
28894         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
28895         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
28896         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
28897         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
28898         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
28899         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
28900         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
28901         wcspbrk functions.
28902         * sysdeps/s390/multiarch/ifunc-impl-list.c
28903         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
28904         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
28905         * string/test-strpbrk.c: Add wcspbrk support.
28906         * wcsmbs/test-wcspbrk.c: New File.
28907         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
28908         * benchtests/bench-strpbrk.c: Add wcspbrk support.
28909         * benchtests/bench-wcspbrk.c: New File.
28910         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
28912         * sysdeps/s390/multiarch/strspn-c.c: New File.
28913         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
28914         * sysdeps/s390/multiarch/strspn.c: Likewise.
28915         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
28916         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
28917         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
28918         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
28919         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
28920         wcsspn functions.
28921         * sysdeps/s390/multiarch/ifunc-impl-list.c
28922         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
28923         * string/test-strspn.c: Add wcsspn support.
28924         * wcsmbs/test-wcsspn.c: New File.
28925         * wcsmbs/Makefile (strop-tests): Add wcsspn.
28926         * benchtests/bench-strspn.c: Add wcsspn support.
28927         * benchtests/bench-wcsspn.c: New File.
28928         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
28930         * sysdeps/s390/multiarch/strrchr-c.c: New File.
28931         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
28932         * sysdeps/s390/multiarch/strrchr.c: Likewise.
28933         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
28934         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
28935         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
28936         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
28937         wcsrchr functions.
28938         * sysdeps/s390/multiarch/ifunc-impl-list.c
28939         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
28940         * benchtests/bench-wcsrchr.c: New File.
28941         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
28943         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
28944         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
28945         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
28946         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
28947         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
28948         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
28949         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
28950         wcschrnul functions.
28951         * sysdeps/s390/multiarch/ifunc-impl-list.c
28952         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
28953         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
28954         * string/test-strchr.c: Add wcschrnul support.
28955         * wcsmbs/test-wcschrnul.c: New File.
28956         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
28957         * benchtests/bench-strchr.c: Add wcschrnul support.
28958         * benchtests/bench-wcschrnul.c: New File.
28959         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
28961         * sysdeps/s390/multiarch/strchr-c.c: New File.
28962         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
28963         * sysdeps/s390/multiarch/strchr.c: Likewise.
28964         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
28965         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
28966         * sysdeps/s390/multiarch/wcschr.c: Likewise.
28967         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
28968         wcschr functions.
28969         * sysdeps/s390/multiarch/ifunc-impl-list.c
28970         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
28971         * string/strchr.c (STRCHR): Define and use macro.
28972         * benchtests/bench-wcschr.c: New File.
28973         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
28975         * sysdeps/s390/multiarch/strncmp-c.c: New File.
28976         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
28977         * sysdeps/s390/multiarch/strncmp.c: Likewise.
28978         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
28979         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
28980         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
28981         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
28982         wcsncmp functions.
28983         * sysdeps/s390/multiarch/ifunc-impl-list.c
28984         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
28985         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
28986         * benchtests/bench-strncmp.c: Add wcsncmp support.
28987         * benchtests/bench-wcsncmp.c: New File.
28988         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
28990         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
28991         * sysdeps/s390/multiarch/strcmp.c: Likewise.
28992         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
28993         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
28994         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
28995         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
28996         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
28997         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
28998         wcscmp functions.
28999         * sysdeps/s390/multiarch/ifunc-impl-list.c
29000         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
29001         * string/strcmp.c (STRCMP): Define and use macro.
29002         * benchtests/bench-wcscmp.c: New File.
29003         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
29004         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
29005         instead of _HAVE_STRING_ARCH_memchr.
29007         * sysdeps/s390/multiarch/strncat-c.c: New File.
29008         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
29009         * sysdeps/s390/multiarch/strncat.c: Likewise.
29010         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
29011         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
29012         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
29013         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
29014         wcsncat functions.
29015         * sysdeps/s390/multiarch/ifunc-impl-list.c
29016         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
29017         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
29018         * string/test-strncat.c: Add wcsncat support.
29019         * wcsmbs/test-wcsncat.c: New File.
29020         * wcsmbs/Makefile (strop-tests): Add wcsncat.
29021         * benchtests/bench-strncat.c: Add wcsncat support.
29022         * benchtests/bench-wcsncat.c: New File.
29023         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
29025         * sysdeps/s390/multiarch/strcat-c.c: New File.
29026         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
29027         * sysdeps/s390/multiarch/strcat.c: Likewise.
29028         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
29029         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
29030         * sysdeps/s390/multiarch/wcscat.c: Likewise.
29031         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
29032         wcscat functions.
29033         * sysdeps/s390/multiarch/ifunc-impl-list.c
29034         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
29035         * string/strcat.c (STRCAT): Define and use macro.
29036         * wcsmbs/wcscat.c: Use WCSCAT if defined.
29037         * string/test-strcat.c: Add wcscat support.
29038         * wcsmbs/test-wcscat.c: New File.
29039         * wcsmbs/Makefile (strop-tests): Add wcscat.
29040         * benchtests/bench-strcat.c: Add wcscat support.
29041         * benchtests/bench-wcscat.c: New File.
29042         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
29044         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
29045         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
29046         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
29047         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
29048         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
29049         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
29050         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
29051         wcpncpy functions.
29052         * sysdeps/s390/multiarch/ifunc-impl-list.c
29053         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
29054         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
29055         * string/test-stpncpy.c: Add wcpncpy support.
29056         * wcsmbs/test-wcpncpy.c: New File.
29057         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
29058         * benchtests/bench-stpncpy.c: Add wcpncpy support.
29059         * benchtests/bench-wcpncpy.c: New File.
29060         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
29062         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
29063         * sysdeps/s390/multiarch/strncpy.c: Likewise.
29064         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
29065         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
29066         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
29067         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
29068         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
29069         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
29070         wcsncpy functions.
29071         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
29072         * sysdeps/s390/multiarch/ifunc-impl-list.c
29073         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
29074         * string/test-strncpy.c: Add wcsncpy support.
29075         * wcsmbs/test-wcsncpy.c: New File.
29076         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
29077         * benchtests/bench-strncpy.c: Add wcsncpy support.
29078         * benchtests/bench-wcsncpy.c: New File.
29079         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
29081         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
29082         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
29083         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
29084         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
29085         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
29086         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
29087         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
29088         wcpcpy functions.
29089         * string/stpcpy.c: Use STPCPY if defined.
29090         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
29091         * sysdeps/s390/multiarch/ifunc-impl-list.c
29092         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
29093         * string/test-stpcpy.c: Add wcpcpy support.
29094         * wcsmbs/test-wcpcpy.c: New File.
29095         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
29096         * benchtests/bench-stpcpy.c: Add wcpcpy support.
29097         * benchtests/bench-wcpcpy.c: New File.
29098         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
29100         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
29101         * sysdeps/s390/multiarch/strcpy.c: Likewise.
29102         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
29103         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
29104         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
29105         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
29106         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
29107         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
29108         wcscpy functions.
29109         * sysdeps/s390/multiarch/ifunc-impl-list.c
29110         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
29111         * benchtests/bench-wcscpy.c: New File.
29112         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
29114         * sysdeps/s390/multiarch/strnlen-c.c: New File.
29115         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
29116         * sysdeps/s390/multiarch/strnlen.c: Likewise.
29117         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
29118         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
29119         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
29120         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
29121         wcsnlen functions.
29122         * sysdeps/s390/multiarch/ifunc-impl-list.c
29123         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
29124         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
29125         * string/test-strnlen.c: Add wcsnlen support.
29126         * wcsmbs/test-wcsnlen.c: New File.
29127         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
29128         * benchtests/bench-strnlen.c: Add wcsnlen support.
29129         * benchtests/bench-wcsnlen.c: New File.
29130         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
29132         * sysdeps/s390/multiarch/Makefile: New File.
29133         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
29134         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
29135         * sysdeps/s390/multiarch/strlen.c: Likewise.
29136         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
29137         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
29138         * sysdeps/s390/multiarch/wcslen.c: Likewise.
29139         * string/strlen.c (STRLEN): Define and use macro.
29140         * sysdeps/s390/multiarch/ifunc-impl-list.c
29141         (IFUNC_VX_IMPL): New macro function.
29142         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
29143         * benchtests/Makefile (wcsmbs-bench): New variable.
29144         (string-bench-all): Added wcsmbs-bench.
29145         * benchtests/bench-wcslen.c: New File.
29147         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
29148         s390_vx_libc_ifunc2): New macro function.
29150         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
29151         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
29152         assembler support.
29153         * sysdeps/s390/configure: Regenerated.
29155         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
29156         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
29158         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
29159         * sysdeps/s390/dl-procinfo.h: Add vector capability.
29160         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
29162         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
29163         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
29164         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
29165         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
29166         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
29167         (memcmp, bcmp): Use __memcmp_default as alias source.
29168         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
29169         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
29170         Rename to __memcmp_default.
29171         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
29172         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
29173         (memcpy): Use __memcpy_default as alias source.
29174         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
29175         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
29176         Rename to __memcpy_default.
29177         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
29178         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
29179         (memset): Use __memset_default as alias source.
29180         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
29181         * sysdeps/s390/s390-32/memset.S (__memset_g5):
29182         Rename to __memset_default.
29183         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
29184         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
29185         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
29186         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
29187         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
29188         (memcmp, bcmp): Use __memcmp_default as alias source.
29189         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
29190         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
29191         Rename to __memcmp_default.
29192         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
29193         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
29194         (memcpy): Use __memcpy_default as alias source.
29195         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
29196         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
29197         Rename to __memcpy_default.
29198         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
29199         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
29200         (memset): Use __memset_default as alias source.
29201         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
29202         * sysdeps/s390/s390-64/memset.S (__memset_z900):
29203         Rename to __memset_default.
29204         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
29205         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
29207         [BZ #18610]
29208         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
29209         __ieee_instruction_pointer to __unused.
29210         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
29211         __ieee_instruction_pointer.
29212         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
29213         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
29214         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29215         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29216         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
29217         Mark dxc-field as reserved.
29219 2015-08-25  Roland McGrath  <roland@hack.frob.com>
29221         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
29222         if the weak reference is not null.
29224 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29226         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
29228         [BZ #11214]
29229         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
29231 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29233         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
29234         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
29235         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
29236         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
29237         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
29238         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
29239         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
29240         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
29241         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
29242         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
29243         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
29244         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
29245         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
29246         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
29247         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
29248         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
29249         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
29250         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
29252 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29254         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
29255         register other than r0 for tabort, it has special meaning.
29256         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
29257         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
29258         transaction before starting syscall.
29260 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29262         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
29264 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29266         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
29268         * sysdeps/x86_64/rtld-memcmp.c: Removed.
29269         * sysdeps/x86_64/rtld-memset.S: Likewise.
29270         * sysdeps/x86_64/rtld-strchr.S: Likewise.
29271         * sysdeps/x86_64/rtld-strlen.S: Likewise.
29272         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
29273         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29275         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
29277 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
29279         * debug/strcpy_chk.c: Improve performance.
29280         * debug/stpcpy_chk.c: Likewise.
29281         * sysdeps/x86_64/strcpy_chk.S: Remove.
29282         * sysdeps/x86_64/stpcpy_chk.S: Remove.
29284         [BZ #18240]
29285         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
29287 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29289         [BZ #15128]
29290         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
29291         ifuncmain8.
29292         (modules-names): Add ifuncmod8.
29293         ($(objpfx)ifuncmain8): New rule.
29294         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
29295         <cpuid.h>.
29296         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
29297         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
29298         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
29299         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
29300         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
29301         * sysdeps/x86_64/dl-trampoline.h: Likewise.
29302         * sysdeps/x86_64/ifuncmain8.c: New file.
29303         * sysdeps/x86_64/ifuncmod8.c: Likewise.
29304         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
29305         Removed.
29306         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
29307         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
29308         Change rtld_savespace_sse to __glibc_unused2.
29309         (RTLD_CHECK_FOREIGN_CALL): Removed.
29310         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
29311         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
29312         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
29314 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29316         * sysdeps/aarch64/bzero.S (__bzero): Remove.
29318 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29320         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
29321         Unconditionally set __fpcr to avoid uninialized warning.
29322         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
29324 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29326         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
29327         is corrupt.
29329         * malloc/arena.c (arena_get2): Drop unused argument.
29330         (arena_lock): Adjust.
29331         (arena_get_retry): Likewise.
29333 2015-08-24  Andreas Schwab  <schwab@suse.de>
29335         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
29336         Don't define.
29337         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
29338         (__ASSUME_IPC64): Don't undef.
29339         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
29340         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29341         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29342         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
29343         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
29344         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
29345         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
29346         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
29347         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
29348         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
29349         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
29350         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
29351         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
29352         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
29353         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
29354         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
29355         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
29356         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
29357         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
29358         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
29359         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
29361 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
29363         * manual/Makefile (install): Only build manual when perl is available.
29365 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29367         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
29368         '#undef memcpy' by '#undef memchr'.
29370 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29372         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
29373         memchr not point to the internal __GI_memchr implementation.
29375 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29377         * timezone/Makefile (CFLAGS-zdump.c): Remove
29378         -Wno-strict-prototypes.
29379         (CFLAGS-zic.c): Likewise.
29380         (CFLAGS-ialloc.c): Likewise.
29381         (CFLAGS-scheck.c): Likewise.
29383         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
29384         -Wno-error=undef.
29386 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29388         * i386/i686/multiarch/strcasestr-c.c: Removed.
29389         * x86_64/multiarch/strcasestr.c: Likewise.
29390         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29391         Remove strcasestr.
29393 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29395         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
29397         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
29398         variables for high and low parts before possibly modifying them.
29400 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29402         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
29403         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
29404         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
29405         of "multiarch/init-arch.h".
29406         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
29407         * sysdeps/x86/init-arch.h: This.
29409 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29411         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
29412         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
29414 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
29416         [BZ #17787]
29417         * manual/macros.texi: Add twoexp macro.
29418         * manual/filesys.texi: Fix exponents.
29419         * manual/llio.texi: Likewise.
29420         * manual/stdio.texi: Likewise.
29422 2015-08-20  Florian Weimer  <fweimer@redhat.com>
29424         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
29425         incorrect use.
29427 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29429         [BZ #18370]
29430         * math/s_csqrt.c (__csqrt): Force underflow exception for results
29431         whose real or imaginary part has small absolute value.
29432         * math/s_csqrtf.c (__csqrtf): Likewise.
29433         * math/s_csqrtl.c (__csqrtl): Likewise.
29434         * math/auto-libm-test-in: Add more tests of csqrt.
29435         * math/auto-libm-test-out: Regenerated.
29436         * sysdeps/i386/fpu/libm-test-ulps: Update.
29438 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29440         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
29441         __ppc_set_ppr_very_low): New functions.
29442         * manual/platform.texi: Add documentation about
29443         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
29445 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
29447         * string/stpncpy.c (stpncpy): Improve performance using
29448         __strnlen/memcpy/memset.
29450 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29452         [BZ #18796]
29453         * scripts/test-installation.pl: Don't add -lmvec to build options if
29454         libmvec wasn't built.
29456 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29458         [BZ #14341]
29459         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
29460         case when there is a gap between DT_REL and DT_JMPREL sections.
29461         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
29462         (LDFLAGS-tst-split-dynreloc): New.
29463         (tst-split-dynreloc-ENV): Likewise.
29464         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
29465         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
29467 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29469         [BZ #18822]
29470         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
29471         attribute_hidden.
29472         (__xstat64_conv): Likewise.
29473         (__xstat32_conv): Likewise.
29475 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29477         [BZ #18822]
29478         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
29479         Don't load %ebx when calling __setcontext.  Call __setcontext
29480         with HIDDEN_JUMPTARGET.
29481         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
29482         libc_hidden_def.
29484 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29486         * sysdeps/i386/i686/Makefile
29487         [$(subdir) == string] (sysdep_routines): Moved to ...
29488         * sysdeps/i386/Makefile: Here.
29489         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
29490         * sysdeps/i386/cacheinfo.c: Here.
29491         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
29492         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
29493         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
29494         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
29496 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29498         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
29499         __i586__ is defined.
29500         (HAS_I686): Defined to 1 if __i686__ is defined.
29502 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29504         * elf/Makefile [$(have-z-execstack) = yes]
29505         (CPPFLAGS-tst-execstack.c): New variable.
29507         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
29508         conditional to [defined UTMPX || _HAVE_UT_TYPE].
29509         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
29510         UTMPX || _HAVE_UT_TV].
29511         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
29512         UTMPX || _HAVE_UT_TV - 0].
29514 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
29516         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
29517         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
29518         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
29520 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29522         * sysdeps/powerpc/dl-procinfo.c:
29523         (_dl_powerpc_cap_flags): Added missing strings for some
29524         hwcap features.
29525         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
29527 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
29529         Port the 0x7efe...feff pattern to GCC 6.
29530         See Steve Ellcey's bug report in:
29531         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
29532         * string/memrchr.c (MEMRCHR):
29533         * string/rawmemchr.c (RAWMEMCHR):
29534         * string/strchr.c (strchr):
29535         * string/strchrnul.c (STRCHRNUL):
29536         Rewrite code to avoid issues with signed shift overflow.
29538 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
29540         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
29541         whether cpuid is available only if HAS_CPUID is 0.
29542         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
29543         (HAS_I586): Likewise.
29544         (HAS_I686): Likewise.
29546 2015-08-18  Zack Weinberg  <zackw@panix.com>
29548         * misc/Versions (libc): Add GLIBC_2.23.
29550 2015-08-18  Alan Modra  <amodra@gmail.com>
29552         [BZ #18421]
29553         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
29554         .Lp__global.
29555         (_start): Load %dp via .Lp__global.
29556         [!SHARED]: Use .section .rodata.
29558 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29560         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
29561         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
29563 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29565         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
29566         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
29568 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29570         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
29571         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
29573 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29575         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
29576         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
29578 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29580         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
29581         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
29583 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29585         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
29586         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
29588 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29590         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
29592 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29594         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
29595         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
29596         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29597         (__ASSUME_LWS_CAS): Delete.
29599 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29601         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
29602         * sysdeps/hppa/configure: Regenerated.
29603         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
29604         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
29605         * sysdeps/hppa/nptl/tls.h: Likewise.
29607 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
29609         [BZ #18823]
29610         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
29611         for scaling up small arguments.
29612         * math/s_csqrtf.c (__csqrtf): Likewise.
29613         * math/s_csqrtl.c (__csqrtl): Likewise.
29614         * math/auto-libm-test-in: Add more tests of csqrt.
29615         * math/auto-libm-test-out: Regenerated.
29617 2015-08-17  Andreas Schwab  <schwab@suse.de>
29619         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
29620         version set GLIBC_2.19.
29622 2015-08-16  Zack Weinberg  <zackw@panix.com>
29624         [BZ #18681]
29625         * misc/regexp.h: This interface is no longer supported.
29626         Remove all contents, leaving only an #error directive.
29627         * misc/regexp.c (loc1, loc2, locs, step, advance):
29628         Demote to compatibility symbols.
29630 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
29632         [BZ #18084]
29633         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
29634         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
29635         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
29636         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
29637         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
29638         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
29639         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
29640         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
29641         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
29643 2015-08-15  Zack Weinberg  <zackw@panix.com>
29645         [BZ #18795]
29646         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
29647         buffer length is known to be too large, not if it's known to be
29648         small enough.
29649         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
29650         overflow at runtime, involving a length parameter, twice: once
29651         with a compile-time constant length parameter, once without.
29653 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
29655         [BZ #18824]
29656         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
29657         scaling x * y up instead of down.
29658         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29659         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29660         * math/auto-libm-test-in: Add more tests of fma.
29661         * math/auto-libm-test-out: Regenerated.
29663 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29665         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29667 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29669         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
29670         unnecessary movq.
29671         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
29672         Likewise.
29674 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
29676         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29677         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
29678         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
29679         and tgamma.
29680         * math/auto-libm-test-out: Regenerated.
29681         * sysdeps/i386/fpu/libm-test-ulps: Update.
29682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29684         [BZ #16520]
29685         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
29686         (__tanh): Force underflow exception for arguments with small
29687         absolute value.
29688         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
29689         (__tanhf): Force underflow exception for arguments with small
29690         absolute value.
29691         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
29692         (__tanhl): Force underflow exception for arguments with small
29693         absolute value.
29694         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
29695         (__tanhl): Force underflow exception for arguments with small
29696         absolute value.
29697         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
29698         (__tanhl): Force underflow exception for arguments with small
29699         absolute value.
29700         * math/auto-libm-test-in: Add more tests of tanh.
29701         * math/auto-libm-test-out: Regenerated.
29702         * sysdeps/i386/fpu/libm-test-ulps: Update.
29704 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29706         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
29707         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
29709 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29711         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
29712         <cpuid.h>.
29714 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29716         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
29717         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
29719 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29721         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
29722         Remove $(objpfx)init-arch.o.
29723         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
29724         init-arch.
29725         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
29726         (INIT_ARCH_EXT): Defined as empty.
29727         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
29728         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
29729         __init_cpu_features call.  Replace HAS_XXX with
29730         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29731         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
29732         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
29733         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
29734         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
29735         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
29736         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
29737         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
29738         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
29739         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
29740         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
29741         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
29742         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
29743         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
29744         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
29745         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
29746         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
29747         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
29748         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
29749         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
29750         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
29751         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
29752         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
29753         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
29754         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
29755         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
29756         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
29757         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
29758         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
29759         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
29760         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
29761         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
29762         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
29763         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
29764         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
29765         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
29767 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29769         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
29770         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29771         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
29772         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
29773         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
29774         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
29775         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
29776         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
29777         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
29778         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
29779         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
29780         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
29781         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29782         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29783         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29784         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29785         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29786         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29787         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29788         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29789         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29790         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29791         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29792         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29793         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29794         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29795         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29796         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29797         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29798         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29799         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29800         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29801         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29802         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29803         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29804         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29805         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29806         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29807         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29808         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29809         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29810         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29811         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29813 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29815         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
29816         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29817         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29818         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29819         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29820         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
29821         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29822         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
29823         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29824         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29825         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29826         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
29827         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
29828         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
29829         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
29830         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
29831         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
29832         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
29833         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
29834         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
29835         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
29836         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
29837         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
29838         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29839         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29840         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
29841         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
29842         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
29843         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
29844         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29845         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29846         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29847         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29848         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29849         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29850         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29851         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29852         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29853         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29854         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29855         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29856         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29857         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29859 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
29861         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
29862         (dl_platform_init): Call init_cpu_features.
29863         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
29864         * sysdeps/i386/i686/cacheinfo.c
29865         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
29866         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
29867         * sysdeps/i386/i686/multiarch/Versions: Removed.
29868         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
29869         Removed.
29870         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
29871         * sysdeps/unix/sysv/linux/x86/Makefile
29872         (libpthread-sysdep_routines): Remove init-arch.
29873         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
29874         <sysdeps/x86_64/dl-procinfo.c> instead of
29875         sysdeps/generic/dl-procinfo.c>.
29876         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
29877         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
29878         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
29879         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
29880         [$(subdir) == elf] (tests-static): Add
29881         tst-get-cpu-features-static.
29882         * sysdeps/x86/Versions: New file.
29883         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
29884         * sysdeps/x86/cpu-features.c: Likewise.
29885         * sysdeps/x86/cpu-features.h: Likewise.
29886         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
29887         * sysdeps/x86/libc-start.c: Likewise.
29888         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
29889         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
29890         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
29891         * sysdeps/x86_64/dl-procinfo.c: Likewise.
29892         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
29893         Assume USE_MULTIARCH is defined and don't check it.
29894         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
29895         (is_amd): Likewise.
29896         (max_cpuid): Likewise.
29897         (intel_check_word): Likewise.
29898         (__cache_sysconf): Don't call __init_cpu_features.
29899         (__x86_preferred_memory_instruction): Removed.
29900         (init_cacheinfo): Don't call __init_cpu_features. Replace
29901         __cpu_features with GLRO(dl_x86_cpu_features).
29902         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
29903         (dl_platform_init): Call init_cpu_features.
29904         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
29905         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
29906         * sysdeps/x86_64/multiarch/Versions: Removed.
29907         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
29908         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
29909         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
29910         Removed.
29911         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
29913 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29915         [BZ #18820]
29916         * libio/Makefile (test-fmemopen-mem): New test.
29917         * libio/test-fmemopen.c (do_bz18820): New test.
29918         * libio/fmemopen.c (__fmemopen): Fix memory leak.
29919         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
29921 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29923         [BZ #16734]
29924         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
29925         (FREE_BUF): Delete.
29926         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
29927         * libio/genops.c (_IO_setb): Use malloc and free directly.
29928         (_IO_default_doallocate, _IO_default_finish): Likewise.
29929         ( _IO_unbuffer_all): Likewise.
29930         ( libc_freeres_fn): Likewise.
29931         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
29932         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
29933         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
29934         (_IO_wdefault_doallocate): Likewise.
29936 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
29938         [BZ #18086]
29939         * sysdeps/posix/nice.c (nice): Restore old errno.
29940         * posix/tst-nice.c (do_test): Add test for BZ #18086.
29942 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
29944         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
29946 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29948         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
29949         __bcopy and add a weak_alias to bcopy.
29950         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
29951         for static build.
29953         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
29954         cleanup macro usage.
29955         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
29956         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
29957         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29958         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
29959         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29960         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
29961         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
29962         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29963         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
29964         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
29965         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29966         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
29967         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29968         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
29969         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29970         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
29971         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
29972         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
29973         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
29975         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
29976         libc_hidden_def.
29977         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
29979         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
29980         (sysdep_routines): Add strstr-ppc64.
29981         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
29983 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
29985         [BZ #18778]
29986         * elf/Makefile (tests): Add Add tst-nodelete2.
29987         (modules-names): Add tst-nodelete2mod.
29988         (tst-nodelete2mod.so-no-z-defs): New.
29989         ($(objpfx)tst-nodelete2): Likewise.
29990         ($(objpfx)tst-nodelete2.out): Likewise.
29991         (LDFLAGS-tst-nodelete2): Likewise.
29992         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
29993         out of loop through all loaded libraries.
29994         * elf/tst-nodelete2.c: New file.
29995         * elf/tst-nodelete2mod.c: Likewise.
29996         * elf/tst-znodelete-zlib.cc: Delete.
29998 2015-08-11  Andreas Schwab  <schwab@suse.de>
30000         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
30001         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
30002         (__openat64_nocancel): Likewise.
30004 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
30006         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
30007         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
30008         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
30009         * math/auto-libm-test-out: Regenerated.
30010         * sysdeps/i386/fpu/libm-test-ulps: Update.
30011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30013 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
30015         [BZ #18790]
30016         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
30017         threshold for returning +/- 1.
30018         * math/auto-libm-test-in: Add more tests of tanh.
30019         * math/auto-libm-test-out: Regenerated.
30020         * sysdeps/i386/fpu/libm-test-ulps: Update.
30022 2015-08-10  Andreas Schwab  <schwab@suse.de>
30024         [BZ #18781]
30025         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
30026         MORE_OFLAGS to oflag.
30027         * io/test-lfs.c (do_test): Test openat64.
30029 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
30031         [BZ #18789]
30032         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
30033         smaller threshold for returning the argument.
30034         * math/auto-libm-test-in: Add more tests of sinh.
30035         * math/auto-libm-test-out: Regenerated.
30036         * sysdeps/i386/fpu/libm-test-ulps: Update.
30038 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30040         [BZ #18674]
30041         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
30042         break.
30044 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
30046         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
30047         (generated): Don't add $(addprefix z.,$(tzfiles)).
30049 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30051         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
30052         * scripts/sysd-rules.awk: Likewise.
30054 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30056         * iconvdata/tst-tables.sh: Change echo -n to printf.
30057         * nss/db-Makefile: Likewise.
30058         * posix/tst-getconf.sh: Likewise.
30059         * stdio-common/tst-unbputc.sh: Likewise.
30061 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30063         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
30064         MADV_*_PAGES defines behind this feature check.
30066 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
30068         [BZ #18480]
30069         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
30070         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
30071         Define.
30072         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
30073         LOAD_REGS_5, LOAD_REGS_6): Update.
30074         (INTERNAL_SYSCALL): Update using new LOAD defines.
30075         (INTERNAL_SYSCALL_NCS): Likewise.
30076         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
30078 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30080         [BZ #16734]
30081         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
30083 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30085         [BZ #17905]
30086         * catgets/Makefile (tst-catgets-mem): New test.
30087         * catgets/catgets.c (catopen): Don't use unbounded alloca.
30088         * catgets/open_catalog.c (__open_catalog): Likewise.
30089         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
30091 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
30093         [BZ #18787]
30094         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
30095         clobber registers.
30096         (atomic_compare_and_exchange_val_acq): Use register asms to assign
30097         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
30098         Cast return to __typeof (oldval).
30100 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
30102         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
30103         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
30104         and delete sys/syscall.h include.
30106 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
30108         [BZ #16517]
30109         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
30110         (tan): Force underflow exception for arguments with small absolute
30111         value.
30112         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
30113         (__kernel_tanf): Force underflow exception for arguments with
30114         small absolute value.
30115         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
30116         (__kernel_tanl): Force underflow exception for arguments with
30117         small absolute value.
30118         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
30119         (__kernel_tanl): Force underflow exception for arguments with
30120         small absolute value.
30121         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
30122         (__kernel_tanl): Force underflow exception for arguments with
30123         small absolute value.
30124         * math/auto-libm-test-in: Add more tests of tan.
30125         * math/auto-libm-test-out: Regenerated.
30127 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30129         Fix sysdeps/i386/fpu/s_scalbn.S build
30131         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
30133 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
30135         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
30137 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30139         Fix gcrt0.o compilation
30141         When static-start-installed-name is different from
30142         start-installed-name, we must not use the shared objects.
30144         * csu/Makefile
30145         (extra-objs): Add gmon-start.o when building shared library and
30146         $(static-start-installed-name) is different from
30147         $(start-installed-name).
30148         $(objpfx)g$(static-start-installed-name): When building shared
30149         library and $(static-start-installed-name) is different from
30150         $(static-start-installed-name), revert to non-shared rule,
30151         i.e. using $(objpfx)% and gmon-start.o.
30153 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
30155         [BZ #16519]
30156         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
30157         (__ieee754_sinh): Force underflow exception for arguments with
30158         small absolute value.
30159         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
30160         (__ieee754_sinhf): Force underflow exception for arguments with
30161         small absolute value.
30162         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
30163         (__ieee754_sinhl): Force underflow exception for arguments with
30164         small absolute value.
30165         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
30166         (__ieee754_sinhl): Force underflow exception for arguments with
30167         small absolute value.
30168         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
30169         (__ieee754_sinhl): Force underflow exception for arguments with
30170         small absolute value.
30171         * math/auto-libm-test-in: Add more tests of sinh.
30172         * math/auto-libm-test-out: Regenerated.
30173         * sysdeps/i386/fpu/libm-test-ulps: Update.
30175 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30177         * libio/oldfileops.c: Include unistd.h.
30179 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
30181         * stdlib/isomac.c: Include ctype.h.
30183 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
30185         * dirent/tst-seekdir.c (main): Converted to ...
30186         (do_test): ... this.
30187         (TEST_FUNCTION): New macro.
30188         Include test-skeleton.c.
30189         * elf/tst-dlmodcount.c (main): Converted to ...
30190         (do_test): ... this.
30191         (TEST_FUNCTION): New macro.
30192         Include test-skeleton.c.
30193         * elf/tst-order-main.c (main): Converted to ...
30194         (do_test): ... this.
30195         (TEST_FUNCTION): New macro.
30196         Include test-skeleton.c.
30197         * elf/tst-pie2.c (main): Converted to ...
30198         (do_test): ... this.
30199         (TEST_FUNCTION): New macro.
30200         Include test-skeleton.c.
30201         * inet/tst-ether_aton.c (main): Converted to ...
30202         (do_test): ... this.
30203         (TEST_FUNCTION): New macro.
30204         Include test-skeleton.c.
30205         * misc/tst-mntent.c (main): Converted to ...
30206         (do_test): ... this.
30207         (TEST_FUNCTION): New macro.
30208         Include test-skeleton.c.
30209         * misc/tst-tsearch.c (main): Converted to ...
30210         (do_test): ... this.
30211         (TEST_FUNCTION): New macro.
30212         Include test-skeleton.c.
30213         * posix/tst-regexloc.c (main): Converted to ...
30214         (do_test): ... this.
30215         (TEST_FUNCTION): New macro.
30216         Include test-skeleton.c.
30217         * resolv/tst-aton.c (main): Converted to ...
30218         (do_test): ... this.
30219         (TEST_FUNCTION): New macro.
30220         Include test-skeleton.c.
30221         * stdio-common/test-fwrite.c (main): Converted to ...
30222         (do_test): ... this.
30223         (TEST_FUNCTION): New macro.
30224         Include test-skeleton.c.
30225         * stdio-common/tst-ferror.c (main): Converted to ...
30226         (do_test): ... this.
30227         (TEST_FUNCTION): New macro.
30228         Include test-skeleton.c.
30229         * stdio-common/tst-printf.c (main): Converted to ...
30230         (do_test): ... this.
30231         (TEST_FUNCTION): New macro.
30232         Include test-skeleton.c.
30233         * stdio-common/tst-printfsz.c (main): Converted to ...
30234         (do_test): ... this.
30235         (TEST_FUNCTION): New macro.
30236         Include test-skeleton.c.
30237         * stdlib/tst-strtod.c (main): Converted to ...
30238         (do_test): ... this.
30239         (TEST_FUNCTION): New macro.
30240         Include test-skeleton.c.
30241         * string/tst-strlen.c (main): Converted to ...
30242         (do_test): ... this.
30243         (TEST_FUNCTION): New macro.
30244         Include test-skeleton.c.
30245         * string/tst-svc.c (main): Converted to ...
30246         (do_test): ... this.
30247         (TEST_FUNCTION): New macro.
30248         Include test-skeleton.c.
30249         * time/tst-strptime.c (main): Converted to ...
30250         (do_test): ... this.
30251         (TEST_FUNCTION): New macro.
30252         Include test-skeleton.c.
30253         * timezone/tst-timezone.c (main): Converted to ...
30254         (do_test): ... this.
30255         (TEST_FUNCTION): New macro.
30256         Include test-skeleton.c.
30258 2015-08-05  Zack Weinberg  <zackw@panix.com>
30260         * misc/regexp.h: Update comments.
30262 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
30264         [BZ #18635]
30265         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
30266         before return label.
30268 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30270         [BZ #18661]
30271         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
30272         when calling __errno_location.
30273         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
30274         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
30276 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30278         [BZ #18661]
30279         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
30280         (__lll_timedwait_tid): Align stack to 16 bytes when calling
30281         __gettimeofday.
30283 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30285         [BZ #18661]
30286         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30287         (__start_context): Don't use pop to restore %rdi so that stack
30288         is aligned to 16 bytes when calling __setcontext.
30290 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30292         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
30293         only for libc.
30294         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30296 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30298         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
30299         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
30300         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
30302 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30304         * string/memccpy.c (memccpy):
30305         Improve performance by using memchr/memcpy/__mempcpy.
30307 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30309         * string/strncpy.c (strncpy):
30310         Improve performance by using __strnlen/memcpy.
30312 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30314         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30315         Optimize to avoid an unnecessary FPCR read.
30317 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30319         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30320         Optimize to reduce FPCR/FPSR accesses.
30322 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30324         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
30325         dead->data[category] != NULL.
30327 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
30329         [BZ #18647]
30330         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
30331         and |x| close to 1, use absolute value of x when computing log.
30332         * math/auto-libm-test-in: Add more tests of pow.
30333         * math/auto-libm-test-out: Regenerated.
30335 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30337         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
30338         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
30339         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
30341 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
30343         [BZ #18525]
30344         * locales/km_KH: Remove timezone definition.
30345         * locales/lo_LA: Likewise.
30346         * locales/my_MM: Likewise.
30347         * locales/nan_TW@latin: Likewise.
30348         * locales/th_TH: Likewise.
30349         * locales/uk_UA: Likewise.
30351 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30353         [BZ #18265]
30354         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
30355         (wcsncat): Likewise.
30356         (wcscmp): Likewise.
30357         (wcsncmp): Likewise.
30359 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30361         * test-skeleton.c (usage): New function.
30362         (main): Call usage when opt is '?'.
30364 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30366         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
30367         before first use.
30369 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30371         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
30372         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
30373         in there too.
30375 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
30377         * version.h (RELEASE): Set to "development".
30378         (VERSION): Set to "2.22.90"
30380         * version.h (RELEASE): Set to "stable".
30381         (VERSION): Set to "2.22"
30382         * include/features.h (__GLIBC_MINOR__): Set to 22.
30384 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
30386         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
30387         Restructure macro to avoid "value computed is not used" warning.
30388         (atomic_compare_and_exchange_val_acq): Likewise.
30390 2015-08-04  Andreas Schwab  <schwab@suse.de>
30392         [BZ #18635]
30393         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
30394         ret.
30395         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
30397 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
30399         * po/pl.po: Updated translation.
30400         * po/uk.po: Likewise.
30401         * po/fi.po: Likewise.
30402         * po/ko.po: Likewise.
30403         * po/ru.po: Likewise.
30404         * po/vi.po: Likewise.
30406 2015-07-31  Zack Weinberg  <zackw@panix.com>
30408         [BZ #18681]
30409         * regexp.h: Add unconditional #warning stating that this header
30410         will be removed soon.  Revise banner comment to match.
30411         (compile): Consistently use ERROR instead of RETURN to report
30412         errors (partial fix for BZ #18681).
30413         * regexp.c: Don't include regexp.h. Remove some unnecessary
30414         declarations.
30416 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
30418         * po/libc.pot: Regenerated.
30420 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30422         [BZ #18740]
30423         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
30424         float-vlen4-arch-ext-cflags): Removed.
30425         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
30426         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
30428 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30430         [BZ #14113]
30431         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
30432         aligned to __aligned__.
30433         (pthread_cond_t, pthread_rwlock_t): Likewise.
30435 2015-07-30  Torvald Riegel  <triegel@redhat.com>
30437         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
30439 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30441         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
30442         (struct sigaction): Change sa_flags from a long to an int, and add
30443         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
30445 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30447         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
30448         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
30449         sysdeps/generic/sysdep.h include.
30450         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
30451         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
30452         sysdeps/hppa/sysdep.h.
30453         (ENTRY, PSEUDO): Undefine before defining.
30455 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30457         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
30458         from scratch to use INTERNAL_SYSCALL.
30460 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
30462         [BZ #18078]
30463         * scripts/check-localplt.awk: Support alternate relocations.
30464         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
30465         sections.
30466         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
30467         malloc entries with + REL R_386_GLOB_DAT.
30468         * sysdeps/x86_64/localplt.data: New file.
30470 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
30472         [BZ #18731]
30473         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
30474         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30475         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30477 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30479         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
30481 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30483         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
30484         directly in terms of __sync_fetch_and_add and delete (int) cast.
30486 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30488         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
30489         the -D_ASM_IA64_CURRENT_H flag.
30491 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30493         [BZ #18641]
30494         * pwd/pwd.h (putpwent): Delete __nonnull markings.
30496 2015-07-27  Andreas Schwab  <schwab@suse.de>
30498         * conform/conformtest.pl (checknamespace): Filter out string
30499         literals while tokenizing.
30501 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30503         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30504         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
30505         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30507 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30509         * nptl/tst-join7mod.c: Add #include <string.h>.
30511 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30513         * sysdeps/nios2/libm-test-ulps: Update.
30515 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30517         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
30518         Fix order of arguments to the rt_sigprocmask syscall.
30519         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
30520         Likewise.
30522 2015-07-24  Roland McGrath  <roland@hack.frob.com>
30524         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
30526 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30528         [BZ #18457]
30529         * nptl/Makefile (tests): New test case tst-join7.
30530         (modules-names): New test case module tst-join7mod.
30531         * nptl/tst-join7.c: New file.
30532         * nptl/tst-join7mod.c: New file.
30533         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
30534         all translation units in libc.so, libpthread.so and rtld.
30536 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30540 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
30542         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
30543         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30544         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30545         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30546         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30547         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30548         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30549         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30550         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30551         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30552         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30553         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30554         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
30555         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30556         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
30557         implementation.
30559 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30561         [BZ #17711]
30562         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30563         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
30564         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30565         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30566         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
30567         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30569 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30571         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
30572         instead of just saying load lock in the comments.
30574 2015-07-23  Roland McGrath  <roland@hack.frob.com>
30576         * sysdeps/unix/Subdirs: Moved ...
30577         * sysdeps/posix/Subdirs: ... here.
30578         * login/pty.h (struct termios, struct winsize): Add forward decls.
30579         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
30580         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
30581         * sysdeps/arm/nacl/libc.abilist: Updated.
30582         * sysdeps/nacl/libutil.abilist: New file.
30584         * bits/signum.h: Update comments to mention 1003.1-2013 too.
30585         (SIGWINCH): New macro.
30587         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
30588         * sysdeps/arm/nacl/libc.abilist: Add it.
30590 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30592         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
30594 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30596         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30597         Swap __glibc_reserved0 and sa_flags order.
30599 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30601         [BZ #18657]
30602         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
30603         are pending TLS destructor calls.
30604         * include/link.h (struct link_map): Add concurrency note for
30605         L_TLS_DTOR_COUNT.
30606         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30607         Don't touch the link map flag.  Atomically increment
30608         l_tls_dtor_count.
30609         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
30610         Avoid taking the load lock and don't touch the link map flag.
30611         * stdlib/tst-tls-atexit-nodelete.c: New test case.
30612         * stdlib/Makefile (tests): Use it.
30613         * stdlib/tst-tls-atexit.c (do_test): dlopen
30614         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
30615         to allow tst-tls-atexit-nodelete test case to use it.
30617 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30619         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
30620         to bits/types.h.
30621         (msgqnum_t): New typedef.
30622         (msglen_t): Likewise.
30623         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
30624         and msg_qbytes type to msglen_t.
30626 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30628         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
30629         pad0 to __glibc_reserved0.
30630         (struct stat64): Likewise.
30632 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30634         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30635         Change sa_flags from a long to an int and add __glibc_reserved0 before
30636         it for padding.
30638 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30640         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
30641         anonymous by deleting "siginfo" name.
30643 2015-07-21  Roland McGrath  <roland@hack.frob.com>
30645         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
30646         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
30647         rather than __nacl_irt_filename.
30648         * sysdeps/nacl/xstat.c (__xstat): Likewise.
30650         * NEWS: New item for arm-nacl port.
30651         * sysdeps/arm/nacl/libc.abilist: New file.
30652         * sysdeps/nacl/ld.abilist: New file.
30653         * sysdeps/nacl/libBrokenLocale.abilist: New file.
30654         * sysdeps/nacl/libanl.abilist: New file.
30655         * sysdeps/nacl/libcrypt.abilist: New file.
30656         * sysdeps/nacl/libdl.abilist: New file.
30657         * sysdeps/nacl/libm.abilist: New file.
30658         * sysdeps/nacl/libpthread.abilist: New file.
30659         * sysdeps/nacl/libresolv.abilist: New file.
30660         * sysdeps/nacl/librt.abilist: New file.
30662 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
30664         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
30665         __startcontext to initialize the new context.
30666         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
30667         up CFI directive to forbid further backtracing.
30669 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
30671         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
30672         reference.
30673         * charmaps/ANSI_X3.4-1968: Likewise.
30674         * charmaps/BS_4730: Likewise.
30675         * charmaps/BS_VIEWDATA: Likewise.
30676         * charmaps/CP1250: Likewise.
30677         * charmaps/CP1251: Likewise.
30678         * charmaps/CP1252: Likewise.
30679         * charmaps/CP1253: Likewise.
30680         * charmaps/CP1254: Likewise.
30681         * charmaps/CP1255: Likewise.
30682         * charmaps/CP1256: Likewise.
30683         * charmaps/CSN_369103: Likewise.
30684         * charmaps/EBCDIC-DK-NO: Likewise.
30685         * charmaps/GB_1988-80: Likewise.
30686         * charmaps/GREEK-CCITT: Likewise.
30687         * charmaps/GREEK7: Likewise.
30688         * charmaps/INIS-8: Likewise.
30689         * charmaps/ISIRI-3342: Likewise.
30690         * charmaps/ISO_2033-1983: Likewise.
30691         * charmaps/ISO_5427-EXT: Likewise.
30692         * locales/POSIX: Likewise.
30693         * locales/ar_SA: Likewise.
30694         * locales/be_BY: Likewise.
30695         * locales/be_BY@latin: Likewise.
30696         * locales/ca_ES: Likewise.
30697         * locales/cs_CZ: Likewise.
30698         * locales/da_DK: Likewise.
30699         * locales/de_BE: Likewise.
30700         * locales/de_CH: Likewise.
30701         * locales/de_LU: Likewise.
30702         * locales/en_AU: Likewise.
30703         * locales/en_BW: Likewise.
30704         * locales/en_CA: Likewise.
30705         * locales/en_DK: Likewise.
30706         * locales/en_GB: Likewise.
30707         * locales/en_IE: Likewise.
30708         * locales/en_NZ: Likewise.
30709         * locales/en_ZA: Likewise.
30710         * locales/en_ZW: Likewise.
30711         * locales/es_AR: Likewise.
30712         * locales/es_BO: Likewise.
30713         * locales/es_CL: Likewise.
30714         * locales/es_CO: Likewise.
30715         * locales/es_DO: Likewise.
30716         * locales/es_EC: Likewise.
30717         * locales/es_ES: Likewise.
30718         * locales/es_HN: Likewise.
30719         * locales/es_MX: Likewise.
30720         * locales/es_PA: Likewise.
30721         * locales/es_PE: Likewise.
30722         * locales/es_PY: Likewise.
30723         * locales/es_SV: Likewise.
30724         * locales/es_US: Likewise.
30725         * locales/es_UY: Likewise.
30726         * locales/es_VE: Likewise.
30727         * locales/et_EE: Likewise.
30728         * locales/fa_IR: Likewise.
30729         * locales/fo_FO: Likewise.
30730         * locales/fr_CA: Likewise.
30731         * locales/fr_CH: Likewise.
30732         * locales/gv_GB: Likewise.
30733         * locales/he_IL: Likewise.
30734         * locales/hr_HR: Likewise.
30735         * locales/id_ID: Likewise.
30736         * locales/is_IS: Likewise.
30737         * locales/it_CH: Likewise.
30738         * locales/iw_IL: Likewise.
30739         * locales/kl_GL: Likewise.
30740         * locales/ko_KR: Likewise.
30741         * locales/kw_GB: Likewise.
30742         * locales/lg_UG: Likewise.
30743         * locales/lt_LT: Likewise.
30744         * locales/lv_LV: Likewise.
30745         * locales/mi_NZ: Likewise.
30746         * locales/nhn_MX: Likewise.
30747         * locales/nl_BE: Likewise.
30748         * locales/pl_PL: Likewise.
30749         * locales/sk_SK: Likewise.
30750         * locales/sl_SI: Likewise.
30751         * locales/sv_FI: Likewise.
30752         * locales/tl_PH: Likewise.
30753         * locales/tr_TR: Likewise.
30754         * locales/vi_VN: Likewise.
30756 2015-07-21  Khem Raj  <raj.khem@gmail.com>
30758         [BZ #17475]
30759         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
30760         of tu_IN and bh_IN.
30762 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
30764         [BZ #18694]
30765         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
30766         bits/wordsize.h.
30767         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
30769 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30771         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
30772         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
30773         (spawn_thread): New function.
30774         (load): Rename to reg_dtor_and_close.  Move dlopen to...
30775         (do_test): ... here.  Use IS_LOADED to test for its
30776         availability.
30778 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
30780         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30782 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
30784         [BZ #18696]
30785         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
30786         si_addr_bnd.
30787         (si_lower): New.
30788         (si_upper): Likewise.
30790 2015-07-16  David S. Miller  <davem@davemloft.net>
30792         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
30794 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30796         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
30797         buffer.
30798         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
30799         fail output information.
30801 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30803         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
30804         and strstr-ppc64..
30805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
30806         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
30807         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
30808         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
30809         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
30811 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
30813         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
30814         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
30815         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
30816         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
30818 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
30820         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
30821         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
30822         rtld_hidden_proto.
30823         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
30825 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30827         * tst-nodelete-opened.c (do_test): Add comment to clarify how
30828         the test can fail.
30830         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
30832         [BZ #18676]
30833         * elf/tst-nodelete-opened.c: New test case.
30834         * elf/tst-nodelete-opened-lib.c: New test case module.
30835         * elf/Makefile (tests, modules-names): Use them.
30836         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
30837         early.
30839 2015-07-15  David S. Miller  <davem@davemloft.net>
30841         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
30842         futex-intenal.h
30843         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
30844         * sysdeps/sparc/sparc64/Makefile: Likewise.
30845         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
30846         Remove space from macro define.
30847         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
30849 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
30851         [BZ #17475]
30852         * locale/iso-639.def: Update Bhili and Tulu language codes as
30853         per iso639-3.
30855 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
30857         * elf/tst-leaks1.c (main): Converted to ...
30858         (do_test): ... this.
30859         (TEST_FUNCTION): New macro.
30860         Include test-skeleton.c.
30861         * localedata/tst-langinfo.c (main): Converted to ...
30862         (do_test): ... this.
30863         (TEST_FUNCTION): New macro.
30864         Include test-skeleton.c.
30865         * math/test-fpucw.c (main): Converted to ...
30866         (do_test): ... this.
30867         (TEST_FUNCTION): New macro.
30868         Include test-skeleton.c.
30869         * math/test-tgmath.c (main): Converted to ...
30870         (do_test): ... this.
30871         (TEST_FUNCTION): New macro.
30872         Include test-skeleton.c.
30873         * math/test-tgmath2.c (main): Converted to ...
30874         (do_test): ... this.
30875         (TEST_FUNCTION): New macro.
30876         Include test-skeleton.c.
30877         * setjmp/tst-setjmp.c (main): Converted to ...
30878         (do_test): ... this.
30879         (TEST_FUNCTION): New macro.
30880         Include test-skeleton.c.
30881         * stdio-common/tst-sscanf.c (main): Converted to ...
30882         (do_test): ... this.
30883         (TEST_FUNCTION): New macro.
30884         Include test-skeleton.c.
30885         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
30886         (do_test): ... this.
30887         (TEST_FUNCTION): New macro.
30888         Include test-skeleton.c.
30890         * elf/tst-audit9.c (main): Converted to ...
30891         (do_test): ... this.
30892         (TEST_FUNCTION): New macro.
30893         Include test-skeleton.c.
30895 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
30897         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
30899 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
30901         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
30902         New variable.
30904 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
30906         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
30908 2015-07-14  Roland McGrath  <roland@hack.frob.com>
30910         * sysdeps/generic/dl-fileid.h: New file.
30911         * sysdeps/posix/dl-fileid.h: New file.
30912         * sysdeps/nacl/dl-fileid.h: New file.
30913         * include/link.h: Include <dl-fileid.h>.
30914         (struct link_map): Replace l_dev and l_ino with l_file_id.
30915         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
30916         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
30917         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
30919 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30921         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
30923 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30925         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
30926         Add iff $CXX is set.
30927         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
30928         Likewise.
30929         (tst-nodelete-zmodiff): Likewise.
30930         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
30932 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30934         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
30936 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30938         * sysdeps/aarch64/fpu/math_private.h
30939         (define math_opt_barrier): Add AArch64 version.
30940         (math_force_eval): Likewise.
30942 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
30944         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
30946 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
30948         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
30949         %ld with %jd and cast to intmax_t.
30950         (do_test_length_zero): Likewise.
30952 2015-07-10  Roland McGrath  <roland@hack.frob.com>
30954         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
30956 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
30958         * sysdeps/tile/libm-test-ulps: Regenerated.
30960         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
30961         Comment out the whole function, not just its body.
30963 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30965         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
30966         locks.
30968         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
30970 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30972         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
30973         (sem_assume_only_signals_cause_futex_EINTR): Remove.
30975 2015-07-10  Torvald Riegel  <triegel@redhat.com>
30977         * sysdeps/nptl/futex-internal.h: New file.
30978         * sysdeps/nacl/futex-internal.h: New file.
30979         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
30980         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
30981         error checking.
30982         (setxid_unmark_thread): Likewise.
30983         (__nptl_setxid): Likewise.
30984         (__wait_lookup_done): Likewise.
30985         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
30986         * nptl/nptl-init.c (sighandler_setxid): Likewise.
30987         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
30988         * nptl/pthread_once.c (clear_once_control): Likewise.
30989         (__pthread_once_slow): Likewise.
30990         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
30991         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
30992         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
30993         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
30994         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
30995         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
30996         Likewise.
30997         (__pthread_rwlock_rdlock): Likewise.
30998         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30999         Likewise.
31000         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31001         Likewise.
31002         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
31003         Likewise.
31004         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
31005         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
31006         Likewise.
31007         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
31008         __ASSUME_PRIVATE_FUTEX check.
31009         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
31010         Check that shared futexes are supported.
31011         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
31012         wrappers with error checking.
31013         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
31014         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
31015         * nptl/pthread_barrierattr_setpshared.c
31016         (pthread_barrierattr_setpshared): Check that shared futexes are
31017         supported.
31018         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
31019         Likewise.
31020         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
31021         Likewise.
31022         * nptl/sem_init.c (futex_private_if_supported): Remove.
31023         (__new_sem_init): Adapt and check that shared futexes are supported.
31024         * nptl/sem_open.c (sem_open): Likewise.
31025         * nptl/sem_post.c (futex_wake): Remove.
31026         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
31027         (do_futex_wait): Use futex wrappers with error checking.
31028         * nptl/sem_wait.c: Include lowlevellock.h.
31029         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
31030         Use futex_supports_pshared.
31031         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
31032         Use futex wrappers with error checking.
31033         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
31034         Likewise.
31035         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
31036         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
31037         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
31038         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
31039         (futex_wake): Likewise.
31040         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
31041         (do_futex_wait): Use futex wrappers with error checking.
31042         (__new_sem_wait_slow): Update EINTR handling.
31043         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
31045 2015-07-09  Martin Sebor  <msebor@redhat.com>
31047         [BZ #18435]
31048         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31049         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
31050         * nptl/Makefile (test-xfail-tst-once5): Define.
31052 2015-07-09  Roland McGrath  <roland@hack.frob.com>
31054         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
31055         * elf/dl-minimal.c: For readability, reorder some definitions and
31056         introduce more page breaks.  Include <stdio.h>.
31057         (__libc_fatal): New function.
31059         * include/unistd.h: Add rtld_hidden_proto for _exit.
31060         * posix/_exit.c: Add rtld_hidden_def.
31061         * sysdeps/mach/hurd/_exit.c: Likewise.
31062         * sysdeps/nacl/_exit.c: Likewise.
31063         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
31064         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
31066 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
31068         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
31069         bndmov encoding with zero displacement.
31071 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
31072             H.J. Lu  <hongjiu.lu@intel.com>
31074         [BZ #18134]
31075         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
31076         * sysdeps/i386/configure: Regenerated.
31077         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31078         (_dl_runtime_profile): Save and restore Intel MPX return bound
31079         registers when calling _dl_call_pltexit.  Add
31080         PRESERVE_BND_REGS_PREFIX before return.
31081         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
31082         (LRV_BND1_OFFSET): Likewise.
31083         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
31084         lrv_bnd1.
31085         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
31086         typo in bndmov encoding.
31087         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
31088         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
31089         branch instructions to preserve bounds.
31091 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
31094         [GLIBC_2.22]: Add fmemopen.
31096 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31098         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
31099         returns an error, also try to use host port from __mach_host_self for
31100         the __vm_wire call.
31101         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
31103 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31105         [BZ #18400]
31106         [BZ #18648]
31107         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
31108         Fix pr_uid and pr_gid members.
31109         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
31110         definition to elf_greg_t.
31112 2015-07-08  Roland McGrath  <roland@hack.frob.com>
31114         [BZ #18383]
31115         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
31116         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
31117         * sysdeps/arm/configure: Regenerated.
31118         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
31119         (test-xfail-tst-tlsalign-static): Variable removed.
31121         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
31122         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
31123         rather than explicit 'ln -s'.
31125         * resolv/rpc/netdb.h: New file.
31126         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
31128 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31130         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
31131         length buffers.
31132         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31133         test-skeleton.c.
31135         [BZ #6544]
31136         [BZ #11216]
31137         [BZ #12836]
31138         [BZ #13151]
31139         [BZ #13152]
31140         [BZ #14292]
31141         * include/stdio.h (fmemopen): Remove hidden prototype.
31142         (__fmemopen): Add new hidden prototype.
31143         * libio/Makefile: Add oldfmemopen object.
31144         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
31145         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
31146         compliance.
31147         * libio/oldfmemopen.c: New file: old fmemopen implementation for
31148         symbol compatibility.
31149         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
31150         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
31151         fmemopen.
31152         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
31153         on append and read mode.
31154         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
31155         fmemopen.
31156         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
31157         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
31158         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
31159         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
31160         Likewise.
31161         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
31162         [GLIBC_2.22]: Likewise.
31163         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
31164         Likewise.
31165         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
31166         Likewise.
31167         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
31168         [GLIBC_2.22]: Likewise.
31169         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
31170         [GLIBC_2.22]: Likewise.
31171         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
31172         [GLIBC_2.22]: Likewise.
31173         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
31174         [GLIBC_2.22]: Likewise.
31175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
31176         [GLIBC_2.22]: Likewise.
31177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
31178         [GLIBC_2.22]: Likewise.
31179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
31180         [GLIBC_2.22]: Likewise.
31181         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
31182         Likewise.
31183         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
31184         Likewise.
31185         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
31186         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
31187         [GLIBC_2.22]: Likewise.
31188         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
31189         [GLIBC_2.22]: Likewise.
31190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
31191         [GLIBC_2.22]: Likewise.
31192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
31193         [GLIBC_2.22]: Likewise.
31194         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
31195         Likewise.
31196         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
31197         Likewise.
31198         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
31199         Likewise.
31200         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
31201         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
31203 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
31205         [BZ #18643]
31206         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
31207         IPV6_PATHMTU, and IPV6_DONTFRAG.
31209 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
31211         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
31212         and _IO_UNBUFFERED.
31213         * libio/oldfileops.c: Likewise.
31214         * libio/wfileops.c: Likewise.
31216 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
31218         * nscd/selinux.c: Delete selinux/flask.h include.
31220 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
31222         [BZ #18641]
31223         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
31224         (putpwent): Likewise.
31225         (getpwnam): Likewise.
31226         (getpwent_r): Likewise.
31227         (getpwuid_r): Likewise.
31228         (getpwnam_r): Likewise.
31229         (fgetpwent_r): Likewise.
31231 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
31233         [BZ #18557]
31234         * inet/rcmd.c (__validuser2_sa): Check user first to
31235         short-circuit host check.
31237 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
31238             Mikhail Ilin  <m.ilin@samsung.com>
31240         [BZ #17833]
31241         * elf/Makefile (tests): Add tst-nodelete.
31242         (modules-names): Add tst-nodelete-uniquemod.
31243         (tst-nodelete-uniquemod.so-no-z-defs): New.
31244         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
31245         (tst-nodelete-zmod.so-no-z-defs): Likewise.
31246         ($(objpfx)tst-nodelete): Likewise.
31247         ($(objpfx)tst-nodelete.out): Likewise.
31248         (LDFLAGS-tst-nodelete): Likewise.
31249         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
31250         * elf/dl-close.c (_dl_close_worker): Add a parameter to
31251         implement forced object deletion.
31252         (_dl_close): Pass false to _dl_close_worker.
31253         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
31254         * elf/tst-nodelete.cc: New file.
31255         * elf/tst-nodeletelib.cc: Likewise.
31256         * elf/tst-znodeletelib.cc: Likewise.
31257         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
31259 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31261         [BZ #18508]
31262         * stdlib/Makefile ($(objpfx)tst-makecontext3):
31263         Depend on $(libdl).
31264         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
31265         is not called infinitely times.
31266         (backtrace_helper): New function.
31267         (trace_arg): New struct.
31268         (st1): Enlarge stack size.
31269         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31270         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
31271         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31272         Likewise.
31274 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31276         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31278 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31280         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
31281         Include sys/types.h instead of bits/types.h.
31282         Remove inclusion of bits/wordsize.h.
31284 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31286         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
31287         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
31288         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
31289         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
31290         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
31291         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
31293 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31295         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
31296         link-defines.sym.
31297         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
31298         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
31299         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
31300         and LR_SIZE.
31301         * sysdeps/i386/link-defines.sym: New file.
31303 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31305         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
31306         (modules-names): Add tst-auditmod3a tst-auditmod3b.
31307         ($(objpfx)tst-audit3): New rule.
31308         ($(objpfx)tst-audit3.out): Likewise.
31309         * sysdeps/i386/tst-audit3.c: New file.
31310         * sysdeps/i386/tst-audit3.h: Likewise.
31311         * sysdeps/i386/tst-auditmod3a.c: Likewise.
31312         * sysdeps/i386/tst-auditmod3b.c: Likewise.
31314 2015-07-07  Torvald Riegel  <triegel@redhat.com>
31316         [BZ #18633]
31317         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
31318         pointer in C code.
31319         (__strcat_c): Likewise.
31320         (__strcat_g): Likewise.
31322 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
31324         [BZ #18592]
31325         * misc/sbrk.c: Set errno to ENOMEM on overflow.
31327 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31329         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
31330         New function.  (__ieee754_sqrtf): New function.
31331         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
31332         New function.
31333         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
31334         New function.
31336 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31338         * sysdeps/ieee754/support.c: Remove unused file.
31340 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31342         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
31343         registers instead of d ones so the layout is kernel abi compatible.
31344         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
31345         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
31346         Likewise.
31348 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31350         * sysdeps/aarch64/libm-test-ulps: Regenerated.
31352 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31354         [BZ #18619]
31355         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
31356         and return argument in case of subnormal argument.
31358 2015-07-01  Martin Sebor  <msebor@redhat.com>
31360         [BZ #18435]
31361         * nptl/Makefile: Add tst-once5.cc.
31362         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31363         Remove macro redefinitions.
31364         * nptl/tst-once5.cc: New test.
31366 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31368         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31370         * sysdeps/arm/libm-test-ulps: Regenerated.
31372         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31373         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31375 2015-06-30  Torvald Riegel  <triegel@redhat.com>
31377         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
31378         lll_lock_wait_private and lll_futex_wake probes.
31380         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31381         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
31382         Likewise.
31383         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
31384         atomic_spin_nop.
31385         * sysdeps/x86_64/bits/atomic.h: Likewise.
31386         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
31387         to atomic_spin_nop and move ...
31388         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31389         ... here and ...
31390         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
31391         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
31392         atomic_spin_nop instead of BUSY_WAIT_NOP.
31393         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
31394         Likewise.
31395         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
31396         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31397         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
31398         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
31399         instead of atomic_delay.
31401 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
31403         [BZ #18613]
31404         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
31405         X_ADJ not X when adjusting exponent.
31406         (__ieee754_gamma_r): Do intermediate computations in
31407         round-to-nearest then adjust overflowing and underflowing results
31408         as needed.
31409         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
31410         of X_ADJ not X when adjusting exponent.
31411         (__ieee754_gammaf_r): Do intermediate computations in
31412         round-to-nearest then adjust overflowing and underflowing results
31413         as needed.
31414         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
31415         log of X_ADJ not X when adjusting exponent.
31416         (__ieee754_gammal_r): Do intermediate computations in
31417         round-to-nearest then adjust overflowing and underflowing results
31418         as needed.  Use 1.0L not 1.0f as numerator of division.
31419         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
31420         log of X_ADJ not X when adjusting exponent.
31421         (__ieee754_gammal_r): Do intermediate computations in
31422         round-to-nearest then adjust overflowing and underflowing results
31423         as needed.  Use 1.0L not 1.0f as numerator of division.
31424         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
31425         of X_ADJ not X when adjusting exponent.
31426         (__ieee754_gammal_r): Do intermediate computations in
31427         round-to-nearest then adjust overflowing and underflowing results
31428         as needed.  Use 1.0L not 1.0f as numerator of division.
31429         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
31430         to auto-libm-test-in.
31431         (tgamma_test): Use ALL_RM_TEST.
31432         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
31433         tests of tgamma with spurious-overflow.
31434         * math/auto-libm-test-out: Regenerated.
31435         * math/gen-libm-have-vector-test.sh: Do not check for START.
31436         * sysdeps/i386/fpu/libm-test-ulps: Update.
31437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31439         [BZ #18612]
31440         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
31441         arguments, just return 0.5 times the argument, with underflow
31442         forced as needed.
31443         * math/auto-libm-test-in: Add more tests of j1.
31444         * math/auto-libm-test-out: Regenerated.
31446         [BZ #16559]
31447         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
31448         (__ieee754_j1): Force underflow exception for small results.
31449         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31450         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
31451         (__ieee754_j1f): Force underflow exception for small results.
31452         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31453         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31454         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31455         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
31456         (__ieee754_j1l): Force underflow exception for small results.
31457         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31458         * math/auto-libm-test-in: Add more tests of j1 and jn.
31459         * math/auto-libm-test-out: Regenerated.
31461         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
31462         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
31463         (PF_MPLS): Likewise.
31464         (AF_IB): Likewise.
31465         (AF_MPLS): Likewise.
31466         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
31467         value and macro.
31468         (MS_RMT_MASK): Include MS_LAZYTIME.
31470 2015-06-26  Mel Gorman  <mgorman@suse.de>
31472         [BZ #18502]
31473         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
31474         already minimal.
31476 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
31478         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
31479         (DT_MIPS_NUM): Update.
31480         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
31481         DT_MIPS_RLD_MAP_REL.
31483 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
31485         [BZ #16559]
31486         [BZ #18602]
31487         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
31488         round-to-nearest internally then recompute results that
31489         underflowed to zero in the original rounding mode.
31490         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31491         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31492         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31493         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31494         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
31495         * sysdeps/i386/fpu/libm-test-ulps: Update.
31496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31498 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31500         * NEWS: Fixed description of link with vector math library.
31502 2015-06-25  Andreas Schwab  <schwab@suse.de>
31504         [BZ #18549]
31505         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
31506         * libio/test-fmemopen.c (do_test): Add test for it.
31508 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31510         [BZ #17841]
31511         * Makeconfig (no-pie-ldflag): New.
31512         (+link): Set to $(+link-pie) if default to PIE.
31513         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
31514         * config.make.in (build-pie-default): New.
31515         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
31516         is default.  AC_SUBST.
31517         * configure: Regenerated.
31518         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
31520 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31522         * nptl/descr.h (struct pthread): Change type of field setxid_futex
31523         to 'unsigned int'.
31525         * resolv/gai_misc.h (struct waitlist): Change type of field
31526         counterp to 'volatile unsigned int *'.
31527         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
31528         FUTEXADDR and OLDVAL.
31529         * resolv/getaddrinfo_a.c (getaddrinfo_a):
31530         Give local variable TOTAL type 'volatile unsigned int'.
31531         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31532         * resolv/gai_suspend.c (gai_suspend):
31533         Give local variable CNTR type 'unsigned int'.
31535         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
31536         counterp to 'volatile unsigned int *'.
31537         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
31538         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
31539         (aio_suspend): Give local variable CNTR type 'unsigned int'.
31540         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
31541         Give local variable TOTAL type 'volatile unsigned int'.
31542         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31544 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31546         [BZ #18383]
31547         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
31548         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
31549         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
31550         comment for i386/x86-64.
31551         (test-xfail-tst-tlsalign-extern-static): Removed.
31553 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31555         * math/test-double.h: New file.
31556         * math/test-float.h: Likewise.
31557         * math/test-ldouble.h: Likewise.
31558         * math/test-math-inline.h: Likewise.
31559         * math/test-math-no-inline.h: Likewise.
31560         * math/test-math-scalar.h: Likewise.
31561         * math/test-math-vector.h: Likewise.
31562         * math/test-vec-loop.h: Remove file.  Contents moved into
31563         test-math-vector.h.
31564         * math/libm-test.inc (MATHCONST): Do not document macro.
31565         * math/test-double.c: Include test-double.h, test-math-no-inline.h
31566         and test-math-scalar.h.
31567         (FUNC): Remove macro.
31568         (FUNC_TEST): Likewise.
31569         (FLOAT): Likewise.
31570         (MATHCONST): Likewise.
31571         (PRINTF_EXPR): Likewise.
31572         (PRINTF_XEXPR): Likewise.
31573         (PRINTF_NEXPR): Likewise.
31574         (TEST_DOUBLE): Likewise.
31575         (TEST_MATHVEC): Likewise.
31576         (__NO_MATH_INLINES): Likewise.
31577         * math/test-float.c: Include test-float.h, test-math-no-inline.h
31578         and test-math-scalar.h.
31579         (FUNC): Remove macro.
31580         (FUNC_TEST): Likewise.
31581         (FLOAT): Likewise.
31582         (MATHCONST): Likewise.
31583         (PRINTF_EXPR): Likewise.
31584         (PRINTF_XEXPR): Likewise.
31585         (PRINTF_NEXPR): Likewise.
31586         (TEST_FLOAT): Likewise.
31587         (TEST_MATHVEC): Likewise.
31588         (__NO_MATH_INLINES): Likewise.
31589         * math/test-idouble.c: Include test-double.h, test-math-inline.h
31590         and test-math-scalar.h.
31591         (FUNC): Remove macro.
31592         (FUNC_TEST): Likewise.
31593         (FLOAT): Likewise.
31594         (MATHCONST): Likewise.
31595         (PRINTF_EXPR): Likewise.
31596         (PRINTF_XEXPR): Likewise.
31597         (PRINTF_NEXPR): Likewise.
31598         (TEST_DOUBLE): Likewise.
31599         (TEST_MATHVEC): Likewise.
31600         (TEST_INLINE): Likewise.
31601         (__NO_MATH_INLINES): Likewise.
31602         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
31603         test-math-scalar.h.
31604         (FUNC): Remove macro.
31605         (FUNC_TEST): Likewise.
31606         (FLOAT): Likewise.
31607         (MATHCONST): Likewise.
31608         (PRINTF_EXPR): Likewise.
31609         (PRINTF_XEXPR): Likewise.
31610         (PRINTF_NEXPR): Likewise.
31611         (TEST_FLOAT): Likewise.
31612         (TEST_MATHVEC): Likewise.
31613         (TEST_INLINE): Likewise.
31614         (__NO_MATH_INLINES): Likewise.
31615         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
31616         and test-math-scalar.h.
31617         (FUNC): Remove macro.
31618         (FUNC_TEST): Likewise.
31619         (FLOAT): Likewise.
31620         (MATHCONST): Likewise.
31621         (PRINTF_EXPR): Likewise.
31622         (PRINTF_XEXPR): Likewise.
31623         (PRINTF_NEXPR): Likewise.
31624         (TEST_LDOUBLE): Likewise.
31625         (TEST_MATHVEC): Likewise.
31626         (TEST_INLINE): Likewise.
31627         (__NO_MATH_INLINES): Likewise.
31628         * math/test-ldouble.c: Include test-ldouble.h,
31629         test-math-no-inline.h and test-math-scalar.h.
31630         (FUNC): Remove macro.
31631         (FUNC_TEST): Likewise.
31632         (FLOAT): Likewise.
31633         (MATHCONST): Likewise.
31634         (PRINTF_EXPR): Likewise.
31635         (PRINTF_XEXPR): Likewise.
31636         (PRINTF_NEXPR): Likewise.
31637         (TEST_LDOUBLE): Likewise.
31638         (TEST_MATHVEC): Likewise.
31639         (__NO_MATH_INLINES): Likewise.
31640         * math/test-double-vlen2.h: Include test-double.h,
31641         test-math-no-inline.h and test-math-vector.h.
31642         (FLOAT): Remove macro.
31643         (FUNC): Likewise.
31644         (MATHCONST): Likewise.
31645         (PRINTF_EXPR): Likewise.
31646         (PRINTF_XEXPR): Likewise.
31647         (PRINTF_NEXPR): Likewise.
31648         (TEST_DOUBLE): Likewise.
31649         (TEST_MATHVEC): Likewise.
31650         (__NO_MATH_INLINES): Likewise.
31651         (CNCT): Likewise.
31652         (CONCAT): Likewise.
31653         (WRAPPER_NAME): Likewise.
31654         (WRAPPER_DECL): Likewise.
31655         (WRAPPER_DECL_ff): Likewise.
31656         (WRAPPER_DECL_fFF): Likewise.
31657         (VECTOR_WRAPPER): Likewise.
31658         (VECTOR_WRAPPER_ff): Likewise.
31659         (VECTOR_WRAPPER_fFF): Likewise.
31660         (VEC_LEN): New macro.
31661         * math/test-double-vlen4.h: Include test-double.h,
31662         test-math-no-inline.h and test-math-vector.h.
31663         (FLOAT): Remove macro.
31664         (FUNC): Likewise.
31665         (MATHCONST): Likewise.
31666         (PRINTF_EXPR): Likewise.
31667         (PRINTF_XEXPR): Likewise.
31668         (PRINTF_NEXPR): Likewise.
31669         (TEST_DOUBLE): Likewise.
31670         (TEST_MATHVEC): Likewise.
31671         (__NO_MATH_INLINES): Likewise.
31672         (CNCT): Likewise.
31673         (CONCAT): Likewise.
31674         (WRAPPER_NAME): Likewise.
31675         (WRAPPER_DECL): Likewise.
31676         (WRAPPER_DECL_ff): Likewise.
31677         (WRAPPER_DECL_fFF): Likewise.
31678         (VECTOR_WRAPPER): Likewise.
31679         (VECTOR_WRAPPER_ff): Likewise.
31680         (VECTOR_WRAPPER_fFF): Likewise.
31681         (VEC_LEN): New macro.
31682         * math/test-double-vlen8.h: Include test-double.h,
31683         test-math-no-inline.h and test-math-vector.h.
31684         (FLOAT): Remove macro.
31685         (FUNC): Likewise.
31686         (MATHCONST): Likewise.
31687         (PRINTF_EXPR): Likewise.
31688         (PRINTF_XEXPR): Likewise.
31689         (PRINTF_NEXPR): Likewise.
31690         (TEST_DOUBLE): Likewise.
31691         (TEST_MATHVEC): Likewise.
31692         (__NO_MATH_INLINES): Likewise.
31693         (CNCT): Likewise.
31694         (CONCAT): Likewise.
31695         (WRAPPER_NAME): Likewise.
31696         (WRAPPER_DECL): Likewise.
31697         (WRAPPER_DECL_ff): Likewise.
31698         (WRAPPER_DECL_fFF): Likewise.
31699         (VECTOR_WRAPPER): Likewise.
31700         (VECTOR_WRAPPER_ff): Likewise.
31701         (VECTOR_WRAPPER_fFF): Likewise.
31702         (VEC_LEN): New macro.
31703         * math/test-float-vlen4.h: Include test-float.h,
31704         test-math-no-inline.h and test-math-vector.h.
31705         (FLOAT): Remove macro.
31706         (FUNC): Likewise.
31707         (MATHCONST): Likewise.
31708         (PRINTF_EXPR): Likewise.
31709         (PRINTF_XEXPR): Likewise.
31710         (PRINTF_NEXPR): Likewise.
31711         (TEST_FLOAT): Likewise.
31712         (TEST_MATHVEC): Likewise.
31713         (__NO_MATH_INLINES): Likewise.
31714         (CNCT): Likewise.
31715         (CONCAT): Likewise.
31716         (WRAPPER_NAME): Likewise.
31717         (WRAPPER_DECL): Likewise.
31718         (WRAPPER_DECL_ff): Likewise.
31719         (WRAPPER_DECL_fFF): Likewise.
31720         (VECTOR_WRAPPER): Likewise.
31721         (VECTOR_WRAPPER_ff): Likewise.
31722         (VECTOR_WRAPPER_fFF): Likewise.
31723         (VEC_LEN): New macro.
31724         * math/test-float-vlen8.h: Include test-float.h,
31725         test-math-no-inline.h and test-math-vector.h.
31726         (FLOAT): Remove macro.
31727         (FUNC): Likewise.
31728         (MATHCONST): Likewise.
31729         (PRINTF_EXPR): Likewise.
31730         (PRINTF_XEXPR): Likewise.
31731         (PRINTF_NEXPR): Likewise.
31732         (TEST_FLOAT): Likewise.
31733         (TEST_MATHVEC): Likewise.
31734         (__NO_MATH_INLINES): Likewise.
31735         (CNCT): Likewise.
31736         (CONCAT): Likewise.
31737         (WRAPPER_NAME): Likewise.
31738         (WRAPPER_DECL): Likewise.
31739         (WRAPPER_DECL_ff): Likewise.
31740         (WRAPPER_DECL_fFF): Likewise.
31741         (VECTOR_WRAPPER): Likewise.
31742         (VECTOR_WRAPPER_ff): Likewise.
31743         (VECTOR_WRAPPER_fFF): Likewise.
31744         (VEC_LEN): New macro.
31745         * math/test-float-vlen16.h: Include test-float.h,
31746         test-math-no-inline.h and test-math-vector.h.
31747         (FLOAT): Remove macro.
31748         (FUNC): Likewise.
31749         (MATHCONST): Likewise.
31750         (PRINTF_EXPR): Likewise.
31751         (PRINTF_XEXPR): Likewise.
31752         (PRINTF_NEXPR): Likewise.
31753         (TEST_FLOAT): Likewise.
31754         (TEST_MATHVEC): Likewise.
31755         (__NO_MATH_INLINES): Likewise.
31756         (CNCT): Likewise.
31757         (CONCAT): Likewise.
31758         (WRAPPER_NAME): Likewise.
31759         (WRAPPER_DECL): Likewise.
31760         (WRAPPER_DECL_ff): Likewise.
31761         (WRAPPER_DECL_fFF): Likewise.
31762         (VECTOR_WRAPPER): Likewise.
31763         (VECTOR_WRAPPER_ff): Likewise.
31764         (VECTOR_WRAPPER_fFF): Likewise.
31765         (VEC_LEN): New macro.
31766         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
31767         test-vec-loop.h.
31768         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
31769         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
31770         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
31771         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
31772         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
31773         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
31774         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
31776 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31778         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
31779         (__getlogin_r): ... this.
31781 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31783         [BZ #18594]
31784         * math/s_ccosh.c (__ccosh): Compare with least normal value
31785         instead of comparing class with FP_SUBNORMAL.
31786         * math/s_ccoshf.c (__ccoshf): Likewise.
31787         * math/s_ccoshl.c (__ccoshl): Likewise.
31788         * math/s_cexp.c (__cexp): Likewise.
31789         * math/s_cexpf.c (__cexpf): Likewise.
31790         * math/s_cexpl.c (__cexpl): Likewise.
31791         * math/s_csin.c (__csin): Likewise.
31792         * math/s_csinf.c (__csinf): Likewise.
31793         * math/s_csinh.c (__csinh): Likewise.
31794         * math/s_csinhf.c (__csinhf): Likewise.
31795         * math/s_csinhl.c (__csinhl): Likewise.
31796         * math/s_csinl.c (__csinl): Likewise.
31797         * math/s_ctan.c (__ctan): Likewise.
31798         * math/s_ctanf.c (__ctanf): Likewise.
31799         * math/s_ctanh.c (__ctanh): Likewise.
31800         * math/s_ctanhf.c (__ctanhf): Likewise.
31801         * math/s_ctanhl.c (__ctanhl): Likewise.
31802         * math/s_ctanl.c (__ctanl): Likewise.
31803         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
31804         csin, csinh, ctan and ctanh.
31805         * math/auto-libm-test-out: Regenerated.
31806         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
31807         * sysdeps/i386/fpu/libm-test-ulps: Update.
31808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31810 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31812         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
31813         return value is wrong, print the expected value too.
31815 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31817         [BZ #18585]
31818         * elf/readlib.c (is_gdb_python_file): New.
31819         (process_file): Don't issue errors on filenames with -gdb.py
31820         suffix.
31822 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31824         * math/auto-libm-test-in: Add more tests of csin and csinh.
31825         * math/auto-libm-test-out: Regenerated.
31826         * math/libm-test.inc (csin_test_data): Remove tests moved to
31827         auto-libm-test-in.
31828         (csinh_test_data): Likewise.
31830         [BZ #18593]
31831         * math/s_csin.c (__csin): Negate before rather than after possibly
31832         overflowing multiplication.
31833         * math/s_csinf.c (__csinf): Likewise.
31834         * math/s_csinh.c (__csinh): Likewise.
31835         * math/s_csinhf.c (__csinhf): Likewise.
31836         * math/s_csinhl.c (__csinhl): Likewise.
31837         * math/s_csinl.c (__csinl): Likewise.
31838         * math/auto-libm-test-in: Add some tests of csin and csinh.
31839         * math/auto-libm-test-out: Regenerated.
31840         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
31841         (csinh_test_data): Likewise.
31842         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31844         [BZ #18586]
31845         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
31846         underflow exception for small results.
31848 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
31850         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31851         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
31852         variable and included header.
31853         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
31854         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
31855         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
31856         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
31857         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
31858         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
31859         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
31860         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
31861         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
31862         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
31863         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
31864         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
31865         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
31866         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
31867         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
31868         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
31870 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31872         [BZ #16526]
31873         [BZ #16538]
31874         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
31875         (__sin): Force underflow exception for arguments with small
31876         absolute value.
31877         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
31878         (__kernel_sinf): Force underflow exception for arguments with
31879         small absolute value.
31880         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
31881         (__kernel_sincosl): Force underflow exception for arguments with
31882         small absolute value.
31883         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
31884         (__kernel_sinl): Force underflow exception for arguments with
31885         small absolute value.
31886         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
31887         (__kernel_sincosl): Force underflow exception for arguments with
31888         small absolute value.
31889         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
31890         (__kernel_sinl): Force underflow exception for arguments with
31891         small absolute value.
31892         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
31893         (__kernel_sinl): Force underflow exception for arguments with
31894         small absolute value.
31895         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
31896         (__kernel_sinf): Force underflow exception for arguments with
31897         small absolute value.
31898         * math/auto-libm-test-in: Add more tests of sin and sincos.
31899         * math/auto-libm-test-out: Regenerated.
31901         [BZ #18245]
31902         [BZ #18583]
31903         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
31904         (__kernel_standard_l): Use feholdexcept and fesetenv around
31905         conversion to double instead of special-casing overflow and
31906         underflow.
31907         * math/libm-test.inc (fmod_test_data): Add more tests.
31908         (remainder_test_data): Likewise.
31909         (sqrt_test_data): Likewise.
31911 2015-06-23  Torvald Riegel  <triegel@redhat.com>
31913         [BZ #17403]
31914         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
31915         atomic_read_barrier, atomic_write_barrier): Define.
31916         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
31917         atomic_read_barrier, atomic_write_barrier): Define.
31919 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31921         * math/Makefile [$(PERL) != no]
31922         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
31923         dependency on libm-test.stmp below the inclusion of Rules.
31925 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
31927         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
31928         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
31929         and included header.
31930         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
31931         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
31932         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
31933         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
31934         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
31935         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
31936         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
31937         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
31938         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
31939         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
31940         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
31941         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
31942         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
31943         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
31944         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
31945         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
31946         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
31947         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
31948         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
31950 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
31952         [BZ #18371]
31953         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
31954         intermediate but not final result might underflow.
31955         * math/s_csqrtf.c (__csqrtf): Likewise.
31956         * math/s_csqrtl.c (__csqrtl): Likewise.
31957         * math/auto-libm-test-in: Add more tests of csqrt.
31958         * math/auto-libm-test-out: Regenerated.
31959         * sysdeps/i386/fpu/libm-test-ulps: Update.
31961         [BZ #18219]
31962         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
31963         threshold on absolute value of exponent for which scaling is used.
31964         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31965         * math/auto-libm-test-in: Add more tests of exp2.
31966         * math/auto-libm-test-out: Regenerated.
31968 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
31970         [BZ #17977]
31971         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
31972         when initializing interface list, based on the bug analysis
31973         and the patch proposed by Eric Newton.
31974         * resolv/tst-res_hconf_reorder.c: New test.
31975         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
31976         tst-res_hconf_reorder.
31977         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
31978         and $(shared-thread-library).
31979         (tst-res_hconf_reorder-ENV): New variable.
31981         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
31982         in comment.
31984 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
31986         [BZ #16353]
31987         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
31988         (__expm1): Force underflow exception for arguments with small
31989         absolute value.
31990         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
31991         (__expm1f): Force underflow exception for arguments with small
31992         absolute value.
31993         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
31994         (__expm1): Force underflow exception for arguments with small
31995         absolute value.
31996         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
31997         (__expm1f): Force underflow exception for arguments with small
31998         absolute value.
31999         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32000         Check for small arguments before calling __expm1.
32001         * math/auto-libm-test-in: Do not mark underflow exceptions as
32002         possibly missing for bug 16353.
32003         * math/auto-libm-test-out: Regenerated.
32005 2015-06-22  Andreas Schwab  <schwab@suse.de>
32007         [BZ #18513]
32008         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
32009         PTR queries.
32011 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
32013         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
32015         * string/strcoll_l.c: Remove unused struct element idxnow.
32017 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
32019         [BZ #18569]
32020         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
32021         underflow and return argument in case of subnormal argument.
32022         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32023         Likewise.
32024         * math/auto-libm-test-in: Add more tests of expm1.
32025         * math/auto-libm-test-out: Regenerated.
32027         [BZ #16361]
32028         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
32029         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
32030         tiny results.
32031         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
32032         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
32033         tiny results.
32034         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
32035         mark underflow exceptions as possibly missing for bug 16361.
32036         * math/auto-libm-test-out: Regenerated.
32038 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
32040         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
32041         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
32042         Remove variable.
32043         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32044         (test-xfail-XOPEN2K8/utmpx.h/conform).
32046         * conform/conformtest.pl ($xerrors): New variable.
32047         (note_error): New function.
32048         (compiletest): New argument $xfail.  Use not_error.
32049         (runtest): Likewise.
32050         (top level): Handle xfail- lines.  Update calls to compiletest and
32051         runtest.  Handle xfail- and optional- in headers listed with
32052         allow-header.
32053         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
32054         (O_EXEC): Likewise.
32055         (O_SEARCH): Likewise.
32056         * conform/data/stropts.h-data (ioctl): Likewise.
32057         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
32058         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
32059         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
32060         (msghdr.msg_controllen): Likewise.
32061         (cmsghdr.cmsg_len): Likewise.
32062         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
32063         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
32064         variable.
32065         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32066         (test-xfail-XPG4/stropts.h/conform): Likewise.
32067         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32068         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32069         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32070         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32071         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32072         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32073         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32074         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32075         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32076         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32077         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32078         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32079         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32080         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32081         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32082         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32083         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32084         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32085         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32087 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
32089         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
32090         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
32091         definitions for proper unfolding of __MATHDECL_VEC.
32093 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32095         * benchtests/bench-strcoll.c:
32096         Include string.h.
32097         (main): Remove unused variable res.
32099 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32101         * timezone/Makefile (%/UTC %/Universal):
32102         Generate test-result files for UTC and Universal.
32104 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32106         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32108 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
32110         [BZ #16350]
32111         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
32112         for arguments with small absolute value.
32113         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
32114         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
32115         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
32116         (__asinh): Force underflow exception for arguments with small
32117         absolute value.
32118         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
32119         (__asinhf): Force underflow exception for arguments with small
32120         absolute value.
32121         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
32122         (__asinhl): Force underflow exception for arguments with small
32123         absolute value.
32124         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
32125         (__asinhl): Force underflow exception for arguments with small
32126         absolute value.
32127         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
32128         (__asinhl): Force underflow exception for arguments with small
32129         absolute value.
32130         * math/auto-libm-test-in: Do not mark underflow exceptions as
32131         possibly missing for bug 16350.
32132         * math/auto-libm-test-out: Regenerated.
32134         * include/bits/ipc.h: Remove file.
32135         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
32136         variable.
32137         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32138         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32139         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32140         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32141         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32142         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32143         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32144         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32145         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32147         * math/auto-libm-test-in: Remove spurious underflow allowance for
32148         tests of cexp.
32149         * math/auto-libm-test-out: Regenerated.
32151         [BZ #18558]
32152         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
32153         unconditional definition.
32154         (MCAST_BLOCK_SOURCE): Likewise.
32155         (MCAST_UNBLOCK_SOURCE): Likewise.
32156         (MCAST_LEAVE_GROUP): Likewise.
32157         (MCAST_JOIN_SOURCE_GROUP): Likewise.
32158         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32159         (MCAST_MSFILTER): Likewise.
32160         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
32161         Remove variable.
32162         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32163         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32164         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32165         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32166         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32168 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
32170         * NEWS: Mention addition of x86_64 vector sincosf.
32171         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
32172         * math/test-float-vlen4.h: Likewise.
32173         * math/test-float-vlen8.h: Likewise.
32174         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32175         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
32176         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32177         * sysdeps/x86_64/fpu/Versions: New versions added.
32178         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32179         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32180         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32181         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
32182         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
32183         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
32184         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
32185         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
32186         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
32187         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
32188         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
32189         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
32190         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
32191         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
32192         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
32193         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
32194         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
32195         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32196         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32197         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32198         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32199         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32200         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32201         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32203         * NEWS: Mention addition of x86_64 vector sincos.
32204         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
32205         * math/math.h (__MATHDECL_VEC): New macro.
32206         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
32207         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
32208         declaration under condition.
32209         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
32210         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
32211         TEST_VEC_LOOP change.
32212         * math/test-double-vlen4.h: Likewise.
32213         * math/test-double-vlen8.h: Likewise.
32214         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
32215         * math/test-float-vlen4.h: Likewise.
32216         * math/test-float-vlen8.h: Likewise.
32217         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32218         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
32219         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32220         * sysdeps/x86_64/fpu/Versions: New versions added.
32221         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32222         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32223         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32224         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
32225         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
32226         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
32227         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
32228         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
32229         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
32230         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
32231         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
32232         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
32233         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
32234         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
32235         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
32236         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
32237         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
32238         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32239         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32240         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32241         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32242         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32243         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32244         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32246         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32247         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32248         redirections for powf.
32249         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32250         * sysdeps/x86_64/fpu/Versions: New versions added.
32251         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32252         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32253         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32254         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
32255         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
32256         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
32257         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
32258         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
32259         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
32260         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
32261         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
32262         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
32263         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
32264         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
32265         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
32266         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
32267         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
32268         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32269         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32270         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32271         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32272         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32273         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32274         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32275         * math/test-float-vlen16.h: Fixed 2 argument macro.
32276         * math/test-float-vlen4.h: Likewise.
32277         * math/test-float-vlen8.h: Likewise.
32278         * NEWS: Mention addition of x86_64 vector powf.
32280 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
32282         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32283         and redefine.
32284         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32285         and redefine.
32286         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
32287         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32288         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32290         [BZ #18553]
32291         * resource/getpriority.c (getpriority): Rename to __getpriority
32292         and define as weak alias of __getpriority.
32293         * resource/setpriority.c (setpriority): Rename to __setpriority
32294         and define as weak alias of __setpriority.
32295         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
32296         __getpriority and define as weak alias of __getpriority.
32297         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
32298         __setpriority and define as weak alias of __setpriority.
32299         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
32300         strong name.
32301         (setpriority): Use __setpriority as strong name.
32302         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
32303         __getpriority and define as weak alias of __getpriority.
32304         * include/sys/resource.h (__getpriority): Declare.  Use
32305         libc_hidden_proto.
32306         (__setpriority): Likewise.
32307         (getpriority): Don't use libc_hidden_proto.
32308         (setpriority): Likewise.
32309         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
32310         getpriority.  Call __setpriority instead of setpriority.
32311         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
32312         Remove variable.
32314         [BZ #18547]
32315         * misc/getttyent.c (getttynam): Rename to __getttynam and define
32316         as weak alias of __getttynam.  Use prototype function definition.
32317         Call __setttyent, __getttyent and __endttyent instead of
32318         setttyent, getttyent and endttyent.
32319         (getttyent): Rename to __getttyent and define as weak alias of
32320         __getttyent.  Call __setttyent instead of setttyent.  Call
32321         __fgets_unlocked instead of fgets_unlocked.
32322         (setttyent): Rename to __setttyent and define as weak alias of
32323         __setttyent.
32324         (endttyent): Rename to __endttyent and define as weak alias of
32325         __endttyent.
32326         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
32327         (__setttyent): Likewise.
32328         (__endttyent): Likewise.
32329         (getttyent): Don't use libc_hidden_proto.
32330         (setttyent): Likewise.
32331         (endttyent): Likewise.
32332         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
32333         __endttyent instead of setttyent, getttyent and endttyent.
32334         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
32335         Remove variable.
32337         [BZ #18546]
32338         * socket/recv.c (__recv): Use libc_hidden_def.
32339         * socket/socket.c (__socket): Likewise.
32340         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
32341         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
32342         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
32343         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
32344         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
32345         libc_hidden_def.
32346         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
32347         libc_hidden_weak.
32348         * include/sys/socket.h (__socket): Do not use attribute_hidden.
32349         Use libc_hidden_proto.
32350         (__recv): Likewise.
32351         * socket/Versions (libc): Export __recv and __socket at version
32352         GLIBC_PRIVATE.
32353         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
32354         instead of recv.
32355         (init_mq_netlink): Call __socket instead of socket.
32356         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
32357         Remove variable.
32359         [BZ #18545]
32360         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
32361         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
32362         hidden_weak.
32363         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
32364         define as alias of __mq_timedsend.  Use hidden_weak.
32365         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
32366         __mq_timedsend as strong name.
32367         (mq_timedreceive): Use __mq_timedreceive as strong name.
32368         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
32369         (__mq_timedreceive): Likewise.
32370         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
32371         __mq_timedreceive instead of mq_timedreceive.
32372         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
32373         instead of mq_timedsend.
32374         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
32375         Remove variable.
32377         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
32378         hidden_def and hidden_weak instead of libc_hidden_def and
32379         libc_hidden_weak.
32380         (top level): Refer to hidden_def in comment.
32381         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
32382         macro.  Use it instead of libc_hidden_def.
32383         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
32384         specify __GI_* name explicitly.
32385         (mq_timedreceive): Likewise.
32386         (mq_setattr): Likewise.
32388         [BZ #18544]
32389         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
32390         __pthread_barrier_init and define as weak alias of
32391         __pthread_barrier_init.
32392         * sysdeps/sparc/nptl/pthread_barrier_init.c
32393         (pthread_barrier_init): Likewise.
32394         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
32395         __pthread_barrier_wait and define as weak alias of
32396         __pthread_barrier_wait.
32397         * sysdeps/sparc/nptl/pthread_barrier_wait.c
32398         (pthread_barrier_wait): Likewise.
32399         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
32400         (pthread_barrier_wait): Likewise.
32401         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
32402         (pthread_barrier_wait): Likewise.
32403         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
32404         (pthread_barrier_wait): Likewise.
32405         * nptl/Versions (libpthread): Export __pthread_barrier_init and
32406         __pthread_barrier_wait at version GLIBC_PRIVATE.
32407         * include/pthread.h (__pthread_barrier_init): Declare.
32408         (__pthread_barrier_wait): Likewise.
32409         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
32410         Call __pthread_barrier_wait instead of pthread_barrier_wait.
32411         (helper_thread): Likewise.
32412         (init_mq_netlink): Call __pthread_barrier_init instead of
32413         pthread_barrier_init.
32415         [BZ #18542]
32416         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
32417         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
32418         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
32419         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
32420         vswscanf.
32421         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
32422         Remove variable.
32424         [BZ #18540]
32425         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
32426         strong alias of _IO_fflush.  Use libc_hidden_def.
32427         * libio/iofflush_u.c (fflush_unlocked): Rename to
32428         __fflush_unlocked and define as weak alias of __fflush_unlocked.
32429         Use libc_hidden_weak.
32430         * include/stdio.h (__fflush_unlocked): Declare.  Use
32431         libc_hidden_proto.
32432         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
32433         fflush_unlocked.
32434         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
32435         Remove variable.
32437         [BZ #18539]
32438         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
32439         define as weak alias of __addseverity.
32440         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
32441         Remove variable.
32442         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
32443         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
32444         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
32446         [BZ #18536]
32447         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
32448         (__tfind): Likewise.
32449         (__tdelete): Likewise.
32450         (__twalk): Likewise.
32451         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
32452         __twalk to GLIBC_PRIVATE.
32453         * include/search.h (__tsearch): Use libc_hidden_proto.
32454         (__tfind): Likewise.
32455         (__tdelete): Likewise.
32456         (__twalk): Likewise.
32457         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
32458         Call __tdelete instead of tdelete.
32459         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
32460         tfind.  Call __tsearch instead of tsearch.
32461         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
32462         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
32463         Remove variable.
32464         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
32466         [BZ #18534]
32467         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
32468         (dprintf): Define as a weak alias of __dprintf, not a strong
32469         alias.
32470         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
32471         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
32472         dprintf.
32473         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
32474         Remove variable.
32475         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
32476         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
32478         [BZ #18533]
32479         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
32480         not a strong alias.
32481         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
32482         Remove variable.
32484         [BZ #18532]
32485         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
32486         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
32487         (in6addr_loopback): Rename to __in6addr_loopback and define as
32488         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
32489         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
32490         libc_hidden_proto.
32491         (__in6addr_any): Likewise.
32492         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
32493         in6addr_any.
32494         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
32495         variable.
32496         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
32498 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
32500         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
32501         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
32502         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32503         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32504         redirections for pow.
32505         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32506         * sysdeps/x86_64/fpu/Versions: New versions added.
32507         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32508         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32509         build of SSE, AVX2 and AVX512 IFUNC versions.
32510         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
32511         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
32512         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
32513         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
32514         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
32515         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
32516         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
32517         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
32518         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
32519         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
32520         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
32521         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
32522         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
32523         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
32524         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32525         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32526         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32527         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32528         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32529         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32530         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32531         * NEWS: Mention addition of x86_64 vector pow.
32533         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32534         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32535         redirections for expf.
32536         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32537         * sysdeps/x86_64/fpu/Versions: New versions added.
32538         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32539         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32540         build of SSE, AVX2 and AVX512 IFUNC versions.
32541         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
32542         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
32543         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
32544         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
32545         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
32546         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
32547         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
32548         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
32549         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
32550         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
32551         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
32552         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
32553         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
32554         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32555         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32556         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32557         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32558         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32559         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32560         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32561         * NEWS: Mention addition of x86_64 vector expf.
32563         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
32564         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
32565         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32566         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32567         redirections for exp.
32568         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32569         * sysdeps/x86_64/fpu/Versions: New versions added.
32570         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32571         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32572         build of SSE, AVX2 and AVX512 IFUNC versions.
32573         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
32574         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
32575         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
32576         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
32577         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
32578         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
32579         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
32580         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
32581         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
32582         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
32583         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
32584         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
32585         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
32586         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32587         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32588         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32589         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32590         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32591         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32592         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32593         * NEWS: Mention addition of x86_64 vector exp.
32595         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32596         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32597         redirections for logf.
32598         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32599         * sysdeps/x86_64/fpu/Versions: New versions added.
32600         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32601         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32602         build of SSE, AVX2 and AVX512 IFUNC versions.
32603         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
32604         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
32605         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
32606         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
32607         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
32608         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
32609         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
32610         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
32611         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
32612         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
32613         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
32614         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
32615         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
32616         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32617         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32618         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32619         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32620         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32621         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32622         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32623         * NEWS: Mention addition of x86_64 vector logf.
32625         * bits/libm-simd-decl-stubs.h: Added stubs for log.
32626         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
32627         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32628         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32629         redirections for log.
32630         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32631         * sysdeps/x86_64/fpu/Versions: New versions added.
32632         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32633         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32634         build of SSE, AVX2 and AVX512 IFUNC versions.
32635         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
32636         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
32637         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
32638         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
32639         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
32640         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
32641         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
32642         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
32643         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
32644         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
32645         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
32646         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
32647         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
32648         test.
32649         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32650         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32651         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32652         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32653         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32654         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32655         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32656         * NEWS: Mention addition of x86_64 vector log.
32658 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32660         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
32661         cfi_adjust_cfa_offset argument.
32662         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
32663         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
32665         [BZ #18034]
32666         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
32667         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
32668         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
32669         ordering using ldar.
32670         (_dl_tlsdesc_dynamic): Likewise.
32671         (_dl_tlsdesc_return_lazy): Likewise.
32672         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
32673         relaxed atomics instead of volatile and synchronize with release store.
32674         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
32675         volatile.
32676         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32678 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
32680         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32681         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
32682         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32683         * sysdeps/x86_64/fpu/Versions: New versions added.
32684         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32685         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32686         build of SSE, AVX2 and AVX512 IFUNC versions.
32687         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
32688         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
32689         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
32690         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
32691         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
32692         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
32693         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
32694         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
32695         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
32696         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
32697         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
32698         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
32699         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
32700         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32701         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32702         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32703         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32704         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32705         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32706         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32707         * NEWS: Mention addition of x86_64 vector sinf.
32709 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
32711         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
32712         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
32713         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
32714         Remove variable.
32715         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
32716         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
32718 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
32720         [BZ #18530]
32721         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
32722         strong alias of _IO_fputs.  Use libc_hidden_def.
32723         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
32724         and define as weak alias of __fputs_unlocked.  Use
32725         libc_hidden_weak.
32726         * include/stdio.h (__fputs_unlocked): Declare.  Use
32727         libc_hidden_proto.
32728         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
32729         fputs_unlocked.
32731         [BZ #18529]
32732         * resolv/netdb.h [__USE_POSIX]: Change condition to
32733         [__USE_XOPEN2K].
32734         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
32735         not expect.
32736         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
32737         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
32738         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
32739         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
32740         [XPG4 || UNIX98] (AI_ALL): Likewise.
32741         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
32742         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
32743         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
32744         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
32745         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
32746         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
32747         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
32748         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
32749         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
32750         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
32751         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
32752         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
32753         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
32754         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
32755         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
32756         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
32757         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
32758         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
32759         [XPG4 || UNIX98] (gai_strerror): Likewise.
32760         [XPG4 || UNIX98] (getaddrinfo): Likewise.
32761         [XPG4 || UNIX98] (getnameinfo): Likewise.
32763         [BZ #18528]
32764         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
32765         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
32766         __USE_XOPEN2K8].
32767         (getgrent): Likewise.
32768         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
32769         expect.
32770         [XPG3 || POSIX2008] (endgrent): Likewise.
32771         [XPG3] (setgrent): Likewise.
32772         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
32773         variable.
32774         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
32776         [BZ #18527]
32777         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
32778         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
32779         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
32780         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
32781         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
32782         * include/unistd.h (__getlogin_r): Declare.  Use
32783         libc_hidden_proto.
32784         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
32785         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
32786         variable.
32787         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
32788         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
32789         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
32791 2015-06-12  Martin Sebor  <msebor@redhat.com>
32793         [BZ #18512]
32794         * Makerules (check-install-supported): New target.
32795         (install): Add check-install-supported as a dependency.
32796         * manual/install.texi (Installing the C Library): Document
32797         that overriding prefix and exec_prefix is not supported.
32798         Mention DESTDIR.
32799         * INSTALL: Regenerate from the above.
32801 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
32803         [BZ #18519]
32804         * posix/Versions (libc): Export __libc_pread at version
32805         GLIBC_PRIVATE.
32806         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
32807         instead of pread.
32808         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
32809         variable.
32811         [BZ #18522]
32812         * misc/efgcvt_r.c
32813         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
32814         (cvt_symbol): Use weak_alias instead of strong_alias.
32815         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
32816         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
32817         Remove variable.
32818         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
32819         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
32821         [BZ #18520]
32822         * inet/herrno.c (h_errno): Rename to __h_errno.
32823         (__libc_h_errno): Define as alias of __h_errno not h_errno.
32824         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
32825         to __h_errno instead of h_errno.
32826         * nptl/herrno.c (h_errno): Rename to __h_errno.
32827         (__h_errno_location): Refer to __h_errno not h_errno.
32828         * resolv/Versions (h_errno): Rename to __h_errno.
32829         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
32830         Remove variable.
32831         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
32833 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
32835         * configure.ac: More strict check for AVX512 assembler support.
32836         * configure: Regenerated.
32838         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
32839         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
32840         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32841         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
32842         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32843         * sysdeps/x86_64/fpu/Versions: New versions added.
32844         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32845         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32846         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32847         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
32848         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
32849         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
32850         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
32851         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
32852         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
32853         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
32854         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
32855         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
32856         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
32857         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
32858         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
32859         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
32860         test.
32861         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32862         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32863         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32864         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32865         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32866         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32867         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32868         * NEWS: Mention addition of x86_64 vector sin.
32870 2015-06-11  Florian Weimer  <fweimer@redhat.com>
32872         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
32873         comment.
32875 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
32877         [BZ #18479]
32878         * nptl/pt-interp.c: New file.
32879         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
32880         Add pt-interp.
32881         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
32882         $(common-objpfx)runtime-linker.h.
32884 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
32886         * Makeconfig (+interp): Remove unused variable.
32887         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
32888         only.  Depend on $(common-objpfx)runtime-linker.h instead of
32889         $(elf-objpfx)runtime-linker.h.
32890         ($(elf-objpfx)runtime-linker.h): Rename to
32891         $(common-objpfx)runtime-linker.h and move ...
32892         * Makerules [$(build-shared) = yes]: ... here.
32893         * elf/interp.c: Include <runtime-linker.h> instead of
32894         <elf/runtime-linker.h>.
32896 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32898         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
32899         (__gettimeofday_syscall): Remove vsyscall fallback.
32900         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
32901         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
32902         Add syscall fallback function.
32903         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
32904         if vDSO is not present.
32905         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
32906         fallback function.
32907         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
32908         present.
32909         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
32910         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32912 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
32914         [BZ #18497]
32915         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
32916         of wcscmp.
32917         (wcscmp): Define as weak alias of WCSCMP.
32918         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
32919         wcscoll.
32920         (USE_HIDDEN_DEF): Define.
32921         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
32922         __wcscoll.  Don't use libc_hidden_weak.
32923         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
32924         wcscmp.
32925         * sysdeps/i386/i686/multiarch/wcscmp-c.c
32926         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
32927         __GI_wcscmp.
32928         (weak_alias): Undefine and redefine.
32929         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
32930         __wcscmp and define as weak alias of __wcscmp.
32931         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
32932         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
32933         (__wcscoll): Likewise.
32934         (wcscmp): Don't use libc_hidden_proto.
32935         (wcscoll): Likewise.
32936         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
32937         wcscoll.
32938         * posix/regexec.c (check_node_accept_bytes): Likewise.
32939         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
32940         variable.
32941         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
32942         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
32944         [BZ #18507]
32945         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
32946         __fstatvfs and define as weak alias of __fstatvfs.  Use
32947         libc_hidden_weak.
32948         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
32949         and define as weak alias of __statvfs.  Use libc_hidden_weak.
32950         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
32951         Define as alias of __fstatvfs, not fstatvfs.
32952         (fstatvfs64): Likewise.
32953         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
32954         Define as alias of __statvfs, not statvfs.
32955         (statvfs64): Likewise.
32956         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
32957         Remove variable.
32959 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32962         (HAVE_GETCPU_VSYSCALL): Define.
32963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32964         (HAVE_GETCPU_VSYSCALL): Likewise.
32965         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
32966         * sysdeps/unix/sysv/linux/sched_getcpu.c
32967         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
32968         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
32969         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
32970         prototype.
32971         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32972         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
32973         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
32974         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
32975         Define.
32976         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
32977         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32978         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
32979         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32981 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
32983         * sysdeps/x86_64/fpu/Makefile: New file.
32984         * sysdeps/x86_64/fpu/Versions: New file.
32985         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
32986         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
32987         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
32988         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
32989         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
32990         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
32991         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
32992         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
32993         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
32994         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
32995         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
32996         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
32997         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
32998         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32999         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33000         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
33001         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
33002         * sysdeps/x86_64/configure.ac: Options for libmvec build.
33003         * sysdeps/x86_64/configure: Regenerated.
33004         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
33005         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
33006         * manual/install.texi (Configuring and compiling): Document
33007         --disable-mathvec.
33008         * INSTALL: Regenerated.
33009         * NEWS: Mention addition of libmvec and x86_64 vector cos.
33011         * math/Makefile: Added rules for vector tests.
33012         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
33013         declaration under condition.
33014         * math/test-double-vlen2.h: New file.
33015         * math/test-double-vlen4.h: New file.
33016         * math/test-double-vlen8.h: New file.
33017         * math/test-vec-loop.h: Added initialization macro.
33018         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
33019         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
33020         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
33021         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
33022         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
33023         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
33024         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
33025         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
33026         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
33027         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
33028         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
33030         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33031         * sysdeps/x86_64/fpu/Versions: New versions added.
33032         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
33033         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
33034         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
33035         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
33036         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
33037         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
33038         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
33039         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
33040         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
33041         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
33042         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
33043         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
33044         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
33045         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33046         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33047         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33048         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
33049         * NEWS: Mention addition of x86_64 vector cosf.
33051         * math/Makefile: Added CFLAGS for new tests.
33052         * math/test-float-vlen16.h: New file.
33053         * math/test-float-vlen4.h: New file.
33054         * math/test-float-vlen8.h: New file.
33055         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
33056         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
33057         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33058         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
33059         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
33060         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
33061         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
33062         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
33063         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
33064         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
33065         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
33067 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
33069         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
33070         * locale/programs/ld-ctype.c: Likewise.
33072 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
33074         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
33075         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
33076         bit_ZMM16_31_state): New macro.
33077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33078         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
33080 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
33082         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
33084 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
33086         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
33088 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
33090         [BZ #18498]
33091         * libio/memstream.c (open_memstream): Rename to __open_memstream
33092         and define as weak alias of __open_memstream.
33093         * include/stdio.h (__open_memstream): Declare.  Use
33094         libc_hidden_proto.
33095         (open_memstream): Don't use libc_hidden_proto.
33096         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
33097         open_memstream.
33098         * posix/getopt.c (_getopt_internal_r): Likewise.
33099         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
33100         variable.
33101         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33102         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33103         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33105         [BZ #18496]
33106         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
33107         instead of wcrtomb.
33109         [BZ #18483]
33110         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
33111         [__USE_XOPEN2K8].  Remove redundant #endif.
33112         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
33113         Remove redundant #if.
33114         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
33115         Remove variable.
33116         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33117         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33119         [BZ #18495]
33120         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
33121         (__iswlower): Likewise.
33122         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
33123         (__iswlower): Likewise.
33124         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
33125         instead of towlower.
33126         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
33127         instead of iswlower.  Call __towupper instead of towupper.
33128         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
33129         instead of iswalnum.
33131 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33133         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
33134         errors to stderr.
33136 2015-06-05  Florian Weimer  <fweimer@redhat.com>
33138         [BZ #15661]
33139         [BZ #17322]
33140         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
33141         Check for overflow properly.  Check for O_APPEND.  Ignore large
33142         file system block sizes.  Add comments about problems.
33143         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
33144         * manual/filesys.texi (Storage Allocation): New node.
33146 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33148         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
33149         cancellable syscalls.
33150         (SYS_ify): Add guard to no redefine it.
33151         (INLINE_SYSCALL): Likewise.
33152         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
33153         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
33154         SYSCALL_CANCEL instead.
33155         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
33156         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33157         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33158         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33159         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33160         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
33161         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
33162         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
33163         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33164         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33165         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
33166         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
33167         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
33168         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
33169         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
33170         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33171         Likewise.
33172         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33173         (__libc_pread64): Likewise.
33174         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
33175         (__libc_preadv): Likewise.
33176         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
33177         (__libc_readv64): Likewise.
33178         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33179         (__libc_pwrite): Likewise.
33180         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33181         (__libc_pwrite64): Likewise.
33182         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
33183         (__libc_pwritev): Likewise.
33184         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
33185         (__libc_pwritev64): Likewise.
33186         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
33187         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
33188         (sync_file_range): Likewise.
33189         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
33190         Likewise.
33191         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
33192         Likewise.
33193         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33194         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33195         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33196         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33197         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33198         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33199         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33200         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
33201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33202         Likewise.
33203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33204         (__libc_read64): Likewise.
33205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
33206         Likewise.
33207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
33208         Likewise.
33209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
33210         Likewise.
33211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
33212         Likewise.
33213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33214         (__libc_pread64): Likewise.
33215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
33216         Likewise.
33217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33218         (__libc_pwrite64): Likewise.
33219         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
33220         (sync_file_range): Likewise.
33221         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
33222         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33223         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33224         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
33225         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
33226         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33227         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33228         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
33229         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
33230         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33231         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33232         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33233         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33234         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33235         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
33236         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33237         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33238         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33239         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33240         Likewise.
33241         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
33242         Likewise.
33243         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
33244         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
33245         Likewise.
33246         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
33247         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
33248         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
33249         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
33250         Likewise.
33251         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
33252         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
33253         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
33254         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
33255         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
33257 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
33259         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
33260         Include dl-vdso.
33261         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
33262         Use VDSO routines for gettimeofday, clock_gettime if
33263         available.
33264         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
33265         Declare VDSO symbols.
33266         * sysdeps/unix/sysv/linux/arm/sysdep.h:
33267         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
33268         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33269         * sysdeps/unix/sysv/linux/arm/Versions: Add
33270         __vdso_clock_gettime.
33272 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33274         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
33275         be an inline implementation regardless of library is built within.
33276         (open_not_cancel_2): Likewise.
33277         (__read_nocancel): Likewise.
33278         (__write_nocancel): Likewise.
33279         (openat_not_cancel): Likewise.
33280         (openat_not_cancel_3): Likewise.
33281         (openat64_not_cancel): Likewise.
33282         (openat64_not_cancel_3): Likewise.
33283         (__close_nocancel): Likewise.
33284         (pause_not_cancel): Likewise.
33285         (nanosleep_not_cancel): Likewise.
33286         (sigsuspend_not_cancel): Likewise.
33288 2015-06-04  Torvald Riegel  <triegel@redhat.com>
33290         [BZ #14958]
33291         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
33292         wake-up.
33293         (__pthread_rwlock_rdlock_slow): Likewise.
33294         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33295         Likewise.
33296         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
33297         Likewise.
33298         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
33299         * nptl/tst-rwlock16.c: New file.
33300         * nptl/Makefile (tests): Add new test.
33302 2015-06-04  Torvald Riegel  <triegel@redhat.com>
33304         [BZ #18324]
33305         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
33306         missing wake-up of readers.
33307         * nptl/tst-rwlock15.c: New file.
33308         * nptl/Makefile (tests): Add new test.
33310 2015-06-03  Roland McGrath  <roland@hack.frob.com>
33312         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
33313         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
33314         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
33315         and __nacl_supply_interface_rtld.
33316         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
33317         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
33318         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
33319         Add __nacl_supply_interface_rtld.
33320         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
33322 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33324         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
33325         isfinite.
33326         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33327         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
33329 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33331         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
33332         __signbit* with standard C99 macros.
33333         * math/e_exp10l.c: Likewise.
33334         * math/e_exp2l.c: Likewise.
33335         * math/e_scalb.c: Likewise.
33336         * math/e_scalbf.c: Likewise.
33337         * math/e_scalbl.c: Likewise.
33338         * math/s_ldexp.c: Likewise.
33339         * math/s_ldexpf.c: Likewise.
33340         * math/s_ldexpl.c: Likewise.
33341         * math/w_atan2.c: Likewise.
33342         * math/w_atan2f.c: Likewise.
33343         * math/w_atan2l.c: Likewise.
33344         * math/w_cosh.c: Likewise.
33345         * math/w_coshf.c: Likewise.
33346         * math/w_coshl.c: Likewise.
33347         * math/w_exp10.c: Likewise.
33348         * math/w_exp10f.c: Likewise.
33349         * math/w_exp10l.c: Likewise.
33350         * math/w_exp2.c: Likewise.
33351         * math/w_exp2f.c: Likewise.
33352         * math/w_exp2l.c: Likewise.
33353         * math/w_fmod.c: Likewise.
33354         * math/w_fmodf.c: Likewise.
33355         * math/w_fmodl.c: Likewise.
33356         * math/w_hypot.c: Likewise.
33357         * math/w_hypotf.c: Likewise.
33358         * math/w_hypotl.c: Likewise.
33359         * math/w_jnl.c: Likewise.
33360         * math/w_lgamma.c: Likewise.
33361         * math/w_lgamma_r.c: Likewise.
33362         * math/w_lgammaf.c: Likewise.
33363         * math/w_lgammaf_r.c: Likewise.
33364         * math/w_lgammal.c: Likewise.
33365         * math/w_lgammal_r.c: Likewise.
33366         * math/w_pow.c: Likewise.
33367         * math/w_powf.c: Likewise.
33368         * math/w_powl.c: Likewise.
33369         * math/w_remainder.c: Likewise.
33370         * math/w_remainderf.c: Likewise.
33371         * math/w_remainderl.c: Likewise.
33372         * math/w_scalb.c: Likewise.
33373         * math/w_scalbf.c: Likewise.
33374         * math/w_scalbl.c: Likewise.
33375         * math/w_scalbln.c: Likewise.
33376         * math/w_scalblnf.c: Likewise.
33377         * math/w_scalblnl.c: Likewise.
33378         * math/w_sinh.c: Likewise.
33379         * math/w_sinhf.c: Likewise.
33380         * math/w_sinhl.c: Likewise.
33381         * math/w_tgamma.c: Likewise.
33382         * math/w_tgammaf.c: Likewise.
33383         * math/w_tgammal.c: Likewise.
33384         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33385         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
33386         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33387         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33388         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33389         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33390         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33391         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33392         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33393         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33394         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33395         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33396         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33397         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33398         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33399         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33400         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33401         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33402         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33403         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33404         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33405         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33406         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33407         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33408         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33409         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33410         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
33411         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33412         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33413         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33414         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
33415         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
33416         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
33417         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
33418         * stdio-common/printf_fp.c: Likewise.
33419         * stdio-common/printf_fphex.c: Likewise.
33420         * stdio-common/printf_size.c: Likewise.
33422 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
33424         [BZ #18470]
33425         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
33426         strnlen.
33427         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
33428         Remove variable.
33429         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33430         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33431         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33432         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33433         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33434         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33435         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33436         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33437         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33438         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33440         [BZ #18468]
33441         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
33442         weak alias of __wmemchr.  Use libc_hidden_weak.
33443         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
33444         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
33445         instead of wmemchr.
33447 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33449         [BZ #18383]
33450         * elf/tst-tlsalign-extern.c: New file.
33451         * elf/tst-tlsalign-extern-static.c: New file.
33452         * elf/tst-tlsalign-vars.c: New file.
33453         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
33454         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
33455         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
33456         ($(objpfx)tst-tlsalign-extern-static): Likewise.
33457         (test-xfail-tst-tlsalign-extern-static): New variable.
33459 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
33461         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
33462         Use variable name _sc_err instead of err.
33463         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
33464         instead of ret.
33465         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
33466         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
33467         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
33468         (INLINE_SYSCALL): Likewise.
33470         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
33471         * include/string.h (__strnlen): Use libc_hidden_proto.
33472         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
33473         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
33474         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
33475         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
33476         (libc_hidden_def): Undefine and redefine.
33477         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
33478         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
33479         __GI_strnlen.
33480         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
33481         libc_hidden_def.
33482         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
33484         [BZ #18469]
33485         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
33486         weak alias of __towlower.  Use libc_hidden_weak.
33487         (towupper): Rename to __towupper and define as weak alias of
33488         __towupper.  Use libc_hidden_weak.
33489         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
33490         (__towupper): Likewise.
33491         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
33492         __towlower instead of towlower.
33494 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33496         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
33497         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
33499 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33501         * sysdeps/aarch64/libm-test-ulps: Update.
33503 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33505         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
33506         Define.
33507         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33508         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33509         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33510         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33511         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
33512         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
33513         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
33515 2015-06-01  Martin Sebor  <msebor@redhat.com>
33517         [BZ #18116]
33518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33519         (__setcontext): Use extended four-operand version of mtsf whenever
33520         possible.
33521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33522         (__novec_swapcontext): Likewise.
33524 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33526         * benchtests/scripts/compare_bench.py: New file.
33527         * benchtests/scripts/import_bench.py (mean): New function.
33528         (split_list): Likewise.
33529         (do_for_all_timings): Likewise.
33530         (compress_timings): Likewise.
33532         * benchtests/scripts/import_bench.py: New file.
33533         * benchtests/scripts/validate_benchout.py: Import import_bench
33534         instead of jsonschema.
33535         (validate_bench): Remove function.
33536         (main): Use import_bench.
33538 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
33540         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
33541         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
33543 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33547 2015-05-28  Roland McGrath  <roland@hack.frob.com>
33549         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
33550         set THREAD_SELF->tid to a magic value and futex-wake it.
33551         Pass its address to the thread_exit system call.
33552         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
33553         bit is clear.
33554         * sysdeps/nacl/lowlevellock.h: New file.
33555         * sysdeps/nacl/lll_timedwait_tid.c: New file.
33557         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
33558         Add TIMEOUT to current time, don't subtract it.
33560 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
33562         [BZ #2981]
33563         [BZ #18422]
33564         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
33565         ($(objpfx)tst-audit2.out): Also depend on
33566         $(objpfx)tst-auditmod9b.so.
33567         * elf/tst-audit2.c: Include <dlfcn.h>.
33568         (calloc_called): New.
33569         (calloc): Allow to be called more than once.
33570         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
33572 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
33574         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
33575         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
33577 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
33579         * stdlib/monetary.h: Fix comment.
33581 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
33583         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
33584         Avoid using variables in #defines that might cause shadowing.
33585         (INTERNAL_VSYSCALL_CALL): Likewise.
33587 2015-05-26  Roland McGrath  <roland@hack.frob.com>
33589         * sysdeps/nacl/lll_timedlock_wait.c: New file.
33591         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
33592         * nptl/lll_timedlock_wait.c: ... to this new file.
33593         * nptl/Makefile (libpthread-routines): Add it.
33594         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
33595         * nptl/lll_timedwait_tid.c: ... to this new file.
33596         * nptl/Makefile (libpthread-routines): Add it.
33597         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
33598         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
33599         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
33600         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
33601         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
33602         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
33603         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
33604         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
33605         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
33606         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
33608 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33610         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
33611         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33612         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
33613         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
33614         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
33615         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33616         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33617         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33618         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33619         * sysdeps/unix/sysv/linux/tile/sysdep.h
33620         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33621         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
33622         using vDSO syscall macro.
33624 2015-05-26  Andriy Rysin  <arysin@gmail.com>
33626         [BZ #17293]
33627         * uk_UA: Fix sorting order for Ukrainian locale
33629 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
33631         * stdlib/monetary.h: Fix comment.
33633 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33635         [BZ #18234]
33636         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
33637         st_mtim and st_ctim members.
33638         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
33639         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
33640         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
33641         (struct stat64): Likewise.
33642         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
33643         (struct stat64): Likewise.
33644         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
33645         (struct stat64): Likewise.
33647 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33649         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
33650         Define and include sysdep-vdso.h.
33651         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
33652         Likewise.
33653         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
33654         Likewise.
33655         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
33656         Define with VDSO_SYMBOL and use PTR_MANGLE.
33657         (__vdso_clock_gettime): Likewise.
33658         (__vdso_clock_getres): Likewise.
33659         (_libc_vdso_platform_setup): Likewise.
33660         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33661         Likewise.
33662         (_libc_vdso_platform_setup): Likewise.
33663         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
33664         Likewise.
33665         (__vdso_clock_gettime): Likewise.
33666         (__vdso_clock_getres): Likewise.
33667         (__vdso_get_tbfreq): Likewise.
33668         (__vdso_getcpu): Likewise.
33669         (__vdso_time): Likewise.
33670         (__vdso_sigtramp_rt64): Likewise.
33671         (__vdso_signtramp32): Likewise.
33672         (__vdso_sigtramp_rt32): Likewise.
33673         (_libc_vdso_platform_setup): Likewise.
33674         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
33675         Likewise.
33676         (__vdso_clock_gettime): Likewise.
33677         (__vdso_clock_getres): Likewise.
33678         (_libc_vdso_platform_setup): Likewise.
33679         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
33680         Likewise.
33681         (__vdso_clock_gettime): Likewise.
33682         (_libc_vdso_platform_setup): Likewise.
33683         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33684         Likewise.
33685         (__vdso_getcpu): Likewise.
33686         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
33687         Use VDSO_SYMBOL macro to define.
33688         (__vdso_clock_gettime): Likewise.
33689         (__vdso_clock_getres): Likewise.
33690         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
33691         Likewise.
33692         (__vdso_clock_gettime): Likewise.
33693         (__vdso_clock_getres): Likewise.
33694         (__vdso_get_tbfreq): Likewise.
33695         (__vdso_getcpu): Likewise.
33696         (__vdso_time): Likewise.
33697         (__vdso_sigtramp_rt64): Likewise.
33698         (__vdso_signtramp32): Likewise.
33699         (__vdso_sigtramp_rt32): Likewise.
33700         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
33701         Likewise.
33702         (__vdso_clock_gettime): Likewise.
33703         (__vdso_clock_getres): Likewise.
33704         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
33705         Likewise.
33706         (__vdso_clock_gettime): Likewise.
33707         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
33708         Likewise.
33709         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
33710         macro.
33711         (INTERNAL_VSYSCALL): Likewise.
33712         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
33713         Remove macro.
33714         (INTERNAL_VSYSCALL): Likewise.
33715         (INTERNAL_VSYSCALL_NCS): Likewise.
33716         (INTERNAL_VSYSCALL_CALL): New macro.
33717         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
33718         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
33719         Likewise.
33720         (INTERNAL_VSYSCALL): Likewise.
33721         (INTERNAL_VSYSCALL_NCS): Likewise.
33722         (INTERNAL_VSYSCALL_CALL): New macro.
33723         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
33724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33725         (INLINE_VSYSCALL): Remove macro.
33726         (INTERNAL_VSYSCALL): Remove macro.
33727         (INTERNAL_VSYSCALL_NCS): Remove macro.
33728         (INTERNAL_VSYSCALL_CALL): New macro.
33729         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
33730         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
33731         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
33732         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
33733         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33735         (INLINE_VSYSCALL): Remove macro.
33736         (INTERNAL_VSYSCALL): Likewise.
33737         (INTERNAL_VSYSCALL_NCS): Likewise.
33738         (INTERNAL_VSYSCALL_CALL): New macro.
33739         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
33740         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
33741         PTR_DEMANGLE on vDSO pointer.
33742         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
33743         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
33744         macro.
33745         (INTERNAL_SYSCALL): Likewise.
33746         (INTERNAL_VSYSCALL_NCS): Remove macro.
33747         (INTERNAL_VSYSCALL_CALL): New macro.
33748         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
33749         Remove macro.
33750         (INTERNAL_VSYSCALL): Likewise.
33751         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
33752         sysdep-vdso.h instead of libc-vdso.h.
33753         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
33754         definition.
33755         (INLINE_VSYSCALL): Likewise.
33756         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
33757         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
33758         definition.
33759         (INLINE_VSYSCALL): Likewise.
33760         (INTERNAL_VSYSCALL): Likewise.
33761         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33762         * sysdeps/unix/sysv/linux/timespec_get.c
33763         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33764         (timespec_get): Use ANSI prototype.
33765         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
33766         and definition for Linux.
33768 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
33770         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
33771         * include/libc-symbols.h: libmvec_hidden_* macro series added.
33773 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33775         [BZ #2981]
33776         [BZ #18410]
33777         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
33778         for missing DT_PLTRELSZ.
33780 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33782         Remove obsolete aliases that broke 'locale -a'
33783         [BZ #18412]
33784         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
33785         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
33786         breaking some applications that use 'locale -a' output.
33787         Change the encoding of this file from Latin-1 to ASCII to avoid
33788         other potential problems with people grepping this file.
33790 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33792         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
33793         -fasynchronous-unwind-tables.
33794         (CFLAGS-sendto.c): Likewise.
33795         (CFLAGS-sendmsg.c): Likewise.
33796         (CFLAGS-connect.c): Likewise.
33797         (CFLAGS-recvmsg.c): Likewise.
33798         (CFLAGS-recvfrom.c): Likewise.
33799         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
33800         (SOCKETCALL): New macro: non-cancellable socketcall.
33801         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
33802         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
33803         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
33804         * sysdeps/unix/sysv/linux/accept.c: New file.
33805         * sysdeps/unix/sysv/linux/bind.c: Likewise.
33806         * sysdeps/unix/sysv/linux/connect.c: Likewise.
33807         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
33808         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
33809         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
33810         * sysdeps/unix/sysv/linux/listen.c: Likewise.
33811         * sysdeps/unix/sysv/linux/recv.c: Likewise.
33812         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
33813         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
33814         * sysdeps/unix/sysv/linux/send.c: Likewise.
33815         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
33816         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
33817         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
33818         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
33819         * sysdeps/unix/sysv/linux/socket.c: Likewise.
33820         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
33821         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
33822         prototype.
33823         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
33824         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33825         instead of __internal_xxx function.
33826         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
33827         prototype.
33828         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
33829         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33830         instead of __internal_xxx function.
33831         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
33832         prototype.
33833         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
33834         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
33835         instead of __internal_xxx function.
33836         * sysdeps/unix/sysv/linux/accept.S: Remove file.
33837         * sysdeps/unix/sysv/linux/bind.S: Likewise.
33838         * sysdeps/unix/sysv/linux/connect.S: Likewise.
33839         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
33840         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
33841         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
33842         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
33843         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
33844         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
33845         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
33846         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
33847         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33848         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
33849         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
33850         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
33851         * sysdeps/unix/sysv/linux/listen.S: Likewise.
33852         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
33853         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
33854         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
33855         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
33856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
33857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
33858         * sysdeps/unix/sysv/linux/recv.S: Likewise.
33859         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
33860         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
33861         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
33862         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33863         * sysdeps/unix/sysv/linux/send.S: Likewise.
33864         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
33865         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
33866         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
33867         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
33868         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
33869         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
33870         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
33871         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
33872         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
33873         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
33874         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
33875         socketcall is implemented in GLIBC.
33877 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
33879         * soft-fp/fmadf4.c: Include <libc-internal.h>.
33880         (__fma): Ignore uninitialized warnings around packing.
33881         * soft-fp/fmasf4.c: Include <libc-internal.h>.
33882         (__fmaf): Ignore uninitialized warnings around packing.
33883         * soft-fp/fmatf4.c: Include <libc-internal.h>.
33884         (__fmal): Ignore uninitialized warnings around packing.
33886         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
33887         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
33888         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
33889         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
33891         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
33892         switch statement into default case.
33893         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
33895         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
33896         a conditional in forcing "inexact".
33897         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
33898         Likewise.
33900 2015-05-22  Roland McGrath  <roland@hack.frob.com>
33902         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
33903         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
33904         for each INTERNAL_SYSCALL use.
33906 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
33908         [BZ #438]
33909         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
33910         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
33911         variable.
33913         [BZ #18444]
33914         * string/basename.c (basename): Rename to __basename and define as
33915         weak alias of __basename.  Use libc_hidden_weak.
33916         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
33917         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
33918         __basename instead of basename.
33919         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
33920         Remove variable.
33921         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33923 2015-05-18  Florian Weimer  <fweimer@redhat.com>
33925         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
33926         (_IO_JUMPS_FILE_plus): New.
33927         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
33928         _IO_CAST_FIELD_ACCESS.
33929         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
33930         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
33931         * libio/freopen.c (freopen): Likewise.
33932         * libio/freopen64.c (freopen64): Likewise.
33933         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
33934         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
33935         * libio/iofwide.c (_IO_fwide): Likewise.
33936         * libio/memstream.c (open_memstream): Likewise.
33937         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33938         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
33939         * libio/oldiopopen.c (_IO_old_popen): Likewise.
33941 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
33943         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
33944         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
33945         NADJ.
33946         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
33947         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
33948         NADJ.
33949         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
33950         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
33951         NADJ.
33953         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
33954         (p == 4) case.
33956         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
33957         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
33958         Remove variable.
33959         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33960         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33961         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33963 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33965         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
33966         Adjust jump table label generation macros.
33968 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33970         * stdio-common/vfprintf.c (vfprintf): Move local variables
33971         args_malloced, specs, specs_malloced, and the code after
33972         do_positional to the printf_positional function.
33973         (printf_positional): New function.
33975 2015-05-21  Florian Weimer  <fweimer@redhat.com>
33977         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
33978         function.
33979         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
33980         STEP4_TABLE, process_arg): Move macro definitions
33981         out of the vfprintf function.  (Cosmetic change only.)
33983 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
33985         * benchtests/Makefile (stdio-common-bench): Define.
33986         (benchset): Add stdio-common-bench.
33987         * sprintf-inputs: New file.
33988         * sprintf-source.c: New file.
33990 2015-05-21  Andreas Schwab  <schwab@suse.de>
33992         [BZ #13028]
33993         [BZ #17053]
33994         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
33995         of struct __res_state.
33996         * resolv/res_send.c (__libc_res_nsend): Likewise.
33997         (get_nsaddr): New function.
33998         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
33999         statp directly.
34001 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
34003         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
34004         -D_POSIX_C_SOURCE=199506L.
34006         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
34008         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
34009         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
34010         Do not mention otherwise.
34011         [POSIX] (_XOPEN_VERSION): Do not expect.
34012         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
34013         [POSIX] (_POSIX2_C_BIND): Likewise.
34014         [POSIX] (_POSIX2_VERSION): Likewise.
34015         [POSIX] (_XOPEN_XPG2): Likewise.
34016         [POSIX] (_XOPEN_XPG3): Likewise.
34017         [POSIX] (_XOPEN_XPG4): Likewise.
34018         [POSIX] (_XOPEN_UNIX): Likewise.
34019         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
34020         [POSIX] (_POSIX_BARRIERS): Likewise.
34021         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
34022         [POSIX] (_POSIX_CPUTIME): Likewise.
34023         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
34024         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
34025         [POSIX] (_POSIX_SHELL): Likewise.
34026         [POSIX] (_POSIX_SPAWN): Likewise.
34027         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
34028         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
34029         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
34030         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
34031         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
34032         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
34033         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
34034         [POSIX] (_XBS5_LP64_OFF64): Likewise.
34035         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
34036         [POSIX] (_POSIX_TIMEOUTS): Likewise.
34037         [POSIX] (_POSIX2_PBS): Likewise.
34038         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
34039         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
34040         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
34041         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
34042         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
34043         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
34044         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
34045         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
34046         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
34047         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
34048         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
34049         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
34050         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
34051         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
34052         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
34053         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
34054         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
34055         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
34056         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
34057         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
34058         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
34059         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
34060         [POSIX] (_SC_2_C_BIND): Likewise.
34061         [POSIX] (_SC_2_C_VERSION): Likewise.
34062         [POSIX] (_SC_2_PBS): Likewise.
34063         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
34064         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
34065         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
34066         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
34067         [POSIX] (_SC_2_PBS_TRACK): Likewise.
34068         [POSIX] (_SC_ATEXIT_MAX): Likewise.
34069         [POSIX] (_SC_BARRIERS): Likewise.
34070         [POSIX] (_SC_BASE): Likewise.
34071         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
34072         [POSIX] (_SC_DEVICE_IO): Likewise.
34073         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
34074         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
34075         [POSIX] (_SC_FD_MGMT): Likewise.
34076         [POSIX] (_SC_FIFO): Likewise.
34077         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
34078         [POSIX] (_SC_FILE_LOCKING): Likewise.
34079         [POSIX] (_SC_FILE_SYSTEM): Likewise.
34080         [POSIX] (_SC_IOV_MAX): Likewise.
34081         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
34082         [POSIX] (_SC_NETWORKING): Likewise.
34083         [POSIX] (_SC_PAGE_SIZE): Likewise.
34084         [POSIX] (_SC_PASS_MAX): Likewise.
34085         [POSIX] (_SC_PIPE): Likewise.
34086         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
34087         [POSIX] (_SC_REGEXP): Likewise.
34088         [POSIX] (_SC_SHELL): Likewise.
34089         [POSIX] (_SC_SIGNALS): Likewise.
34090         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
34091         [POSIX] (_SC_SPIN_LOCKS): Likewise.
34092         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
34093         [POSIX] (_SC_USER_GROUPS): Likewise.
34094         [POSIX] (_SC_USER_GROUPS_R): Likewise.
34095         [POSIX] (_SC_STREAMS): Likewise.
34096         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
34097         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
34098         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
34099         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
34100         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
34101         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
34102         [POSIX] (_PC_FILESIZEBITS): Likewise.
34103         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
34104         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
34105         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
34106         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
34107         [POSIX] (uid_t): Likewise.
34108         [POSIX] (gid_t): Likewise.
34109         [POSIX] (off_t): Likewise.
34110         [POSIX] (pid_t): Likewise.
34111         [POSIX] (cuserid): Allow.
34112         (_SC_2_CHAR_TERM): Require constant.
34113         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
34114         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
34115         variable.
34117 2015-05-20  Roland McGrath  <roland@hack.frob.com>
34119         * sysdeps/nacl/pthread-pids.h: New file.
34120         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
34121         (create_thread): Use __nacl_get_tid to initialize PD->tid.
34123         * nptl/pthread-pids.h: New file.
34124         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
34125         * nptl/nptl-init.c: Include <pthread-pids.h>.
34126         (__pthread_initialize_minimal_internal):
34127         Call __pthread_initialize_pids instead of set_tid_address syscall.
34129         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
34130         * sysdeps/posix/usleep.c: ... here.
34132 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34134         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
34135         call_pselect6 object.
34136         [$(subdir) = io]: Remove call_sync_file_range object.
34137         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
34138         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
34139         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
34140         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
34142 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
34144         * math/s_cproj.c: Add include "math_private.h".
34145         * math/s_cprojf.c: Likewise.
34146         * math/s_cprojl.c: Likewise.
34148 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
34150         [BZ #18244]
34151         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
34152         high mantissa bit when testing whether P is a NaN.
34153         * math/libm-test.inc (remainder_test_data): Add more tests.
34154         (remquo_test_data): Likewise.
34156         [BZ #18049]
34157         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
34158         below -32, return the argument, with underflow if subnormal.
34159         * math/auto-libm-test-in: Add more tests of atanh.
34160         * math/auto-libm-test-out: Regenerated.
34162 2015-05-19  Roland McGrath  <roland@hack.frob.com>
34164         [BZ #18434]
34165         * nptl/tst-sem15.c: New file.
34166         * nptl/Makefile (tests): Add it.
34167         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
34168         s/<</>>/ to fix typo in EOVERFLOW check.
34169         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
34171 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34173         * manual/strings.texi (envz_remove): Fix typo in safety
34174         annotations.
34176 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
34177             Steve Ellcey  <sellcey@imgtec.com>
34179         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
34180         in order to avoid strict alias warnings.
34181         (iruserok_af): Ditto for ra.
34183 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
34185         [BZ #17581]
34186         * malloc/hooks.c
34187         (magicbyte): Convert to a function and avoid returning 0x01.
34188         (mem2mem_check): Avoid using a length byte equal to the magic byte.
34189         (mem2chunk_check): Fix unsigned comparisons to zero.
34190         Hoist defs of sz and magic.
34192 2015-05-19  Richard Henderson  <rth@redhat.com>
34194         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
34196         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34198 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34200         [BZ #16159]
34201         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
34202         * malloc/arena.c (arena_lock): Check if arena is corrupt.
34203         (reused_arena): Find a non-corrupt arena.
34204         (heap_trim): Pass arena to unlink.
34205         * malloc/hooks.c (malloc_check_get_size): Pass arena to
34206         malloc_printerr.
34207         (top_check): Likewise.
34208         (free_check): Likewise.
34209         (realloc_check): Likewise.
34210         * malloc/malloc.c (malloc_printerr): Add arena argument.
34211         (unlink): Likewise.
34212         (munmap_chunk): Adjust.
34213         (ARENA_CORRUPTION_BIT): New macro.
34214         (arena_is_corrupt): Likewise.
34215         (set_arena_corrupt): Likewise.
34216         (sysmalloc): Use mmap if there are no usable arenas.
34217         (_int_malloc): Likewise.
34218         (__libc_malloc): Don't fail if arena_get returns NULL.
34219         (_mid_memalign): Likewise.
34220         (__libc_calloc): Likewise.
34221         (__libc_realloc): Adjust for additional argument to
34222         malloc_printerr.
34223         (_int_free): Likewise.
34224         (malloc_consolidate): Likewise.
34225         (_int_realloc): Likewise.
34226         (_int_memalign): Don't touch corrupt arenas.
34227         * malloc/tst-malloc-backtrace.c: New test case.
34229         * Makefile (summarize-tests): Fix return value on success.
34231         * manual/string.texi (Envz Functions): Add envz_remove.
34233 2015-05-18  Roland McGrath  <roland@hack.frob.com>
34235         * sysdeps/posix/opendir.c: Include <stdbool.h>.
34236         (invalid_name): New function, broken out of ...
34237         (__opendirat): ... here.  Call it.
34238         (need_isdir_precheck): New function, broken out of ...
34239         (__opendirat): ... here.  Call it.
34240         Use __fxstatat64, not __xstatat64.
34241         (opendir_oflags): New function, broken out of ...
34242         (__opendirat): ... here.  Call it.
34243         (opendir_tail): New function, broken out of ...
34244         (__opendirat): ... here.  Call it.
34245         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
34246         opendir_tail, rather than punting to __opendirat.
34247         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
34249 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34251         * .gitignore: Ignore generated *.pyc.
34253 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
34255         * include/stdio.h: Define __need_wint_t.
34256         * test-skeleton.c: Avoid `for' loop initial declaration.
34257         * nptl/tst-initializers1.c: Use test-skeleton.c.
34259 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34261         [BZ #18418]
34262         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
34264 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34266         [BZ #16352]
34267         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
34268         (__ieee754_atanh): Force underflow exception for results with
34269         small absolute value.
34270         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
34271         (__ieee754_atanhf): Force underflow exception for results with
34272         small absolute value.
34273         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
34274         (__ieee754_atanh): Force underflow exception for results with
34275         small absolute value.
34276         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
34277         (__ieee754_atanhf): Force underflow exception for results with
34278         small absolute value.
34279         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
34280         (__ieee754_atanhl): Force underflow exception for results with
34281         small absolute value.
34282         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
34283         (__ieee754_atanhl): Force underflow exception for results with
34284         small absolute value.
34285         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
34286         (__ieee754_atanhl): Force underflow exception for results with
34287         small absolute value.
34288         * math/auto-libm-test-in: Do not allow missing underflow
34289         exceptions from atanh.
34290         * math/auto-libm-test-out: Regenerated.
34292         [BZ #18221]
34293         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
34294         2**-28 as threshold for returning x or +/- 1/x.
34295         * math/auto-libm-test-in: Add more tests of tan.
34296         * math/auto-libm-test-out: Regenerated.
34298         [BZ #18220]
34299         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34300         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
34301         * math/auto-libm-test-in: Add another test of lgamma.
34302         * math/auto-libm-test-out: Regenerated.
34304 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
34306         * stdio-common/printf_fp.c (___printf_fp): Use abs.
34307         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
34308         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
34309         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
34310         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
34311         (ADD2A): Use fabs.  (SUB2A): Use fabs.
34312         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
34313         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
34314         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
34315         (log1): Use fabs.  (my_log2): Use fabs.
34316         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
34317         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
34318         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
34319         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
34320         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
34321         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
34322         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
34323         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
34324         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
34325         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
34326         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
34328 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34330         [BZ #18217]
34331         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
34332         as threshold for returning 1 - x.
34333         * math/auto-libm-test-in: Add more tests of erfc.
34334         * math/auto-libm-test-out: Regenerated.
34336 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
34338         [BZ #18196]
34339         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
34340         threshold for large arguments.
34341         * math/auto-libm-test-in: Add another test of atan.
34342         * math/auto-libm-test-out: Regenerated.
34344         [BZ #16339]
34345         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
34346         (__log1p): Force underflow exception for results with small
34347         absolute value.
34348         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
34349         (__log1pf): Force underflow exception for results with small
34350         absolute value.
34351         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
34352         (__log1p): Force underflow exception for results with small
34353         absolute value.
34354         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
34355         (__log1pf): Force underflow exception for results with small
34356         absolute value.
34357         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
34358         (__log1pl): Force underflow exception for results with small
34359         absolute value.
34360         * math/auto-libm-test-in: Do not allow missing underflow
34361         exceptions from log1p.
34362         * math/auto-libm-test-out: Regenerated.
34364 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
34365             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34367         [BZ #16704]
34368         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
34370 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
34372         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
34373         (libmvec): New variable.
34374         * configure.ac: Added option for mathvec build.
34375         * configure: Regenerated.
34376         * mathvec/Depend: New file.
34377         * mathvec/Makefile: New file.
34378         * shlib-versions: Added libmvec.
34379         * math/Makefile: Added rule for libm.so installation.
34381         * bits/math-vector.h: New file.
34382         * bits/libm-simd-decl-stubs.h: New header.
34383         * math/Makefile (headers): Added new header
34384         libm-simd-decl-stubs.h.
34385         * math/math.h (__MATHCALL_VEC): New macro.
34387         * math/gen-libm-have-vector-test.sh: Script generates series of macros
34388         for conditions in testing functions.
34389         * math/Makefile: Added call of libm-have-vector-test.sh.
34390         * math/libm-test.inc (HAVE_VECTOR): New macros.
34392         * math/libm-test.inc: START refactored.
34393         * math/test-double.c (TEST_MATHVEC): Add define.
34394         * math/test-float.c: Likewise.
34395         * math/test-idouble.c: Likewise.
34396         * math/test-ifloat.c: Likewise.
34397         * math/test-ildoubl.c: Likewise.
34398         * math/test-ldouble.c: Likewise.
34399         * sysdeps/generic/math-tests-arch.h
34400         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
34401         architecture check.
34403         * math/test-double.c (FUNC_TEST): New macro.
34404         * math/test-float.c: Likewise.
34405         * math/test-idouble.c: Likewise.
34406         * math/test-ifloat.c: Likewise.
34407         * math/test-ildoubl.c: Likewise.
34408         * math/test-ldouble.c: Likewise.
34409         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
34411 2015-05-13  Roland McGrath  <roland@hack.frob.com>
34413         * sysdeps/nacl/fdopendir.c: New file.
34415         * dirent/scandir-tail.c: New file.
34416         * dirent/scandir64-tail.c: New file.
34417         * dirent/Makefile (routines): Add them.
34418         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
34419         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
34420         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
34421         [!SCANDIR] (SCANDIR_TAIL): New macro.
34422         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
34423         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
34424         (SCANDIRAT): Macro removed.
34425         (SCANDIR_TAIL): New macro.
34426         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
34427         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
34428         (SCANDIRAT): Just call __opendirat and __scandir_tail.
34429         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
34430         (READDIR): Macro removed.
34431         (SCANDIR_TAIL): New macro.
34432         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
34433         (SCANDIR_TAIL): New macro.
34435         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
34436         * dirent/scandir-cancel.c: ... to this new file.
34437         * dirent/Makefile (routines): Add it.
34438         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
34439         * sysdeps/unix/sysv/linux/i386/scandir64.c
34440         (SKIP_SCANDIR_CANCEL): Macro removed.
34441         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
34443         * dirent/tst-scandir.c: New file.
34444         * dirent/tst-scandir64.c: New file.
34445         * dirent/Makefile (tests): Add them.
34447 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
34449         [BZ #18409]
34450         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
34452 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34454         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
34455         list.
34457 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
34459         * benchtests/bench-strcoll.c: New benchmark.
34460         * benchtests/Makefile: Generate locales and run benchmark.
34461         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
34462         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
34463         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
34464         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
34465         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
34466         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
34467         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
34468         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
34469         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
34470         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
34471         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
34472         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
34473         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
34474         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
34475         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
34476         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
34477         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
34478         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
34479         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
34480         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
34481         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
34482         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
34483         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
34484         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
34486 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
34488         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
34489         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34491 2015-05-12  Roland McGrath  <roland@hack.frob.com>
34493         * posix/uname-values.h: New file.
34494         * posix/uname.c: Include that instead of <config-name.h>.
34495         * sysdeps/nacl/uname-values.h: New file.
34496         * sysdeps/arm/nacl/uname-values.h: New file.
34498 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
34500         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
34501         splitting into fields.
34503 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
34505         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
34506         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
34507         * locale/localeinfo.h: Add enum collation_encoding_type.
34508         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
34509         * programs/ld-collate.c (collate_output): Add encoding type info.
34510         * string/strcoll_l.c (STRDIFF): New function.
34511         * (STRCOLL): Use STRDIFF to skip over equal prefix.
34512         * wcsmbs/wcscoll_l.c: Define STRDIFF.
34514 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
34516         [BZ #18397]
34517         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
34518         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
34519         <fpu_control.h> instead of <math/fpu_control.c>.
34520         * sysdeps/mips/mips32/fpu/Makefile: New file.
34522 2015-05-11  Andreas Schwab  <schwab@suse.de>
34524         [BZ #18007]
34525         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
34526         nss_endgrent.
34527         (_nss_compat_endgrent): Call nss_endgrent.
34528         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
34529         nss_endpwent.
34530         (_nss_compat_endpwent): Call nss_endpwent.
34531         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
34532         needent, call nss_setspent only if non-zero.
34533         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
34534         (internal_endspent): Don't call nss_endspent.
34535         (_nss_compat_endspent): Call nss_endspent.
34536         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
34537         Remove.  All uses removed.
34538         (internal_setent): Remove parameter stayopen, add parameter
34539         stream.  Use it instead of global variable.
34540         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
34541         (internal_endent, internal_getent): Add parameter stream.  Use it
34542         instead of global variable.
34543         (CONCAT(_nss_files_end,ENTNAME))
34544         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
34545         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
34546         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
34547         uses removed.
34548         (internal_setent, internal_endent): Add parameter stream.  Use it
34549         instead of global variable.
34550         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
34551         stream.
34552         (get_next_alias): Add parameter stream.
34553         (_nss_files_getaliasent_r): Pass global stream.
34554         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
34555         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
34556         (_nss_files_gethostbyname4_r): Pass local stream to
34557         internal_setent, internal_getent and internal_endent.  Remove
34558         locking.
34560 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34562         * tst-strfmon1.c (tests): Update expected currency symbol.
34564 2015-05-08  Roland McGrath  <roland@hack.frob.com>
34566         * sysdeps/nacl/gethostname.c: New file.
34568 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
34570         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
34571         and sinh.
34572         * math/auto-libm-test-out: Regenerated.
34573         * sysdeps/i386/fpu/libm-test-ulps: Update.
34574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34576 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
34578         [BZ #18125]
34579         * stdlib/tst-setcontext3.c: New file.
34580         * stdlib/tst-setcontext3.sh: New file.
34581         * stdlib/Makefile (tests): Add tst-setcontext3.
34582         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
34583         to verify test program created output file.
34584         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
34585         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
34586         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
34587         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
34589 2015-05-06  Roland McGrath  <roland@hack.frob.com>
34591         [BZ #18383]
34592         * elf/tst-tlsalign.c: New file.
34593         * elf/tst-tlsalign-static.c: New file.
34594         * elf/tst-tlsalign-lib.c: New file.
34595         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
34596         (tests-static): Add tst-tlsalign-static.
34597         (modules-names): Add tst-tlsalign-lib.
34598         (test-xfail-tst-tlsalign): New variable.
34599         (test-xfail-tst-tlsalign-static): New variable.
34601         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
34602         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
34604 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
34606         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
34607         csqrt, erfc, sin and sincos.
34608         * math/auto-libm-test-out: Regenerated.
34609         * sysdeps/i386/fpu/libm-test-ulps: Update.
34610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34612 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34614         * sysdeps/aarch64/libm-test-ulps: Update.
34616 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
34618         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
34619         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
34620         * math/auto-libm-test-out: Regenerated.
34621         * sysdeps/i386/fpu/libm-test-ulps: Update.
34622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34624 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
34626         [BZ #18265]
34627         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
34628         (wcsncpy): Likewise.
34630 2015-05-05  Florian Weimer  <fweimer@redhat.com>
34632         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34633         Assume __ASSUME_FALLOCATE is always true.
34634         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34635         (__posix_fallocate64_l64): Likewise.
34636         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
34637         (posix_fallocate): Likewise.
34638         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
34639         (__posix_fallocate64_l64): Likewise.
34640         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34641         [!__ASSUME_FALLOCATE]: Add comment.
34643 2015-05-05  Florian Weimer  <fweimer@redhat.com>
34645         * sysdeps/unix/sysv/linux/i386/Makefile
34646         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
34647         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
34648         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
34649         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34650         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34651         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
34652         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
34654 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
34656         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
34657         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
34658         tgamma.
34659         * math/auto-libm-test-out: Regenerated.
34660         * sysdeps/i386/fpu/libm-test-ulps: Update.
34661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34663 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
34665         * math/auto-libm-test-in: Add more tests of tgamma.
34666         * math/auto-libm-test-out: Regenerated.
34667         * sysdeps/i386/fpu/libm-test-ulps: Update.
34668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34670         * math/auto-libm-test-in: Add more tests of tanh.
34671         * math/auto-libm-test-out: Regenerated.
34672         * sysdeps/i386/fpu/libm-test-ulps: Update.
34673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34675         * math/auto-libm-test-in: Add more tests of tan.
34676         * math/auto-libm-test-out: Regenerated.
34677         * sysdeps/i386/fpu/libm-test-ulps: Update.
34678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34680         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
34681         * math/auto-libm-test-out: Regenerated.
34682         * sysdeps/i386/fpu/libm-test-ulps: Update.
34683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34685         * math/auto-libm-test-in: Add another test of pow.
34686         * math/auto-libm-test-out: Regenerated.
34687         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34689         * math/auto-libm-test-in: Add more tests of lgamma.
34690         * math/auto-libm-test-out: Regenerated.
34691         * sysdeps/i386/fpu/libm-test-ulps: Update.
34692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34694         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
34695         log1p.
34696         * math/auto-libm-test-out: Regenerated.
34697         * sysdeps/i386/fpu/libm-test-ulps: Update.
34698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34700 2015-05-01  Mark Wielaard  <mjw@redhat.com>
34702         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
34703         Elf64_Chdr structs and ELFCOMPRESS constants.
34705 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
34707         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
34708         expm1.
34709         * math/auto-libm-test-out: Regenerated.
34710         * sysdeps/i386/fpu/libm-test-ulps: Update.
34711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34713         * math/auto-libm-test-in: Add more tests of erf and erfc.
34714         * math/auto-libm-test-out: Regenerated.
34715         * sysdeps/i386/fpu/libm-test-ulps: Update.
34716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34718 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34720         * config.h.in (HAVE_AARCH64_BE): Add.
34722 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
34724         * math/auto-libm-test-in: Add more tests of csqrt.
34725         * math/auto-libm-test-out: Regenerated.
34726         * sysdeps/i386/fpu/libm-test-ulps: Update.
34727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34729         * math/auto-libm-test-in: Add more tests of cosh and sinh.
34730         * math/auto-libm-test-out: Regenerated.
34731         * sysdeps/i386/fpu/libm-test-ulps: Update.
34732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34734         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
34736 2015-04-29  Roland McGrath  <roland@hack.frob.com>
34738         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
34739         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
34741         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
34742         (euidaccess, eaccess): Define as weak aliases.
34744         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
34745         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
34746         but __suseconds_t is often 'long int' so some sources assume that
34747         type is being used (e.g. they use %ld to print tv_usec).
34749 2015-04-29  Florian Weimer  <fweimer@redhat.com>
34751         [BZ #18007]
34752         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
34753         (CVE-2014-8121)
34754         * nss/tst-nss-getpwent.c: New file.
34755         * nss/Makefile (tests): Add new test.
34757 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
34759         [BZ #18346]
34760         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
34761         exponents less than 48 as cases where high part of mantissa needs
34762         examining to determine whether argument is integral.
34763         * math/libm-test.inc (round_test_data): Add more tests.
34765 2015-04-28  Mark Wielaard  <mjw@redhat.com>
34767         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
34769 2015-04-27  David S. Miller  <davem@davemloft.net>
34771         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
34772         __tls_get_addr.
34773         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34775 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
34777         [BZ #18333]
34778         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
34780 2015-04-27  Florian Weimer  <fweimer@redhat.com>
34782         [BZ #18333]
34783         * time/tzset.c (parse_tzname): Return error on memory allocation
34784         failure.
34785         * test-skeleton.c (struct temp_name_list): Change type of name
34786         member to non-const.
34787         (add_temp_file): Create a copy of the file name.
34788         (delete_temp_files): Deallocate memory.
34789         (create_temp_file): Add comment.
34791 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34793         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
34794         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
34796 2015-04-24  Roland McGrath  <roland@hack.frob.com>
34798         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
34799         * sysdeps/arm/configure: Regenerated.
34801 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34803         [BZ #17715]
34804         * time/tzfile.c (__tzfile_read): Check for large values of
34805         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
34806         * time/tzset.c (__tzstring_len): New function, based on the old
34807         __tzstring function.
34808         (__tzstring): Call __tzstring_len.
34809         (parse_tzname): New helper function extracted from
34810         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
34811         the input string.
34812         (parse_offset): New helper function extracted from
34813         __tzset_parse_tz.  Replace switch with fallthrough with
34814         initialization before sscanf.
34815         (parse_rule): Likewise.
34816         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
34817         new-style function definition.
34818         * timezone/Makefile (tests): Add tst-tzset.
34819         (tst-tzset.out): Dependencies on time zone files.
34820         (tst-tzset-ENV): Set TZDIR.
34821         (testdata/XT%): Copy crafted time zone files.
34822         * timezone/README: Mention crafted time zone files.
34823         * timezone/testdata/XT1, timezone/testdata/XT2,
34824         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
34825         files.
34826         * timezone/tst-tzset.c: New test.
34828 2015-04-24  Florian Weimer  <fweimer@redhat.com>
34830         * Makeconfig (+gccwarn): Remove -Winline.
34832 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34834         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
34836 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
34838         * NEWS: Mention sysconf() cache information support for s390.
34839         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
34841 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
34843         * math/k_casinh.c (__kernel_casinh): Use __copysign.
34844         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
34845         (__nearbyint): Likewise.
34846         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
34847         (copysignl): Likewise.
34849 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
34851         [BZ #18287]
34852         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
34853         based on padding.  (CVE-2015-1781)
34855 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34857         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
34858         libc-vdso.h.
34859         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
34860         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
34861         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
34862         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34863         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34864         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
34865         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
34866         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34867         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34868         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
34869         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
34870         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34871         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
34872         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
34873         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34874         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
34875         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
34876         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
34877         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
34878         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
34879         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
34880         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
34881         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
34883 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
34885         * stdlib/setenv.c (__add_to_environ):
34886         Dump core quickly if setenv (..., NULL, ...) is called.
34887         This time, do it the right way, and pacify GCC with a pragma.
34889 2015-04-17  Roland McGrath  <roland@hack.frob.com>
34891         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
34892         IMAP->l_prev cannot be null, and #if out the code for the contrary
34893         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
34894         believe that NS (&_dl_ns[NSID]) could point outside the array.
34896         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
34897         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
34898         before using NSID as an index.
34900 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
34902         [BZ #17825]
34903         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
34904         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
34905         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34907 2015-04-17  Roland McGrath  <roland@hack.frob.com>
34909         Add preliminary port to Google Native Client on ARM.
34910         * abi-tags (.*-.*-nacl.*): New entry.
34911         * sysdeps/arm/nacl: New directory.
34912         * sysdeps/nacl: New directory.
34914 2015-04-16  David S. Miller  <davem@davemloft.net>
34916         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
34917         lowlevellock-futex.h
34919 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
34921         * sysdeps/tile/configure.ac: New file.
34922         * sysdeps/tile/configure: Regenerated.
34924 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34926         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
34927         conditionals for weak_alias and libc_hidden_weak.
34928         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
34929         libc_hidden_weak and weak_alias.
34930         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
34931         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
34932         and weak_alias for static one.
34934 2015-04-15  David S. Miller  <davem@davemloft.net>
34936         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
34938 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34940         [BZ #18206]
34941         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
34942           Use signed comparision instead of substraction to avoid
34943           overflow bug.
34944         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
34945           Take the sign of ret.
34946         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
34947           Do not expect precise return values. Only the sign matters.
34948         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
34949         * wcsmbs/test-wcsncmp.c: New File.
34950         * string/test-strncmp.c: Add wcsncmp support.
34952 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34954         [BZ #6792]
34955         * math/w_log1p.c: New file.
34956         * math/w_log1pf.c: Likewise.
34957         * math/w_log1pl.c: Likewise.
34958         * math/Makefile (libm-calls): Add w_log1p.
34959         * math/s_log1pl.c (log1pl): Remove weak_alias.
34960         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
34961         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
34962         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
34963         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
34964         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
34965         [NO_LONG_DOUBLE] (log1pl): Likewise.
34966         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
34967         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
34968         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
34969         (log1p): Remove long_double_symbol.
34970         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
34971         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
34972         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
34973         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
34974         remove weak_alias for corresponding log1p function.
34975         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
34976         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
34977         * sysdeps/ia64/fpu/w_log1p.c: New file.
34978         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
34979         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
34980         * math/libm-test.inc (log1p_test_data): Add errno expectations.
34982 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
34984         [BZ #18247]
34985         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
34986         decimal exponent by 1.
34987         * stdlib/tst-strtod-round-data: Add more tests.
34988         * stdlib/tst-strtod-round.c (tests): Regenerated.
34990 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
34992         * math/auto-libm-test-in: Add more tests of clog and clog10.
34993         * math/auto-libm-test-out: Regenerated.
34994         * sysdeps/i386/fpu/libm-test-ulps: Update.
34995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34997 2015-04-09  Roland McGrath  <roland@hack.frob.com>
34999         * Makeconfig (module-cppflags): Exclude all .v.i files.
35000         (skip-module-cppflags): Variable removed.
35002         * configure.ac (libc_config_ok): Initialize before reading
35003         preconfigure scripts, not after.
35004         * configure: Regenerated.
35006         * test-skeleton.c (TIMEOUT): Move #define to top level.
35007         (main): Grok environment variable TEST_DIRECT.  If set, print
35008         test expectation details into that file and then behave as if
35009         given --direct.
35011 2015-04-09  Florian Weimer  <fweimer@redhat.com>
35013         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
35014         warning on 32-bit.
35016 2015-04-08  David S. Miller  <davem@davemloft.net>
35018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35020 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
35022         * math/auto-libm-test-in: Add more tests of atanh.
35023         * math/auto-libm-test-out: Regenerated.
35024         * sysdeps/i386/fpu/libm-test-ulps: Update.
35025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35027         * math/auto-libm-test-in: Add more tests of atan.
35028         * math/auto-libm-test-out: Regenerated.
35029         * sysdeps/i386/fpu/libm-test-ulps: Update.
35030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35032 2015-04-08  Florian Weimer  <fweimer@redhat.com>
35034         * elf/pldd.c (main): Rewrite to use struct
35035         scratch_buffer instead of extend_alloca.
35036         * elf/pldd-xx.c (find_maps): Likewise.
35037         * grp/initgroups.c: Include <scratch_buffer.h> instead of
35038         <alloca.h>.
35039         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
35040         scratch_buffer instead of extend_alloca.
35041         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
35042         grp/compat-initgroups.c.
35043         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
35044         Rewrite to use struct scratch_buffer instead of extend_alloca.
35045         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
35046         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35048 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
35050         * math/auto-libm-test-in: Add more tests of cbrt.
35051         * math/auto-libm-test-out: Regenerated.
35052         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35054         * math/auto-libm-test-in: Add more tests of cabs.
35055         * math/auto-libm-test-out: Regenerated.
35056         * sysdeps/i386/fpu/libm-test-ulps: Update.
35057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35059         [BZ #18210]
35060         [BZ #18211]
35061         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
35062         (__ieee754_atan2): Set FE_TONEAREST mode for internal
35063         computations.
35064         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
35065         clog10.
35066         * math/auto-libm-test-out: Regenerated.
35067         * sysdeps/i386/fpu/libm-test-ulps: Update.
35068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35070         [BZ #18197]
35071         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
35072         (atan): Set FE_TONEAREST mode for internal computations.
35073         * math/auto-libm-test-in: Add more tests of atan.
35074         * math/auto-libm-test-out: Regenerated.
35076 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
35078         [BZ #17930]
35079         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
35081 2015-04-07  Florian Weimer  <fweimer@redhat.com>
35083         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
35085 2015-04-07  Florian Weimer  <fweimer@redhat.com>
35087         * include/scratch_buffer.h: New file.
35088         * malloc/scratch_buffer_grow.c: Likewise.
35089         * malloc/scratch_buffer_grow_preserve.c: Likewise.
35090         * malloc/scratch_buffer_set_array_size.c: Likewise.
35091         * malloc/tst-scratch_buffer.c: Likewise.
35092         * malloc/Makefile (routines): Add scratch_buffer_grow.
35093         (tests): Add test case.
35094         * malloc/Versions (GLIBC_PRIVATE): Export
35095         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
35096         __libc_scratch_buffer_set_array_size.
35098 2015-04-06  Richard Henderson  <rth@redhat.com>
35100         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
35101         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35103         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
35104         unsigned int before printing.
35106 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35108         [BZ #17596]
35109         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
35110         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35112 2015-04-02  Florian Weimer  <fweimer@redhat.com>
35114         * include/libc-internal.h (libc_max_align_t): Define.
35116 2015-04-02  Andreas Schwab  <schwab@suse.de>
35118         [BZ #16850]
35119         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
35121 2015-04-02  Mel Gorman  <mgorman@suse.de>
35123         [BZ #17195]
35124         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
35125         as well as the main arena.
35127 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35129         [BZ #18185]
35130         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
35131         sharing L2 cache to 2 for Silvermont/Knights Landing.
35133 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35135         [BZ #17711]
35136         * config.make.in (have-protected-data): New.
35137         * configure.ac: Check linker support for protected data symbol.
35138         * configure: Regenerated.
35139         * elf/Makefile (modules-names): Add tst-protected1moda and
35140         tst-protected1modb if $(have-protected-data) is yes.
35141         (tests): Add tst-protected1a and tst-protected1b if
35142         $(have-protected-data) is yes.
35143         ($(objpfx)tst-protected1a): New.
35144         ($(objpfx)tst-protected1b): Likewise.
35145         (tst-protected1modb.so-no-z-defs): Likewise.
35146         * elf/tst-protected1a.c: New file.
35147         * elf/tst-protected1b.c: Likewise.
35148         * elf/tst-protected1mod.h: Likewise.
35149         * elf/tst-protected1moda.c: Likewise.
35150         * elf/tst-protected1modb.c: Likewise.
35152 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35154         [BZ #17711]
35155         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
35156         indicates it is called from do_lookup_x on relocation against
35157         protected data, skip the data definion in the executable from
35158         copy reloc.
35159         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
35160         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
35161         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
35162         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
35163         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
35164         otherwise to 0.
35165         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35166         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
35167         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
35168         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35169         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
35170         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
35172 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
35174         * sysdeps/nptl/pthread.h: Remove duplicate definition of
35175         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
35177 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
35179         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
35180         THREAD_SETMEM_NC.
35181         * sysdeps/x86_64/nptl/tls.h: Ditto.
35183 2015-03-27  Roland McGrath  <roland@hack.frob.com>
35185         * dlfcn/tststatic.c (main): Converted to ...
35186         (do_test): ... this.
35187         (TEST_FUNCTION): New macro.
35188         Include test-skeleton.c.
35190 2015-03-26  Alan Modra  <amodra@gmail.com>
35192         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
35193         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
35194         zero for undefined weak.
35195         (elf_machine_plt_conflict): Similarly.
35197 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
35199         * math/auto-libm-test-in: Add more tests of acosh, asinh and
35200         atanh.
35201         * math/auto-libm-test-out: Regenerated.
35202         * sysdeps/i386/fpu/libm-test-ulps: Update.
35203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35205         * math/auto-libm-test-in: Add another test of asin.
35206         * math/auto-libm-test-out: Regenerated.
35207         * sysdeps/i386/fpu/libm-test-ulps: Update.
35208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35210         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
35211         Remove macro.
35212         (LLL_EBX_REG): Likewise.
35213         (LLL_ENTER_KERNEL): Likewise.
35215         * math/auto-libm-test-in: Add more tests of asin.
35216         * math/auto-libm-test-out: Regenerated.
35217         * sysdeps/i386/fpu/libm-test-ulps: Update.
35218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35220         [BZ #18138]
35221         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
35222         libc_do_syscall_args): New structure.
35223         (INTERNAL_SYSCALL_MAIN_0): New macro.
35224         (INTERNAL_SYSCALL_MAIN_1): Likewise.
35225         (INTERNAL_SYSCALL_MAIN_2): Likewise.
35226         (INTERNAL_SYSCALL_MAIN_3): Likewise.
35227         (INTERNAL_SYSCALL_MAIN_4): Likewise.
35228         (INTERNAL_SYSCALL_MAIN_5): Likewise.
35229         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
35230         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
35231         Replace conditional definitions by conditional definitions of ....
35232         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
35233         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
35234         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
35235         (libpthread-sysdep_routines): Add libc-do-syscall.
35236         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
35237         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
35238         to __NR_futex not 240.
35240 2015-03-25  Alan Modra  <amodra@gmail.com>
35242         * NEWS: Advertise TLS optimization.
35243         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
35244         (DT_PPC_NUM): Increment.
35245         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
35246         (CHECK_STATIC_TLS): Use here.
35247         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
35248         TLS descriptors.
35249         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35250         * sysdeps/powerpc/dl-tls.c: New file.
35251         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
35252         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
35253         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
35254         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
35255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
35256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
35257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
35259 2015-03-25  Alan Modra  <amodra@gmail.com>
35261         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
35262         for overlapping .opd entries" to "support...".
35263         * sysdeps/powerpc/powerpc64/configure: Regenerate
35265 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
35267         * math/auto-libm-test-in: Add more tests of acos.
35268         * math/auto-libm-test-out: Regenerated.
35269         * sysdeps/i386/fpu/libm-test-ulps: Update.
35270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35272         * math/auto-libm-test-in: Add more tests of expm1.
35273         * math/auto-libm-test-out: Regenerated.
35274         * sysdeps/i386/fpu/libm-test-ulps: Update.
35275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35277 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
35279         * math/auto-libm-test-in: Add more tests of cosh and sinh.
35280         * math/auto-libm-test-out: Regenerated.
35281         * sysdeps/i386/fpu/libm-test-ulps: Update.
35282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35284         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35287         * math/auto-libm-test-in: Add more tests of log2.
35288         * math/auto-libm-test-out: Regenerated.
35289         * sysdeps/i386/fpu/libm-test-ulps: Update.
35290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35292 2015-03-23  Roland McGrath  <roland@hack.frob.com>
35294         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
35295         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
35296         _IO_IS_APPENDING bit in READ_WRITE instead.
35298 2015-03-23  Florian Weimer  <fweimer@redhat.com>
35300         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
35301         (__determine_cpumask_size): Replace extend_alloca with a
35302         variable-length array.  Do not treat res == 0 as an error.
35304 2015-03-23  Florian Weimer  <fweimer@redhat.com>
35306         [BZ #18100]
35307         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
35308         and integer overflow.
35309         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
35310         (main): Add integer overflow tests.
35311         * manual/pattern.texi (Calling Wordexp): Document additional use
35312         for WRDE_SYNTAX.
35314 2015-03-23  Alan Modra  <amodra@gmail.com>
35316         * config.h.in: Remove HAVE_ASM_PPC_REL16.
35317         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
35318         and false branch of conditional.
35319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
35320         Likewise.
35322 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
35324         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
35325         libc-modules.h
35326         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
35327         unused declaration of _hurd_intr_rpc_msg_in_trap.
35328         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
35329         defined instead of whether it is non-zero.
35330         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
35331         input constraint instead of both input and output constraint.  Use ecx
35332         clobber instead of %ecx.
35333         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
35334         mutex_unlock): Use a statement expression instead of an expression list.
35335         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
35336         type to vm_size_t instead of vm_address_t.
35337         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
35338         defined instead of whether it is non-zero.
35339         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
35340         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
35341         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
35342         comparisons with mapaddr.
35343         * nscd/nscd-client.h: Include <time.h>.
35344         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
35345         9th parameter to __vm_region instead of int.
35346         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
35347         * scripts/check-local-headers.sh (exclude): Add device/,
35348         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
35349         cthreads.h.
35351 2015-03-19  Roland McGrath  <roland@hack.frob.com>
35353         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
35354         to account for alignment padding.
35355         * sysdeps/arm/memmove.S: Likewise.
35357 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
35359         * sysdeps/unix/sysv/linux/generic/README: New file.
35361 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
35363         [BZ #18138]
35364         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
35365         (futex_abstimed_wait)
35366         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
35367         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
35368         of lll_futex_timed_wait.
35370 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
35372         [BZ #17542]
35373         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
35375 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
35377         [BZ #17090]
35378         [BZ #17620]
35379         [BZ #17621]
35380         [BZ #17628]
35381         * NEWS: Update.
35382         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
35383         entries with Static TLS too.  Skip entries past the end of the
35384         allocated DTV, from Alan Modra.
35385         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
35386         Static TLS DTV entry set up from...
35387         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
35388         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
35389         * nptl/allocatestack.c (init_one_static_tls): ... and here...
35390         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
35391         for Static TLS.
35392         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
35393         that the slot we find is associated with the given map before
35394         using its generation count.
35395         * nptl_db/db_info.c: Include ldsodefs.h.
35396         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
35397         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
35398         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
35399         (link_map::l_tls_offset): New struct field.
35400         (dtv_t::counter): Likewise.
35401         (rtld_global): New struct.
35402         (_rtld_global): New rtld variable.
35403         (dl_tls_dtv_slotinfo_list): New rtld global field.
35404         (dtv_slotinfo_list): New struct.
35405         (dtv_slotinfo): Likewise.
35406         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
35407         (td_lookup): Rename to...
35408         (td_mod_lookup): ... this.  Use new mod parameter instead of
35409         LIBPTHREAD_SO.
35410         * nptl_db/td_thr_tlsbase.c: Include link.h.
35411         (dtv_slotinfo_list, dtv_slotinfo): New functions.
35412         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
35413         addresses even if the DTV is out of date or missing them.
35414         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
35415         index zero-length arrays.
35416         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
35417         (td_lookup): Make it a macro implemented in terms of...
35418         (td_mod_lookup): ... this declaration.
35419         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
35420         (DB_MAIN_VARIABLE): Likewise.
35422 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35424         [BZ #18134]
35425         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
35427 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
35429         * stdlib/setenv.c (__add_to_environ): Revert previous change.
35431 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
35433         [BZ #18128]
35434         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
35435         (atomic_add, atomic_increment_and_test)
35436         (atomic_decrement_and_test): Fix 64-bit arithmetic.
35438 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
35440         * stdlib/setenv.c (__add_to_environ):
35441         Dump core quickly if setenv (..., NULL, ...) is called.
35443 2015-03-13  Roland McGrath  <roland@hack.frob.com>
35445         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
35446         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
35447         all the necessary asm magic in one place.
35448         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
35449         using those.
35451 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
35453         [BZ #14906]
35454         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
35455         traced file mtime. Use consistent log message.
35456         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
35457         (register_traced_file): Call install_watches. Always set mtime.
35458         (invalidate_cache): Iterate over all trace files. Call install_watches.
35459         (inotify_check_files): Don't inline. Handle watching parent
35460         directories and configuration file movement in and out.
35461         (handle_inotify_events): New function.
35462         (main_loop_poll): Call handle_inotify_events.
35463         (main_loop_epoll): Likewise.
35464         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
35465         (struct traced_file): Use array of inotify fds. Add parent directory,
35466         and basename.
35467         (struct database_dyn): Remove unused file_mtime.
35468         (init_traced_file): New inline function.
35469         (define_traced_file): New macro.
35470         * nss/nss_db/db-init.c: Use define_traced_file.
35471         (_nss_db_init): Use init_traced_file.
35472         * nss/nss_files/files-init.c: Use define_traced_file.
35473         (_nss_files_init): Use init_traced_file.
35475 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
35477         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
35478         [_LIBC]: Do not include <stdlib.h>.
35479         [!_LIBC] (abort): Remove declaration.
35480         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
35481         _FP_STATIC_ASSERT instead of conditionally calling abort.
35482         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
35483         (_FP_EXTEND_CNAN): Likewise.
35484         (FP_TRUNC): Likewise.
35485         (__FP_CLZ): Likewise.
35486         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
35488 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
35490         * manual/string.texi (XPG basename): Fix prototype.
35492 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35494         [BZ #18080]
35495         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
35496         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35497         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
35498         (__setcontext): Likewise.
35499         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
35500         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35501         Call rt_sigprocmask syscall one time to set new signal mask
35502         and retrieve the current signal mask instead of two calls.
35503         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
35504         (__swapcontext): Likewise.
35505         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
35506         * stdlib/tst-setcontext2.c: New file.
35508 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35510         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35512 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
35514         [BZ #18093]
35515         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
35516         the wrong size.
35518 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35520         [BZ #18043]
35521         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
35523 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35525         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
35526         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
35527         Remove define.
35528         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
35529         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
35530         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
35531         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
35532         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
35533         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
35534         define.
35535         * nptl_db/td_symbol_list.c (td_lookup): Remove
35536         HAVE_ASM_GLOBAL_DOT_NAME code.
35537         * sysdeps/powerpc/powerpc64/configure.ac: Remove
35538         HAVE_ASM_GLOBAL_DOT_NAME check.
35539         * sysdeps/powerpc/powerpc64/configure: Regenerate.
35540         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
35541         (DOT_LABEL): Remove define.
35542         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
35543         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
35544         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
35545         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
35546         (__TLS_GET_ADDR): Likewise.
35547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
35548         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
35550 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
35552         [BZ #18111]
35553         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
35554         (_FPU_SETCW): Initialize cw from fpsr before storing.
35555         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
35556         (fesetexceptflag): Rewrite using fpu_control.h.
35557         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
35559 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
35561         [BZ #18110]
35562         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
35563         asms.
35564         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35566 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
35568         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
35569         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
35570         abort.
35571         (_FP_FMA): Likewise.
35572         (_FP_DIV): Likewise.
35574 2015-03-10  Roland McGrath  <roland@hack.frob.com>
35576         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
35577         with 0 in that case.
35578         * Makefile (summarize-tests): New canned sequence, factored out of
35579         commands for targets tests and xtests.  Display summary lines that
35580         don't start with PASS: or XFAIL: rather than ones that do start with
35581         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
35582         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
35583         do start with ERROR: or FAIL:.
35584         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
35585         (except for [$(build-shared) = yes]).
35586         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
35587         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
35588         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
35589         * nptl/Makefile: Revert 2015-03-04 changes.
35590         [$(CXX) empty] (tests-unsupported): New variable.
35591         * debug/Makefile: Likewise.
35593         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
35594         gnulib file.  Replace __attribute with __attribute__ throughout.
35596 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
35598         * sysdeps/hppa/fpu/libm-test-ulps: Update.
35600 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35602         [BZ #18104]
35603         * math/auto-libm-test-in: Add another test of pow.
35604         * math/auto-libm-test-out: Regenerated.
35606 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35608         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
35609         $(config-cflags-nofma).
35611 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35613         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
35614         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
35615         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
35616         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
35617         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
35618         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
35619         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
35620         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
35621         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
35622         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
35623         Add comment on closing #endif.
35625 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35627         * posix/wordexp.c (CHAR_IN_SET): New macro.
35628         (parse_param): Use it.
35630 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35632         * sysdeps/powerpc/fpu/libm-test-ulps: update.
35634 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35636         [BZ #18043]
35637         * posix/wordexp.c (parse_param): Fix buffer overflow.
35638         * posix/wordexp-test.c (test_case): Add test case.
35640 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35642         [BZ #18042]
35643         * posix/wordexp.c (parse_backtick): Fix off-by-one.
35644         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
35646 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35648         [BZ #18043]
35649         * posix/wordexp-test.c (test_case): Add test for BZ #18043
35650         (do_bz18043): Delete.
35651         (at_page_end): New.
35652         (testit): Refactor to have words at the edge of unreadable page.
35654 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35656         [BZ #16734]
35657         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
35658         Cleanup read-only streams as well.
35659         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
35661 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35663         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
35664         <bits/libc-lockP.h>
35666 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
35668         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
35669         on [__KERNEL__].
35670         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
35671         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
35672         * soft-fp/op-common.h (_FP_DECL): Likewise.
35674 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
35676         * elf/ifuncdep2.c (global): Replace
35677         __attribute__((visibility("protected"))) with
35678         asm (".protected global").
35679         * elf/ifuncmod1.c (global): Likewise.
35680         * elf/ifuncmod5.c (global): Likewise.
35682 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
35684         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
35685         <asm/sfp-machine.h> instead of <sfp-machine.h>.
35687 2015-03-06  Roland McGrath  <roland@hack.frob.com>
35689         * manual/install.texi (Configuring and compiling):
35690         Document test-wrapper-env-only.
35691         * INSTALL: Regenerated.
35693 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35695         [BZ #18043]
35696         * posix/wordexp.c (parse_param): Fix buffer overflow.
35697         * posix/wordexp-test.c (do_bz18043): Add test case.
35699 2015-03-06  Vincent Bernat  <vincent@bernat.im>
35701         * time/tst-strptime2.c (do_test): Ensure failing tests are
35702         reported correctly.
35703         * time/tst-strptime3.c (do_test): Likewise.
35705 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
35707         Fix aio_error thread-safety.
35708         * sysdeps/pthread/aio_error.c: New file
35709         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
35710         synchronization.
35712 2015-03-06  Florian Weimer  <fweimer@redhat.com>
35714         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
35715         (group_number, vfprintf): Use it.
35716         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
35717         (JUMP, REF): Use it.
35718         (WORK_BUFFER_SIZE): New enum constant.
35719         (process_arg, vfprintf): Use it.
35721 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
35723         * manual/errno.texi (Error Messages): Complete example function
35724         by adding missing #define.
35725         (program_invocation_name): Add statement indicating GNU
35726         extension and reference which header file declares the variable.
35727         (program_invocation_short_name): Likewise.
35729 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
35731         * manual/errno.texi (Error Messages): Delete strerror ISO C89
35732         compatibility note.
35734 2015-03-05  Roland McGrath  <roland@hack.frob.com>
35736         * Makeconfig (test-wrapper-env-only): New variable.
35737         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
35738         then use that with $(test-wrapper-env-only) rather than using
35739         $(test-wrapper-env) $(run-program-env) $($*-ENV).
35741 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
35743         [BZ #18082]
35744         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
35745         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
35746         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
35747         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
35748         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
35749         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
35750         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
35751         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
35752         Likewise.
35753         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
35754         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
35755         Likewise.
35756         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
35757         Likewise.
35758         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
35759         Likewise.
35760         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
35761         Likewise.
35762         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
35763         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
35764         Likewise.
35765         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
35766         Likewise.
35767         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
35768         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
35770 2015-03-04  Roland McGrath  <roland@hack.frob.com>
35772         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
35773         (ETH_ALEN): New macro.
35774         (struct ether_addr): Use it for length of ether_addr_octet.
35776         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
35777         (setdb): Don't call __nss_configure_lookup for "rpc".
35778         (do_test): Don't call test_rpc.
35779         (output_rpcent, test_rpc): Functions moved ...
35780         * sunrpc/test-rpcent.c: ... to this new file.
35781         * sunrpc/Makefile (tests): Add it.
35783         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
35784         __xpg_sigpause.
35785         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
35786         * nptl/tst-signal6.c: Likewise.
35787         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
35788         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
35790         * configure.ac (libc_cv_cxx_link_ok): New check.
35791         Reset CXX to empty if it fails to link.
35792         * configure: Regenerated.
35793         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
35794         bug-atexit3-lib only if $(CXX) is nonempty.
35795         * nptl/Makefile (tests): Likewise for tst-cancel24.
35796         (tests, tests-static): Likewise for tst-cancel24-static.
35797         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
35798         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
35799         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
35800         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
35802 2015-03-04  Andreas Schwab  <schwab@suse.de>
35804         [BZ #17631]
35805         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
35806         for non-GCC compilers.
35807         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35808         Likewise.
35810 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35812         [BZ #17776]
35813         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
35814         integer before bitwise and assembly operations.
35815         (feclearexcept): Likewise.
35816         * math/test-fenvinline.c: New file.
35817         * math/Makefile: Add test-fenvinline test.
35819 2015-03-03  Alan Modra  <amodra@gmail.com>
35821         [BZ #16512]
35822         * scripts/localplt.awk: Strip off symbol version.
35823         * NEWS: Mention bug fix.
35825 2015-03-02  Roland McGrath  <roland@hack.frob.com>
35827         * sysdeps/pthread/timer_routines.c
35828         (timer_free_list, thread_free_list, thread_active_list): Make static.
35830 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
35832         [BZ #17779]
35833         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35834         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35835         Undefine.
35836         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35837         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35838         Likewise.
35839         * sysdeps/unix/sysv/linux/sh/kernel-features.h
35840         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
35841         Likewise.
35843 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35845         [BZ #18036]
35846         * posix/fnmatch_loop.c (END): Detect invalid pattern.
35847         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
35849 2015-03-02  Andreas Schwab  <schwab@suse.de>
35851         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
35852         variable name.
35854 2015-03-02  Florian Weimer  <fweimer@redhat.com>
35856         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
35857         Return error status.
35859 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
35861         [BZ #15969]
35862         * locale/findlocale.c (_nl_find_locale): Introduce const
35863         version of loc_name and drop unsafe type casts.
35865 2015-02-27  Roland McGrath  <roland@hack.frob.com>
35867         * dlfcn/tststatic2.c (main): Converted to ...
35868         (do_test): ... this.
35869         (TEST_FUNCTION): New macro.
35870         Include test-skeleton.c.
35872 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
35874         [BZ #17711]
35875         * elf/Makefile (tests): Add vismain only if PIE is enabled.
35876         (tests-pie): Add vismain.
35877         (CFLAGS-vismain.c): New.
35878         * elf/vismain.c: Add comments for PIE requirement.
35880 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
35882         [BZ #18046]
35883         [BZ #18047]
35884         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
35885         0x1p-56L as threshold for just returning the argument.
35886         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
35887         0x1p-32L as threshold for just returning the argument.
35888         * math/auto-libm-test-in: Add more tests of atanh.
35889         * math/auto-libm-test-out: Regenerated.
35890         * sysdeps/i386/fpu/libm-test-ulps: Update.
35891         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
35893 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
35895         * string/bcopy.c (bcopy): Call memmove for performance.
35897 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
35899         * string/bzero.c (__bzero): Call memset for performance.
35901 2015-02-27  John David Anglin  <dave.anglin@bell.net>
35903         [BZ #18068]
35904         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
35905         to 00100000.
35907 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
35909         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
35911 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35913         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
35914         (__kernel_standard): Use CSTR macro when setting exc.name.
35915         * sysdeps/ieee754/Makefile [$(subdir) = math]
35916         (CFLAGS-k_standard.c): Remove variable.
35918         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
35919         setting p and q from "else if" to "else".
35920         (qzero): Likewise.
35921         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
35922         (qone): Likewise.
35923         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
35924         (qzerof): Likewise.
35925         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
35926         (qonef): Likewise.
35927         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
35928         (qzero): Likewise.
35929         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
35930         (qone): Likewise.
35932         [BZ #18038]
35933         [BZ #18039]
35934         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
35935         return pi/2 for arguments below 0x1p-113L.
35936         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
35937         return pi/2 for arguments below 0x1p-106L.
35938         * math/auto-libm-test-in: Add more tests of acos.
35939         * math/auto-libm-test-out: Regenerated.
35941         [BZ #16351]
35942         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
35943         (MO): New macro.
35944         (__ieee754_asin): Force underflow exception for results with small
35945         absolute value.
35946         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
35947         (MO): New macro.
35948         (__ieee754_asinf): Force underflow exception for results with
35949         small absolute value.
35950         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
35951         (__ieee754_asin): Force underflow exception for results with small
35952         absolute value.
35953         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
35954         (__ieee754_asinf): Force underflow exception for results with
35955         small absolute value.
35956         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
35957         (__ieee754_asinl): Force underflow exception for results with
35958         small absolute value.
35959         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
35960         (__ieee754_asinl): Force underflow exception for results with
35961         small absolute value.
35962         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
35963         (__ieee754_asinl): Force underflow exception for results with
35964         small absolute value.
35965         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
35966         Include <math.h>.
35967         * math/auto-libm-test-in: Do not mark underflow exceptions as
35968         possibly missing for bug 16351.
35969         * math/auto-libm-test-out: Regenerated.
35971         [BZ #18030]
35972         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
35973         of power of 2 down when low part has opposite sign.
35974         * math/libm-test.inc (logb_test_data): Add more tests.
35976 2015-02-26  Andreas Schwab  <schwab@suse.de>
35978         [BZ #18032]
35979         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
35980         over collating symbol inside a bracket expression.  Minor cleanup.
35981         * posix/tst-fnmatch3.c (do_test): Add test case.
35983 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
35985         [BZ #18029]
35986         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
35987         Adjust exponent of power of 2 down when low part has opposite
35988         sign.
35989         * math/libm-test.inc (ilogb_test_data): Add more tests.
35991 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
35993         [BZ #15969]
35994         * locale/findlocale.c (_nl_find_locale): Fix constness error in
35995         the previous change.
35997         [BZ #15969]
35998         * locale/findlocale.c (_nl_find_locale): Retry archive search
35999         after alias expansion.
36001 2015-02-25  Roland McGrath  <roland@hack.frob.com>
36003         * iconv/tst-iconv3.c (main): Converted to ...
36004         (do_test): ... this.
36005         (TEST_FUNCTION): New macro.
36006         Include test-skeleton.c.
36008         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
36009         (convert): Make function static.
36010         (test_unalign): Likewise.  Add const to argument pointee types.
36011         (main): Replace with static function do_test.
36012         Print "Succeeded." only if RET is zero.
36013         (TEST_FUNCTION): New macro.
36014         Include test-skeleton.c.
36016         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
36017         returns a null pointer.
36019 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36021         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
36022         to __memcpy_ppc only for static builds.
36024 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
36026         [BZ #18020]
36027         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
36028         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
36029         * math/auto-libm-test-in: Add more tests of asinh.
36030         * math/auto-libm-test-out: Regenerated.
36031         * sysdeps/i386/fpu/libm-test-ulps: Update.
36032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36034 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
36036         [BZ #15850]
36037         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
36038         and ip6_mtuinfo definitions here.
36039         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
36040         in this define too.  Update comment.
36042 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
36044         * elf/sprof.c (load_shobj): Tweak error message to match others.
36046 2015-02-24  Kevin Easton  <kevin@guarana.org>
36048         [BZ #16145] (partial fix)
36049         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
36050         to reduce lock contention.
36052 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
36054         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
36055         (struct timex): Update time comment.
36056         (ADJ_SETOFFSET): Define.
36058 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
36060         [BZ #18019]
36061         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36062         2**56 not 2**28 as threshold for log (2x) formula.
36063         * math/auto-libm-test-in: Add more tests of acosh.
36064         * math/auto-libm-test-out: Regenerated.
36065         * sysdeps/i386/fpu/libm-test-ulps: Update.
36066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36068 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
36070         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
36071         parenthesis around the buf assignment.
36072         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
36074 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
36076         [BZ #16783]
36077         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
36078         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
36079         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
36080         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
36081         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
36082         * math/libm-test.inc (scalb_test_data): Add more tests.
36084 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36086         [BZ #17916]
36087         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
36088         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
36090 2015-02-24  Eric Rannaud  <e@nanocritical.com>
36092         [BZ #17523]
36093         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
36094         * io/bits/fcntl2.h (open): Use it.
36095         (openat): Likewise.
36096         * io/open.c (__libc_open): Likewise.
36097         * io/open64.c (__libc_open64): Likewise.
36098         * io/open64_2.c (__open64_2): Likewise.
36099         * io/open_2.c (__open_2): Likewise.
36100         * io/openat.c (__openat): Likewise.
36101         * io/openat64.c (__openat64): Likewise.
36102         * io/openat64_2.c (__openat64_2): Likewise.
36103         * io/openat_2.c (__openat_2): Likewise.
36104         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
36105         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
36106         * sysdeps/posix/open64.c (__libc_open64): Likewise.
36107         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
36108         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36109         (__open_nocancel): Likewise.
36110         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36111         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36112         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
36114 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36116         [BZ #14841]
36117         * resolv/gethnamaddr.c (getanswer): Skip logging if
36118         RES_USE_DNSSEC is set.
36119         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
36121 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
36123         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
36125 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
36127         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
36128         201304L, for Unicode 7.
36130 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
36132         [BZ #17836]
36133         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
36134         shared library.  Add gmon-start.os otherwise.
36135         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
36136         $(objpfx)gmon-start.os if builing shared library.
36137         ($(objpfx)g$(static-start-installed-name)): Likewise.
36139 2015-02-23  Andreas Schwab  <schwab@suse.de>
36141         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
36143 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
36145         [BZ #17269]
36146         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
36147         (enlarge_userbuf): Likewise.
36149 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
36151         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
36152         * math/atest-exp.c (TIMEOUT): Adjust to 200.
36153         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
36154         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
36156 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
36158         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
36159         expression inside statement expression.
36161 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36163         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
36164         <sysdeps/nptl/lowlevellock.h> and remove macros and
36165         functions that are now defined there.
36166         (SYS_futex): Remove.
36167         (lll_compare_and_swap): Remove.
36168         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
36170 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
36172         [BZ #17999]
36173         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
36174         instead of scandirat.
36175         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
36176         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
36177         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
36178         __scandirat.
36179         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
36180         (__scandirat): Declare.  Use libc_hidden_proto.
36181         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
36182         Remove variable.
36183         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
36185 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
36187         [BZ #15319]
36188         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
36189         (MO): New macro.
36190         (__ieee754_atan2): For results with small absolute value, force
36191         underflow exception and remove excess range and precision from
36192         return value.
36193         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
36194         (MO): New macro.
36195         (__ieee754_atan2f): For results with small absolute value, force
36196         underflow exception and remove excess range and precision from
36197         return value.
36198         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
36199         (MO): New macro.
36200         (__atan): For results with small absolute value, force underflow
36201         exception and remove excess range and precision from return value.
36202         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
36203         (MO): New macro.
36204         (__atanf): For results with small absolute value, force underflow
36205         exception and remove excess range and precision from return value.
36206         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
36207         <math.h>.
36208         (__ieee754_atan2): Force underflow exception for results with
36209         small absolute value.
36210         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
36211         <math_private.h>.
36212         (atan): Force underflow exception for results with small absolute
36213         value.
36214         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
36215         (__atanf): Force underflow exception for results with small
36216         absolute value.
36217         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
36218         <math.h>.
36219         (__atanl): Force underflow exception for results with small
36220         absolute value.
36221         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
36222         (__atanl): Force underflow exception for results with small
36223         absolute value.
36224         * sysdeps/x86/fpu/bits/mathinline.h
36225         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
36226         (__ieee754_atan2): Only define inline for long double.
36227         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
36228         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
36229         * math/auto-libm-test-in: Do not mark underflow exceptions as
36230         possibly missing for bug 15319.  Add more tests of atan2.
36231         * math/auto-libm-test-out: Regenerated.
36232         * math/libm-test.inc (casin_test_data): Do not mark underflow
36233         exceptions as possibly missing for bug 15319.
36234         (casinh_test_data): Likewise.
36235         * sysdeps/i386/fpu/libm-test-ulps: Update.
36237 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
36239         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
36240         * sysdeps/mips/bits/endian.h: Fix comments.
36242 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
36244         [BZ #17996]
36245         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
36246         (hdestroy_r): Likewise.
36247         (hsearch_r): Likewise.
36248         (__hcreate_r): Declare and use libc_hidden_proto.
36249         (__hdestroy_r): Likewise.
36250         (__hsearch_r): Likewise.
36251         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
36252         (hcreate): Call __hcreate_r instead of hcreate_r.
36253         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
36254         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
36255         as weak alias of __hcreate_r.
36256         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
36257         __hdestroy_r.
36258         (hsearch_r): Rename to __hsearch_r and define as weak alias of
36259         __hsearch_r.
36260         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
36261         Remove variable.
36262         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36263         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36264         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
36265         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
36267 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36269         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
36270         arena_lock into a single arena_get.
36272 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
36274         * dl-reloc.c: Inlucde libc-internal.h.
36275         (_dl_try_allocate_static_tls): Call ALIGN_UP.
36276         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
36277         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
36278         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
36279         (grow_heap): Likewise.
36280         * malloc/malloc.c: Include libc-internal.h.
36281         (do_check_malloc): Call powerof2.
36282         (sysmalloc): Use pagesize. Call ALIGN_UP.
36283         (systrim): Use pagesize.
36284         (mremap_chunk): Use pagesize. Call ALIGN_UP.
36285         (__libc_valloc): Use pagesize.
36286         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
36288 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36290         [BZ #17991]
36291         * include/sys/resource.h (__getrlimit64): Declare.  Use
36292         libc_hidden_proto.
36293         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
36294         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
36295         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
36296         getrlimit64.
36297         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
36298         __getrlimit64.
36299         [!getrlimit64] (getrlimit64): Define as weak alias of
36300         __getrlimit64.  Use libc_hidden_weak.
36301         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
36302         using __getrlimit64 not __new_getrlimit64.
36303         (__GI_getrlimit64): Likewise.
36304         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
36305         Likewise.
36306         (__GI_getrlimit64): Likewise.
36307         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
36308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
36309         (getrlimit): Add __getrlimit64 alias.
36310         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
36311         Likewise.
36312         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
36313         Remove variable.
36314         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
36315         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
36317 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
36319         * libio/fileops.c: Add missing sys/mman.h
36320         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
36322 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36324         * manual/math.texi (Errors in Math Functions): Clarify goals
36325         regarding inexact and underflow exceptions.
36327 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36329         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
36330         * sysdeps/mips/memset.S: Ditto.
36332 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36334         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
36336 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36338         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
36339         (__v1longjmp): Remove versioned symbol.
36340         (__v1siglongjmp): Remove alias and versioned symbol.
36341         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
36342         (__v2siglongjmp): Likewise.
36344 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36346         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
36348 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
36350         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
36352 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36354         [BZ #17987]
36355         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
36356         zero result does not depend on the sign resulting from
36357         subtraction.
36358         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36359         Likewise.
36360         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36361         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36362         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36363         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36364         * math/libm-test.inc (remquo_test_data): Add more tests.
36366 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
36368         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
36369         Problem reported by J William Piggott.
36371 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36373         [BZ #17978]
36374         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
36375         products 4 * y and 2 * y where those would overflow.
36376         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36377         Likewise.
36378         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36379         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36380         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36381         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36382         * math/libm-test.inc (remquo_test_data): Add more tests.
36384         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
36386         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
36387         [defined _COMPILING_NEWLIB].
36388         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
36389         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
36391         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
36392         [!defined __mips_isa_rev || __mips_isa_rev < 6].
36394 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36396         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
36397         acquired.
36399 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
36401         [BZ #17792]
36402         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
36403         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
36404         HOST_STACK_END_ADDR): Likewise.
36406 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
36408         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
36409         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
36410         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
36412 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36414         * sysdeps/generic/c++-types.data: New file.
36415         * sysdeps/generic/ld.abilist: New file.
36416         * sysdeps/generic/libBrokenLocale.abilist: New file.
36417         * sysdeps/generic/libanl.abilist: New file.
36418         * sysdeps/generic/libc.abilist: New file.
36419         * sysdeps/generic/libcrypt.abilist: New file.
36420         * sysdeps/generic/libdl.abilist: New file.
36421         * sysdeps/generic/libm.abilist: New file.
36422         * sysdeps/generic/libpthread.abilist: New file.
36423         * sysdeps/generic/libresolv.abilist: New file.
36424         * sysdeps/generic/librt.abilist: New file.
36426 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36428         [BZ #17569]
36429         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36430         Compute absolute value of x as modified by fmod, not original
36431         value of x.
36432         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
36433         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
36434         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
36435         RUN_TEST_ffI_f1_mod8.
36436         (remquo_test_data): Add more tests.
36438 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36440         * sysdeps/init_array/pt-crti.S: New file.
36442 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36444         [BZ #17967]
36445         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
36446         __builtin_fmaf instead of relying on contraction of a * b + c.
36448 2015-02-12  J William Piggott  <elseifthen@gmx.com>
36450         [BZ #17969]
36451         * manual/time.texi: correct the zoneinfo path in the TZ Variable
36452         node.
36454 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36456         [BZ #17964]
36457         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
36458         __builtin_fma instead of relying on contraction of a * b + c.
36460 2015-02-12  Roland McGrath  <roland@hack.frob.com>
36462         * Makeconfig (ASFLAGS): Add -Werror=undef.
36463         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
36464         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
36465         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
36467         * Makeconfig (after-link): New variable.
36468         (+link-pie, +link-pie-tests): Use it.
36469         (+link-static, +link-static-tests): Likewise.
36470         (+link, +link-tests): Likewise.
36471         * Makerules (build-module, build-module-asneeded): Likewise.
36472         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
36473         Likewise.
36474         * elf/Makefile ($(objpfx)ld.so): Likewise.
36476 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
36478         [BZ #17965]
36479         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
36480         both struct timeval and struct timespec.
36482 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36484         [BZ #16560]
36485         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36486         and redefine.
36487         (__ieee754_exp2l): Do not multiply small fractional parts by
36488         M_LN2l.
36489         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
36490         small argument.
36491         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36492         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
36493         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
36494         * math/auto-libm-test-in: Add more tests of exp2.
36495         * math/auto-libm-test-out: Regenerated.
36497 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36499         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
36500         unaligned path.
36502 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36504         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
36505         little endian.
36507 2015-02-12  Andreas Schwab  <schwab@suse.de>
36509         [BZ #15790]
36510         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
36511         Filter out elision flags from value returned in kind.
36512         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
36513         * nptl/tst-pthread-mutexattr.c: New file.
36515 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36517         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
36518         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
36519         into gnu-gnu, and update comment to refer to abi-tags.
36521 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
36523         [BZ #15467]
36524         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
36525         (__sincos): Set errno to EDOM for infinite argument.
36526         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
36527         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
36528         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
36529         (__sincosl): Set errno to EDOM for infinite argument.
36530         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
36531         (__sincosl): Set errno to EDOM for infinite argument.
36532         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
36533         (__sincosl): Set errno to EDOM for infinite argument.
36534         * math/libm-test.inc (sincos_test_data): Test errno setting.
36536 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
36538         * string/strxfrm_l.c: Remove #define STRCMP.
36539         * string/strcoll_l.c: Remove #define STRLEN.
36540         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
36541         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
36543 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
36545         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
36546         * sysdeps/mips/mips32/sfp-machine.h: ... here.
36547         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
36548         * sysdeps/mips/mips64/Makefile: ... here.
36549         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
36550         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
36551         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
36552         * sysdeps/mips/mips64/sfp-machine.h: ... here.
36553         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
36554         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
36555         * sysdeps/mips/mips64/n64/Implies: Likewise.
36557 2015-02-10  Roland McGrath  <roland@hack.frob.com>
36559         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
36560         <sys/time.h>, <string.h>, and <errno.h>.
36561         (dest_offset, dest_address, value, zero): Remove unused variables.
36562         (ldouble): Remove typedef.
36563         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
36564         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
36565         1).  Fix code style.
36566         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
36567         (check): Function removed.
36568         (CHECK): New macro.
36569         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
36570         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
36571         Don't call set_sigaction_FP and remove_sigaction_FP here.
36572         (ldouble_test): Just use 'long double' as macro argument, no need for
36573         the 'ldouble' typedef.
36574         (do_test): Set up SIGFPE handler at start, using plain signal rather
36575         than sigaction.  Fix code style.
36577 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
36579         [BZ #17949]
36580         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
36581         jump label.
36583 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36585         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
36586         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36588         * sysdeps/powerpc/configure.ac: Remove file.
36589         * sysdeps/powerpc/configure: Likewise.
36591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36592         [sysdep_routines]: Remove wordcopy-power6 object.
36593         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36594         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
36595         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
36596         (__memmove_ppc32): Likewise.
36597         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
36598         file.
36599         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
36600         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
36601         Remove preprocessor.
36603         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36604         [sysdep_routines]: Remove wide chars objects.
36605         [wcsmbs]: New rule for wide char objects.
36607         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36608         Remove wordcopy-power6 obejct.
36609         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
36610         Use local call for wordcopy and memcpy symbols.
36611         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
36612         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
36613         implementation for loader.
36614         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
36616         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36617         Remove wordcopy-power7 object.
36618         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
36619         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
36620         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
36621         (_wordcopy_fwd_dest_aligned): Likewise.
36622         (_wordcopy_bwd_aligned): Likewise.
36623         (_wordcopy_bwd_dest_aligned): Likewise.
36625         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
36626         Rewrite to call __memmove_ppc instead of include default
36627         implementation.
36629         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36630         Remove wide chars objects.
36631         [wcsmbs]: New rule for wide char objects.
36633 2015-02-09  Andreas Schwab  <schwab@suse.de>
36635         [BZ #17912]
36636         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
36637         in terms of __O_DIRECTORY.
36639 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36641         * time/getdate.c: Include <stdbool.h>.
36642         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
36643         call PTR_MANGLE.
36644         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
36645         PTR_DEMANGLE.
36647 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
36649         Add ersatz _Static_assert on older C hosts
36650         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
36651         pre-C11 C platform that is not known to support _Static_assert.
36653 2015-02-07  Richard Braun  <rbraun@sceen.net>
36655         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
36656         sigstate.
36657         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
36659 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36661         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
36662         priority against unexistent AIO_PRIO_DELTA_MAX.
36663         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
36664         instead of int.
36665         * misc/fchflags.c (fchflags): Likewise.
36666         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
36667         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
36668         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
36669         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
36670         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
36671         Declare macros.
36672         [__USE_MISC] (chflags, fchflags): Declare functions.
36673         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
36674         EINVAL when nfds is greater than FD_SETSIZE.
36675         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
36676         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
36677         45.
36678         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
36679         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
36680         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
36681         MACH_RCV_TIMED_OUT.
36682         * hurd/hurd/signal.h (_hurd_self_sigstate,
36683         _hurd_critical_section_lock, _hurd_critical_section_unlock):
36684         Explicit casts from void *.
36685         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
36686         * abi-tags: Rename gnu-gnu os into gnu.
36688         [BZ #4719]
36689         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
36690         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
36691         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
36692         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
36693         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
36694         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
36696         [BZ #17944]
36697         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
36698         duplicates ADDR->sun_path with sockaddr LEN limitation.
36699         * sysdeps/mach/hurd/connect.c: Include <string.h>
36700         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
36701         * sysdeps/mach/hurd/sendmsg.c: Likewise.
36702         * sysdeps/mach/hurd/sendto.c: Likewise.
36703         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
36704         implementing it by hand.
36706 2015-02-06  Roland McGrath  <roland@hack.frob.com>
36708         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
36709         Use sfi_breg on ldr.
36710         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
36711         Likewise.
36713         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
36714         it's defined.
36715         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
36716         Test SIGSETXID only if it's defined.
36718         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
36720         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
36721         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
36723         * nptl/tst-align2.c: Moved ...
36724         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
36725         * nptl/Makefile (tests): Remove tst-align2.
36726         * sysdeps/unix/sysv/linux/Makefile
36727         [$(subdir) = nptl] (tests): Add tst-align-clone.
36728         * nptl/tst-getpid1.c: Moved ...
36729         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
36730         * nptl/tst-getpid2.c: Moved ...
36731         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
36732         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
36733         * sysdeps/unix/sysv/linux/Makefile
36734         [$(subdir) = nptl] (tests): ... here.
36735         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
36736         * sysdeps/unix/sysv/linux/Makefile
36737         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
36739         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
36740         Drop trailing \n from perror argument.  Use return rather than exit.
36742         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
36743         on [SA_SIGINFO].
36744         * nptl/tst-cancel21.c (do_test): Likewise.
36745         * debug/tst-backtrace6.c: Include <signal.h> first thing.
36746         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
36747         [!SA_SIGINFO]: Make it a stub test.
36749         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
36750         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
36752         * posix/tst-getlogin.c: Move to ...
36753         * login/tst-getlogin.c: ... here.
36754         * posix/Makefile (tests): Move tst-getlogin to ...
36755         * login/Makefile (tests): ... here.
36757         * libio/tst-atime.c (do_test): Move local variables SV and E
36758         inside [ST_NOATIME] conditional.
36760         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
36762         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
36764         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
36765         (wait_code): New function replaces macro.
36766         Call nanosleep rather than syscall.
36768         * nptl/pt-system.c: Rewritten.  Put everything under
36769         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36770         Use IFUNC to redirect when possible.
36772         * nptl/pt-longjmp.c: Rewritten.  Put everything under
36773         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36774         Use IFUNC to redirect when possible.
36776         * nptl/pt-fork.c: Rewritten.  Put everything under
36777         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
36778         Use IFUNC to redirect when possible.
36779         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
36781         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
36782         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
36783         unconditionally nowadays.  This included the only reference to
36784         __vdso_clock_gettime that appears outside libc proper.
36785         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
36786         Remove version set (containing only __vdso_clock_gettime).
36787         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36788         Add attribute_hidden.
36789         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36790         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
36791         libc_hidden_data_def.
36792         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36793         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36795         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
36796         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
36797         setrpcent, and getrpcport to ...
36798         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
36799         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
36800         getrpcbynumber_r, and getrpcent_r to ...
36801         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
36802         * inet/getrpcbyname.c: Moved ...
36803         * sunrpc/getrpcbyname.c: ... here.
36804         * inet/getrpcbyname_r.c: Moved ...
36805         * sunrpc/getrpcbyname_r.c: ... here.
36806         * inet/getrpcbynumber.c: Moved ...
36807         * sunrpc/getrpcbynumber.c: ... here.
36808         * inet/getrpcbynumber_r.c: Moved ...
36809         * sunrpc/getrpcbynumber_r.c: ... here.
36810         * inet/getrpcent.c: Moved ...
36811         * sunrpc/getrpcent.c: ... here.
36812         * inet/getrpcent_r.c: Moved ...
36813         * sunrpc/getrpcent_r.c: ... here.
36814         * inet/Makefile (routines): Move those to ...
36815         * sunrpc/Makefile (routines): ... here.
36816         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
36817         the $(subdirs) list.
36818         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
36819         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
36820         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
36821         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
36823         * elf/Makefile (routines): Include $(all-dl-routines), not just
36824         $(dl-routines).
36825         (rtld-routines): Likewise.  Use = rather than :=.
36826         * sysdeps/aarch64/Makefile [$(subdir) = elf]
36827         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
36828         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
36829         * sysdeps/arm/Makefile: Likewise.
36830         * sysdeps/i386/Makefile: Likewise.
36831         * sysdeps/x86_64/Makefile: Likewise.
36832         * sysdeps/hppa/Makefile [$(subdir) = elf]
36833         (sysdep_routines, sysdep-rtld-routines): Don't add
36834         $(sysdep-dl-routines) to these.
36835         * sysdeps/ia64/Makefile: Likewise.
36836         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
36837         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
36838         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
36839         Don't add dl-static to these; sysdep-dl-routines alone is enough.
36840         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
36841         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
36842         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
36843         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
36844         * sysdeps/powerpc/Makefile [$(subdir) = elf]
36845         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
36846         these; sysdep-dl-routines alone is enough.
36848 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
36850         [BZ #17932]
36851         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
36852         where multiplication results in zero and third argument is finite
36853         and nonzero.
36854         * math/auto-libm-test-in: Add more tests of fma.
36855         * math/auto-libm-test-out: Regenerated.
36857         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
36858         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
36859         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
36860         (_FP_CMP_EQ): Likewise.
36861         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
36863         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
36864         extra argument CHECK_NAN.  Redefine as wrapper around
36865         _FP_EXTEND_CNAN.
36867 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
36869         * version.h (RELEASE): Set to "stable".
36870         (VERSION): Set to "2.21"
36871         * include/features.h (__GLIBC_MINOR__): Set to 21.
36873         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
36875 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36876             Paul Eggert  <eggert@cs.ucla.edu>
36878         [BZ #16618]
36879         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
36880         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
36881         size in bytes. Store needed elements in wpmax. Use needed size
36882         in bytes for extend_alloca.
36884 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
36886         * manual/install.texi: Latest tested versions are GCC 4.9.2,
36887         binutls 2.25, and texinfo 5.2.
36888         * INSTALL: Regenerate.
36889         * sysdeps/nios2/configure: Regenerate.
36890         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
36891         * manual/contrib.texi: Update.
36892         * po/be.po: Update.
36893         * po/bg.po: Update.
36894         * po/ca.po: Update.
36895         * po/cs.po: Update.
36896         * po/da.po: Update.
36897         * po/de.po: Update.
36898         * po/el.po: Update.
36899         * po/eo.po: Update.
36900         * po/es.po: Update.
36901         * po/fi.po: Update.
36902         * po/fr.po: Update.
36903         * po/gl.po: Update.
36904         * po/hr.po: Update.
36905         * po/hu.po: Update.
36906         * po/ia.po: Update.
36907         * po/id.po: Update.
36908         * po/it.po: Update.
36909         * po/ja.po: Update.
36910         * po/ko.po: Update.
36911         * po/lt.po: Update.
36912         * po/nb.po: Update.
36913         * po/nl.po: Update.
36914         * po/pl.po: Update.
36915         * po/pt_BR.po: Update.
36916         * po/ru.po: Update.
36917         * po/rw.po: Update.
36918         * po/sk.po: Update.
36919         * po/sl.po: Update.
36920         * po/sv.po: Update.
36921         * po/tr.po: Update.
36922         * po/uk.po: Update.
36923         * po/vi.po: Update.
36924         * po/zh_CN.po: Update.
36925         * po/zh_TW.po: Update.
36927         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
36928         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
36929         * sysdeps/hppa/dl-irel.h: Remove #warning.
36930         * sysdeps/hppa/entry.h: Provide prototype for
36931         __canonicalize_funcptr_for_compare and cast argument.
36932         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
36933         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
36934         * sysdeps/hppa/sotruss-lib.c: New file.
36935         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
36936         (atomic_compare_and_exchange_val_acq): Use __typeof__.
36937         (atomic_compare_and_exchange_bool_acq): Likewise.
36938         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
36939         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
36941         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
36942         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
36943         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
36945 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
36947         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
36948         called function in non-PIC case.
36950 2015-01-31  David S. Miller  <davem@davemloft.net>
36952         * sysdeps/sparc/sparc32/bits/atomic.h
36953         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
36954         unlock not after it.
36955         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
36956         volatile register usage warnings from the compiler.
36958         * sysdeps/sparc/nptl/sem_init.c: Delete.
36959         * sysdeps/sparc/nptl/sem_post.c: Delete.
36960         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
36961         * sysdeps/sparc/nptl/sem_wait.c: Delete.
36962         * sysdeps/sparc/sparc32/sem_init.c: New file.
36963         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
36964         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
36965         padding explicitly initialized.
36966         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
36967         padding for in-semaphore spinlock.
36968         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
36969         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
36970         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
36971         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
36972         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
36973         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
36974         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
36975         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
36976         version.
36977         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
36978         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
36980 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
36982         [BZ #17801]
36983         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36984         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
36985         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
36986         New.
36987         (index_AVX_Fast_Unaligned_Load): Likewise.
36988         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
36989         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
36990         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
36991         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
36992         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
36993         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
36994         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
36995         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
36996         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
36998 2015-01-29  Andreas Schwab  <schwab@suse.de>
37000         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
37002 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
37004         [BZ #17892]
37005         * nscd/nscd_stat.c (send_stats): Initialize DATA.
37007 2015-01-28  Martin Sebor  <msebor@redhat.com>
37009         * math/README.libm-test: Clarify. Add "How to read the test output."
37011 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
37013         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
37014         Define to 0.
37016 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
37018         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
37019         (__HAVE_64B_ATOMICS): Define to 0.
37021 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37023         [BZ #17885]
37024         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
37025         value to set as new flag.
37027         [BZ #16576]
37028         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
37029         and use _ARCH_PPCSQ instead.
37030         (__ieee754_sqrt): Likewise.
37031         (__ieee754_sqrtf): Likewise.
37032         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
37033         _ARCH_PPCSQ is defined.
37034         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
37035         fsqrt instruction.
37036         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
37037         _ARCH_PPCSQ is defined.
37038         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
37039         fsqrts instruction.
37040         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
37042 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37044         * iconv/loop.c: Suppress array out of bound warning caused by GCC
37045         bug (GCC BZ #64739).
37047 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
37049         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
37050         Mark _retval as used.
37051         (lll_futex_wake_unlock): Likewise.
37052         (lll_futex_timed_wait_requeue_pi): Likewise.
37054         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37055         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
37056         register variables.
37058         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
37059         libm_hidden_def.
37061         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
37062         (__bswap_64): Mark as __always_inline.
37064 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
37066         [BZ #15378]
37067         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
37068         when none of the search directories exist.
37070 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37072         [BZ #17869]
37073         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
37074         power8 in .machine directive.
37076         [BZ #17868]
37077         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
37078         set dependency from opd value.
37080 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
37082         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37083         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
37084         architecture.
37086 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
37088         [BZ #17870]
37089         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
37090         with uint64_t.
37091         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
37092         (uint64_t) 1.
37093         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
37094         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
37095         Replace 1UL with (uint64_t) 1.
37096         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
37097         int with uint64_t.
37099 2015-01-23  Roland McGrath  <roland@hack.frob.com>
37101         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
37102         (if_freenameindex): Likewise.
37104         * resource/getrlimit64.c: Add missing libc_hidden_def.
37106 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
37108         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
37109         __label__.
37110         (_FP_FMA): Likewise.
37111         (_FP_TO_INT_ROUND): Likewise.
37112         (_FP_FROM_INT): Likewise.
37114 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37116         [BZ #16418]
37117         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
37118         Make code racy and cancel safe.
37120 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
37122         * sysdeps/arm/unwind-resume.h: Fix copyright year.
37123         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
37124         attribution.
37126         * pwd/tst-getpw.c: Rewrite.
37128         [BZ #17702]
37129         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
37130         (modules-names): Add moddummy1 and moddummy2.
37131         ($(objpfx)tst-rec-dlopen): Define.
37132         * dlfcn/moddummy1.c: New file.
37133         * dlfcn/moddummy2.c: New file.
37134         * dlfcn/tst-rec-dlopen.c: New file.
37135         * elf/dl-cache.c (_dl_load_cache_lookup):
37136         Return char*. Copy result with alloca/strcpy/strdup.
37137         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
37138         returns char*. Free cached. If not saving realname
37139         free cached.
37140         * elf/dl-open.c (dl_open_worker): Do not assert that
37141         _r_debug->r_state is RT_CONSISTENT.
37142         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
37143         returns char*.
37145 2015-01-21  Torvald Riegel  <triegel@redhat.com>
37146             Carlos O'Donell  <carlos@redhat.com>
37148         [BZ #12674]
37149         * nptl/sem_waitcommon.c: New file.
37150         * nptl/sem_wait.c: Include sem_waitcommon.c.
37151         (__sem_wait_cleanup, do_futex_wait): Remove.
37152         (__new_sem_wait): Adapt.
37153         (__new_sem_trywait): New function.
37154         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
37155         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
37156         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
37157         (sem_timedwait): Adapt.
37158         * nptl/sem_post.c (__new_sem_post): Adapt.
37159         (futex_wake): New function.
37160         (__old_sem_post): Add release MO fence.
37161         * nptl/sem_open.c (sem_open): Adapt.
37162         * nptl/sem_init.c (__new_sem_init): Adapt.
37163         (futex_private_if_supported): New function.
37164         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
37165         (__old_sem_getvalue): Add using previous code.
37166         * sysdeps/nptl/internaltypes.h: Adapt.
37167         * nptl/tst-sem13.c (do_test): Adapt.
37168         * nptl/tst-sem11.c (main): Adapt.
37169         * nptl/sem_trywait.c: Remove.
37170         * nptl/DESIGN-sem.txt: Remove.
37171         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
37172         (gen-as-const-headers): Remove structsem.sym.
37173         * nptl/structsem.sym: Remove.
37174         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
37175         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
37176         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
37177         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
37178         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
37179         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
37180         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
37181         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
37182         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
37183         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
37184         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
37185         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
37186         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
37187         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
37188         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
37189         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
37190         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
37191         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
37192         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
37193         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
37194         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
37195         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
37197 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
37199         * INSTALL: Regenerated.
37201         * po/libc.pot: Regenerated.
37203 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
37204             Sandra Loosemore  <sandra@codesourcery.com>
37205             Andrew Jenner  <andrew@codesourcery.com>
37206             Joseph Myers  <joseph@codesourcery.com>
37207             Nathan Sidwell  <nathan@codesourcery.com>
37209         * NEWS: Mention new Nios II port.
37210         * sysdeps/nios2/Implies: New file.
37211         * sysdeps/nios2/Makefile: New file.
37212         * sysdeps/nios2/Subdirs: New file.
37213         * sysdeps/nios2/Versions: New file.
37214         * sysdeps/nios2/__longjmp.S: New file.
37215         * sysdeps/nios2/abort-instr.h: New file.
37216         * sysdeps/nios2/backtrace.c: New file.
37217         * sysdeps/nios2/bits/endian.h: New file.
37218         * sysdeps/nios2/bits/fenv.h: New file.
37219         * sysdeps/nios2/bits/link.h: New file.
37220         * sysdeps/nios2/bits/setjmp.h: New file.
37221         * sysdeps/nios2/bsd-_setjmp.S: New file.
37222         * sysdeps/nios2/bsd-setjmp.S: New file.
37223         * sysdeps/nios2/configure: New generated file.
37224         * sysdeps/nios2/configure.ac: New file.
37225         * sysdeps/nios2/crti.S: New file.
37226         * sysdeps/nios2/crtn.S: New file.
37227         * sysdeps/nios2/dl-init.c: New file.
37228         * sysdeps/nios2/dl-machine.h: New file.
37229         * sysdeps/nios2/dl-sysdep.h: New file.
37230         * sysdeps/nios2/dl-tls.h: New file.
37231         * sysdeps/nios2/dl-trampoline.S: New file.
37232         * sysdeps/nios2/gccframe.h: New file.
37233         * sysdeps/nios2/gmp-mparam.h: New file.
37234         * sysdeps/nios2/jmpbuf-offsets.h: New file.
37235         * sysdeps/nios2/jmpbuf-unwind.h: New file.
37236         * sysdeps/nios2/ldsodefs.h: New file.
37237         * sysdeps/nios2/libc-tls.c: New file.
37238         * sysdeps/nios2/libm-test-ulps: New file.
37239         * sysdeps/nios2/machine-gmon.h: New file.
37240         * sysdeps/nios2/math-tests.h: New file.
37241         * sysdeps/nios2/math_private.h: New file.
37242         * sysdeps/nios2/memusage.h: New file.
37243         * sysdeps/nios2/nptl/Makefile: New file.
37244         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
37245         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
37246         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
37247         * sysdeps/nios2/nptl/pthreaddef.h: New file.
37248         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
37249         * sysdeps/nios2/nptl/tls.h: New file.
37250         * sysdeps/nios2/preconfigure: New file.
37251         * sysdeps/nios2/s_fma.c: New file.
37252         * sysdeps/nios2/s_fmaf.c: New file.
37253         * sysdeps/nios2/setjmp.S: New file.
37254         * sysdeps/nios2/sfp-machine.h: New file.
37255         * sysdeps/nios2/sotruss-lib.c: New file.
37256         * sysdeps/nios2/stackguard-macros.h: New file.
37257         * sysdeps/nios2/stackinfo.h: New file.
37258         * sysdeps/nios2/start.S: New file.
37259         * sysdeps/nios2/sysdep.h: New file.
37260         * sysdeps/nios2/tls-macros.h: New file.
37261         * sysdeps/nios2/tst-audit.h: New file.
37262         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
37263         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
37264         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
37265         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
37266         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
37267         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
37268         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
37269         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
37270         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
37271         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
37272         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
37273         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
37274         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
37275         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
37276         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
37277         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
37278         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
37279         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
37280         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
37281         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
37282         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
37283         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
37284         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
37285         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
37286         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
37287         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
37288         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
37289         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
37290         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
37291         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
37292         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
37293         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
37294         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
37295         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
37296         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
37297         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
37298         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
37299         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
37300         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
37301         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
37302         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
37303         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
37304         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
37305         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
37307 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37309         [BZ #17844]
37310         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
37311         (getutent): Use weak_alias in non SHARED case
37312         and default_symbol_version in SHARED case.
37313         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
37314         (getutent_r, pututline): Likewise.
37315         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
37316         (getutid): Likewise.
37317         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
37318         (getutid_r): Likewise.
37319         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
37320         (getutline): Likewise.
37321         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
37322         (getutline_r): Likewise.
37323         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
37324         (updwtmp): Likewise.
37326 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37328         [BZ #17848]
37329         * sysdeps/s390/s390-32/memcmp.S
37330         (memcmp_g5): Rename to __memcmp_g5.
37331         * sysdeps/s390/s390-32/memcpy.S
37332         (memcpy_g5): Rename to __memcpy_g5.
37333         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37334         (memcpy_mvcle) Rename to __memcpy_mvcle.
37335         * sysdeps/s390/s390-32/memset.S
37336         (memset_g5): Rename to __memset_g5.
37337         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37338         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37339         and use prefixed functions.
37340         * sysdeps/s390/s390-32/multiarch/memcmp.S
37341         (memcmp_z196): Rename to __memcmp_z196.
37342         (memcmp_z10): Rename to __memcmp_z10.
37343         (memcmp): Set alias to __memcmp_g5.
37344         (bcmp): Set alias to __memcmp_g5.
37345         * sysdeps/s390/s390-32/multiarch/memcpy.S
37346         (memcpy_z196): Rename to __memcpy_z196.
37347         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37348         (memcpy_z10): Rename to __memcpy_z10.
37349         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37350         (memcpy): Set alias to __memcpy_g5.
37351         * sysdeps/s390/s390-32/multiarch/memset.S
37352         (memset_z196): Rename to __memset_z196.
37353         Jump to __memset_mvcle instead of memset_mvcle.
37354         (memset_z10): Rename to __memset_z10.
37355         Jump to __memset_mvcle instead of memset_mvcle.
37356         (memset_mvcle) Rename to __memset_mvcle.
37357         (memset): Set alias to __memset_g5.
37358         * sysdeps/s390/s390-64/memcmp.S
37359         (memcmp_z900): Rename to __memcmp_z900.
37360         * sysdeps/s390/s390-64/memcpy.S
37361         (memcpy_z900): Rename to __memcpy_z900.
37362         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37363         (memcpy_mvcle) Rename to __memcpy_mvcle.
37364         * sysdeps/s390/s390-64/memset.S
37365         (memset_z900): Rename to __memset_z900.
37366         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
37367         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37368         and use prefixed functions.
37369         * sysdeps/s390/s390-64/multiarch/memcmp.S
37370         (memcmp_z196): Rename to __memcmp_z196.
37371         (memcmp_z10): Rename to __memcmp_z10.
37372         (memcmp): Set alias to __memcmp_z900.
37373         (bcmp): Set alias to __memcmp_z900.
37374         * sysdeps/s390/s390-64/multiarch/memcpy.S
37375         (memcpy_z196): Rename to __memcpy_z196.
37376         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37377         (memcpy_z10): Rename to __memcpy_z10.
37378         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37379         (memcpy): Set alias to __memcpy_z900.
37380         * sysdeps/s390/s390-64/multiarch/memset.S
37381         (memset_z196): Rename to __memset_z196.
37382         Jump to __memset_mvcle instead of memset_mvcle.
37383         (memset_z10): Rename to __memset_z10.
37384         Jump to __memset_mvcle instead of memset_mvcle.
37385         (memset_mvcle) Rename to __memset_mvcle.
37386         (memset): Set alias to __memset_z900.
37388 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
37390         [BZ #17748]
37391         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
37392         __fesetenv instead of fesetenv.
37394 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37396         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
37397         macro.
37399 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37401         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
37402         regression on LE.
37404         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
37405         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
37406         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37407         strncmp-power8 object.
37408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37409         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
37410         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
37411         * NEWS: Update.
37413 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37414             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37416         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
37417         trailing byte check.
37419 2015-01-13  David S. Miller  <davem@davemloft.net>
37421         * include/signal.h (__sigreturn): Guard with __USE_MISC.
37423 2015-01-13  Roland McGrath  <roland@hack.frob.com>
37425         * login/logout.c (logout): Use memset rather than bzero.
37426         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
37427         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
37428         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
37429         (_gethtbyaddr): Likewise.
37430         * locale/programs/simple-hash.c (bcopy): Macro removed.
37432 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37434         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37435         Add strcmp-power8 object.
37436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37437         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
37438         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
37439         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
37440         __strcmp_power8 implementation.
37441         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
37442         * NEWS: Update.
37444         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37445         Add strncpy-power8 and stpncpy-power8 objects.
37446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37447         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
37448         implementations.
37449         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
37450         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
37451         __stpncpy_power8 implementation.
37452         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
37453         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
37454         __strncpy_power8 implementation.
37455         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
37456         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
37457         * NEWS: Update.
37459         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
37460         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
37461         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
37463         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37464         strncat-power8 object.
37465         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
37466         __strcat_power8 implementation.
37467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37468         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
37469         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
37470         optimized strcat for power8.
37472         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37473         strcpy-power8 and stpcpy-power8 objects.
37474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37475         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
37476         implementations.
37477         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
37478         multiarch stpcpy implementation for POWER8.
37479         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
37480         multiarch strcpy implementation for POWER8.
37481         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
37482         __strcpy_power8 function.
37483         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
37484         stpcpy for POWER8.
37485         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
37486         strcpy for POWER8.
37487         * NEWS: Update.
37489 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
37491         [BZ #16009]
37492         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
37493         weights and rules. Use do_xfrm_cached if data fits in cache,
37494         do_xfrm otherwise.  Moved former main loop to...
37495         * (do_xfrm_cached): New function.
37496         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
37497         find_idx, find_position and stack_push.
37498         * (find_idx): New function.
37499         * (find_position): Likewise.
37500         * localedata/sort-test.sh: Added test run for do_xfrm.
37501         * localedata/xfrm-test.c (main): Added command line option
37502         -nocache to run the test with strings that are too large for
37503         the STRXFRM cache.
37505 2015-01-13  Torvald Riegel  <triegel@redhat.com>
37507         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
37508         variable to lll_futex_wake call, not the value itself.
37510 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
37512         [BZ #17803]
37513         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
37514         twom64.  Adjust value to 0x1p-64L.
37515         (__scalblnl): Only return standard underflowing result for K <=
37516         -64 not K <= -63; adjust exponent for underflowing result by 64
37517         not 63.
37518         * math/libm-test.inc (scalbn_test_data): Add more tests.
37519         (scalbln_test_data): Likewise.
37521         [BZ #17834]
37522         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
37523         0x1p63L.
37524         (__scalblnl): Get new exponent of adjusted subnormal value from ES
37525         not HX.
37526         * math/libm-test.inc (scalbn_test_data): Add more tests.
37527         (scalbln_test_data): Likewise.
37529 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37530             Stefani Seibold  <stefani@seibold.net>
37532         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
37533         (sysdep_routines): Add dl-vdso here, ...
37534         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
37535         (sysdep_routines): ... not here.
37536         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
37537         fallback when vDSO is not presented.
37538         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37539         Define with libc_hidden_proto/libc_hidden_data_def definitions.
37540         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
37541         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
37542         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
37543         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
37544         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
37545         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
37546         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
37547         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
37548         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
37549         fallback configurable symbol when vDSO is not available.
37550         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
37551         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
37552         be able to redefine fallback symbol when vDSO is not available.
37553         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
37554         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
37556 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37558         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
37559         (TLS_INIT_TP): Add tm_capable initialization.
37560         (TLS_DEFINE_INIT_TP): Likewise.
37561         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
37562         TCB.
37563         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
37564         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
37565         calculation.
37566         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
37567         transactoion is lock elision is built and TCB tm_capable is set.
37568         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
37569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37570         (INTERNAL_SYSCALL_NCS): Likewise.
37571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37572         (INTERNAL_SYSCALL_NCS): Likewise.
37573         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
37575         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
37576         for powerpc.
37577         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37578         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
37579         and remove it for 32 bits case.
37580         [pthread_rwlock_t] (__rwelision): New field for lock elision.
37581         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
37582         initialization.
37583         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
37584         Disable lock elision with rdlocks if elision is not available.
37586         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
37587         (sysdep_routines): Add lock elision objects.
37588         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37589         [pthread_mutex_t] (__spins): Rework to add lock elision field.
37590         [pthread_mutex_t] (__elision): Add field.
37591         [__PTHREAD_SPINS]: Adjust to init lock elision field.
37592         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
37593         elision definitions for powerpc.
37594         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
37595         implementation of lock elision for powerpc.
37596         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
37597         implementation of timed lock elision for powerpc.
37598         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
37599         implementation of trylock with lock elision for powerpc.
37600         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
37601         implementaion of unlock for lock elision for powerpc.
37602         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
37603         automatic enable lock elision for mutexes.
37604         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
37605         transaction execution definitions for powerpc.
37606         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
37607         definitions.
37608         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
37609         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
37610         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
37611         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
37612         * NEWS: Update.
37614 2015-01-09  Roland McGrath  <roland@hack.frob.com>
37616         * sysdeps/posix/shm-directory.c: Use <> rather than ""
37617         for #include of <shm-directory.h>.
37619 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
37621         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
37622         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
37624 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
37626         [BZ #17791]
37627         * NEWS: Mention bug fix.
37628         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
37629         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
37630         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
37632 2015-01-09  Torvald Riegel <triegel@redhat.com>
37634         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
37636 2015-01-09  Torvald Riegel <triegel@redhat.com>
37638         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
37640 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37642         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
37643         pointer and cast to uintptr_t.
37645 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37647         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
37648         removed.
37649         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
37651 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37653         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
37654         of 0.
37656 2015-01-08  Roland McGrath  <roland@hack.frob.com>
37658         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
37659         <nptl/pthreadP.h> instead.
37660         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
37662         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
37663         already defined.
37664         [__SIGRTMIN] (init): Function removed.
37665         [__SIGRTMIN] (initialized): Variable removed.
37666         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
37667         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
37668         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
37669         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
37670         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
37671         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
37672         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
37673         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
37674         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
37675         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
37676         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
37677         * sysdeps/nptl/allocrtsig.c: New file.
37678         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
37679         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
37680         * sysdeps/generic/testrtsig.h: File removed.
37682         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
37683         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
37685         * nptl/nptl-init.c (pthread_functions): Conditionalize
37686         .ptr__nptl_setxid initialization on [SIGSETXID].
37688         * sysdeps/nptl/sys/procfs.h: New file.
37689         * nptl_db/Makefile (headers): Add it.
37690         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
37692         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
37693         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
37694         * nptl/pthread_attr_setaffinity.c: Include it.
37695         * nptl/pthread_setattr_default_np.c: Likewise.
37696         * nptl/check-cpuset.h: New file.
37698 2015-01-08  Richard Henderson  <rth@redhat.com>
37700         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
37701         (CFLAGS-tst-execstack-prog.c): Likewise.
37702         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
37704 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
37705             Sandra Loosemore  <sandra@codesourcery.com>
37706             Andrew Jenner  <andrew@codesourcery.com>
37707             Joseph Myers  <joseph@codesourcery.com>
37708             Nathan Sidwell  <nathan@codesourcery.com>
37710         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
37711         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
37712         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
37713         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
37714         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
37715         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
37716         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
37717         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
37718         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
37719         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
37720         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
37721         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
37722         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
37723         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
37724         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
37725         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
37726         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
37728 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37730         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
37731         timespec struct member in syscall macro.
37732         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
37733         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
37734         first timeval struct member in syscall macro.
37735         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
37737 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
37739         [BZ #17748]
37740         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
37741         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
37742         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
37743         __feupdateenv and define as weak alias of __feupdateenv.  Use
37744         libm_hidden_weak.
37745         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
37746         libm_hidden_def.
37747         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
37748         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
37749         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
37750         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
37751         libm_hidden_def.
37752         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
37753         __feupdateenv and define as weak alias of __feupdateenv.  Use
37754         libm_hidden_weak.
37755         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
37756         libm_hidden_def.
37757         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
37758         __feupdateenv and define as weak alias of __feupdateenv.  Use
37759         libm_hidden_weak.
37760         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
37761         libm_hidden_def.
37762         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37763         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
37764         (__feupdateenv): Likewise.
37765         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
37766         __feupdateenv and define as weak alias of __feupdateenv.  Use
37767         libm_hidden_weak.
37768         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37769         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
37770         libm_hidden_def.
37771         * sysdeps/tile/math_private.h (__feupdateenv): New inline
37772         function.
37773         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
37774         libm_hidden_def.
37775         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
37776         __feupdateenv instead of feupdateenv.
37777         (default_libc_feupdateenv_test): Likewise.
37778         (libc_feresetround_ctx): Likewise.
37780 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37782         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
37783         prototype.
37785 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
37787         * posix/regcomp.c (parse_bracket_exp): Initialize type to
37788         COLL_SYM in a couple of places to avoid uninitialized variable
37789         wanings on tilegx gcc 4.8.2.
37791 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
37793         * sysdeps/aarch64/strcpy.S: New file.
37794         * sysdeps/aarch64/stpcpy.S: New file.
37795         * NEWS: Updated.
37797 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
37799         * sysdeps/aarch64/strrchr.S: New file.
37800         * NEWS: Updated.
37802 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
37804         [BZ #17658]
37805         * stdlib/setenv.c: Fix memory leak when setting large,
37806         duplicate string.
37808 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
37810         [BZ #17273]
37811         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
37812         and tabs from buffer before parsing fstab entry.
37813         * misc/tst-mntent.c (main): Add test for mount entry with
37814         trailing spaces and tabs.
37816 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
37818         [BZ #17748]
37819         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
37820         * math/fesetround.c (fesetround): Rename to __fesetround and
37821         define as weak alias of __fesetround.  Use libm_hidden_weak.
37822         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
37823         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
37824         * sysdeps/arm/fesetround.c (fesetround): Likewise.
37825         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
37826         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
37827         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
37828         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
37829         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
37830         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
37831         __fesetround_inline.
37832         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
37833         __fesetround_inline instead of __fesetround.
37834         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
37835         __fesetround and define as weak alias of __fesetround.  Use
37836         libm_hidden_weak.  Call __fesetround_inline instead of
37837         __fesetround.
37838         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
37839         __fesetround and define as weak alias of __fesetround.  Use
37840         libm_hidden_weak.
37841         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
37842         Likewise.
37843         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
37844         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37845         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
37846         * sysdeps/tile/math_private.h (__fesetround): New inline function.
37847         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
37848         __fesetround and define as weak alias of __fesetround.  Use
37849         libm_hidden_weak.
37850         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
37851         __fesetround instead of fesetround.
37852         (default_libc_feholdexcept_setround): Likewise.
37853         (libc_feholdsetround_ctx): Likewise.
37854         (libc_feholdsetround_noex_ctx): Likewise.
37856         [BZ #17748]
37857         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
37858         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
37859         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
37860         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
37861         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37862         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
37863         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37864         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37865         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37866         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37867         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37868         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37869         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37870         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37871         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
37872         libm_hidden_def.
37873         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
37874         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
37875         Likewise.
37876         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
37877         define as weak alias of __fesetenv.  Use libm_hidden_weak.
37878         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37879         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
37880         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
37881         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
37882         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
37883         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
37884         __fesetenv instead of fesetenv.
37885         (libc_feresetround_noex_ctx): Likewise.
37886         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
37887         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
37888         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
37889         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
37890         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
37891         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
37892         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
37893         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
37894         (__feupdateenv): Likewise.
37895         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37896         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37897         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37898         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
37900 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
37902         [BZ #17806]
37903         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
37904         addresses have been freed.
37906 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
37908         * resolv/res_init.c (__res_vinit): Improve comments about nserv
37909         and nservall.
37911 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
37913         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
37914         Clean up check_pf allocation pattern. addresses
37916 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37918         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
37919         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
37920         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
37921         * nptl/pthread_exit.c (__pthread_exit): Likewise.
37922         * nptl/pthread_join.c (pthread_join): Likewise.
37923         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
37924         * sysdeps/posix/waitid.c (__waitid): Likewise.
37925         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
37926         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
37927         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
37928         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
37929         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
37930         Likewise.
37931         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
37932         (__libc_pread64): Likewise.
37933         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
37934         (__libc_pwrite): Likewise.
37935         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
37936         (__libc_pwrite64): Likewsie.
37937         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
37938         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
37939         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
37940         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
37941         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
37942         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
37943         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
37944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
37945         Likewise.
37946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37947         (__libc_pread64): Likewise.
37948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
37949         Likewise.
37950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37951         (__libc_pwrite64): Likewise.
37952         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
37953         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
37954         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
37955         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
37956         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
37957         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
37958         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
37959         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
37960         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
37961         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
37962         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
37963         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
37964         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
37965         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
37966         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
37967         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
37968         Likewise.
37970 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37972         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
37973         (CFLAGS-test-double.c): Likewise.
37974         (CFLAGS-test-ldouble.c): Likewise.
37975         (CPPFLAGS-test-ifloat.c): Likewise.
37976         (CPPFLAGS-test-idouble.c): Likewise.
37977         (CPPFLAGS-test-ildoubl.c): Likewise.
37978         (CFLAGS-test-test-fenv.c): Remove variable.
37979         (CFLAGS-test-misc.c): Likewise.
37981 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
37983         [BZ #17797]
37984         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
37985         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
37986         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
37987         CLOCKS_PER_SEC == 1000000.
37988         * time/clocktest.c (main): Replace %ld with %jd and cast to
37989         intmax_t.
37991 2015-01-05  Roland McGrath  <roland@hack.frob.com>
37993         * sysdeps/generic/unwind-resume.h: New file.
37994         * sysdeps/gnu/unwind-resume.c: Include it.
37995         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
37996         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
37997         argument list.
37998         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
37999         global rather than static.
38000         (_Unwind_Resume): Update user.
38001         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
38002         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
38003         rather than static.  Add __attribute__ ((cold)).
38004         (_Unwind_Resume, __gcc_personality_v0): Update callers.
38005         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
38006         * sysdeps/arm/arm-unwind-resume.S: New file.
38007         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
38008         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
38009         * sysdeps/arm/Makefile [$(subdir) = csu]
38010         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
38011         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38012         Add rt-arm-unwind-resume.
38013         [$(subdir) = nptl]
38014         (libpthread-sysdep_routines, libpthread-shared-only-routines):
38015         Add pt-arm-unwind-resume.
38016         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
38017         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
38019 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38021         [BZ #17748]
38022         * include/fenv.h (__feholdexcept): Declare.  Use
38023         libm_hidden_proto.
38024         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
38025         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
38026         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38027         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
38028         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
38029         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
38030         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
38031         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38032         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
38033         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
38034         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38035         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
38036         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
38037         (feholdexcept): Likewise.
38038         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38039         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38040         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38041         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38042         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
38043         __feholdexcept instead of feholdexcept.
38044         (default_libc_feholdexcept_setround): Likewise.
38046 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38048         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
38049         to avoid using stl/str to align destination.
38051 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38053         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
38055 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38057         [BZ #17796]
38058         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
38059         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
38060         Define as weak alias not strong alias.
38062 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38064         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
38065         bltzal with addiupc.
38066         (RTLD_START): Ditto.
38068 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
38070         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
38071         for __vdso_* functions in declarations.
38072         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
38073         definitions.
38074         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
38075         INTERNAL_VSYSCALL): Use struct return types to check for error.
38077         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
38078         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
38079         function with cast from llround().
38080         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
38081         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
38082         Define.
38084 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38086         [BZ #17793]
38087         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
38088         Define as weak alias not strong alias.
38090         [BZ #17635]
38091         * ctype/ctype-c99.c: New file.  isblank implementation moved from
38092         ...
38093         * ctype/ctype-extn.c: ... here.
38094         (__isblank_l): Move to ...
38095         * ctype/ctype-c99_l.c: ... here.  New file.
38096         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
38097         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
38098         Remove variable.
38099         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38100         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38101         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38102         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38103         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38105         [BZ #17777]
38106         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
38107         (posix_fadvise64): Define as weak alias not strong alias.
38108         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38109         (posix_fallocate64): Likewise.
38110         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
38111         Remove variable.
38112         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38113         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38114         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38115         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38116         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38118 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
38120         [BZ #16191]
38121         * NEWS: Mention bug fix.
38122         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
38123         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
38124         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
38125         (HOST_STACK_END_ADDR): Likewise.
38127 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
38129         [BZ #17748]
38130         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
38131         * math/fegetround.c (fegetround): Rename to __fegetround and
38132         define as weak alias of __fegetround.  Use libm_hidden_weak.
38133         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
38134         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
38135         * sysdeps/arm/fegetround.c (fegetround): Likewise.
38136         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
38137         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38138         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
38139         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
38140         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
38141         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38142         Undefine after rather than before function definition; use
38143         parentheses around function name in definition.
38144         (__fegetround): Also undefine macro after function definition.
38145         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
38146         __fegetround and define as weak alias of __fegetround.  Use
38147         libm_hidden_weak.  Do not undefine as macro.
38148         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38149         Likewise.
38150         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
38151         __fegetround and define as weak alias of __fegetround.  Use
38152         libm_hidden_weak.
38153         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38154         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38155         * sysdeps/tile/math_private.h (__fegetround): New inline function.
38156         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
38157         __fegetround and define as weak alias of __fegetround.  Use
38158         libm_hidden_weak.
38159         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
38160         __fegetround instead of fegetround.
38162         [BZ #17782]
38163         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
38164         Condition macro definition on [__USE_MISC].
38166         [BZ #17781]
38167         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
38168         (struct sigaction): Change type of sa_flags field to int.
38170         [BZ #17780]
38171         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
38172         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
38173         __glibc_reserved0.
38175         * nptl/version.c (banner): Use single year in copyright notice.
38177         * NEWS: Update copyright dates.
38178         * catgets/gencat.c (print_version): Likewise.
38179         * csu/version.c (banner): Likewise.
38180         * debug/catchsegv.sh: Likewise.
38181         * debug/pcprofiledump.c (print_version): Likewise.
38182         * debug/xtrace.sh (do_version): Likewise.
38183         * elf/ldconfig.c (print_version): Likewise.
38184         * elf/ldd.bash.in: Likewise.
38185         * elf/pldd.c (print_version): Likewise.
38186         * elf/sotruss.sh: Likewise.
38187         * elf/sprof.c (print_version): Likewise.
38188         * iconv/iconv_prog.c (print_version): Likewise.
38189         * iconv/iconvconfig.c (print_version): Likewise.
38190         * locale/programs/locale.c (print_version): Likewise.
38191         * locale/programs/localedef.c (print_version): Likewise.
38192         * login/programs/pt_chown.c (print_version): Likewise.
38193         * malloc/memusage.sh (do_version): Likewise.
38194         * malloc/memusagestat.c (print_version): Likewise.
38195         * malloc/mtrace.pl: Likewise.
38196         * manual/libc.texinfo: Likewise.
38197         * nptl/version.c (banner): Likewise.
38198         * nscd/nscd.c (print_version): Likewise.
38199         * nss/getent.c (print_version): Likewise.
38200         * nss/makedb.c (print_version): Likewise.
38201         * posix/getconf.c (main): Likewise.
38202         * scripts/test-installation.pl: Likewise.
38203         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
38205 2015-01-02  Will Newton  <will.newton@linaro.org>
38207         * sysdeps/arm/armv7/configure: Removed.
38208         * sysdeps/arm/armv7/configure.ac: Likewise.
38210 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
38212         * All files with FSF copyright notices: Update copyright dates
38213         using scripts/update-copyrights.
38214         * intl/plural.c: Regenerated.
38215         * locale/programs/charmap-kw.h: Likewise.
38216         * locale/programs/locfile-kw.h: Likewise.
38218 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38220         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
38222 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
38224         [BZ #17748]
38225         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
38226         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
38227         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
38228         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
38229         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38230         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
38231         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38232         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
38233         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38234         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38235         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38236         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38237         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38238         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38239         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
38240         libm_hidden_def.
38241         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
38242         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
38243         Likewise.
38244         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38245         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38246         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38247         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38248         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
38249         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
38250         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
38251         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
38252         __fegetenv instead of fegetenv.
38253         (libc_feholdsetround_noex_ctx): Likewise.
38255 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38257         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
38258         (Elf_MIPS_ABIFlags_v0): New structure.
38259         (EF_MIPS_FP64): Define.
38260         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
38261         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
38262         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
38263         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
38264         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
38265         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
38266         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
38267         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
38268         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
38269         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
38270         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
38271         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
38272         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
38273         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
38274         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
38275         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
38276         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
38277         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
38278         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
38279         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
38280         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
38281         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
38282         field.
38283         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
38284         EF_MIPS_FP64.
38285         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
38286         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
38287         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
38288         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
38289         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
38290         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
38291         * sysdeps/mips/tst-abi-interlink.c: Likewise.
38292         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
38293         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
38294         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
38295         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
38296         record the current FP ABI extension.
38297         (mips-mode-switch): Define to show if kernel headers support mode
38298         switching.
38299         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
38300         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
38301         supported SYSV ABI version to 3.
38302         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
38303         feature.
38305 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38306             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38308         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
38309         path.
38310         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
38312 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
38314         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
38315         __fegetround and redefine to call __fegetround.  Remove condition
38316         on [!__NO_MATH_INLINES].
38317         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
38318         function.
38319         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
38320         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38321         Remove macro.
38322         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
38323         instead of <fenv_libc.h>.
38324         (__llrintl): Call fegetround instead of __fegetround.
38325         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
38326         instead of <fenv_libc.h>.
38327         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38328         (__lrintl): Call fegetround instead of __fegetround.
38329         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
38330         instead of <fenv_libc.h>.
38331         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38332         (__rintl): Call fegetround instead of __fegetround.
38334 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38336         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
38337         arrays.
38339 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38341         [BZ #17775]
38342         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
38343         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
38344         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
38346 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38348         * sysdeps/i386/tls-macros.h: Include <features.h>.
38349         (TLS_LE): Use non-PIC version for GCC >= 5.0.
38350         (TLS_IE): Likewise.
38351         (TLS_LD): Likewise.
38352         (TLS_GD): Likewise.
38353         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
38354         define for GCC >= 5.0.
38356 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
38358         * math/test-fenv.c (test_single_exception, set_single_exc,
38359         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
38360         feexcp_mask_test, feenable_test, fe_single_test): Add
38361         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
38362         case where they are not used.
38363         * math/libm-test.inc: Likewise.
38364         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
38365         unused in the absence of FP rounding/exception support.
38366         * stdio-common/tst-printf-round.c: Likewise.
38367         * stdlib/tst-strtod-round.c: Likewise.
38368         * stdlib/tst-strtod-underflow.c: Likewise.
38370 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
38372         [BZ #17723]
38373         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
38374         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
38375         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38376         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38377         libm_hidden_weak.
38378         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
38379         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38380         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
38381         libm_hidden_def.
38382         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38383         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38384         libm_hidden_weak.
38385         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
38386         Likewise.
38387         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
38388         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38389         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38390         libm_hidden_weak.
38391         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38392         libm_hidden_def.
38393         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38394         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
38395         (__feraiseexcept): Likewise.
38396         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38397         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38398         libm_hidden_weak.
38399         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38400         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38401         libm_hidden_def.
38402         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
38403         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
38404         Use libm_hidden_def.
38405         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
38406         libm_hidden_def.
38407         (feraiseexcept): Define as weak not strong alias.  Use
38408         libm_hidden_weak.
38409         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
38410         New inline function.  Factored out of ...
38411         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
38412         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
38413         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
38414         feraiseexcept.
38415         * math/w_acos.c (__acos): Likewise.
38416         * math/w_asin.c (__asin): Likewise.
38417         * math/w_ilogb.c (__ilogb): Likewise.
38418         * math/w_j0.c (y0): Likewise.
38419         * math/w_j1.c (y1): Likewise.
38420         * math/w_jn.c (yn): Likewise.
38421         * math/w_log.c (__log): Likewise.
38422         * math/w_log10.c (__log10): Likewise.
38423         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
38424         * sysdeps/aarch64/fpu/math_private.h
38425         (libc_feupdateenv_test_aarch64): Likewise.
38426         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38427         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
38428         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
38429         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38430         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38431         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38432         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
38433         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38434         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38435         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38437 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38439         [BZ #17732]
38440         * io/test-utime.c (main): Replace %ld with %jd and cast to
38441         intmax_t.
38442         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
38443         * nptl/tst-mutex5.c: Include <stdint.h>.
38444         (do_test): Replace %ld with %jd and cast to intmax_t.
38445         * posix/tst-regex.c (run_test): Likewise.
38446         (run_test_backwards): Likewise.
38447         * rt/tst-clock.c: Include <stdint.h>.
38448         (clock_test): Replace %ld with %jd and cast to intmax_t.
38449         * rt/tst-cpuclock1.c: Include <stdint.h>.
38450         (do_test): Replace %lu with %ju and cast to uintmax_t.
38451         * rt/tst-cpuclock2.c: Include <stdint.h>.
38452         (do_test): Replace %lu with %ju and cast to uintmax_t.
38453         * rt/tst-mqueue1.c: Include <stdint.h>.
38454         (check_attrs): Replace %ld with %jd and cast to intmax_t.
38455         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
38456         intmax_t.
38457         * rt/tst-mqueue4.c (do_test): Likewise.
38458         * rt/tst-timer4.c: Include <stdint.h>.
38459         (check_ts): Replace %ld with %jd and cast to intmax_t.
38460         (do_test): Likewise.
38461         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
38462         and cast to intmax_t.
38463         * sysdeps/pthread/tst-timer.c (main): Likewise.
38464         * time/clocktest.c (main): Likewise.
38465         * time/tst-posixtz.c (do_test): Likewise.
38466         * timezone/tst-timezone.c (main): Likewise.
38468 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38469             H.J. Lu  <hongjiu.lu@intel.com>
38471         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
38472         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38473         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
38474         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
38475         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
38476         version if bit_Fast_Unaligned_Load is set.
38477         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38478         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38479         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38480         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38481         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38482         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38483         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38484         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
38485         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
38486         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
38487         to 4.
38488         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
38489         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
38490         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
38491         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
38493 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
38495         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
38496         instead of #if to avoid a Wundef warning.
38497         * stdlib/tst-limits.c (do_test): Likewise.
38499         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
38500         parallel other exception macros.
38501         (fegetenv): Convert from macro to extern inline so that it applies
38502         retroactively to inline functions already seen by the compiler.
38503         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
38505         * posix/Makefile (before-compile): Use $(objpfx) for
38506         posix-conf-vars-def.h.
38508 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38510         * posix/getconf.c (main): Use size_t for type of I.
38511         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
38512         NSPEC.
38514         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
38515         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
38516         * posix/posix-envs.def: Likewise.
38517         * sysdeps/posix/sysconf.c: Likewise.
38518         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
38519         (specs): Remove array.
38520         * scripts/gen-posix-conf-vars.awk: Support generation of specs
38521         array.
38523         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
38524         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
38525         (__sysconf): Use CONF_IS_* macros.
38527         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
38528         ($(objpfx)posix-conf-vars-def.h): New target.
38529         * posix/posix-conf-vars.list: New file.
38530         * posix/posix-conf-vars.h: New file.
38531         * posix/confstr.c: Include posix-conf-vars.h.
38532         (confstr): Use CONF_IS_* macros.
38533         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
38534         CONF_IS_* macros.
38535         * scripts/gen-posix-conf-vars.awk: New file.
38537 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
38539         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
38540         fegetround): Add no-op macros to avoid linknamespace issues.
38542         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
38543         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
38545         * sysdeps/unix/sysv/linux/tile/sysdep.h
38546         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
38547         assembly-specific section to avoid a redefinition warning.
38549         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
38550         long before casting to pointer to avoid a cast warning.
38552 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
38554         * sysdeps/tile/tilegx/Implies: New file.
38556 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
38558         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
38560 2014-12-23  Florian Weimer  <fweimer@redhat.com>
38562         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
38564 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38566         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
38567         not define.
38568         * sysdeps/unix/sysv/linux/utimes.c: Do not include
38569         <kernel-features.h>.
38570         (__utimes) [__NR_utimes]: Make code unconditional.
38571         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
38572         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38573         (__ASSUME_UTIMES): Do not undefine.
38574         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38575         (__ASSUME_UTIMES): Likewise.
38576         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38577         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
38578         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
38579         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
38581 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38583         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
38585 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
38587         [BZ #17747]
38588         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
38589         alias to weak alias for j0l, y0l.
38590         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
38591         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
38593         [BZ #17746]
38594         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
38595         conversion.
38597 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38599         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
38600         to zero if not already defined.
38602 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38604         [BZ #17724]
38605         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
38606         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
38607         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
38608         (char *) casts added.
38609         * sysdeps/ieee754/k_standardf.c: New file.
38610         * sysdeps/ieee754/k_standardl.c: Likewise.
38611         * math/Makefile (libm-support): Remove k_standard.
38612         (libm-calls): Add k_standard.
38614 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38616         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38617         Optimize to avoid an unnecessary FPCR read.
38619 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38621         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
38622         Optimize to reduce FPCR/FPSR accesses.
38624 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38626         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
38627         Call libc_fetestexcept_aarch64.
38629 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38631         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
38632         Call libc_fesetround_aarch64.
38634 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38636         [BZ #17733]
38637         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
38638         (__bind): Do not define as weak alias.
38639         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
38640         define.
38641         (__getsockname): Do not define as weak alias.
38643 2014-12-22  Will Newton  <will.newton@linaro.org>
38645         * manual/install.texi: Document that we require bison 2.7
38646         or above.
38647         * INSTALL: Regenerate.
38648         * configure.ac: Use AC_CHECK_PROG_VER instead of
38649         AC_PATH_PROG when checking for bison and check for
38650         version 2.7 or above.
38651         * configure: Regenerate.
38653 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
38655         [BZ #17745]
38656         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
38657         * sysdeps/tile/ffsll.c (ffsll): To here.
38659         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
38661 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
38663         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
38664         if not defined.
38665         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
38666         definition.
38667         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38668         hidden ___tls_get_addr.
38669         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38670         hidden __tls_get_addr.
38671         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
38672         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
38673         Likewise.
38675 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38677         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
38678         _dl_init call.
38680 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
38682         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
38683         from "call _dl_init@PLT".
38684         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
38686 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
38688         * manual/search.texi: (Array Sort Function): Clarify stable sorting
38689         guarantees.
38691 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
38693         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
38695 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
38697         [BZ #17744]
38698         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
38699         strnlen.
38701 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
38703         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
38704         of multu on MIPSr6.
38705         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
38706         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
38707         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
38708         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
38709         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
38711 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
38713         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
38714         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
38715         (PTR_SUBU): Use subu for mips32r6/mips64r6.
38716         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
38717         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
38718         mips32r6/mips64r6.
38719         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
38721 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
38723         * string/strncat.c (STRNCAT): Simplify implementation.
38725 2014-12-19  David S. Miller  <davem@davemloft.net>
38727         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
38728         access the quad as both a long double and as a series of 4 words.
38730         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
38731         link_map->l_info array access.
38733 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
38735         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
38737         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
38738         * math/atest-exp2.c (TIMEOUT): Likewise.
38739         * math/atest-sincos.c (TIMEOUT): Likewise.
38741 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38743         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
38744         -Wno-error with -fno-builtin-lround.
38746 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38748         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
38749         Contains futex constants and functions moved over from ...
38750         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
38751         <lowlevellock-futex.h>.
38752         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
38753         (lll_timedwait_tid): Add comments and parentheses around macro
38754         arguments.
38756 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38758         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
38759         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
38760         (__lll_private_flag): Remove.
38761         (lll_futex_wait): Likewise.
38762         (lll_futex_timed_wait): Likewise.
38763         (lll_futex_wake): Likewise.
38764         (lll_futex_requeue): Likewise.
38765         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
38766         (__lll_timedwait_tid): Spell out argument names.
38767         (lll_timedwait_tid): Add comments and parentheses around macro
38768         arguments.
38769         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
38770         LLL_SHARED and LLL_PRIVATE usable from assembly code.
38772 2014-12-19  Torvald Riegel  <triegel@redhat.com>
38774         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
38775         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
38776         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
38777         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
38778         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
38779         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
38780         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
38781         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
38782         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
38783         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
38784         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
38785         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
38786         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
38787         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
38788         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
38789         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
38790         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
38791         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
38792         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
38794 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38796         * sysdeps/x86_64/x32/Makefile: New file.
38798 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
38800         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
38801         1L with (mp_limb_t) 1.
38803 2014-12-17  Roland McGrath  <roland@hack.frob.com>
38805         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
38806         * nptl/libc_pthread_init.c: ... here.
38807         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
38808         * nptl/register-atfork.c: ... here.
38810         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
38811         Use pthread_sigmask rather than INTERNAL_SYSCALL.
38812         Use assert_perror to check its return value.
38813         (__gai_create_helper_thread): Likewise.
38815         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
38817         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
38819 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
38821         [BZ #17725]
38822         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
38823         __profil_counter.
38824         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
38825         Likewise.
38826         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
38827         Likewise.
38828         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
38829         Likewise.
38830         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
38831         (profil_counter): Likewise.
38832         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
38833         (profil_counter): Likewise.
38834         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
38835         Likewise.
38836         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
38837         Likewise.
38838         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
38839         (profil_counter): Likewise.
38840         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
38841         Likewise.
38842         [!__profil_counter] (profil_counter): Define as weak alias of
38843         __profil_counter.
38844         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
38845         (profil_counter): Rename to __profil_counter.
38846         [!__profil_counter] (profil_counter): Define as weak alias of
38847         __profil_counter.
38848         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
38849         (profil_counter): Rename to __profil_counter.
38850         [!__profil_counter] (profil_counter): Define as weak alias of
38851         __profil_counter.
38852         * sysdeps/posix/profil.c: Update comment referring to
38853         profil_counter.
38854         (__profil): Use __profil_counter instead of profil_counter.
38855         * sysdeps/posix/sprofil.c (profil_counter): Rename to
38856         __profil_counter.  Use __profil_counter_ushort and
38857         __profil_counter_uint in definitions.
38858         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
38859         instead of profil_counter_uint and profil_counter_ushort.
38861         [BZ #17722]
38862         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
38863         define as weak alias of __inet_makeaddr.
38864         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
38865         as weak alias of __inet_addr.
38866         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
38867         as weak alias of __inet_pton.  Use libc_hidden_weak.
38868         * include/arpa/inet.h (__inet_pton): Declare.  Use
38869         libc_hidden_proto.
38870         (inet_makeaddr): Don't use libc_hidden_proto.
38871         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
38872         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
38873         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
38874         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
38875         Remove variable.
38876         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38877         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38879 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
38881         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
38883 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38885         * stdio-common/bug-vfprintf-nargs.c (do_test):
38886         Cast value to intptr_t to avoid format warning
38887         for usage with PRIdPTR printing macro.
38889 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38891         * libio/tst-widetext.c (do_test):
38892         Use format type %td instead of %Zd for ptrdiff_t
38893         in order to avoid format warning.
38895 2014-12-17  Andreas Schwab  <schwab@suse.de>
38897         * nscd/mem.c (gc): Add size_t cast to match printf format.
38899 2014-12-16  Roland McGrath  <roland@hack.frob.com>
38901         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
38902         (init): Apply PTR_MANGLE to pointers before storing them.
38903         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
38904         before using them.
38906 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
38908         [BZ #17719]
38909         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
38910         define as weak alias of __memrchr.
38911         (__memrchr): Do not define as strong alias of memrchr.
38912         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
38913         Remove variable.
38914         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38915         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38916         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38918         [BZ #17717]
38919         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
38920         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
38921         (if_indextoname): Rename to __if_indextoname and define as weak
38922         alias of __if_indextoname.  Use libc_hidden_weak.
38923         (if_freenameindex): Rename to __if_freenameindex and define as
38924         weak alias of __if_freenameindex.
38925         (if_nameindex): Rename to __if_nameindex and define as weak alias
38926         of __if_nameindex.
38927         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
38928         __if_nametoindex and define as weak alias of __if_nametoindex.
38929         Use libc_hidden_weak.
38930         (if_freenameindex): Rename to __if_freenameindex and define as
38931         weak alias of __if_freenameindex.
38932         (if_nameindex): Rename to __if_nameindex and define as weak alias
38933         of __if_nameindex.
38934         (if_indextoname): Rename to __if_indextoname and define as weak
38935         alias of __if_indextoname.  Use libc_hidden_weak.
38936         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
38937         __if_nametoindex and define as weak alias of __if_nametoindex.
38938         Use libc_hidden_weak.
38939         (if_freenameindex): Rename to __if_freenameindex and define as
38940         weak alias of __if_freenameindex.  Use libc_hidden_weak.
38941         (if_nameindex_netlink): Use __if_freenameindex instead of
38942         if_freenameindex.
38943         (if_nameindex): Rename to __if_nameindex and define as weak alias
38944         of __if_nameindex.  Use libc_hidden_weak.
38945         (if_indextoname): Rename to __if_indextoname and define as weak
38946         alias of __if_indextoname.  Use libc_hidden_weak.
38947         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
38948         libc_hidden_proto.
38949         [!_ISOMAC] (__if_freenameindex): Likewise.
38950         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
38951         if_nametoindex.
38952         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
38953         variable.
38954         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38955         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38956         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38957         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38958         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38959         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38960         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38962         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
38963         Remove variable.
38964         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38965         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38967 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38969         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
38970         subscript above bounds'
38972         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
38973         bounds.
38975 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
38977         * libio/tst-fopenloc.c: Use test-skeleton.c.
38979         * stdlib/tst-bsearch.c: Use test-skeleton.c.
38980         (entry): Rename to ITEM.
38981         (do_test, comp): Adjust.
38983         * stdio-common/tst-fseek.c: Use test-skeleton.c.
38985 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38987         * string/tester.c: Include <libc-internal.h>.
38988         (test_memset): Ignore -Wmemset-transposed-args.
38990 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38992         * misc/tst-mntent2.c (do_test): Fix warning.
38994 2014-12-16  Torvald Riegel  <triegel@redhat.com>
38996         * elf/tst-unique4lib.cc(a): Mark as used.
38998 2014-12-16  Florian Weimer  <fweimer@redhat.com>
39000         [BZ #17630]
39001         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
39002         names.
39004 2014-12-16  Allan McRae  <allan@archlinux.org>
39006         * stdio-common/Makefile (tests): Re-add bug26.
39008 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
39010         [BZ #17657]
39011         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
39012         static array.
39014 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
39016         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
39017         (__lll_lock_wait): Likewise.
39018         (__lll_timedlock_wait): Likewise.
39019         (__lll_timedwait_tid): Likewise.
39020         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
39021         (__lll_robust_timedlock_wait): Likewise.
39022         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
39023         (lll_cond_trylock): Likewise.
39024         (__lll_lock): Likewise.
39025         (__lll_robust_lock): Likewise.
39026         (__lll_cond_lock): Likewise.
39027         (lll_robust_cond_lock): Likewise.
39028         (__lll_timedlock): Likewise.
39029         (__lll_robust_timedlock): Likewise.
39030         (__lll_unlock): Likewise.
39031         (__lll_robust_unlock): Likewise.
39032         (lll_wait_tid): Likewise.
39033         (lll_timedwait_tid): Likewise.
39035 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39037         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
39039 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39041         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
39043 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
39045         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
39046         * stdio-common/tst-sprintf.c: Likewise.
39048 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39050         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
39052 2014-12-15  Jeff Law  <law@redhat.com>
39054         [BZ #16617]
39055         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
39056         on the heap.  (CVE-2012-3406)
39057         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
39058         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
39059         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
39061 2014-12-15  Will Newton  <will.newton@linaro.org>
39063         * manual/install.texi: Bump required version of texinfo
39064         to 4.7 from 4.5.
39065         * INSTALL: Regenerated.
39066         * configure.ac: Check for makeinfo version 4.7 and above.
39067         * configure: Regenerated.
39069 2014-12-12  Roland McGrath  <roland@hack.frob.com>
39071         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
39072         PREFIX, string constant to insert between directory and name.
39073         * sysdeps/posix/shm_open.c: Update caller.
39074         * sysdeps/posix/shm_unlink.c: Likewise.
39075         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
39076         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
39077         (SEM_SHM_PREFIX): New macro.
39078         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
39079         [$(have-thread-library) = no].
39080         * nptl/Makefile (libpthread-routines): Add shm-directory.
39081         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
39082         * sysdeps/nptl/shm-directory.h: New file.
39083         * sysdeps/posix/shm-directory.c
39084         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
39085         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
39086         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
39087         INTERNAL_SYSCALL.
39088         (__where_is_shmfs): Function removed.
39089         (mountpoint, defaultmount, defaultdir, __namedsem_once):
39090         Variables removed.
39091         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
39092         Use SHM_GET_NAME.
39093         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
39095         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
39096         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
39097         unconditional for use inside libpthread.
39098         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
39100 2014-12-12  Roland McGrath  <roland@hack.frob.com>
39102         * nptl/pthread_getaffinity.c: New file.
39103         * nptl/pthread_setaffinity.c: New file.
39104         * nptl/pthread_getname.c: New file.
39105         * nptl/pthread_setname.c: New file.
39107         * nptl/pthread_create.c (START_THREAD_DEFN)
39108         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
39110 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39111             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39113         * resolv/res_send.c (send_vc): Disable warning resplen may
39114         be used uninitialized.
39116 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39118         * nptl/tst-mutex6.c
39119         (ATTR_NULL): New define checks ATTR against NULL.
39120         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
39121         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
39123 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
39125         [BZ #17581]
39126         * malloc/hooks.c
39127         (mem2mem_check): Revert my previous change.
39128         (malloc_check_get_size): Revert my previous change.
39129         (mem2chunk_check): Revert my previous change.
39131 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39133         * sysdeps/posix/shm-directory.c: New file.
39134         * sysdeps/posix/shm-directory.h: New file.
39135         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
39136         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
39137         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
39138         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
39139         Transmute EPERM to EACCES.
39140         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
39141         from ...
39142         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
39143         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
39145 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39147         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
39148         pointer and cast to uintptr_t.
39149         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
39150         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
39151         Add cast to avoid warning.
39152         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
39154 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
39156         * nptl/semaphore.h: Move to ...
39157         * sysdeps/pthread/semaphore.h: ... here.
39158         * Makefile (installed-headers): Change nptl/semaphore.h to
39159         sysdeps/pthread/semaphore.h.
39161 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39163         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
39164         generated error format strings.
39166         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
39167         -Wformat-extra-args warnings for scanf formats.
39168         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
39169         test of zero-length format (duh).
39170         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
39171         corner-case scanf format test.
39172         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
39173         generated fprintf format string.
39174         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
39175         corner-case sprintf format tests.
39176         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
39177         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
39178         -Wformat-extra-args warnings throughout.
39179         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
39180         (CFLAGS-scanf4.c): Likewise.
39181         (CFLAGS-scanf7.c): Likewise.
39182         (CFLAGS-tst-sprintf.c): Likewise.
39183         (CFLAGS-tst-printf.c): Likewise.
39184         (CFLAGS-tst-printfsz.c): Likewise.
39186 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
39188         * include/cpio.h: New file.
39189         * include/fmtmsg.h: Likewise.
39191         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
39192         corresponding format argument to size_t.
39193         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
39194         arguments.
39195         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
39196         corresponding format argument to size_t.
39197         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
39198         arguments.
39199         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
39200         corresponding format argument to size_t.
39201         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
39202         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
39203         (CFLAGS-tst-mbswcs2.c): Likewise.
39204         (CFLAGS-tst-mbswcs3.c): Likewise.
39205         (CFLAGS-tst-mbswcs4.c): Likewise.
39206         (CFLAGS-tst-mbswcs5.c): Likewise.
39207         (CFLAGS-tst-trans.c): Likewise.
39209 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39211         * posix/regexbug1.c (main): Use "%s" format with regerror results,
39212         rather than assuming they won't contain any '%'s.
39214 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
39216         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
39217         inhibit_loop_to_libcall to avoid recursive calls.
39218         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
39219         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
39221 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
39223         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
39224         prototype.
39226 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
39228         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
39229         integer value instead of boolean.
39231 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
39233         * malloc/malloc.c: Fix powerof2 check.
39235 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39237         * locale/programs/locfile.h (maybe_swap_uint32):
39238         Remove inline and add unused attribute.
39240 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39242         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
39243         Truncating assembler expression to a .long expression.
39245 2014-12-11  Andreas Schwab  <schwab@suse.de>
39247         * elf/rtld.c (struct map_args): Constify str member.
39248         (do_preload): Constify fname argument.
39250 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39252         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
39253         constants definition.
39255 2014-12-11  Andreas Schwab  <schwab@suse.de>
39257         [BZ #16657]
39258         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
39259         FORCE_ELISION instead of DO_ELISION.
39260         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
39261         Remove.
39262         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
39263         Likewise.
39265         * iconvdata/gconv-modules: Remove duplicate entry.
39267 2014-12-11  Will Newton  <will.newton@linaro.org>
39269         Merge gettext 0.19.3 into intl/.
39271         This involves a number of cosmetic changes to comments
39272         and ANSI function definitions and prototypes throughout
39273         all the files. The gettext copyright header is used but
39274         with the date ranges taken from the glibc copy.
39276         * NEWS: Add gettext merge to 2.21.
39277         * intl/bindtextdom.c: Switch to gettext copyright.
39278         Use ANSI definitions and prototypes.
39279         Use gl_* locking primitives rather than __libc_* ones.
39280         Use __builtin_expect rather than __glibc_likely/unlikely.
39281         * intl/dcgettext.c: Switch to gettext copyright.
39282         Use ANSI definitions and prototypes.
39283         * intl/dcigettext.c: Switch to gettext copyright.
39284         Use ANSI definitions and prototypes.
39285         (INTDIV0_RAISES_SIGFPE): New define.
39286         Use gl_* locking primitives rather than __libc_* ones.
39287         Include eval-plural.h instead of plural-eval.c.
39288         Use __builtin_expect rather than __glibc_likely/unlikely.
39289         * intl/dcngettext.c: Switch to gettext copyright.
39290         Use ANSI definitions and prototypes.
39291         * intl/dgettext.c: Likewise.
39292         * intl/dngettext.c: Likewise.
39293         * intl/plural-eval.c: Renamed to...
39294         * intl/eval-plural.h: ...this.
39295         * intl/explodename.c: Switch to gettext copyright.
39296         Use ANSI definitions and prototypes.
39297         (_nl_explode_name): Use strchr instead of __rawmemchr.
39298         * intl/finddomain.c: Switch to gettext copyright.
39299         Use ANSI definitions and prototypes.
39300         Use gl_* locking primitives rather than __libc_* ones.
39301         (_nl_find_domain): Use malloc rather than alloca for
39302         allocation of temporary locale name.
39303         * intl/gettext.c: Switch to gettext copyright.
39304         Use ANSI definitions and prototypes.
39305         * intl/gettextP.h: Switch to gettext copyright.
39306         Use ANSI definitions and prototypes.
39307         Use gl_* locking primitives rather than __libc_* ones.
39308         * intl/gmo.h: Switch to gettext copyright.
39309         (struct sysdep_string): Move struct segment_pair outside of
39310         struct definition.
39311         * intl/hash-string.c: Use ANSI definitions and prototypes.
39312         * intl/hash-string.h: Switch to gettext copyright.
39313         Use ANSI definitions and prototypes.
39314         * intl/l10nflist.c: Switch to gettext copyright.
39315         Use ANSI definitions and prototypes.
39316         (_nl_normalize_codeset): Avoid integer overflow.
39317         * intl/loadinfo.h: Switch to gettext copyright.
39318         Use ANSI definitions and prototypes.
39319         (LIBINTL_DLL_EXPORTED): New define.
39320         (PATH_SEPARATOR): New define.
39321         * intl/loadmsgcat.c: Switch to gettext copyright.
39322         * intl/localealias.c: Switch to gettext copyright.
39323         Use ANSI definitions and prototypes.
39324         (_nl_expand_alias): Use PATH_SEPARATOR.
39325         * intl/ngettext.c: Switch to gettext copyright.
39326         Use ANSI definitions and prototypes.
39327         * intl/plural-exp.c: Likewise.
39328         * intl/plural-exp.h: Switch to gettext copyright.
39329         Use ANSI definitions and prototypes.
39330         (struct expression): Move definition of enum operator outside
39331         of struct definition.
39332         * intl/plural.c: Regenerate.
39333         * intl/plural.y: Switch to gettext copyright.
39334         Use ANSI definitions and prototypes.
39335         Port to bison 3.0.
39336         * intl/textdomain.c: Switch to gettext copyright.
39337         Use ANSI definitions and prototypes.
39338         Use gl_* locking primitives rather than __libc_* ones.
39340 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
39342         * debug/warning-nop.c: Add used atrribute.
39344 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39346         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
39348         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
39349         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
39350         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
39352 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39353             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39355         [BZ #17634]
39356         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
39357         Undefine after defining function.  Define as weak alias of
39358         __wcschr.  Use libc_hidden_weak.
39359         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
39360         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
39361         (libc_hidden_def): Also define __GI___wcschr alias.
39362         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
39363         __wcschr and define as weak alias of __wcschr.
39364         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
39365         __wcschr.
39366         [!WCSCHR] (DEFAULT_WCSCHR): Define.
39367         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
39368         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
39369         libc_hidden_weak.  Do not use libc_hidden_def.
39370         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
39371         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
39372         __GI___wcschr alias.
39373         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
39374         [IS_IN (libc)] (wcschr): Define as macro expanding to
39375         __redirect_wcschr.
39376         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
39377         [IS_IN (libc)] (__wcschr_power6): Likewise.
39378         [IS_IN (libc)] (__wcschr_power7): Likewise.
39379         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
39380         instead of wcschr.
39381         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
39382         __libc_wcschr.
39383         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
39384         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
39385         __wcschr and define as weak alias of __wcschr.  Use
39386         libc_hidden_builtin_def.
39387         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
39388         as weak alias of __wcschr.  Use libc_hidden_weak.
39389         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
39390         wcschr.
39391         * time/era.c (_nl_init_era_entries): Likewise.
39392         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
39393         variable.
39394         (test-xfail-XPG3/time.h/linknamespace): Likewise.
39395         (test-xfail-XPG4/time.h/linknamespace): Likewise.
39397 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39399         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
39400         format for long int variable.
39402 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
39404         [BZ #10672]
39405         * manual/search.texi: (Array Sort Function): Remove claim how to make
39406         qsort stable.
39408 2014-12-10  Andreas Schwab  <schwab@suse.de>
39410         [BZ #12847]
39411         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
39412         user-controlled locks.
39414 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
39416         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
39417         register.
39419 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39421         * configure.ac (--disable-werror): New configure option.
39422         (enable_werror): New AC_SUBST.
39423         * configure: Regenerated.
39424         * config.make.in (enable-werror): New variable.
39425         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
39426         -Wno-error=undef.
39427         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
39428         * manual/install.texi (Configuring and compiling): Document
39429         --disable-werror.
39430         * INSTALL: Regenerated.
39431         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
39432         (CFLAGS-tst-chk2.c): Likewise.
39433         (CFLAGS-tst-chk3.c): Likewise.
39434         (CFLAGS-tst-chk4.cc): Likewise.
39435         (CFLAGS-tst-chk5.cc): Likewise.
39436         (CFLAGS-tst-chk6.cc): Likewise.
39437         (CFLAGS-tst-lfschk1.c): Likewise.
39438         (CFLAGS-tst-lfschk2.c): Likewise.
39439         (CFLAGS-tst-lfschk3.c): Likewise.
39440         (CFLAGS-tst-lfschk4.cc): Likewise.
39441         (CFLAGS-tst-lfschk5.cc): Likewise.
39442         (CFLAGS-tst-lfschk6.cc): Likewise.
39444         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
39445         (main): Disable -Wdeprecated-declarations around calls to
39446         register_printf_function.
39448         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
39449         (do_test): Disable -Wdiv-by-zero around some calls to
39450         fwrite_unlocked and fread_unlocked.
39452         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
39453         (DIAG_POP_NEEDS_COMMENT): Likewise.
39454         (_DIAG_STR1): Likewise.
39455         (_DIAG_STR): Likewise.
39456         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
39457         * stdio-common/bug21.c: Include <libc-internal.h>.
39458         (do_test): Disable -Wformat around call to sscanf.
39459         * stdio-common/scanf14.c: Include <libc-internal.h>.
39460         (main): Disable -Wformat around some calls to scanf functions.
39462 2014-12-09  Torvald Riegel  <triegel@redhat.com>
39464         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
39466 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39468         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
39469         stack variable alignment.
39471 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
39473         [BZ #17682]
39474         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
39475         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
39476         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
39477         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
39478         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
39479         __getrlimit instead of getrlimit.
39480         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
39481         __gettimeofday instead of gettimeofday.
39482         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
39483         Likewise.
39484         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
39485         Likewise.
39486         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39487         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
39488         Remove variable.
39489         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
39490         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
39492 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39494         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
39495         for wide-character tests.
39497 2014-12-04  Roland McGrath  <roland@hack.frob.com>
39499         * io/openat64.c: #include <libc-internal.h>
39500         (__openat64): Prototypify.  Use ignore_value on MODE.
39501         * io/openat.c: Likewise.
39502         * misc/reboot.c: #include <libc-internal.h>
39503         (reboot): Prototypify.  Use ignore_value on HOWTO.
39504         * misc/ptrace.c: #include <libc-internal.h>
39505         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
39507 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
39509         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
39510         XPG4, UNIX98 and XOPEN2K.
39511         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
39512         Remove variable.
39513         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
39515 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39517         * libio/fileops.c: Use ISO C style for function definitions.
39518         * libio/iofopen.c: Likewise.
39519         * libio/wfileops.c: Likewise.
39521         [BZ #17653]
39522         * libio/fileops.c (_IO_new_file_underflow): Unset cached
39523         offset on EOF.
39524         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
39525         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
39526         (fgets_func): Function pointer to fgets and fgetws.
39527         (do_ftell_test): Add test to verify ftell value after read
39528         EOF.
39529         (do_test): Set fgets_func.
39531         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
39532         O_TRUNC flag for w and w+ modes.
39533         (do_rewind_test): Likewise.
39534         (do_ftell_test): Likewise.
39535         (do_write_test): Likewise.
39537         [BZ #17647]
39538         * libio/fileops.c (do_ftell): Seek only when there are
39539         unflushed writes.
39540         * libio/wfileops.c (do_ftell_wide): Likewise.
39541         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
39542         test case.
39543         (do_one_test): Call it.
39545 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
39547         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
39548         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
39549         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
39550         Remove variable.
39551         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
39552         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
39553         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
39555 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39557         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
39558         Remove variable.
39559         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
39561         [BZ #17668]
39562         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
39563         as weak alias of __getifaddrs.  Use libc_hidden_weak.
39564         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39565         __freeifaddrs.  Use libc_hidden_weak.
39566         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
39567         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
39568         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39569         __freeifaddrs.  Use libc_hidden_weak.
39570         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
39571         __getifaddrs and define as weak alias of __getifaddrs.  Use
39572         libc_hidden_weak.
39573         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39574         __freeifaddrs.  Use libc_hidden_weak.
39575         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
39576         Remove variable.
39577         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
39578         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
39580 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
39582         [BZ #17601]
39583         * sysdeps/mips/start.S (__start): Use indirect jump to call
39584         __libc_start_main.
39586 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39588         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
39590         * nptl/tst-mutex1.c: Include <stdbool.h>.
39591         [!ATTR] (ATTR_NULL): New macro.
39592         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
39593         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
39594         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
39596         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
39597         to char *.
39599         [BZ #17665]
39600         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
39601         Change conditional to [__USE_MISC].
39603         [BZ #17664]
39604         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
39605         fgets_unlocked.
39606         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
39607         __fgets_unlocked.
39608         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
39609         fgets_unlocked.
39610         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
39611         Remove variable.
39612         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
39613         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
39614         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
39615         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
39616         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
39617         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
39618         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
39619         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
39620         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
39622         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
39624 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39626         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39627         Remove strpbrk objects.
39628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39629         (__libc_ifunc_impl_list): Remove strpbrk implementation.
39630         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
39631         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
39632         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
39633         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
39635         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39636         Remove strcspn objects.
39637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39638         (__libc_ifunc_impl_list): Remove strcspn implementation.
39639         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
39640         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
39641         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
39642         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
39644         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39645         Remove strspn objetcs.
39646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39647         (__libc_ifunc_impl_list): Remove strspn implementation.
39648         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
39649         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39650         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
39651         * sysdeps/powerpc/powerpc64/strspn.S: New file.
39653 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
39655         [BZ #17581]
39656         * malloc/hooks.c
39657         (mem2mem_check): Add a terminator to the chain of checking blocks.
39658         (malloc_check_get_size): Use it here.
39659         (mem2chunk_check): Ditto.
39661 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39663         * sysdeps/powerpc/powerpc64/strtok.S: New file.
39664         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
39666 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
39668         * bits/ioctl-types.h: Indent preprocessor directives correctly.
39670         * nptl/nptl-init.c: Include libc-internal.h.
39671         (__pthread_initialize_minimal_internal): Use ROUND_UP.
39673         * elf/ldconfig.c (search_dir): Expand comment.
39675 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
39677         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
39678         variable.
39679         (linknamespace-symlist-stdlibs-tests): Likewise.
39680         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
39681         instead of $(objpfx)symlist-stdlibs.
39682         (linknamespace-libs-isoc): New variable.
39683         (linknamespace-libs): Use $(linknamespace-libs-isoc).
39684         (linknamespace-libs-ISO): New variable.
39685         (linknamespace-libs-ISO99): Likewise.
39686         (linknamespace-libs-ISO11): Likewise.
39687         (linknamespace-libs-XPG3): Likewise.
39688         (linknamespace-libs-XPG4): Likewise.
39689         (linknamespace-libs-POSIX): Likewise.
39690         (linknamespace-libs-UNIX98): Likewise.
39691         (linknamespace-libs-XOPEN2K): Likewise.
39692         (linknamespace-libs-POSIX2008): Likewise.
39693         (linknamespace-libs-XOPEN2K8): Likewise.
39694         ($(objpfx)symlist-stdlibs): Replace by
39695         $(linknamespace-symlist-stdlibs-tests).  Use
39696         $(linknamespace-libs-$*) as set of libraries.
39697         ($(linknamespace-header-tests)): Update dependencies.  Use
39698         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
39699         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
39700         * conform/linknamespace.pl: Remove comment about considering
39701         definitions of symbols from irrelevant libraries.
39703 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
39705         [BZ #13862]
39706         * elf/dl-tls.c: Include <atomic.h>.
39707         (oom): Remove #ifdef SHARED/#endif.
39708         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
39709         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
39710         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
39711         big enough.
39712         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
39713         * nptl/Makefile (tests): Add tst-stack4.
39714         (modules-names): Add tst-stack4mod.
39715         ($(objpfx)tst-stack4): New.
39716         (tst-stack4mod.sos): Likewise.
39717         ($(objpfx)tst-stack4.out): Likewise.
39718         ($(tst-stack4mod.sos)): Likewise.
39719         (clean): Likewise.
39720         * nptl/tst-stack4.c: New file.
39721         * nptl/tst-stack4mod.c: Likewise.
39723 2014-11-27  J. Brown  <jb999@gmx.de>
39725         * sysdeps/x86/bits/string.h: Add recent CPUs.
39727 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
39729         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
39730         sigblock.
39732         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
39733         feof.
39735         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
39736         variable.
39738 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
39740         * nscd/connections.c: Include libc-internal.h because of macro
39741         usage ignore_value.
39743 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39745         * string/bits/string3.h (__warn_memset_zero_len): Don't
39746         declare for gcc newer than 5.0.
39747         (memset): Don't test for zero-length __LEN for gcc newer than
39748         5.0.
39750 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
39752         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
39753         size_t for %zu format.
39755         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
39756         difference, not %ju.
39758 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
39760         * include/libc-internal.h (ignore_value): New macro.
39761         * nscd/connections.c (restart): Wrap calls to setuid and setgid
39762         with ignore_value.
39764         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
39765         definition.
39767         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
39768         pthread_cleanup_push to void *.
39770         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
39771         Undefine.
39773         [BZ #16619]
39774         [BZ #16740]
39775         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
39776         instead of 1L << 52.
39778         * libio/bug-rewind.c (do_test): Check fwscanf return values.
39779         * libio/bug-rewind2.c (do_test): Likewise.
39781         * debug/test-stpcpy_chk-ifunc.c: Remove file.
39782         * debug/test-strcpy_chk-ifunc.c: Likewise.
39783         * wcsmbs/test-wcschr-ifunc.c: Likewise.
39784         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39785         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39786         * wcsmbs/test-wcslen-ifunc.c: Likewise.
39787         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39788         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39789         * Rules [$(multi-arch) = no] (tests): Do not filter out
39790         $(tests-ifunc).
39791         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
39792         * debug/Makefile (tests-ifunc): Remove variable.
39793         (tests): Do not add $(tests-ifunc).
39794         * wcsmbs/Makefile (tests-ifunc): Remove variable.
39795         (tests): Do not add $(tests-ifunc).
39796         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
39797         [TEST_IFUNC]: Remove conditionals.
39798         * string/test-string.h (TEST_IFUNC): Remove macro.
39799         [TEST_IFUNC]: Remove conditionals.
39801         * string/test-strchr.c [!WIDE] (L): New macro.
39802         [WIDE] (L): Likewise.
39803         (check1): Use CHAR instead of char.  Use L on string and character
39804         constants.
39806 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
39808         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
39809         tests.
39810         * sysdeps/powerpc/bits/atomic.h
39811         (__arch_atomic_exchange_and_add_32_acq): Add definition.
39812         (__arch_atomic_exchange_and_add_32_rel): Likewise.
39813         (atomic_exchange_and_add_acq): Likewise.
39814         (atomic_exchange_and_add_rel): Likewise.
39815         * sysdeps/powerpc/powerpc32/bits/atomic.h
39816         (__arch_atomic_exchange_and_add_64_acq): Add definition.
39817         (__arch_atomic_exchange_and_add_64_rel): Likewise.
39818         * sysdeps/powerpc/powerpc64/bits/atomic.h
39819         (__arch_atomic_exchange_and_add_64_acq): Add definition.
39820         (__arch_atomic_exchange_and_add_64_rel): Likewise.
39822 2014-11-26  Torvald Riegel  <triegel@redhat.com>
39824         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
39825         Change synchronization of __sched_fifo_min_prio and
39826         __sched_fifo_max_prio.
39827         * nptl/pthread_mutexattr_getprioceiling.c
39828         (pthread_mutexattr_getprioceiling): Likewise.
39829         * nptl/pthread_mutexattr_setprioceiling.c
39830         (pthread_mutexattr_setprioceiling): Likewise.
39831         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
39832         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
39833         Likewise.
39835 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
39837         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
39838         void.
39840 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
39842         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
39843         third argument const.
39845 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
39847         fnmatch: work around GCC compiler warning bug with uninit var
39848         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
39849         This works around a bug with x86-64 GCC 4.9.2 and earlier
39850         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
39851         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
39852         used uninitialized in this function [-Wmaybe-uninitialized]".
39854 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
39856         * posix/bug-regex31.c (main): Return RES not 0.
39858 2014-11-25  Anton Blanchard <anton@samba.org>
39860         * sysdeps/powerpc/bits/atomic.h
39861         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
39863 2014-11-24  Sterling Augustine  <saugustine@google.com>
39865         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
39867 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
39869         [BZ #17608]
39870         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
39872 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
39874         [BZ #17633]
39875         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
39876         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
39877         variable.
39878         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
39879         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
39881 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
39883         * string/strncpy.c (strncpy): Improve performance by using memset.
39885 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
39887         * string/strcpy.c (strcpy):
39888         Improve performance by using strlen and memcpy.
39890 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
39892         * string/strcoll_l.c (get_next_seq): __always_inline.
39893         * string/strcoll_l.c (do_compare): __always_inline.
39895 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39897         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
39898         defined.
39899         * include/mqueue.h: Likewise.
39900         * include/stdlib.h: Likewise.
39902         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
39903         (get_null_defines): Adjust.
39904         * sunrpc/Makefile: Adjust comment.
39905         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
39906         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
39907         (CFLAGS-interp.c): Likewise.
39908         (CFLAGS-ldconfig.c): Likewise.
39909         (CPPFLAGS-.os): Likewise.
39910         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39911         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
39912         * extra-modules.mk (extra-modules.mk): Likewise.
39913         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
39914         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
39915         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
39916         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
39917         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
39918         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
39919         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
39920         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
39921         * iconvdata/Makefile (CPPFLAGS): Likewise.
39922         (cpp-srcs-left): Add libof for all iconvdata routines.
39923         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
39924         * include/assert.h: Likewise.
39925         * include/ctype.h: Likewise.
39926         * include/errno.h: Likewise.
39927         * include/libc-symbols.h: Likewise.
39928         * include/math.h: Likewise.
39929         * include/netdb.h: Likewise.
39930         * include/resolv.h: Likewise.
39931         * include/stdio.h: Likewise.
39932         * include/stdlib.h: Likewise.
39933         * include/string.h: Likewise.
39934         * include/sys/stat.h: Likewise.
39935         * include/wctype.h: Likewise.
39936         * intl/l10nflist.c: Likewise.
39937         * libidn/idn-stub.c: Likewise.
39938         * libio/libioP.h: Likewise.
39939         * nptl/libc_multiple_threads.c: Likewise.
39940         * nptl/pthreadP.h: Likewise.
39941         * posix/regex_internal.h: Likewise.
39942         * resolv/res_hconf.c: Likewise.
39943         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
39944         * sysdeps/arm/memmove.S: Likewise.
39945         * sysdeps/arm/sysdep.h: Likewise.
39946         * sysdeps/generic/_itoa.h: Likewise.
39947         * sysdeps/generic/symbol-hacks.h: Likewise.
39948         * sysdeps/gnu/errlist.awk: Likewise.
39949         * sysdeps/gnu/errlist.c: Likewise.
39950         * sysdeps/i386/i586/memcpy.S: Likewise.
39951         * sysdeps/i386/i586/memset.S: Likewise.
39952         * sysdeps/i386/i686/memcpy.S: Likewise.
39953         * sysdeps/i386/i686/memmove.S: Likewise.
39954         * sysdeps/i386/i686/mempcpy.S: Likewise.
39955         * sysdeps/i386/i686/memset.S: Likewise.
39956         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39957         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39958         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
39959         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
39960         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39961         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39962         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
39963         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39964         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39965         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39966         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39967         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39968         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39969         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39970         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39971         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39972         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
39973         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
39974         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
39975         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39976         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39977         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39978         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39979         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39980         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39981         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39982         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
39983         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39984         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
39985         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39986         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39987         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39988         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39989         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39990         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39991         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39992         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39993         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39994         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39995         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39996         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39997         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39998         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39999         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40000         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40001         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40002         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
40003         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
40004         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40005         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40006         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40007         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
40008         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
40009         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40010         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40011         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
40012         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40013         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
40014         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
40015         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40016         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40017         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40018         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
40019         * sysdeps/nptl/bits/libc-lock.h: Likewise.
40020         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40021         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
40022         * sysdeps/posix/closedir.c: Likewise.
40023         * sysdeps/posix/opendir.c: Likewise.
40024         * sysdeps/posix/readdir.c: Likewise.
40025         * sysdeps/posix/rewinddir.c: Likewise.
40026         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
40027         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
40028         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
40029         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40030         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40031         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
40032         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
40033         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
40034         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
40035         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
40036         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
40037         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
40038         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
40039         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
40040         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
40041         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
40042         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
40043         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
40044         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
40045         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
40046         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
40047         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
40048         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
40049         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
40050         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
40051         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
40052         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
40053         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
40054         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
40055         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
40056         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
40057         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
40058         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
40059         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
40060         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
40061         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
40062         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40063         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40064         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
40065         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
40066         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
40067         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
40068         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
40069         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
40070         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
40071         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
40072         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
40073         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
40074         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
40075         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
40076         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
40077         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
40078         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
40079         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
40080         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
40081         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
40082         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
40083         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
40084         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
40085         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
40086         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
40087         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
40088         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
40089         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
40090         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
40091         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
40092         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
40093         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
40094         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
40095         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
40096         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
40097         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
40098         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
40099         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
40100         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
40101         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
40102         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
40103         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
40104         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
40105         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
40106         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
40107         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40108         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
40109         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
40110         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
40111         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
40112         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
40113         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40114         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40115         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40116         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
40117         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
40118         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
40119         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40120         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40121         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
40122         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40123         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40124         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
40125         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
40126         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40127         * sysdeps/unix/alpha/sysdep.S: Likewise.
40128         * sysdeps/unix/alpha/sysdep.h: Likewise.
40129         * sysdeps/unix/make-syscalls.sh: Likewise.
40130         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40131         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40132         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40133         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
40134         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40135         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
40136         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
40137         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40138         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40139         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
40140         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40141         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40142         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40143         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40144         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40145         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40146         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40147         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40148         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40149         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40150         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
40151         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40152         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40153         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40154         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40155         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40156         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40159         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
40160         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40161         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40162         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40163         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40164         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40165         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40166         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40167         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40168         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40169         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40170         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40171         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40172         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40173         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40174         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40175         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40176         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40177         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40178         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40179         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40180         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40181         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40182         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40183         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40184         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
40185         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40186         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40187         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40188         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
40189         * sysdeps/x86_64/memcpy.S: Likewise.
40190         * sysdeps/x86_64/memmove.c: Likewise.
40191         * sysdeps/x86_64/memset.S: Likewise.
40192         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
40193         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40194         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
40195         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
40196         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
40197         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40198         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40199         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40200         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40201         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40202         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40203         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40204         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
40205         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40206         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40207         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
40208         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
40209         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40210         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40211         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40212         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
40213         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40214         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40215         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40216         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40217         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40218         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40219         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
40220         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40221         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40222         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
40223         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40224         * sysdeps/x86_64/strcmp.S: Likewise.
40226         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
40228         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
40229         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
40230         * elf/rtld-Rules: Likewise.
40231         * elf/setup-vdso.h: Likewise.
40232         * include/assert.h: Likewise.
40233         * include/bits/stdlib-float.h: Likewise.
40234         * include/errno.h: Likewise.
40235         * include/sys/stat.h: Likewise.
40236         * include/unistd.h: Likewise.
40237         * sysdeps/aarch64/setjmp.S: Likewise.
40238         * sysdeps/alpha/setjmp.S: Likewise.
40239         * sysdeps/arm/__longjmp.S: Likewise.
40240         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
40241         * sysdeps/arm/setjmp.S: Likewise.
40242         * sysdeps/arm/sysdep.h: Likewise.
40243         * sysdeps/generic/_itoa.h: Likewise.
40244         * sysdeps/generic/dl-sysdep.h: Likewise.
40245         * sysdeps/generic/ldsodefs.h: Likewise.
40246         * sysdeps/i386/dl-tls.h: Likewise.
40247         * sysdeps/i386/setjmp.S: Likewise.
40248         * sysdeps/m68k/setjmp.c: Likewise.
40249         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
40250         * sysdeps/mach/hurd/opendir.c: Likewise.
40251         * sysdeps/posix/getcwd.c: Likewise.
40252         * sysdeps/posix/opendir.c: Likewise.
40253         * sysdeps/posix/profil.c: Likewise.
40254         * sysdeps/powerpc/dl-procinfo.h: Likewise.
40255         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40256         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40257         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40258         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40259         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
40260         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40261         * sysdeps/s390/dl-tls.h: Likewise.
40262         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40263         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40264         * sysdeps/sh/sh3/setjmp.S: Likewise.
40265         * sysdeps/sh/sh4/setjmp.S: Likewise.
40266         * sysdeps/unix/alpha/sysdep.h: Likewise.
40267         * sysdeps/unix/arm/sysdep.S: Likewise.
40268         * sysdeps/unix/i386/sysdep.S: Likewise.
40269         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40270         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40271         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40272         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40273         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40274         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40275         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40276         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40277         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40278         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40279         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
40280         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40281         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40284         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40285         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40286         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40287         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40288         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40289         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40290         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40291         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40292         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40293         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40294         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40295         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40296         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40297         * sysdeps/x86_64/setjmp.S: Likewise.
40299         * include/math.h: Use IS_IN instead of IS_IN_libm.
40300         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
40301         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40302         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40303         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
40304         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40305         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40306         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40307         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40308         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40309         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40310         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
40311         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
40312         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
40313         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
40314         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
40315         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
40316         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
40317         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
40318         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
40319         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
40320         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
40321         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
40322         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
40323         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
40324         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
40325         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
40326         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
40327         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
40328         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
40329         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
40330         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
40331         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40332         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
40334         Likewise.
40335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
40336         Likewise.
40337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
40338         Likewise.
40339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
40340         Likewise.
40341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
40342         Likewise.
40343         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40344         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
40345         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40346         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40347         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40348         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
40350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
40351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
40352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
40353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
40354         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
40355         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
40356         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40357         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40358         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40359         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40360         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40361         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40362         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40363         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
40364         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
40365         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
40366         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
40367         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
40368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40369         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
40371         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
40372         * nptl/pthreadP.h: Likewise.
40373         * nptl_db/structs.def: Likewise.
40374         * sysdeps/arm/sysdep.h: Likewise.
40375         * sysdeps/nptl/bits/libc-lock.h: Likewise.
40376         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40377         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
40378         * sysdeps/unix/alpha/sysdep.h: Likewise.
40379         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40380         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40381         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40382         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40383         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40384         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40385         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40386         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40387         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40388         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40389         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40390         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40391         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40392         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40395         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40396         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40397         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40398         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40399         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40400         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40401         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40402         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40403         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
40404         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40406         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
40407         * nptl/pthreadP.h: Likewise.
40408         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40409         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40410         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40411         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40412         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40413         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40414         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40415         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40416         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40417         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40418         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40419         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40421         Likewise.
40422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40423         Likewise.
40424         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40425         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40426         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40427         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40428         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40429         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40430         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40431         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40433         * dlfcn/dladdr.c: Use IS_IN.
40434         * dlfcn/dladdr1.c: Likewise.
40435         * dlfcn/dlclose.c: Likewise.
40436         * dlfcn/dlerror.c: Likewise.
40437         * dlfcn/dlinfo.c: Likewise.
40438         * dlfcn/dlmopen.c: Likewise.
40439         * dlfcn/dlopen.c: Likewise.
40440         * dlfcn/dlsym.c: Likewise.
40441         * dlfcn/dlvsym.c: Likewise.
40443         * include/ifaddrs.h: Use IS_IN.
40444         * inet/check_pf.c: Likewise.
40445         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40446         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
40448         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
40449         IS_IN_ldconfig.
40450         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
40451         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
40453         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
40454         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
40455         IS_IN (libc).
40457         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
40459         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
40460         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40461         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
40462         * include/libc-symbols.h (IS_IN_LIB): New macro.
40463         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
40464         * include/netdb.h: Likewise.
40465         * include/stap-probe.h: Remove all uses of IN_LIB.
40467         * Makeconfig (module-cppflags-real): Define MODULE_NAME
40468         instead of IN_MODULE.
40469         * include/libc-symbols.h (IN_MODULE): Define using
40470         MODULE_NAME.
40471         (PASTE_NAME, PASTE_NAME1): New macros.
40472         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
40473         of IN_LIB.
40474         (STAP_PROBE_ASM): Likewise.
40476 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40478         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
40479         __mach_init in dlopened libc.
40481 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
40483         * sysdeps/arm/preconfigure.ac: Delete EABI check.
40484         * sysdeps/arm/preconfigure: Regenerate.
40486 2014-11-21  Roland McGrath  <roland@hack.frob.com>
40488         * nptl/pthread_create.c (__pthread_create_2_1): Set
40489         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
40490         when copying values from IATTR into PD.
40492 2014-11-21  Will Newton  <will.newton@linaro.org>
40493             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
40495         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
40496         Refactor inline-asm.  Also add comment.
40498         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
40499         ElfW macro instead of hardcoded Elf64 types.
40500         (la_aarch64_gnu_pltenter): Likewise.
40501         * sysdeps/aarch64/dl-machine.h
40502         (elf_machine_runtime_setup): Use ElfW(Addr).
40504         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
40505         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
40506         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
40507         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
40508         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
40509         (R_AARCH64_TLS_DTPMOD64): Rename to ..
40510         (R_AARCH64_TLS_DTPMOD): This.
40511         (R_AARCH64_TLS_DTPREL64): Rename to ...
40512         (R_AARCH64_TLS_DTPREL): This.
40513         (R_AARCH64_TLS_TPREL64): Rename to ...
40514         (R_AARCH64_TLS_TPREL): This.
40515         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
40516         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
40517         R_AARCH64_TLS_TPREL64.
40518         (elf_machine_rela): Likewise.
40520 2014-11-21  Torvald Riegel  <triegel@redhat.com>
40522         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
40523         by setting it to 0.  64b atomics are not supported currently.
40525 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40527         [BZ #16469]
40528         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
40529         search domain names.
40531 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40533         [BZ #16469]
40534         * NEWS: Update.
40535         * resolv/res_query.c (__libc_res_nquerydomain): Retain
40536         trailing dot.
40537         * posix/tst-getaddrinfo5.c: New.
40538         * posix/Makefile (tests): Add it.
40540 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40542         [BZ #14498]
40543         * NEWS: Fixed.
40544         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
40545         after parsing line but before break_if_match.
40546         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
40547         if there is a protocol mismatch.
40549 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
40551         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
40552         because the potential race is on the user-supplied stream.
40554 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40556         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
40557         string literal if not passed a buffer.
40558         * manual/job.texi (ctermid): Update reasoning, note deviation
40559         from posix, suggest mtasurace when not passed a buffer, for
40560         future non-preliminary safety notes.
40562 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40564         * manual/users.texi (cuserid): Fix MT-Safety note for the case
40565         of not passing it a buffer.
40566         Reported by Peng Haitao.
40568 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40570         * manual/Makefile ($(objpfx)stamp-summary): Require
40571         check-safety.sh to pass.
40572         * manual/check-safety.sh: Wish for verification that every
40573         @deftypefn and @deftypefun is followed by a @safety remark.
40575 2014-11-20  Roland McGrath  <roland@hack.frob.com>
40577         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
40579         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
40580         PTHREAD_CANCEL_ASYNCHRONOUS.
40581         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
40582         send SIGCANCEL.
40584         * nptl/default-sched.h: New file.
40585         * sysdeps/unix/sysv/linux/default-sched.h: New file.
40586         * nptl/pthread_create.c: Include it.
40587         (__pthread_create_2_1): Use collect_default_sched instead of making
40588         Linux syscalls here directly.
40590 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40592         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
40593         __pthread_once): Use C11 atomics.
40595 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40597         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
40599 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40601         * include/atomic.h (__atomic_link_error, __atomic_check_size,
40602         atomic_thread_fence_acquire, atomic_thread_fence_release,
40603         atomic_thread_fence_seq_cst, atomic_load_relaxed,
40604         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
40605         atomic_compare_exchange_weak_relaxed,
40606         atomic_compare_exchange_weak_acquire,
40607         atomic_compare_exchange_weak_release,
40608         atomic_exchange_acquire, atomic_exchange_release,
40609         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
40610         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
40611         atomic_fetch_and_acquire,
40612         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
40614 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40616         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
40617         USE_ATOMIC_COMPILER_BUILTINS): Define.
40618         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
40619         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40620         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
40621         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40622         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
40623         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40624         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
40625         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40626         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
40627         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40628         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
40629         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40630         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
40631         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40632         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
40633         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40634         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40635         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40636         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40637         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40638         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
40639         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40640         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40641         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40642         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
40643         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40644         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40645         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40646         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
40647         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40648         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
40649         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40650         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
40651         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40652         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40653         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40654         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
40655         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40656         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
40657         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40659 2014-11-19  Roland McGrath  <roland@hack.frob.com>
40661         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
40662         the sched_priority value here.  It was already checked when the user
40663         called pthread_attr_setschedparam.
40665         * nptl/tst-bad-schedattr.c: New file.
40666         * nptl/Makefile (tests): Add it.
40668 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
40669             Florian Weimer  <fweimer@redhat.com>
40670             Joseph Myers  <joseph@codesourcery.com>
40671             Adam Conrad  <adconrad@0c3.net>
40672             Andreas Schwab  <schwab@suse.de>
40673             Brooks  <bmoses@google.com>
40675         [BZ #17625]
40676         * wordexp-test.c (__dso_handle): Add prototype.
40677         (__register_atfork): Likewise.
40678         (__app_register_atfork): New function.
40679         (registered_forks): New global.
40680         (register_fork): New function.
40681         (test_case): Add 3 new tests for WRDE_CMDSUB.
40682         (main): Call __app_register_atfork.
40683         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
40684         fork count is non-zero fail the test.
40685         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
40686         is set.
40687         (parse_dollars): Remove check for WRDE_NOCMD.
40688         (parse_dquote): Likewise.
40690 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40692         * Makeconfig (built-modules): List non-library modules to be
40693         built.
40694         (module-cppflags): Include libc-modules.h for
40695         everything except shlib-versions.v.i.
40696         (CPPFLAGS): Use it.
40697         (before-compile): Add libc-modules.h.
40698         ($(common-objpfx)libc-modules.h,
40699         $(common-objpfx)libc-modules.stmp): New targets.
40700         (common-generated): Add libc-modules.h and libc-modules.stmp.
40701         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
40702         * include/libc-symbols.h: Don't include libc-modules.h.
40703         * include/libc-modules.h: Remove file.
40704         * scripts/gen-libc-modules.awk: New script to generate
40705         libc-modules.h.
40706         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
40707         Depend on libc-modules.stmp.
40709         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
40711         * Makeconfig (in-module): Get value of libof set for the
40712         translation unit.
40713         (CPPFLAGS): Use $(in-module).
40714         * Makerules: Don't suffix routine names for nonlib.
40715         * include/libc-modules.h: New file.
40716         * include/libc-symbols.h: Include libc-modules.h
40717         (IS_IN): New macro to replace IS_IN_* macros.
40718         * elf/Makefile: Set libof-* for each routine.
40719         * elf/rtld-Rules: Likewise.
40720         * extra-modules.mk: Likewise.
40721         * iconv/Makefile: Likewise.
40722         * iconvdata/Makefile: Likewise.
40723         * locale/Makefile: Likewise.
40724         * malloc/Makefile: Likewise.
40725         * nss/Makefile: Likewise.
40726         * sysdeps/gnu/Makefile: Likewise.
40727         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
40728         * sysdeps/unix/sysv/linux/Makefile: Likewise.
40729         * sysdeps/s390/s390-64/Makefile: Likewise.
40730         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
40731         CPPFLAGS for nscd instead of nonlib.
40733 2014-11-18  Roland McGrath  <roland@hack.frob.com>
40735         * nptl/createthread.c: New file.
40737         * nptl/createthread.c: Moved ...
40738         * sysdeps/unix/sysv/linux/createthread.c: ... here.
40740         * nptl/createthread.c: Add proper top-line comment.
40741         (do_clone): Folded into ...
40742         (create_thread): ... here.  Take new arguments STOPPED_START and
40743         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
40744         increment __nptl_threads, do event-reporting logic, do
40745         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
40746         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
40747         resource cleanup if sched_setaffinity or sched_setscheduler fails,
40748         just send SIGCANCEL.
40749         * nptl/pthread_create.c: Forward-declare create_thread before
40750         including createthread.c.
40751         (start_thread): Use new macro START_THREAD_DEFN to replace defining
40752         declaration, and new macro START_THREAD_SELF to replace argument.
40753         Remove return statement.
40754         (report_thread_creation): New function.
40755         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
40756         synchronization logic, and __nptl_nthreads increment here, around
40757         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
40758         PD->parent_cancelhandling here, before create_thread.  When
40759         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
40760         __deallocate_stack, and ENOMEM translation here.
40762 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
40764         [BZ #17616]
40765         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
40766         (mptwo): Rename to __mptwo.
40767         (__inv): Use __mptwo instead of mptwo.
40768         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
40769         (mptwo): Rename to __mptwo.
40770         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
40771         of mpone and __mptwo instead of mptwo.
40772         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
40773         instead of mpone.
40774         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40775         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
40776         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
40777         of mpone and __mptwo instead of mptwo.
40778         (__mpranred): Use __mpone instead of mpone.
40779         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
40780         variable.
40781         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40782         (test-xfail-ISO99/math.h/linknamespace): Likewise.
40783         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40784         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40785         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40786         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40787         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40788         (test-xfail-XPG4/math.h/linknamespace): Likewise.
40789         (test-xfail-POSIX/math.h/linknamespace): Likewise.
40790         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
40791         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
40792         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
40793         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
40794         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
40795         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
40796         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
40797         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
40798         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
40799         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
40801 2014-11-18  Tom de Vries  <tom@codesoucery.com>
40803         * manual/signal.texi (Primitives Interrupted by Signals): In section,
40804         replace BSD Handler xref with BSD Signal Handling.
40806 2014-11-17  Richard Henderson  <rth@redhat.com>
40808         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
40809         (_FP_PACK_RAW_2): Remove.
40810         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
40811         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
40812         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
40813         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
40814         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
40815         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
40816         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
40817         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
40818         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
40819         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
40820         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
40821         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
40822         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
40823         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
40824         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
40825         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
40827 2014-11-14  Roland McGrath  <roland@hack.frob.com>
40829         * signal/signal.h [__USE_MISC]
40830         (struct sigvec): Remove type.
40831         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
40832         (sigvec): Remove declaration.
40833         * sysdeps/posix/sigvec.c: Moved ...
40834         * signal/sigvec.c: ... here, replacing old file.
40835         (struct sigvec): New type, copied from old signal.h definition.
40836         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
40837         (__sigvec): Convert definition to prototype.
40838         (sigvec): Replace weak_alias with compat_symbol.
40839         * signal/Versions (libc: GLIBC_2.21): New version set.
40840         * include/signal.h: Remove __sigvec declaration.
40841         * sysdeps/unix/bsd/sigvec.c: Remove file.
40842         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
40843         * manual/signal.texi (BSD Handler): Remove subsection.
40844         Move siginterrupt up to ...
40845         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
40846         (Blocking in BSD): Fold subsection into its parent.
40847         * NEWS: Mention sigvec removal.
40849 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
40851         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
40852         (DLA_FMS): Make definition conditional only on [__FMA4__].
40853         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
40854         definition.
40856         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
40857         Make definition conditional only on [PROF].
40858         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
40859         definition.
40860         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
40861         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
40863         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
40864         !__GNUC__].
40865         * include/signal.h (__sigpause): Move declaration above call to
40866         libc_hidden_proto.
40867         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
40868         variable.
40869         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40870         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40872 2014-11-14  David S. Miller  <davem@davemloft.net>
40874         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
40875         Define before including <string/memcpy.c> and <string/mempcpy.c>.
40877 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
40879         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
40880         * configure: Regenerated.
40881         * manual/install.texi (Tools for Compilation): Document a
40882         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
40883         compiler verified to work.
40884         * INSTALL: Regenerated.
40886         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
40887         redeclare with asm name.
40888         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
40889         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
40890         including <string.h>.
40891         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40892         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
40893         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40894         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
40895         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40896         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
40897         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
40899 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
40901         * stdlib/strtol.c (__strtol): Use prototype definition.
40903         [BZ #17594]
40904         * stdlib/strtol.c (SYM__): New macro.
40905         (SYM__1): Likewise.
40906         (__strtol): Likewise.
40907         (strtol): Rename to __strtol and define as weak alias of
40908         __strtol.  Use libc_hidden_weak.
40910 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40912         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
40913         Use numbered labels in inline assembly.
40915 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40917         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
40918         Add setjmp LIBC_PROBE.
40919         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
40920         Likewise.
40921         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
40922         Add longjmp, longjmp_target LIBC_PROBE.
40923         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
40924         Likewise.
40926 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40928         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40929         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
40930         to get rid of unused variable warning.
40932 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40934         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
40935         Check for unwind_backtrace ==  NULL only in SHARED case.
40936         (__backchain_backtrace): Compile only in SHARED case.
40937         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
40938         Likewise.
40939         (__backchain_backtrace): Declare as static.
40941 2014-11-12  Roland McGrath  <roland@hack.frob.com>
40943         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
40944         (__libc_multiple_threads_ptr): Variable moved ...
40945         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
40947 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
40949         * conform/GlibcConform.pm: New file.
40950         * conform/conformtest.pl: Use GlibcConform module.
40951         * conform/linknamespace.pl: New file.
40952         * conform/list-header-symbols.pl: Likewise.
40953         * conform/Makefile (linknamespace-symlists-base): New variable.
40954         (linknamespace-symlists-tests): Likewise.
40955         (linknamespace-header-base): Likewise.
40956         (linknamespace-header-tests): Likewise.
40957         (tests-special): Add new tests.
40958         ($(linknamespace-symlists-tests)): New rule.
40959         (linknamespace-libs): New variable.
40960         ($(objpfx)symlist-stdlibs): New rule.
40961         ($(linknamespace-header-tests)): Likewise.
40962         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
40963         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
40964         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
40965         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
40966         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
40967         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
40968         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
40969         (test-xfail-ISO/math.h/linknamespace): Likewise.
40970         (test-xfail-ISO/signal.h/linknamespace): Likewise.
40971         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
40972         (test-xfail-ISO/time.h/linknamespace): Likewise.
40973         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
40974         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
40975         (test-xfail-ISO99/math.h/linknamespace): Likewise.
40976         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
40977         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40978         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
40979         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
40980         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40981         (test-xfail-ISO11/math.h/linknamespace): Likewise.
40982         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
40983         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40984         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
40985         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40986         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
40987         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
40988         (test-xfail-XPG3/math.h/linknamespace): Likewise.
40989         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
40990         (test-xfail-XPG3/search.h/linknamespace): Likewise.
40991         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
40992         (test-xfail-XPG3/time.h/linknamespace): Likewise.
40993         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
40994         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
40995         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40996         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
40997         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
40998         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
40999         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
41000         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
41001         (test-xfail-XPG4/math.h/linknamespace): Likewise.
41002         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
41003         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
41004         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
41005         (test-xfail-XPG4/search.h/linknamespace): Likewise.
41006         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
41007         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
41008         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
41009         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
41010         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
41011         (test-xfail-XPG4/time.h/linknamespace): Likewise.
41012         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
41013         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
41014         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
41015         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
41016         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
41017         (test-xfail-POSIX/math.h/linknamespace): Likewise.
41018         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
41019         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
41020         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
41021         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41022         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
41023         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41024         (test-xfail-POSIX/time.h/linknamespace): Likewise.
41025         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
41026         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
41027         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
41028         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41029         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
41030         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
41031         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
41032         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
41033         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
41034         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
41035         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
41036         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
41037         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
41038         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
41039         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
41040         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
41041         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
41042         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
41043         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
41044         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
41045         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41046         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41047         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
41048         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
41049         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
41050         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
41051         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
41052         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
41053         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
41054         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
41055         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
41056         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
41057         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
41058         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
41059         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
41060         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
41061         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41062         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
41063         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
41064         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
41065         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41066         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
41067         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
41068         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
41069         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
41070         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
41071         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
41072         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41073         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41074         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
41075         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
41076         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
41077         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41078         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
41079         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
41080         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
41081         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
41082         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
41083         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41084         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
41085         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41086         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
41087         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
41088         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41089         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41090         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
41091         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41092         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
41093         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
41094         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
41095         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41096         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41097         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
41098         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41099         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
41100         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41101         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
41102         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
41103         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41104         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
41105         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
41106         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
41107         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
41108         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41109         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41110         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
41111         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41112         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
41113         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
41114         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
41115         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
41116         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
41117         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41118         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41119         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
41120         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
41121         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41122         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
41124         [BZ #17589]
41125         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
41126         of fgets_unlocked.
41128         [BZ #17585]
41129         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
41130         (memmem): Rename to __memmem and define as weak alias of
41131         __memmem.  Use libc_hidden_weak.
41132         (__memmem): Use libc_hidden_def.
41133         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
41134         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
41135         memmem.
41137         [BZ #17582]
41138         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
41139         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
41140         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
41141         and define as weak alias of __fgets_unlocked.  Use
41142         libc_hidden_weak.
41143         (__fgets_unlocked): Use libc_hidden_def.
41144         * include/stdio.h (__fgets_unlocked): Declare.  Use
41145         libc_hidden_proto.
41146         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
41147         __fgets_unlocked instead of fgets_unlocked.
41148         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
41149         (GET_NPROCS_CONF_PARSER): Likewise.
41150         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
41151         (GET_NPROCS_CONF_PARSER): Likewise.
41153         [BZ #17574]
41154         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
41155         weak alias of __wmemset.  Use libc_hidden_weak.
41156         (__wmemset): Use libc_hidden_def.
41157         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
41158         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
41159         of wmemset.
41161         [BZ #17573]
41162         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
41163         with asm name __mempcpy.
41164         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
41166         [BZ #17572]
41167         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
41168         and define as weak alias of __rawmemchr.
41169         (__rawmemchr): Do not define as strong alias of rawmemchr.
41171         [BZ #17571]
41172         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
41173         alias of __qsort_r.
41174         (qsort): Call __qsort_r instead of qsort_r.
41175         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
41176         (__qsort_r): Declare.  Call libc_hidden_proto.
41177         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
41178         instead of qsort_r.
41179         * nscd/gai.c (__qsort_r): Define to qsort_r.
41180         * posix/tst-rfc3484.c (__qsort_r): Likewise.
41181         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
41182         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
41184         [BZ #17570]
41185         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
41186         define as weak alias of __malloc_info.
41188         [BZ #17584]
41189         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
41190         as weak alias of __rewinddir.  Don't use libc_hidden_def.
41191         (__rewinddir): Use libc_hidden_def.
41192         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
41193         as weak alias of __rewinddir.  Don't use libc_hidden_def.
41194         (__rewinddir): Use libc_hidden_def.
41195         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
41196         weak alias of __rewinddir.  Don't use libc_hidden_def.
41197         (__rewinddir): Use libc_hidden_def.
41198         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
41199         (__rewinddir): Use libc_hidden_proto.
41200         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
41201         rewinddir.
41202         (__getcwd): Use __rewinddir instead of rewinddir.
41204         [BZ #17583]
41205         * libio/fileno.c (fileno): Rename to __fileno and define as weak
41206         alias of __fileno.  Use libc_hidden_weak.
41207         (__fileno): Use libc_hidden_def.
41208         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
41209         * libio/ftello.c (ftello): Rename to __ftello and define as weak
41210         alias of __ftello.
41211         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
41212         __ftello.
41213         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
41214         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
41215         libc_hidden_def.
41216         (fread_unlocked): Don't use libc_hidden_ver.
41217         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
41218         and define as weak alias of __fread_unlocked.  Don't use
41219         libc_hidden_def.
41220         (__fread_unlocked): Use libc_hidden_def.
41221         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
41222         (ftello): Don't use libc_hidden_proto.
41223         (__ftello): Declare.  Use libc_hidden_proto.
41224         (fread_unlocked): Don't use libc_hidden_proto.
41225         (__fread_unlocked): Declare.  Use libc_hidden_proto.
41226         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
41227         and __ftello instead of fileno, fread_unlocked and ftello.
41229 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41231         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
41232         GOT12.
41233         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41234         Likewise.
41235         (_dl_start_user): Likewise.
41236         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
41238 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
41239             Siddhesh Poyarekar  <siddhesh@redhat.com>
41241         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
41242         Move argv and envp down instead of moving argc up.
41243         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
41245 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
41247         [BZ #17506]
41248         * test-skeleton.c (main): Return successful if one of
41249         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
41250         * string/tst-strcoll-overflow.c: Define expected status.
41252 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
41254         [BZ #17475]
41255         * locale/iso-639.def: Define Bhili and Tulu language codes.
41257 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
41259         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
41261 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
41263         [BZ #17555]
41264         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
41266 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41268         * configure.ac: Updated check of minimal required version to
41269         2.22.
41270         * manual/install.texi (Tools for Compilation): Updated version
41271         number.
41272         * configure: Regenerated.
41273         * INSTALL: Likewise.
41275 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
41277         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
41278         __tls_get_addr.
41280 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
41282         * include/sys/wait.h (__libc_waitpid): Remove declaration.
41283         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
41284         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41285         libc_hidden_weak.
41286         (waitpid): Define as alias of __waitpid.
41287         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
41288         __waitpid.
41289         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41290         libc_hidden_weak.
41291         (waitpid): Define as alias of __waitpid.
41292         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
41293         __libc_waitpid alias.
41294         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
41295         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
41296         Likewise.
41297         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
41298         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
41299         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
41300         alias.
41301         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
41302         __waitpid.
41303         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41304         libc_hidden_weak.
41305         (waitpid): Define as alias of __waitpid.
41307 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
41309         * manual/llio.texi: Add comment that write safety has been
41310         fixed in Linux.
41312         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
41313         (localplt-build-dso): Add elf/ld.so.
41314         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
41315         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
41316         and free for ld.so.
41317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
41318         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
41319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
41320         Likewise.
41321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41322         Likewise.
41323         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
41324         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
41325         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
41326         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
41327         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
41328         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
41329         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
41330         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
41331         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
41332         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
41333         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
41335 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
41337         [BZ #14132]
41338         * include/libc-symbols.h (INTUSE): Remove macro.
41339         (INTDEF): Likewise.
41340         (INTVARDEF): Likewise.
41341         (_INTVARDEF): Likewise.
41342         (INTDEF2): Likewise.
41343         (INTVARDEF2): Likewise.
41344         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
41345         rtld_hidden_def instead of INTVARDEF.
41346         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
41347         (_dl_starting_up_internal): Remove declaration.
41348         (_dl_starting_up): Use rtld_hidden_proto.
41349         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
41350         declaration.
41351         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
41352         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
41353         _dl_starting_up.
41354         * elf/dl-writev.h (_dl_writev): Likewise.
41355         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
41356         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
41357         _dl_starting_up_internal.
41359 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41361         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
41362         test-skeleton.c.
41364 2014-11-05  Will Newton  <will.newton@linaro.org>
41366         * benchtests/Makefile: (bench-malloc): Add malloc thread
41367         scalability benchmark.
41368         * benchtests/bench-malloc-threads.c: New file.
41370 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
41372         * sysdeps/aarch64/strchrnul.S: New file.
41374 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41376         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
41377         definition.
41378         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
41379         Likewise.
41380         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
41381         Likewise.
41382         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41383         Likewise.
41384         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
41385         Likewise.
41386         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
41387         Likewise.
41389 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
41391         * catgets/test-gencat.c: Use test-skeleton.c.
41392         * catgets/tst-catgets.c: Likewise.
41393         * csu/tst-empty.c: Likewise.
41394         * elf/tst-audit2.c: Likewise.
41395         * elf/tst-global1.c: Likewise.
41396         * elf/tst-pathopt.c: Likewise.
41397         * elf/tst-piemod1.c: Likewise.
41398         * elf/tst-tls10.c: Likewise.
41399         * elf/tst-tls11.c: Likewise.
41400         * elf/tst-tls12.c: Likewise.
41401         * gnulib/tst-gcc.c: Likewise.
41402         * iconvdata/tst-e2big.c: Likewise.
41403         * iconvdata/tst-loading.c: Likewise.
41404         * iconv/tst-iconv1.c: Likewise.
41405         * iconv/tst-iconv2.c: Likewise.
41406         * inet/test-inet6_opt.c: Likewise.
41407         * inet/tst-gethnm.c: Likewise.
41408         * inet/tst-network.c: Likewise.
41409         * inet/tst-ntoa.c: Likewise.
41410         * intl/tst-codeset.c: Likewise.
41411         * intl/tst-gettext2.c: Likewise.
41412         * intl/tst-gettext3.c: Likewise.
41413         * intl/tst-ngettext.c: Likewise.
41414         * intl/tst-translit.c: Likewise.
41415         * io/test-stat.c: Likewise.
41416         * libio/test-fmemopen.c: Likewise.
41417         * libio/tst-freopen.c: Likewise.
41418         * libio/tst-sscanf.c: Likewise.
41419         * libio/tst-ungetwc1.c: Likewise.
41420         * libio/tst-ungetwc2.c: Likewise.
41421         * libio/tst-widetext.c: Likewise.
41422         * localedata/tst-ctype.c: Likewise.
41423         * localedata/tst-digits.c: Likewise.
41424         * localedata/tst-leaks.c: Likewise.
41425         * localedata/tst-mbswcs1.c: Likewise.
41426         * localedata/tst-mbswcs2.c: Likewise.
41427         * localedata/tst-mbswcs3.c: Likewise.
41428         * localedata/tst-mbswcs4.c: Likewise.
41429         * localedata/tst-mbswcs5.c: Likewise.
41430         * localedata/tst-setlocale.c: Likewise.
41431         * localedata/tst-trans.c: Likewise.
41432         * localedata/tst-wctype.c: Likewise.
41433         * localedata/tst-xlocale1.c: Likewise.
41434         * login/tst-grantpt.c: Likewise.
41435         * malloc/tst-calloc.c: Likewise.
41436         * malloc/tst-malloc.c: Likewise.
41437         * malloc/tst-mallocstate.c: Likewise.
41438         * malloc/tst-mcheck.c: Likewise.
41439         * malloc/tst-mtrace.c: Likewise.
41440         * malloc/tst-obstack.c: Likewise.
41441         * math/atest-exp2.c: Likewise.
41442         * math/atest-exp.c: Likewise.
41443         * math/atest-sincos.c: Likewise.
41444         * math/test-matherr.c: Likewise.
41445         * math/test-misc.c: Likewise.
41446         * math/test-powl.c: Likewise.
41447         * math/tst-definitions.c: Likewise.
41448         * misc/tst-dirname.c: Likewise.
41449         * misc/tst-efgcvt.c: Likewise.
41450         * misc/tst-fdset.c: Likewise.
41451         * misc/tst-hsearch.c: Likewise.
41452         * misc/tst-mntent2.c: Likewise.
41453         * nptl/tst-sem7.c: Likewise.
41454         * nptl/tst-sem8.c: Likewise.
41455         * nptl/tst-sem9.c: Likewise.
41456         * nss/test-netdb.c: Likewise.
41457         * posix/tst-fnmatch.c: Likewise.
41458         * posix/tst-getlogin.c: Likewise.
41459         * posix/tst-gnuglob.c: Likewise.
41460         * posix/tst-mmap.c: Likewise.
41461         * pwd/tst-getpw.c: Likewise.
41462         * resolv/tst-inet_ntop.c: Likewise.
41463         * rt/tst-timer.c: Likewise.
41464         * stdio-common/test-fseek.c: Likewise.
41465         * stdio-common/test-popen.c: Likewise.
41466         * stdio-common/test-vfprintf.c: Likewise.
41467         * stdio-common/tst-cookie.c: Likewise.
41468         * stdio-common/tst-fileno.c: Likewise.
41469         * stdio-common/tst-gets.c: Likewise.
41470         * stdio-common/tst-obprintf.c: Likewise.
41471         * stdio-common/tst-perror.c: Likewise.
41472         * stdio-common/tst-sprintf2.c: Likewise.
41473         * stdio-common/tst-sprintf3.c: Likewise.
41474         * stdio-common/tst-sprintf.c: Likewise.
41475         * stdio-common/tst-swprintf.c: Likewise.
41476         * stdio-common/tst-tmpnam.c: Likewise.
41477         * stdio-common/tst-unbputc.c: Likewise.
41478         * stdio-common/tst-wc-printf.c: Likewise.
41479         * stdlib/tst-environ.c: Likewise.
41480         * stdlib/tst-fmtmsg.c: Likewise.
41481         * stdlib/tst-limits.c: Likewise.
41482         * stdlib/tst-rand48-2.c: Likewise.
41483         * stdlib/tst-rand48.c: Likewise.
41484         * stdlib/tst-random2.c: Likewise.
41485         * stdlib/tst-random.c: Likewise.
41486         * stdlib/tst-strtol.c: Likewise.
41487         * stdlib/tst-strtoll.c: Likewise.
41488         * stdlib/tst-tls-atexit.c: Likewise.
41489         * stdlib/tst-xpg-basename.c: Likewise.
41490         * string/test-ffs.c: Likewise.
41491         * string/tst-bswap.c: Likewise.
41492         * string/tst-inlcall.c: Likewise.
41493         * string/tst-strtok.c: Likewise.
41494         * string/tst-strxfrm.c: Likewise.
41495         * sysdeps/x86_64/tst-audit10.c: Likewise.
41496         * sysdeps/x86_64/tst-audit3.c: Likewise.
41497         * sysdeps/x86_64/tst-audit4.c: Likewise.
41498         * sysdeps/x86_64/tst-audit5.c: Likewise.
41499         * time/tst-ftime_l.c: Likewise.
41500         * time/tst-getdate.c: Likewise.
41501         * time/tst-mktime3.c: Likewise.
41502         * time/tst-mktime.c: Likewise.
41503         * time/tst-posixtz.c: Likewise.
41504         * time/tst-strptime2.c: Likewise.
41505         * time/tst-strptime3.c: Likewise.
41506         * wcsmbs/tst-btowc.c: Likewise.
41507         * wcsmbs/tst-mbrtowc.c: Likewise.
41508         * wcsmbs/tst-mbsrtowcs.c: Likewise.
41509         * wcsmbs/tst-wchar-h.c: Likewise.
41510         * wcsmbs/tst-wcpncpy.c: Likewise.
41511         * wcsmbs/tst-wcrtomb.c: Likewise.
41512         * wcsmbs/tst-wcsnlen.c: Likewise.
41513         * wcsmbs/tst-wcstof.c: Likewise.
41515 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
41517         [BZ #14132]
41518         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
41519         INTDEF.
41520         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
41521         declaration.
41522         (_dl_mcount): Use rtld_hidden_proto.
41523         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
41524         _dl_mcount.
41525         * elf/rtld.c (_rtld_global_ro): Likewise.
41527         [BZ #14132]
41528         * elf/dl-init.c (_dl_init): Don't use INTDEF.
41529         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
41530         of _dl_init_internal.
41531         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
41532         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
41533         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
41534         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
41535         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
41536         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
41537         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
41538         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
41539         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
41540         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
41541         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
41542         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
41543         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41544         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41545         * sysdeps/tile/dl-start.S (_start): Likewise.
41546         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
41547         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
41549         [BZ #14132]
41550         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
41551         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
41552         (rtld_progname): Make macro definition unconditional.
41553         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
41554         INTDEF.
41555         (dlmopen_doit): Do not use INTUSE with _dl_argv.
41556         (dl_main): Likewise.
41557         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
41558         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
41559         instead of _dl_argv_internal.
41560         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41561         __GI__dl_argv instead of INTUSE(_dl_argv).
41562         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
41563         __GI__dl_argv instead of _dl_argv_internal.
41565         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
41566         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
41567         macro.
41568         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
41569         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
41570         New macro.
41571         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
41572         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
41573         macro.
41574         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
41575         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
41577 2014-11-04  Andreas Schwab  <schwab@suse.de>
41579         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
41581 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41583         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
41584         mtvsrd instruction in binary form.
41586 2014-11-03  Andreas Schwab  <schwab@suse.de>
41588         [BZ #17522]
41589         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
41590         for less than MB_LEN_MAX use a local buffer of that size.
41591         * libio/tst-fputws.c: New file.
41592         * libio/Makefile (tests): Add tst-fputws.
41594 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
41596         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
41597         the size of the fpu_fr.fpu_dregs[] array.
41599 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
41601         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
41602         (__nanosleep): Do not define as alias.
41603         (nanosleep): Define as alias of __nanosleep.
41604         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
41605         __libc_nanosleep name.
41607 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41609         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
41610         install.texi in comment.
41612 2014-10-31  Torvald Riegel  <triegel@redhat.com>
41614         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
41615         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
41616         ... add here and use lwsync or sync ...
41617         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
41618         ... and add here using lwsync.
41620 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41622         * elf/dl-machine-reject-phdr.h: New file.
41623         * elf/dl-load.c: #include that.
41624         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
41625         if that returned true.
41627 2014-10-31  Roland McGrath  <roland@hack.frob.com>
41629         [BZ #17496]
41630         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
41631         gen-as-const-headers chunk.  Add a big scare comment after the last
41632         safe place to touch before-compile.
41634 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41636         * manual/install.texi (Tools for Compilation): Update autoconf
41637         version requirements.
41638         * INSTALL: Regenerated.
41640         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
41641         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
41642         (__libc_pselect): Likewise.
41644         [BZ #14138]
41645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
41646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41650 2014-10-31  Torvald Riegel  <triegel@redhat.com>
41652         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
41653         correct barrier instruction.
41654         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
41655         Likewise.
41656         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
41657         Likewise.
41659 2014-10-30  Roland McGrath  <roland@hack.frob.com>
41661         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
41662         after defining inlines.  Instead, just use parens to defeat macro
41663         expansion of __isctype in its declaration.
41665 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
41667         * include/sys/uio.h (__libc_readv): Remove declaration.
41668         (__libc_writev): Likewise.
41669         * misc/readv.c (__libc_readv): Rename to __readv.
41670         (__readv): Do not define as alias.
41671         (readv): Define as alias of __readv.
41672         * misc/writev.c (__libc_writev): Rename to __writev.
41673         (__writev): Do not define as alias.
41674         (writev): Define as alias of __writev.
41675         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
41676         (__readv): Do not define as alias.
41677         (readv): Define unconditionally as alias of __readv.
41678         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
41679         (__writev): Do not define as alias.
41680         (writev): Define unconditionally as alias of __writev.
41681         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
41682         name.
41683         (writev): Do not define __libc_writev name.
41685 2014-10-30  Roland McGrath  <roland@hack.frob.com>
41687         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
41688         (convert_charseq): New function, broken out of ...
41689         (use_from_charmap): ... here.  Call it.
41690         (use_to_charmap): Use convert_charseq and free instead of duplicating
41691         its code with a variable-length stack struct.
41693 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
41695         * include/fcntl.h (__libc_creat): Remove declaration.
41696         * io/creat.c (__libc_creat): Rename to creat.
41697         (creat): Do not define as alias.
41698         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
41699         of creat instead of __libc_creat.
41700         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
41701         to creat.
41702         (creat): Do not define as alias.
41703         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
41704         __libc_creat.
41705         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
41706         __libc_creat name.
41707         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
41708         Likewise.
41710 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
41712         * manual/llio.texi: Add comments discussing why write() may be
41713         considered MT-unsafe on Linux.
41715 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
41717         * dl-load.c (local_strdup): Remove.
41718         (expand_dynamic_string_token): Use __strdup.
41719         (decompose_rpath): Likewise.
41720         (_dl_map_object): Likewise.
41722 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
41724         [BZ #14132]
41725         * sysdeps/generic/unwind-dw2-fde.c
41726         (__register_frame_info_bases_internal): Do not declare.
41727         (__register_frame_info_table_bases_internal): Likewise.
41728         (__deregister_frame_info_bases_internal): Likewise.
41729         (__register_frame_info_bases): Declare and use hidden_proto before
41730         definition.  Use hidden_def instead of INTDEF.
41731         (__register_frame_info_table_bases): Likewise.
41732         (__deregister_frame_info_bases): Likewise.
41733         (__register_frame_info): Do not use INTUSE.
41734         (__register_frame): Likewise.
41735         (__register_frame_info_table): Likewise.
41736         (__register_frame_table): Likewise.
41737         (__deregister_frame_info): Likewise.
41738         (__deregister_frame): Likewise.
41740 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
41742         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41743         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
41744         not undefine.
41745         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
41746         Likewise.
41747         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
41748         Likewise.
41750 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
41752         [BZ #14138]
41753         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
41754         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
41755         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
41756         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
41757         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
41758         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
41759         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
41760         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
41761         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
41762         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
41763         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
41764         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
41765         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
41766         syscall.
41767         (setfsuid): Likewise.
41768         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
41769         (setfsuid): Likewise.
41770         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
41771         (setfsuid): Likewise.
41772         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
41773         Likewise.
41774         (setfsuid): Likewise.
41775         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
41776         (setfsuid): Likewise.
41777         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
41778         Likewise.
41779         (setfsuid): Likewise.
41781 2014-10-27  Andreas Schwab  <schwab@suse.de>
41783         [BZ #17501]
41784         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
41785         check for Slow_SSE4_2 feature bit.
41786         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
41787         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41788         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
41789         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
41791 2014-10-24  Roland McGrath  <roland@hack.frob.com>
41793         * configure.ac: Validate compiler version with a empirical test of
41794         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
41795         $CC -v output.
41796         * configure: Regenerated.
41798         * inet/htons.c (htons): Prototypify.
41799         * inet/htonl.c (htonl): Likewise.
41801 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41803         * string/strncat.c (strncat): Improve performance by using strlen.
41805 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41807         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
41809 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41811         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
41812         Call libc_fetestexcept_aarch64.
41814 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41816         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
41817         Call libc_feholdexcept_aarch64.
41819 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41821         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
41822         Call get_rounding_mode.
41824 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41826         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41827         Simplify logic.
41829 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
41831         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
41832         Simplify logic.
41834 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
41836         [BZ #14138]
41837         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
41838         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
41839         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
41840         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
41841         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
41842         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
41843         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
41844         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
41845         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
41846         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
41847         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41848         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
41849         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
41850         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
41851         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
41852         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
41853         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
41854         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
41855         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
41856         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
41857         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
41858         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
41859         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
41860         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
41861         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
41862         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
41863         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
41864         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
41865         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
41866         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
41867         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
41868         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
41869         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
41870         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
41871         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
41872         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
41873         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
41874         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
41875         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
41876         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
41877         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
41878         syscall.
41879         (geteuid): Likewise.
41880         (getgid): Likewise.
41881         (getuid): Likewise.
41882         (getresgid): Likewise.
41883         (getresuid): Likewise.
41884         (getgroups): Likewise.
41885         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
41886         (geteuid): Likewise.
41887         (getgid): Likewise.
41888         (getuid): Likewise.
41889         (getresgid): Likewise.
41890         (getresuid): Likewise.
41891         (getgroups): Likewise.
41892         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
41893         (geteuid): Likewise.
41894         (getgid): Likewise.
41895         (getuid): Likewise.
41896         (getresgid): Likewise.
41897         (getresuid): Likewise.
41898         (getgroups): Likewise.
41899         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
41900         Likewise.
41901         (geteuid): Likewise.
41902         (getgid): Likewise.
41903         (getuid): Likewise.
41904         (getresgid): Likewise.
41905         (getresuid): Likewise.
41906         (getgroups): Likewise.
41907         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
41908         (geteuid): Likewise.
41909         (getgid): Likewise.
41910         (getuid): Likewise.
41911         (getresgid): Likewise.
41912         (getresuid): Likewise.
41913         (getgroups): Likewise.
41914         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
41915         Likewise.
41916         (geteuid): Likewise.
41917         (getgid): Likewise.
41918         (getuid): Likewise.
41919         (getgroups): Likewise.
41921         [BZ #14138]
41922         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
41923         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
41924         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
41925         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
41926         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
41927         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
41928         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
41929         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
41930         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
41931         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
41932         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
41933         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
41934         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
41935         __chown.
41936         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
41937         (lchown): Likewise.
41938         (fchown): Likewise.
41939         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
41940         Likewise.
41941         (lchown): Likewise.
41942         (fchown): Likewise.
41943         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
41944         (lchown): Likewise.
41945         (fchown): Likewise.
41946         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
41947         Likewise.
41948         (lchown): Likewise.
41949         (fchown): Likewise.
41951 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41953         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
41954         Simplify logic.
41956 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41958         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41959         Cleanup logic.
41961 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41963         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
41964         Remove unused include.
41966 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
41968         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
41969         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
41970         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
41971         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
41973 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
41974             Helge Deller <deller@gmx.de>
41976         [BZ #17508]
41977         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
41978         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
41979         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
41981 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
41983         [BZ #14132]
41984         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
41985         Remove macro definition.
41986         (__ashrdi3_v_glibc20): Likewise.
41987         (__lshrdi3_v_glibc20): Likewise.
41988         (__cmpdi2_v_glibc20): Likewise.
41989         (__ucmpdi2_v_glibc20): Likewise.
41990         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
41991         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41992         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41993         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41994         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41995         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
41997 2014-10-22  Roland McGrath  <roland@hack.frob.com>
41999         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
42000         old GNU extension [0] syntax.
42001         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
42002         alloca rather than an array member with variable length.
42003         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
42004         * nscd/nscd.c (invalidate_db): New function, broken out of ...
42005         (parse_opt): ... here.  Likewise use alloca there.
42006         Validate the -i argument before checking for rootness.
42007         (send_shutdown): New function, broken out of ...
42008         (parse_opt): ... here.
42010 2014-10-22  Roland McGrath  <roland@hack.frob.com>
42012         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
42013         macro to get at the _rt_local_ro field.
42014         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
42015         ([PIC] case) or _dl_hwcap ([!PIC] case).
42016         * sysdeps/arm/setjmp.S: Likewise.
42018         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
42019         * sysdeps/arm/configure.ac: New check to define it.
42020         * sysdeps/arm/configure: Regenerated.
42021         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
42022         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
42023         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
42024         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
42025         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
42026         Use move/movt pair instead of a load.
42027         (LDST_GLOBAL): Macro removed.
42028         (LDR_GLOBAL): New macro replaces it.
42029         (LDR_HIDDEN): New macro.
42030         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
42031         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
42033         * setjmp/tst-setjmp-static.c: New file.
42034         * setjmp/Makefile (tests): Add it.
42035         (tests-static): New variable.
42037 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
42039         [BZ #17485]
42040         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
42042 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
42044         [BZ #14132]
42045         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
42047 2014-10-21  Roland McGrath  <roland@hack.frob.com>
42049         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
42051 2014-10-20  Roland McGrath  <roland@hack.frob.com>
42053         * io/fts.c (dirent_not_directory): New function.
42054         (fts_build): Call it.
42056 2014-10-20  Roland McGrath  <roland@hack.frob.com>
42058         * nptl/version.c (__nptl_main): Use normal __write rather than
42059         INTERNAL_SYSCALL.
42060         (banner): Update copyright years.
42062         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
42063         gettimeofday.
42064         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42065         * nptl/pthread_cond_timedwait.c: Likewise.
42066         * nptl/pthread_mutex_timedlock.c: Likewise.
42067         * nptl/sem_timedwait.c: Likewise.
42069         * sysdeps/nptl/bits/libc-lock.h
42070         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42071         (__libc_lock_init_recursive): Return void, not 0.
42072         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
42073         (__libc_rwlock_init): Likewise.
42074         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
42076 2014-10-20  Torvald Riegel  <triegel@redhat.com>
42078         [BZ #15215]
42079         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
42080         (__pthread_once_slow): ... here.
42081         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
42082         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
42084 2014-10-20  Torvald Riegel  <triegel@redhat.com>
42086         [BZ #15215]
42087         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
42088         __PTHREAD_ONCE_FORK_GEN_INCR): New.
42089         * sysdeps/nptl/fork.c (__libc_fork): Use them.
42090         * nptl/pthread_once.c (__pthread_once): Likewise.
42091         Update comments.
42093 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
42095         [BZ #14138]
42096         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
42097         name.
42098         (writev): Use __libc_writev as strong name.
42099         * sysdeps/unix/sysv/linux/readv.c: Remove file.
42100         * sysdeps/unix/sysv/linux/writev.c: Likewise.
42102 2014-10-17  Roland McGrath  <roland@hack.frob.com>
42104         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
42106         * sysdeps/i386/nptl/tls.h
42107         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
42108         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
42109         New macros.
42110         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
42111         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
42112         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
42113         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
42114         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
42115         Call CHECK_THREAD_SYSINFO instead of doing an assert.
42117         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
42118         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
42119         on [__NR_futex].
42120         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
42121         broken out of ...
42122         (__pthread_mutex_init): ... here.  Call it.
42123         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
42124         Conditionalize PI cases on [__NR_futex].
42125         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
42126         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
42127         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
42129         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
42130         conditional on [SIGSETXID].
42131         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
42132         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
42133         is defined.  Likewise for SIGSETXID.
42134         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
42135         Conditionalize definitions on [SIGSETXID].
42136         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
42137         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
42138         unblocking on [SIGCANCEL].
42140         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
42141         [__NR_set_robust_list].
42143 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42145         * string/strcoll_l.c (get_next_seq): Fix up formatting.
42146         (do_compare): Likewise.
42148 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
42150         [BZ #15884]
42151         * string/strcoll_l.c: Don't include stdio.h.
42152         (coll_seq): Remove members idxarr and rulearr.
42153         (get_next_seq_cached): Remove function.
42154         (get_next_seq): Likewise.
42155         (get_next_seq_nocache): Rename to get_next_seq.
42156         (do_compare): Remove function.
42157         (do_compare_nocache): Rename to do_compare.
42158         (STRCOLL): Remove weight and rules cache.
42160 2014-10-16  Roland McGrath  <roland@hack.frob.com>
42162         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
42163         * sysdeps/arm/sfp-machine.h: ... to here.
42164         * sysdeps/arm/Implies: Remove arm/soft-fp.
42166 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
42168         * conform/data/sys/utsname.h-data (*_t): Allow.
42169         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
42170         [POSIX] (WEXITED): Do not expect constant.
42171         [POSIX] (WSTOPPED): Likewise.
42172         [POSIX] (WNOHANG): Likewise.
42173         [POSIX] (WNOWAIT): Likewise.
42174         [POSIX] (siginfo_t): Do not expect type or elements.
42175         [POSIX] (pid_t): Do not expect type.
42176         [POSIX] (signal.h): Do not allow header.
42177         [POSIX] (sys/resource.h): Likewise.
42178         [POSIX] (si_*): Do not allow pattern.
42179         [POSIX] (W*): Likewise.
42180         [POSIX] (P_*): Likewise.
42181         [POSIX] (BUS_*): Likewise.
42182         [POSIX] (CLD_*): Likewise.
42183         [POSIX] (FPE_*): Likewise.
42184         [POSIX] (ILL_*): Likewise.
42185         [POSIX] (POLL_*): Likewise.
42186         [POSIX] (SEGV_*): Likewise.
42187         [POSIX] (SI_*): Likewise.
42188         [POSIX] (TRAP_*): Likewise.
42189         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
42190         variable.
42192 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
42194         [BZ #12926]
42195         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
42196         infinite loop when __recvmsg returns 0.
42198 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
42200         * CANCEL-FCT-WAIVE: Remove file.
42201         * CANCEL-FILE-WAIVE: Likewise.
42203         [BZ #14132]
42204         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
42205         instead of INTVARDEF.
42206         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
42207         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
42208         rtld_hidden_data_def instead of INTVARDEF.
42209         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
42210         * elf/dl-deps.c (expand_dst): Likewise.
42211         * elf/dl-load.c (_dl_dst_count): Likewise.
42212         (_dl_dst_substitute): Likewise.
42213         (decompose_rpath): Likewise.
42214         (_dl_init_paths): Likewise.
42215         (open_path): Likewise.
42216         (_dl_map_object): Likewise.
42217         * elf/rtld.c (dl_main): Likewise.
42218         (process_dl_audit): Likewise.
42219         (process_envvars): Likewise.
42220         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
42221         Remove declaration.
42222         (__libc_enable_secure): Use rtld_hidden_proto.
42224 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42226         * elf/dl-load.c
42227         (add_path): New function broken out of _dl_rtld_di_serinfo.
42228         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
42230 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42232         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
42233         parentheses around macro arguments.
42234         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
42235         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
42236         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
42237         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
42238         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
42239         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
42240         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
42241         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
42242         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
42243         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
42244         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
42245         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
42246         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
42247         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
42248         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
42249         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
42250         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
42251         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
42252         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
42253         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
42254         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
42255         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
42256         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
42257         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
42258         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
42259         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
42260         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
42261         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
42262         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
42263         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
42264         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
42265         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
42266         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
42267         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
42268         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
42269         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
42270         Likewise.
42271         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
42272         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42273         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42274         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
42275         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
42276         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
42277         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
42278         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
42279         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
42280         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
42281         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
42282         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
42283         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
42284         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
42285         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
42286         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42287         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42288         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
42289         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
42290         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
42291         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
42292         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
42293         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
42294         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
42295         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
42296         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
42297         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
42298         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
42299         (_FP_FRAC_SRS_1): Likewise.
42300         (_FP_FRAC_CLZ_1): Likewise.
42301         (_FP_MUL_MEAT_1_imm): Likewise.
42302         (_FP_MUL_MEAT_1_wide): Likewise.
42303         (_FP_MUL_MEAT_1_hard): Likewise.
42304         (_FP_SQRT_MEAT_1): Likewise.
42305         (_FP_FRAC_ASSEMBLE_1): Likewise.
42306         (_FP_FRAC_DISASSEMBLE_1): Likewise.
42307         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
42308         (__FP_CLZ_2): Likewise.
42309         (_FP_MUL_MEAT_2_wide): Likewise.
42310         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42311         (_FP_MUL_MEAT_2_gmp): Likewise.
42312         (_FP_MUL_MEAT_2_120_240_double): Likewise.
42313         (_FP_SQRT_MEAT_2): Likewise.
42314         (_FP_FRAC_ASSEMBLE_2): Likewise.
42315         (_FP_FRAC_DISASSEMBLE_2): Likewise.
42316         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
42317         (_FP_FRAC_CLZ_4): Likewise.
42318         (_FP_MUL_MEAT_4_wide): Likewise.
42319         (_FP_MUL_MEAT_4_gmp): Likewise.
42320         (_FP_SQRT_MEAT_4): Likewise.
42321         (_FP_FRAC_ASSEMBLE_4): Likewise.
42322         (_FP_FRAC_DISASSEMBLE_4): Likewise.
42323         * soft-fp/op-common.h (_FP_CMP): Likewise.
42324         (_FP_CMP_EQ): Likewise.
42325         (_FP_CMP_UNORD): Likewise.
42326         (_FP_TO_INT): Likewise.
42327         (_FP_FROM_INT): Likewise.
42328         [!__FP_CLZ] (__FP_CLZ): Likewise.
42329         (_FP_DIV_HELP_imm): Likewise.
42330         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
42331         Likewise.
42332         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
42333         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
42334         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
42335         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
42336         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
42337         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42338         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42339         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
42340         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
42341         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
42342         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
42343         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
42344         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
42345         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
42346         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
42347         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
42348         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
42349         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
42350         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
42351         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
42352         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
42353         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
42354         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
42355         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42356         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42357         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
42358         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
42359         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
42360         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
42361         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
42362         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
42363         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
42364         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
42365         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
42366         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
42367         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
42368         (FP_UNPACK_RAW_SP): Likewise.
42369         (FP_PACK_RAW_S): Likewise.
42370         (FP_PACK_RAW_SP): Likewise.
42371         (FP_UNPACK_S): Likewise.
42372         (FP_UNPACK_SP): Likewise.
42373         (FP_UNPACK_SEMIRAW_S): Likewise.
42374         (FP_UNPACK_SEMIRAW_SP): Likewise.
42375         (FP_PACK_S): Likewise.
42376         (FP_PACK_SP): Likewise.
42377         (FP_PACK_SEMIRAW_S): Likewise.
42378         (FP_PACK_SEMIRAW_SP): Likewise.
42379         (_FP_SQRT_MEAT_S): Likewise.
42380         (FP_CMP_S): Likewise.
42381         (FP_CMP_EQ_S): Likewise.
42382         (FP_CMP_UNORD_S): Likewise.
42383         (FP_TO_INT_S): Likewise.
42384         (FP_FROM_INT_S): Likewise.
42386         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
42388         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
42389         (FP_EX_INVALID_IMZ): Likewise.
42390         (FP_EX_INVALID_IMZ_FMA): Likewise.
42391         (FP_EX_INVALID_ISI): Likewise.
42392         (FP_EX_INVALID_ZDZ): Likewise.
42393         (FP_EX_INVALID_IDI): Likewise.
42394         (FP_EX_INVALID_SQRT): Likewise.
42395         (FP_EX_INVALID_CVI): Likewise.
42396         (FP_EX_INVALID_VC): Likewise.
42397         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
42398         "invalid" exceptions.
42399         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
42400         (_FP_ADD_INTERNAL): Likewise.
42401         (_FP_MUL): Likewise.
42402         (_FP_FMA): Likewise.
42403         (_FP_DIV): Likewise.
42404         (_FP_CMP_CHECK_NAN): Likewise.
42405         (_FP_SQRT): Likewise.
42406         (_FP_TO_INT): Likewise.
42407         (FP_EXTEND): Likewise.
42409 2014-10-09  Allan McRae  <allan@archlinux.org>
42411         * po/fr.po: Update French translation from translation project.
42413 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42415         [BZ #14132]
42416         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
42417         of INTDEF.
42418         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
42419         (__cxa_atexit): Use libc_hidden_proto.
42420         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
42422         [BZ #14132]
42423         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
42424         declaration.
42425         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
42426         [!_ISOMAC] (__iswspace_l_internal): Likewise.
42427         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
42428         [!_ISOMAC] (__iswctype_internal): Likewise.
42429         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
42430         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
42431         alias.
42432         (fcntl): Remove __fcntl_internal alias.
42433         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
42434         __connect_internal alias.
42435         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
42436         Likewise.
42438         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
42439         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
42440         FP_DENORM_ZERO.
42441         (_FP_CHECK_FLUSH_ZERO): New macro.
42442         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
42443         (_FP_CMP): Likewise.
42444         (_FP_CMP_EQ): Likewise.
42445         (_FP_TO_INT): Do not set inexact for subnormal arguments if
42446         FP_DENORM_ZERO.
42447         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
42448         (FP_TRUNC): Likewise.
42450         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
42451         treated as invalid conversion, not as normal exponent.
42453         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
42454         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
42455         (_FP_CMP_EQ): Likewise.
42456         (_FP_CMP_UNORD): Likewise.
42457         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
42458         (FP_CMP_EQ_D): Likewise.
42459         (FP_CMP_UNORD_D): Likewise.
42460         * soft-fp/extended.h (FP_CMP_E): Likewise.
42461         (FP_CMP_EQ_E): Likewise.
42462         (FP_CMP_UNORD_E): Likewise.
42463         * soft-fp/quad.h (FP_CMP_Q): Likewise.
42464         (FP_CMP_EQ_Q): Likewise.
42465         (FP_CMP_UNORD_Q): Likewise.
42466         * soft-fp/single.h (FP_CMP_S): Likewise.
42467         (FP_CMP_EQ_S): Likewise.
42468         (FP_CMP_UNORD_S): Likewise.
42469         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
42470         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
42471         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
42472         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
42473         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
42474         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
42475         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
42476         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
42477         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
42478         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
42479         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
42480         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
42481         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
42482         to FP_CMP_Q.
42483         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
42484         FP_CMP_Q.
42485         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
42486         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
42487         FP_CMP_EQ_Q.
42488         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
42489         FP_CMP_Q.
42490         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
42491         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
42492         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
42493         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
42494         FP_CMP_EQ_Q.
42495         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
42496         FP_CMP_Q.
42497         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
42498         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
42499         FP_CMP_EQ_Q.
42500         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
42501         FP_CMP_Q.
42502         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
42503         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
42504         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
42505         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
42506         FP_CMP_EQ_Q.
42508         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
42509         a subnormal result, set the underflow exception if trapping on
42510         underflow is enabled.
42511         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
42512         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
42513         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
42514         redefine to 0.
42515         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
42516         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42517         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42518         * soft-fp/extendxftf2.c (__extendxftf2): Use
42519         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
42521         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
42522         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
42523         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42524         FP_HANDLE_EXCEPTIONS.
42525         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
42526         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42527         FP_HANDLE_EXCEPTIONS.
42528         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
42529         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42530         FP_HANDLE_EXCEPTIONS.
42531         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
42532         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42533         FP_HANDLE_EXCEPTIONS.
42535 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
42537         [BZ #14132]
42538         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
42539         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
42540         use INTUSE.
42541         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
42542         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
42543         Remove alias.
42544         (__adjtimex): Define using libc_hidden_ver.
42545         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
42546         Remove declaration.
42547         (ntp_gettime): Call __adjtimex directly.
42548         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
42549         Remove declaration.
42550         (ntp_gettimex): Call __adjtimex directly.
42551         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
42552         __adjtimex_internal alias.
42554 2014-10-08  Roland McGrath  <roland@hack.frob.com>
42556         [BZ #17460]
42557         * nscd/nscd.c (more_help): Rewrite list of tables collection
42558         using xstrdup and asprintf.
42560         * nscd/nscd_conf.c: Remove local xstrdup declaration.
42562 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42563             Roland McGrath  <roland@hack.frob.com>
42565         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
42566         (do_lookup_unique): ... local function 'enter' here; update callers.
42568 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
42570         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
42571         compat_symbol calls on [SHARED].
42572         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
42573         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
42574         Remove.
42575         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42576         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
42577         (oldsetrlimit): Remove.
42578         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42580         (lchown): New syscall entry.
42581         (oldsetrlimit): Remove.
42582         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42583         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
42584         (oldsetrlimit): Remove.
42585         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42587         [BZ #14138]
42588         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
42589         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
42590         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
42591         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
42592         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42593         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
42594         (fchown): Likewise.
42595         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
42596         (fchown): Likewise.
42597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
42598         Likewise.
42600 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42602         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
42603         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
42604         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
42605         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
42606         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
42607         Likewise.
42608         (__old_sem_post): Likewise.
42610 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
42612         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
42613         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
42614         HAVE_CLOCK_GETTIME_VSYSCALL macros.
42615         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
42616         Use INLINE_VSYSCALL macro.
42617         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
42618         __vdso_clock_gettime.
42619         * sysdeps/unix/sysv/linux/tile/init-first.c
42620         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
42621         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
42622         __vdso_clock_gettime.
42624         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
42625         to set up frame more cleanly.
42627         * sysdeps/tile/memcmp.c: New file.
42629         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
42631         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
42632         * sysdeps/tile/tilegx/strcasestr.c: New file.
42633         * sysdeps/tile/tilegx/strnlen.c: New file.
42634         * sysdeps/tile/tilegx/strstr.c: New file.
42636         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
42638 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
42640         * nptl/tst-setuid3.c: Write errors to stdout.
42642 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42644         * elf/dl-deps.c
42645         (preload): New functions broken out of _dl_map_object_deps.
42646         (_dl_map_object_deps):  Remove a nested function. Update call sites.
42648 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
42650         [BZ #14138]
42651         * sysdeps/unix/sysv/linux/execve.c: Remove file.
42652         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
42654 2014-10-01  Steve Ellcey  <sellcey@mips.com>
42656         * sysdeps/mips/strcmp.S: New.
42658 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
42660         [BZ #14138]
42661         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
42662         (linkat): Likewise.
42663         (mkdirat): Likewise.
42664         (readlinkat): Likewise.
42665         (renameat): Likewise.
42666         (symlinkat): Likewise.
42667         (unlinkat): Likewise.
42668         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
42669         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
42670         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
42671         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
42672         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
42673         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
42674         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
42676 2014-09-30  Will Newton  <will.newton@linaro.org>
42678         * math/math.h: Define long double math functions if
42679         _LIBC_TEST is defined.
42680         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
42682         * localedata/Makefile: Move assignment to tests-special
42683         into an ifdef testing run-built-tests.
42684         * timezone/Makefile: Likewise.
42686 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
42688         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
42689         with $(BASH) not $(SHELL).
42691 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
42692             Matthew LeGendre  <legendre1@llnl.gov>
42694         [BZ #17411]
42695         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
42696         l_reloc_result.
42698 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42700         * stdio-common/printf_fp.c
42701         (hack_digit): New function, broken out of ...
42702         (__printf_fp): ... local function here.  Update call sites.
42703         hack_digit now takes an additional parameter that is a pointer
42704         to a struct of the referenced locals.  Those locals moved inside
42705         the struct and references updated.
42707 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
42709         * aclocal.m4: Require autoconf 2.69.
42710         * configure: Regenerated.
42711         * sysdeps/aarch64/configure: Likewise.
42712         * sysdeps/alpha/configure: Likewise.
42713         * sysdeps/arm/armv7/configure: Likewise.
42714         * sysdeps/arm/configure: Likewise.
42715         * sysdeps/ia64/configure: Likewise.
42716         * sysdeps/mach/configure: Likewise.
42717         * sysdeps/mips/configure: Likewise.
42718         * sysdeps/s390/configure: Likewise.
42719         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
42720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
42722         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
42723         file.
42724         * sysdeps/ia64/configure.ac: Likewise.
42726 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
42728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
42729         specify symbol version for ld.so.  Do not include entry for
42730         libpthread.
42731         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42732         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42733         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42735         [BZ #14171]
42736         * Makeconfig [$(build-shared) = yes]
42737         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
42738         makefiles.
42739         [$(build-shared) = yes && $(soversions.mk-done) = t]
42740         ($(common-objpfx)gnu/lib-names.h): Remove rule.
42741         [$(build-shared) = yes && $(soversions.mk-done) = t]
42742         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
42743         to Makerules.
42744         [$(build-shared) = yes && $(soversions.mk-done) = t]
42745         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
42746         here.
42747         [$(build-shared) = yes && $(soversions.mk-done) = t]
42748         (common-generated): Don't append gnu/lib-names.h and
42749         gnu/lib-names.stmp here.
42750         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
42751         (lib-names-h-abi): New variable.
42752         [$(build-shared) = yes && $(soversions.mk-done) = t]
42753         (lib-names-stmp-abi): Likewise.
42754         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42755         abi-variants] (before-compile): Append
42756         $(common-objpfx)$(lib-names-h-abi).
42757         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42758         abi-variants] (common-generated): Append gnu/lib-names.h.
42759         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42760         abi-variants] (install-others-nosubdir): Depend on
42761         $(inst_includedir)/$(lib-names-h-abi).
42762         [$(build-shared) = yes && $(soversions.mk-done) = t &&
42763         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
42764         [$(build-shared) = yes && $(soversions.mk-done) = t]
42765         ($(common-objpfx)$(lib-names-h-abi)): New rule.
42766         [$(build-shared) = yes && $(soversions.mk-done) = t]
42767         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
42768         [$(build-shared) = yes && $(soversions.mk-done) = t]
42769         (common-generated): Append $(lib-names-h-abi) and
42770         $(lib-names-stmp-abi).
42771         * scripts/lib-names.awk: Do not handle multi being set.
42772         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
42773         Remove variable.
42774         (abi-lp64_be-ld-soname): Likewise.
42775         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
42776         Likewise.
42777         (abi-hard-ld-soname): Likewise.
42778         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
42779         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
42780         Remove variable.
42781         (abi-o32_hard-ld-soname): Likewise.
42782         (abi-o32_soft_2008-ld-soname): Likewise.
42783         (abi-o32_hard_2008-ld-soname): Likewise.
42784         (abi-n32_soft-ld-soname): Likewise.
42785         (abi-n32_hard-ld-soname): Likewise.
42786         (abi-n32_soft_2008-ld-soname): Likewise.
42787         (abi-n32_hard_2008-ld-soname): Likewise.
42788         (abi-n64_soft-ld-soname): Likewise.
42789         (abi-n64_hard-ld-soname): Likewise.
42790         (abi-n64_soft_2008-ld-soname): Likewise.
42791         (abi-n64_hard_2008-ld-soname): Likewise.
42792         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
42793         Likewise.
42794         (abi-64-v2-ld-soname): Likewise.
42795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
42796         ld.so entries.
42797         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
42798         variable.
42799         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
42800         entry.
42801         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
42802         variable.
42803         (abi-64-ld-soname): Likewise.
42804         (abi-x32-ld-soname): Likewise.
42805         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
42806         entry.
42807         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42809 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
42811         [BZ #14138]
42812         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
42813         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
42814         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
42815         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
42816         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
42817         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
42818         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
42819         syscall entry for GLIBC_2.2 symbol version.
42820         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
42821         Likewise.
42822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42823         (setrlimit): Likewise.
42824         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
42825         Likewise.
42827 2014-09-23  Will Newton  <will.newton@linaro.org>
42829         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
42830         _LINUX_ARM_SYSDEP_H include guard too.
42831         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
42832         define.
42834 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
42836         * sysdeps/unix/sysv/linux/eventfd.c:
42837         Make first argument unsigned.
42838         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
42839         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
42841 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
42843         [BZ #16852]
42844         * socket/recvmmsg.c (recvmmsg): Drop const argument.
42845         * socket/sys/socket.h: Likewise.
42846         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
42848 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42850         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
42852 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
42854         * time/tst-ftime.c: New test.
42855         * time/Makefile (tests): Add tst-ftime.
42857 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
42859         * soft-fp/extended.h: Fix comment formatting.
42860         * soft-fp/op-1.h: Likewise.
42861         * soft-fp/op-2.h: Likewise.
42862         * soft-fp/op-4.h: Likewise.
42863         * soft-fp/op-8.h: Likewise.
42864         * soft-fp/op-common.h: Likewise.
42865         * soft-fp/soft-fp.h: Likewise.
42867         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
42869 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
42871         [BZ #6652]
42872         * Makeconfig (soversions-default-setname): Remove variable.
42873         ($(common-objpfx)soversions.i): Don't pass default_setname to
42874         soversions.awk.
42875         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
42876         oldest_abi to abi-versions.awk.
42877         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
42878         * config.make.in (oldest-abi): Remove variable.
42879         * configure.ac (--enable-oldest-abi): Remove configure option.
42880         * configure: Regenerated.
42881         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
42882         text.
42883         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
42884         * scripts/soversions.awk: Do not handle default_setname variable.
42885         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
42886         variable.
42887         * sysdeps/mach/hurd/configure: Regenerated.
42888         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
42889         variable.
42890         * sysdeps/unix/sysv/linux/configure: Regenerated.
42892 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42894         * elf/Makefile (CFLAGS-interp.c): Remove.
42895         ($(elf-objpfx)runtime-linker.h): Generate header with linker
42896         path string.
42897         * elf/interp.c: Include generated runtime-linker.h
42899         * Makerules (lib%.so): Don't include $(+interp) in
42900         prerequisites.
42901         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
42902         * dlfcn/eval.c: Remove file.
42904         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
42905         macros.
42907         [BZ #17266]
42908         * misc/sys/cdefs.h: Define __extern_always_inline for clang
42909         4.2 and newer.
42911         [BZ #17370]
42912         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
42914 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42915             Jakub Jelinek  <jakub@redhat.com>
42917         [BZ #17266]
42918         * libio/stdio.h: Check definition of __fortify_function
42919         instead of __extern_always_inline to include bits/stdio2.h.
42920         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
42921         check if __extern_always_inline is defined.
42922         [__USE_MISC || __USE_XOPEN]: Likewise.
42923         [__USE_ISOC99] Likewise.
42924         * misc/sys/cdefs.h (__fortify_function): Define only if
42925         __extern_always_inline is defined.
42926         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
42927         __extern_always_inline and __extern_inline only for g++-4.3
42928         and newer or a compatible gcc.
42930 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
42932         [BZ #17371]
42933         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
42934         last change to handle zero prefix length.
42936 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42938         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
42939         _SC_REGEX_VERSION.
42941         * posix/getconf.c (vars): Add _POSIX_IPV6 and
42942         _POSIX_RAW_SOCKETS.
42944 2014-09-13  Allan McRae  <allan@archlinux.org>
42946         * po/ru.po: Update Russian translation from translation project.
42948 2014-09-12  Roland McGrath  <roland@hack.frob.com>
42950         * locale/programs/locale.c (show_locale_vars): Inline local function
42951         into its sole call site.  Clean up some style nits.
42952         (print_item): New function, broken out of ...
42953         (show_info): ... local function here.  Clean up style nits.
42955         * locale/programs/ld-ctype.c (set_one_default): New function, broken
42956         out of ...
42957         (set_class_defaults): ... local function set_default here.
42958         Define set_default as a macro locally to pass constant parameters.
42959         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
42960         rather than a shared local.
42962         * stdlib/rpmatch.c (try): New function, broken out of ...
42963         (rpmatch): ... local function here.  Also, prototypify definition.
42965 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
42967         * scripts/soversions.awk: Do not handle configuration names.
42968         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
42969         vendor and os variables to soversions.awk.
42970         * configure.ac: Do not modify gnu-* host_os.
42971         * configure: Regenerated
42972         * shlib-versions: Remove first column with configuration names.
42973         * nptl/shlib-versions: Likewise.
42974         * nptl_db/shlib-versions: Likewise.
42975         * sysdeps/hppa/shlib-versions: Likewise.
42976         * sysdeps/m68k/shlib-versions: Likewise.
42977         * sysdeps/mach/hurd/shlib-versions: Likewise.
42978         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
42979         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
42980         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
42981         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
42982         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
42983         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
42984         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
42985         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
42986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
42987         Likewise.
42988         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
42989         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
42990         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
42991         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
42992         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
42993         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
42994         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
42995         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
42997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42998         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
42999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
43000         Regenerated.
43001         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
43002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
43003         Condition symbol version definitions on [HAVE_ELFV2_ABI].
43005         * shlib-versions: Remove OS-specific entries.  Moved to files in
43006         sysdeps.
43007         * sysdeps/mach/hurd/shlib-versions: New file.
43008         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
43010         * nptl/shlib-versions: Remove architecture-specific entries.
43011         Moved to files in sysdeps.
43012         * shlib-versions: Likewise.
43013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
43014         file.
43015         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43016         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
43017         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
43018         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
43020         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
43021         (UDP_NO_CHECK6_RX): Likewise.
43023 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43025         * sysdeps/posix/sysconf.c (__sysconf): Spell
43026         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
43028 2014-08-12  Florian Weimer  <fweimer@redhat.com>
43030         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
43031         loading.
43032         * iconv/Versions (__gconv_transliterate): Export for use from
43033         gconv modules.
43034         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
43035         (struct __gconv_trans_data, __gconv_trans_fct,
43036         __gconv_trans_context_fct, __gconv_trans_query_fct,
43037         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
43038         definitions.
43039         (struct __gconv_step_data): Remove __trans member.
43040         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
43041         longer hidden.  Remove unused trans_data argument.
43042         * iconv/gconv_int.h (struct trans_struct): Remove definition.
43043         (__gconv_translit_find): Remove declaration.
43044         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
43045         prototype.
43046         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
43047         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
43048         trans_data argument.  Add hidden definition.
43049         (__gconv_translit_find): Remove.
43050         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
43051         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
43052         * iconv/skeleton.c: Remove transliteration initialization.
43053         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
43054         __gconv_step_data initialization.
43055         * libio/iofwide.c (__libio_translit_): Remove.
43056         (_IO_fwide): Adjust struct __gconv_step_data initialization.
43057         * wcsmbs/btowc.c (__btowc): Likewise.
43058         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43059         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43060         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
43061         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
43062         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
43063         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
43064         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
43065         * wcsmbs/wctob.c (wctob): Likewise.
43067 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43069         [BZ #16194]
43070         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
43071         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
43072         register usage.
43073         * sysdeps/x86/Makefile: Adjust.
43075 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43076             Roland McGrath  <roland@hack.frob.com>
43078         * locale/weight.h: Add include guard.
43079         (findidx): Make static rather than auto; take new parameters
43080         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
43081         * locale/weightwc.h: Likewise.
43082         * posix/fnmatch_loop.c
43083         (FCT): Change type of EXTRA from int32_t to wint_t.
43084         Don't include either header inside the function.
43085         Call FINDIDX rather than findidx, and pass new arguments.
43086         #undef FINDIDX at the end of the file.
43087         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
43088         FINDIDX before including fnmatch_loop.c for the non-wide version.
43089         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
43090         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
43091         for the wide version.
43092         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
43093         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
43094         Pass new arguments to findidx.
43095         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
43096         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
43097         Don't #include it inside the function.  Pass new arguments to findidx.
43098         * posix/regex_internal.h
43099         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
43100         (re_string_elem_size_at): Don't #include it inside the function.
43101         Pass new arguments to findidx.
43102         * string/strcoll_l.c: #include WEIGHT_H at top level.
43103         (get_next_seq): Don't #include it inside the function.
43104         Pass new arguments to findidx.
43105         (get_next_seq_nocache): Likewise.
43106         * string/strxfrm_l.c: #include WEIGHT_H at top level.
43107         (STRXFRM): Don't #include it inside the function.
43108         Pass new arguments to findidx.
43110 2014-09-11  Florian Weimer  <fweimer@redhat.com>
43112         [BZ #17344]
43113         * malloc/malloc.c (unlink): Turn asserts into a call to
43114         malloc_printerr.
43116 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
43118         [BZ #17370]
43119         * libio/wfileops (do_ftell_wide): Free OUT.
43121 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
43123         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
43125 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43127         [BZ #17363]
43128         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
43129         group if the current group is empty.
43131 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43133         * benchtests/bench-memset.c (test_main): Add more test from size
43134         from 32 to 512 bytes.
43135         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43136         Add POWER8 memset object.
43137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43138         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
43139         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
43140         implementation.
43141         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
43142         Likewise.
43143         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
43144         multiarch POWER8 memset optimization.
43145         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
43146         POWER8 memset optimization.
43148         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43149         Remove bzero multiarch objects.
43150         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
43151         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
43152         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
43153         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
43154         Remove define.
43155         [__bzero]: Redefine to specific name.
43156         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
43157         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
43158         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
43159         define.
43160         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43161         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43163 2014-09-10  Florian Weimer  <fweimer@redhat.com>
43165         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
43166         warnings into errors.
43168         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
43169         __cxa_thread_atexit_impl prototype.
43171 2014-09-09  Steve Ellcey  <sellcey@mips.com>
43173         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
43174         Fix capitalization of error message.
43176 2014-09-09  Steve Ellcey  <sellcey@mips.com>
43178         * sysdeps/mips/preconfigure: Modify ABI tests.
43180 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
43182         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
43184 2014-09-07  Roland McGrath  <roland@hack.frob.com>
43185             Carlos O'Donell  <carlos@systemhalted.org>
43187         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
43188         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
43189         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
43190         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
43191         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
43192         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
43193         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
43194         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
43195         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
43196         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
43197         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
43198         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
43199         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
43200         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
43201         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
43202         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
43203         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
43204         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
43205         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
43206         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
43207         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
43208         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
43209         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
43210         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
43211         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
43212         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
43213         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
43214         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
43215         Deconditionalize the code that was previously under [RESET_PID].
43216         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
43217         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
43218         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
43219         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
43220         include sysdep.h.
43222 2014-09-08  Allan McRae  <allan@archlinux.org>
43224         * version.h (RELEASE): Set to "development".
43225         (VERSION): Set to "2.20.90"
43227 2014-09-07  Allan McRae  <allan@archlinux.org
43229         * version.h (RELEASE): Set to "stable".
43230         (VERSION): Set to "2.20"
43231         * include/features.h (__GLIBC_MINOR__): Set to 20.
43233         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
43234         Liebler.
43236         * po/ko.po: Update Korean translation from translation project.
43238 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
43240         [BZ #17354]
43241         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
43242         macro for handling signed relocations.
43244 2014-09-03  Florian Weimer  <fweimer@redhat.com>
43246         [BZ #17325]
43247         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
43248         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
43249         assert.
43250         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
43251         * iconvdata/ibm935.c (BODY): Likewise.
43252         * iconvdata/ibm937.c (BODY): Likewise.
43253         * iconvdata/ibm939.c (BODY): Likewise.
43254         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
43255         assert.
43256         * iconvdata/Makefile (iconv-test.out): Pass module list to test
43257         script.
43258         * iconvdata/run-iconv-test.sh: New test loop for checking for
43259         decoder crashers.
43261 2014-09-02  Khem Raj  <raj.khem@gmail.com>
43263         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
43264         libm_hidden_ver.
43266 2014-09-01  Allan McRae  <allan@archlinux.org>
43268         * po/eo.po: Update Esperanto translation from translation project.
43270         * po/ca.po: Update Catalan translation from translation project.
43272 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43274         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
43275         __proc_dostop call.
43277 2014-08-27  Mark Wielaard  <mjw@redhat.com>
43279         [BZ #17319]
43280         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
43281         to call set_thread_area instead of hand written asm.
43282         (__NR_set_thread_area): Removed define.
43283         (TLS_FLAG_WRITABLE): Likewise.
43284         (__ASSUME_SET_THREAD_AREA): Remove check.
43285         (TLS_EBX_ARG): Remove define.
43286         (TLS_LOAD_EBX): Likewise.
43288 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43290         Simplify atomicity of socket creation in bind.
43292         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
43293         looking up the name after linking the file.
43295 2014-08-27  Allan McRae  <allan@archlinux.org>
43297         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43299 2014-08-26  Florian Weimer  <fweimer@redhat.com>
43301         [BZ #17187]
43302         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
43303         trans_compare, open_translit, __gconv_translit_find):
43304         Remove module loading code.
43306 2014-08-26  Allan McRae  <allan@archlinux.org>
43308         * po/vi.po: Update Vietnamese translation from translation project.
43310         * po/uk.po: Update Ukrainian translation from translation project.
43312         * po/fr.po: Update French translation from translation project.
43314         * po/ru.po: Update Russian translation from translation project.
43316         * po/pl.po: Update Polish translation from translation project.
43318         * po/cs.po: Update Czech translation from translation project.
43320         * po/de.po: Update German translation from translation project.
43322         * po/bg.po: Update Bulgarian translation from translation project.
43324         * po/sv.po: Update Sweedish translation from translation project.
43326         * po/nl.po: Update Dutch translation from translation project.
43328         * po/es.po: Update Spanish translation from translation project.
43330 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43332         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
43334         * catgets/Makefile (CPPFLAGS-gencat): Remove.
43335         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
43336         (CPPFLAGS-iconvconfig): Likewise.
43337         * timezone/Makefile (CPPFLAGS-zic): Likewise.
43339         * include/libc-symbols.h: Remove unnecessary check for
43340         NOT_IN_libc.
43341         * nptl/pthreadP.h: Likewise.
43342         * sysdeps/aarch64/setjmp.S: Likewise.
43343         * sysdeps/alpha/setjmp.S: Likewise.
43344         * sysdeps/arm/sysdep.h: Likewise.
43345         * sysdeps/i386/setjmp.S: Likewise.
43346         * sysdeps/m68k/setjmp.c: Likewise.
43347         * sysdeps/posix/getcwd.c: Likewise.
43348         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43349         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43350         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43351         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43352         * sysdeps/sh/sh3/setjmp.S: Likewise.
43353         * sysdeps/sh/sh4/setjmp.S: Likewise.
43354         * sysdeps/unix/alpha/sysdep.h: Likewise.
43355         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43356         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43357         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43358         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43361         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43362         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43363         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43364         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43365         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43366         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43367         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43368         * sysdeps/x86_64/setjmp.S: Likewise.
43370 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
43372         [BZ #17263]
43373         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
43374         <stdint.h>.
43375         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
43376         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
43378 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43380         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
43382         [BZ #17262]
43383         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
43384         and __x86_64__ when disabling x87 inline functions.
43386 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
43388         [BZ #17259]
43389         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
43390         asm statement with __cpuid_count.
43392 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
43394         * configure.ac: Change __ehdr_start code to dereference the struct.
43395         Run readelf on the output to look for relocations.
43396         * configure: Regenerated.
43398 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
43400         [BZ #17261]
43401         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
43402         value to 0.
43403         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
43405 2014-08-12  Roland McGrath  <roland@hack.frob.com>
43407         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
43409 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
43411         [BZ #16892]
43412         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
43413         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
43415 2014-08-12  Sean Anderson  <seanga2@gmail.com>
43417         * malloc/malloc.c: Fix typo in comment.
43419 2014-08-09  Allan McRae  <allan@archlinux.org>
43421         * Regenerate libc.po.
43423 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
43425         * intl/tst-gettext2.sh: Check every lang file for creation.
43427 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43429         * sysdeps/aarch64/fpu/math_private.h
43430         (libc_feholdsetround_noex_aarch64_ctx): New function.
43432 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43434         * sysdeps/arm/armv6/strcpy.S (strcpy):
43435         Fix performance issue in misaligned cases.
43437 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43439         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
43440         Move definition from termios.h.
43441         (struct termio): Likewise.
43442         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43443         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43444         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43445         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43446         Likewise.
43447         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
43448         Move definition to ioctl-types.h
43449         (struct termio): Likewise.
43450         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43451         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43452         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43453         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43454         Likewise.
43456 2014-08-05  Richard Henderson  <rth@redhat.com>
43458         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
43459         exceptions.
43460         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
43461         Add fraiseexcpt.
43462         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
43463         Use __feraiseexcept.
43464         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
43465         Protect libm symbols with IS_IN_libm.
43467         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
43469 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
43471         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
43473 2014-08-04  Will Newton  <will.newton@linaro.org>
43475         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
43476         file.
43478 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
43480         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
43481         variants for each function.
43483 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43485         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
43486         appended ...
43487         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
43488         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
43489         appended ...
43490         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
43491         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
43492         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
43493         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
43494         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
43495         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
43496         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
43497         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
43498         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
43499         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
43500         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
43501         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
43502         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
43503         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
43504         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
43505         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
43506         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
43507         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
43508         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
43509         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
43510         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
43511         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
43512         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
43513         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
43514         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
43515         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
43516         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
43517         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
43518         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
43519         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
43520         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
43521         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
43522         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
43523         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
43524         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
43525         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
43526         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
43527         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
43528         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
43529         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
43530         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
43531         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
43532         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
43533         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
43534         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
43535         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
43536         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
43537         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
43538         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
43539         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
43540         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
43541         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
43542         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
43543         Update #include.
43544         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
43545         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
43547 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43549         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
43550         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
43551         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
43552         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
43553         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
43554         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
43556 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43558         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
43559         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
43560         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43561         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
43563 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43565         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
43566         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
43567         (__libc_vfork): Define function under this name.
43568         (__vfork): Define as an alias.
43569         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
43570         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
43572 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43574         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
43575         that was previously under [RESET_PID].
43576         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
43578 2014-08-04  Andreas Schwab  <schwab@suse.de>
43580         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
43582 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
43584         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
43585         (main): Likewise.
43587 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43589         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
43591 2014-08-01  Richard Henderon  <rth@redhat.com>
43593         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
43594         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
43595         typo in exact zero test.
43596         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43597         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43598         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43600 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43602         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
43603         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
43604         * sysdeps/arm/sysdep.h: ... here.
43605         [!__ASSEMBLER__]: Include <stdint.h>.
43607 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43609         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
43610         (HAVE_WCTYPE_H): Likewise.
43611         (HAVE_ISWCTYPE): Likewise.
43612         (ENABLE_NLS): Likewise.
43613         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
43614         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
43616         * posix/regex_internal.c: Check if DEBUG is defined and is
43617         set.
43619         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
43620         (HAVE_MBSRTOWCS): Likewise.
43621         * posix/fnmatch.c: Include string.h unconditionally.
43623 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
43625         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
43626         reversal.
43628 2014-07-31  Roland McGrath  <roland@hack.frob.com>
43630         * sysdeps/generic/safe-fatal.h: New file.
43631         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
43632         * nptl/forward.c: Include it.
43633         (__pthread_unwind): Use __safe_fatal as default action, rather
43634         than a bogus use of INTERNAL_SYSCALL that could never work.
43636         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
43637         * configure.ac (libc_cv_builtin_trap): New test.
43638         * configure: Regenerated.
43639         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
43640         (ABORT_INSTRUCTION): Define using __builtin_trap.
43642         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
43643         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
43644         * sysdeps/nptl/nptl-signals.h: New file.
43645         * nptl/pthreadP.h: Include <nptl-signals.h>.
43647 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
43649         * sysdeps/s390/s390-64/utf16-utf32-z9.c
43650         (ONE_DIRECTION): Define.
43651         * sysdeps/s390/s390-64/utf8-utf16-z9.c
43652         (ONE_DIRECTION): Define.
43653         * sysdeps/s390/s390-64/utf8-utf32-z9.c
43654         (ONE_DIRECTION): Define.
43656 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
43658         * sysdeps/s390/Makefile: Delete file.
43659         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
43660         * sysdeps/s390/__longjmp.c: Delete file.
43661         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
43662         Remove fields __flags and __reserved.
43663         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
43664         and add versioning.
43665         * sysdeps/s390/rtld-__longjmp.c: Delete file.
43666         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
43667         * sysdeps/s390/rtld-setjmp.S: Likewise.
43668         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
43669         * sysdeps/s390/s390-32/__longjmp.c: ... here.
43670         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
43671         * sysdeps/s390/s390-32/setjmp.S: ... here.
43672         Add versioning.
43673         (__sigsetjmp): Remove setting __flags field.
43674         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
43675         * sysdeps/s390/s390-64/__longjmp.c: ... here.
43676         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
43677         * sysdeps/s390/s390-64/setjmp.S: ... here.
43678         Add versioning.
43679         (__sigsetjmp): Remove setting __flags field.
43680         * sysdeps/s390/setjmp.S: Delete file.
43681         * sysdeps/s390/sigjmp.c: Likewise.
43682         * sysdeps/s390/v1-longjmp.c: Likewise.
43683         * sysdeps/s390/v1-setjmp.h: Likewise.
43684         * sysdeps/s390/v1-sigjmp.c: Likewise.
43685         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
43686         Remove v1-longjmp_chk.
43687         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
43688         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
43689         Include debug/longjmp_chk.c and add versioning.
43690         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
43691         Include nptl/pt-longjmp.c and add versioning.
43692         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
43693         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
43694         Include __longjmp.c.
43695         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43696         Move to ...
43697         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
43698         (__getcontext): Remove setting __flags field.
43699         Add versioning.
43700         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
43701         Don't restore upper high grps.
43702         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
43703         Likewise.
43704         (__swapcontext): Remove setting uc_flags field.
43705         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
43706         Delete file.
43707         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43708         Include __longjmp.c.
43709         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43710         Move to ...
43711         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
43712         (__getcontext): Remove setting __flags field.
43713         Add versioning.
43714         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
43715         (__swapcontext): Remove setting uc_flags field.
43716         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
43717         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
43718         Remove fields uc_high_gprs and __reserved.
43719         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
43720         New file with reverted content.
43721         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
43722         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
43723         Regenerated.
43724         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
43725         Regenerated.
43727 2014-07-31  Andreas Schwab  <schwab@suse.de>
43729         * config.h.in (HAVE_IFUNC): Define to 0.
43730         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
43731         definedness.
43733 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
43735         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43736         memmove-avx-unaligned, memcpy-avx-unaligned and
43737         mempcpy-avx-unaligned.
43738         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43739         Add tests for AVX memcpy functions.
43740         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
43741         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
43742         memcpy_chk.
43743         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
43744         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
43745         memmove_chk.
43746         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
43747         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
43748         mempcpy_chk.
43749         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
43750         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
43751         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
43753 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43755         [BZ #17213]
43756         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
43757         powerpc64le.
43759 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
43761         [BZ #16839]
43762         * manual/llio.texi: Add section about open file description locks.
43763         * manual/examples/ofdlocks.c: Example of open file description
43764         lock usage.
43765         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
43766         F_OFD_SETLK, and F_OFD_SETLKW.
43768 2014-07-23  Allan McRae  <allan@archlinux.org>
43770         * po/es.po: Update Spanish translation from translation project.
43772 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
43774         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
43776 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
43778         [BZ #17078]
43779         * sysdeps/arm/dl-machine.h (elf_machine_rela)
43780         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
43781         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
43783 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
43785         [BZ #17088]
43786         * math/fesetenv.c (__fesetenv)
43787         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
43788         * math/feupdateenv.c (__feupdateenv)
43789         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
43791         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
43792         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
43793         (__ASSUME_SOCKETCALL): Do not define.
43795         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
43796         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
43797         (__ASSUME_SOCKETCALL): Do not define.
43798         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
43799         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
43800         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43801         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
43802         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43803         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
43804         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43805         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43807         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
43808         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
43809         (__ASSUME_SOCKETCALL): Do not define.
43810         (__ASSUME_IPC64): Define unconditionally.
43811         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43812         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43813         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
43814         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43815         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
43816         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43817         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
43818         Likewise.
43820         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
43821         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
43822         (__ASSUME_SOCKETCALL): Do not define.
43823         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
43824         (__ASSUME_FUTEX_LOCK_PI): Likewise.
43825         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43826         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43827         (__ASSUME_REQUEUE_PI): Define unconditionally.
43828         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
43829         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
43830         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43831         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
43832         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43833         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43835         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
43836         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
43837         (__ASSUME_SOCKETCALL): Do not define.
43838         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
43839         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43840         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43841         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
43842         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43843         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43845         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
43846         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
43847         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
43848         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
43849         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43850         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
43851         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
43852         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
43853         (__ASSUME_GETCPU_SYSCALL): Likewise.
43855         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
43856         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
43857         cases for individual architectures.
43858         * sysdeps/gnu/configure: Regenerated.
43859         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
43860         LIBC_SLIBDIR_RTLDDIR.
43861         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
43862         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
43863         LIBC_SLIBDIR_RTLDDIR.
43864         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
43865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
43866         LIBC_SLIBDIR_RTLDDIR.
43867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
43868         Regenerated.
43869         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
43870         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
43871         file.
43872         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
43873         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
43874         file.
43875         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
43876         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
43877         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
43878         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
43880         * sysdeps/aarch64/shlib-versions: Move to ...
43881         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
43882         * sysdeps/alpha/shlib-versions: Move to ...
43883         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
43884         * sysdeps/arm/shlib-versions: Move to ...
43885         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
43886         * sysdeps/hppa/shlib-versions: Move all contents except for
43887         libgcc_s entry to ...
43888         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
43889         entry from ...
43890         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
43891         * sysdeps/ia64/shlib-versions: Move to ...
43892         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
43893         entry from ...
43894         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
43895         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
43896         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
43897         * sysdeps/microblaze/shlib-versions: Move to ...
43898         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
43899         * sysdeps/mips/shlib-versions: Move to ...
43900         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
43901         entry from ...
43902         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
43903         * sysdeps/tile/shlib-versions: Move to ...
43904         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
43905         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
43906         from ...
43907         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
43908         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
43909         entry from ...
43910         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
43912 2014-07-17  Will Newton  <will.newton@linaro.org>
43914         * sysdeps/arm/bits/atomic.h
43915         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
43916         (__arch_compare_and_exchange_bool_16_int): Likewise.
43917         (__arch_compare_and_exchange_bool_64_int): Likewise.
43919         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
43920         into an #else block.
43922 2014-07-16  Roland McGrath  <roland@hack.frob.com>
43924         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
43925         just Linux configurations.  Test empirically that the compiler sets
43926         __ARM_EABI__, rather than using the tuple to decide.
43927         * sysdeps/arm/preconfigure: Regenerated.
43928         * sysdeps/unix/sysv/linux/arm/configure: File removed.
43929         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
43930         contents appended ...
43931         * sysdeps/arm/configure.ac: ... here.
43932         * sysdeps/arm/configure: Regenerated.
43934 2014-07-15  Roland McGrath  <roland@hack.frob.com>
43936         * nptl/pthread_kill.c: New file.
43937         * nptl/pthread_sigmask.c: New file.
43938         * nptl/pthread_sigqueue.c: New file.
43940         * sysdeps/nptl/lowlevellock.h: New file.
43941         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
43942         * sysdeps/nptl/lowlevellock-futex.h: New file.
43944         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
43945         Remove dead declarations.
43947 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
43949         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
43950         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
43951         config-cflags-avx2.
43952         * sysdeps/x86_64/configure.ac: Likewise.
43953         * sysdeps/i386/configure: Regenerated.
43954         * sysdeps/x86_64/configure: Likewise.
43955         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43956         memset-avx2 only if config-cflags-avx2 is yes.
43957         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43958         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
43959         defined.
43960         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
43961         only if HAVE_AVX2_SUPPORT is defined.
43962         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43964 2014-07-14  Alan Modra  <amodra@gmail.com>
43966         [BZ #17153]
43967         * elf/elf.h (DT_PPC64_NUM): Correct value.
43968         * NEWS: Add to fixed bug list.
43970 2014-07-13  Jim Meyering  <meyering@fb.com>
43972         [BZ 17150]
43973         regex: don't deref NULL upon heap allocation failure
43974         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
43975         failure in one more place.
43976         To trigger the segfault, configure grep -with-included-regex,
43977         build it, and run these commands:
43978         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
43980 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
43982         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43984 2014-07-11  Richard Henderson  <rth@redhat.com>
43986         * sysdeps/aarch64/libm-test-ulps: Update.
43988 2014-07-10  Florian Weimer  <fweimer@redhat.com>
43990         [BZ #17135]
43991         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
43992         * nptl/allocatestack.c (__nptl_setxid_error): New function.
43993         (__nptl_setxid): Initialize error member.  Call
43994         __nptl_setxid_error.
43995         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
43996         * nptl/descr.h (struct xid_command): Add error member.
43997         * nptl/tst-setuid3.c: New file.
43998         * nptl/Makefile (tests): Add it.
44000 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44002         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
44003         New define.
44004         (__lll_trylock): Use __lll_base_trylock.
44005         (__lll_cond_trylock): Likewise.
44007 2014-07-10  Roland McGrath  <roland@hack.frob.com>
44009         * nptl/pthread_create.c (start_thread): Use atomic_or and
44010         lll_futex_wake directly rather than lll_robust_dead.
44011         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
44012         (lll_robust_dead): Macro removed.
44013         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
44014         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
44015         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
44016         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
44017         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
44018         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
44019         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
44020         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
44021         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
44022         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
44023         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
44024         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
44025         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
44026         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44027         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
44029         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
44030         Use atomic_compare_and_exchange_val_acq directly rather than
44031         lll_robust_trylock.
44032         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
44033         (__lll_robust_trylock, lll_robust_trylock): Removed.
44034         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
44035         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
44036         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
44037         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
44038         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
44039         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
44040         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
44041         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
44042         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
44043         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
44044         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
44045         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
44046         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44047         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
44049 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44051         * manual/locale.texi (Locale Names): New section documenting
44052         locale name syntax.  Adjust menu and node chaining accordingly.
44053         (Choosing Locale): Reference Locale Names, Locale Categories.
44054         Mention setting LC_ALL=C.  Reflect that name syntax is now
44055         documented.
44056         (Locale Categories): New section title.  Reference Locale Names.
44057         LC_ALL is an environment variable, but not a category.
44058         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
44059         description, now in Locale Name.  Reference that section.  Locale
44060         name syntax is now documented.
44062 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44064         [BZ #17137]
44065         * locale/findlocale.c (name_present, valid_locale_name): New
44066         functions.
44067         (_nl_find_locale): Use the loc_name variable to store name
44068         candidates.  Call name_present and valid_locale_name to check and
44069         validate locale names.  Return an error if the locale is invalid.
44071 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44073         * locale/setlocale.c (setlocale): Use strdup for allocating
44074         composite name copy.
44076 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44078         Sync up with gnulib.
44079         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
44080         [!_LIBC && ENABLE_NLS]: Include gettext.h.
44081         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
44082         and _GL_ARG_NONNULL.
44083         [USE_UNLOCKED_IO]: Include unlocked-io.h.
44084         [!_LIBC]: Include code for Windows and Cygwin.
44085         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
44086         Include prototype for int strerror_r.
44087         [!_LIBC] (is_open): New function.
44088         (flush_stdout): New function.
44089         (print_errno_message): Use it.
44090         (error): Likewise.
44091         (error_at_line): Likewise.
44092         (error_tail) Add function attribute macros.  Use
44093         __builtin_expect.
44095         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
44097         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
44099         * io/ftw.c: Include sys/param.h unconditionally.
44101         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
44103         [BZ #17125]
44104         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
44105         libc_freeres_ptr.
44106         (freecache): New function to free CACHE on exit.
44108         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
44109         initialization.
44111 2014-07-09  David S. Miller  <davem@davemloft.net>
44113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44115         * sysdeps/sparc/nptl/internaltypes.h: Delete.
44116         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
44117         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
44118         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
44119         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
44120         * sysdeps/sparc/nptl/sem_init.c: Likewise.
44121         * sysdeps/sparc/nptl/sem_post.c: Likewise.
44122         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
44123         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
44124         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
44125         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
44126         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
44127         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
44129 2014-07-09  Andreas Schwab  <schwab@suse.de>
44131         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
44132         output.
44133         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
44134         (do_test): Likewise.
44136         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44138 2014-07-09  Will Newton  <will.newton@linaro.org>
44140         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
44141         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
44142         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
44143         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
44144         * sysdeps/hppa/start.S (_start): Likewise.
44146 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
44148         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
44150         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
44151         defined.
44153 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44155         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
44156         after checking that it is non-NULL.
44158         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
44160 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44162         * sysdeps/powerpc/memmove.c: Remove file.
44163         * sysdeps/powerpc/powerpc32/power4/memcopy.h
44164         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
44165         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
44166         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
44167         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
44168         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
44169         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
44170         string memmove instead of removed powerpc one.
44172         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44173         [weak_alias]: Fix compiler warning due trailing data.
44174         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
44175         [weak_alias]: Likewise.
44176         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
44177         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
44179         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44180         (__libc_ifunc_impl_list): Add memmove functions.
44182 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44184         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
44185         Remove code.
44186         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
44187         Likewise.
44188         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
44189         Likewise.
44190         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
44191         Likewise.
44192         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
44193         Likewise.
44194         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
44195         Likewise.
44196         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
44197         Likewise.
44198         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
44199         Likewise.
44200         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
44201         Likewise.
44202         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
44203         Likewise.
44204         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
44205         Likewise.
44206         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
44207         Likewise.
44208         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
44209         Likewise.
44210         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
44211         Likewise.
44212         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
44213         Likewise.
44214         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
44215         Likewise.
44216         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
44217         Likewise.
44219 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44221         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
44222         to avoid alignment traps in non-cacheable memory.
44223         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44225         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
44226         multiarch objects.
44227         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
44228         file: multiarch power7 memmove.
44229         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
44230         multiarch default memmove.
44231         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
44232         multiarch memove for powerpc32/power4.
44234         * string/bcopy.c: Use full path to include memmove.c.
44235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
44236         multiarch objects.
44237         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
44238         bcopy for powerpc64.
44239         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
44240         bcopy for powerpc64.
44241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
44242         and memmove implementations.
44243         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
44244         optimized multiarch memmove for POWER7/powerpc64.
44245         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
44246         default multiarch memmove for powerpc64.
44247         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
44248         multiarch for powerpc64.
44249         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
44250         for POWER7/powerpc64.
44251         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
44252         memmove for POWER7/powerpc64.
44254         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
44255         glibc default one.
44257         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
44258         __ELF_NATIVE_CLASS equal to 64.
44260 2014-07-07  Roland McGrath  <roland@hack.frob.com>
44262         * sysdeps/nptl/lowlevellock.h: File removed.
44264         * NEWS: NPTL is no longer an add-on!
44265         * nptl/internaltypes.h: Moved ...
44266         * sysdeps/nptl/internaltypes.h: ... here.
44267         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
44268         * sysdeps/nptl/fork.c: Likewise.
44269         * sysdeps/nptl/gai_misc.h: Likewise.
44270         * sysdeps/nptl/librt-cancellation.c: Likewise.
44271         * sysdeps/nptl/jmp-unwind.c: Likewise.
44272         * sysdeps/nptl/setxid.h: Likewise.
44273         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
44274         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
44275         * sysdeps/unix/sysv/linux/arm/Implies: New file.
44276         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
44277         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
44278         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
44279         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
44280         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
44281         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
44282         * sysdeps/unix/sysv/linux/mips/Implies: New file.
44283         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
44284         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
44285         * sysdeps/unix/sysv/linux/sh/Implies: New file.
44286         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
44287         * sysdeps/unix/sysv/linux/tile/Implies: New file.
44288         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
44289         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
44290         * nptl/Makeconfig: Moved ...
44291         * sysdeps/nptl/Makeconfig: ... here.
44292         * nptl/configure: File removed.
44293         * nptl/ANNOUNCE: File removed.
44294         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
44295         * sysdeps/unix/sysv/linux/configure: Regenerated.
44297         * nptl/Makefile (routines): Add libc_pthread_init,
44298         libc_multiple_threads, register-atfork and unregister-atfork.
44299         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
44300         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
44301         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
44302         pthread-pi-defines.sym, structsem.sym.
44303         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
44304         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
44305         [$(subdir) = nptl] (tests): Add tst-setgetname.
44306         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
44307         * sysdeps/unix/sysv/linux/sigaction.c: Just include
44308         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
44309         [!LIBC_SIGACTION]: Remove aliases.
44310         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44311         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
44312         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
44313         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
44314         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
44315         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
44316         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44317         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44318         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44319         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
44320         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
44321         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
44322         __libc_allocate_rtsig_private.
44323         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
44324         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
44325         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
44326         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
44327         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
44328         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
44329         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
44330         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
44331         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
44332         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
44333         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
44334         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
44335         * nptl/internaltypes.h: ... here.
44336         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
44337         * sysdeps/nptl/jmp-unwind.c: ... here.
44338         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
44339         * nptl/libc-lowlevellock.c: ... here.
44340         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
44341         * nptl/libc_multiple_threads.c: ... here.
44342         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
44343         * nptl/libc_pthread_init.c: ... here.
44344         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
44345         * nptl/lowlevelbarrier.sym: ... here.
44346         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
44347         * nptl/lowlevelcond.sym: ... here.
44348         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
44349         * nptl/lowlevellock.c: ... here.
44350         * nptl/lowlevellock.h: Moved ...
44351         * sysdeps/nptl/lowlevellock.h: ... here.
44352         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
44353         * nptl/lowlevelrobustlock.c: ... here.
44354         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
44355         * nptl/lowlevelrobustlock.sym: ... here.
44356         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
44357         * nptl/lowlevelrwlock.sym: ... here.
44358         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
44359         * nptl/pt-fork.c: ... here.
44360         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
44361         * nptl/pthread-pi-defines.sym: ... here.
44362         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
44363         * nptl/pthread_attr_getaffinity.c: ... here.
44364         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
44365         * nptl/pthread_attr_setaffinity.c: ... here.
44366         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
44367         * nptl/pthread_mutex_cond_lock.c: ... here.
44368         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44369         Update #include.
44370         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
44371         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
44372         * nptl/pthread_once.c: ... here, replacing old file.
44373         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
44374         * nptl/pthread_yield.c: ... here.
44375         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
44376         * nptl/register-atfork.c: ... here.
44377         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
44378         * nptl/sem_post.c: ... here.
44379         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
44380         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
44381         * nptl/sem_timedwait.c: ... here.
44382         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
44383         * nptl/sem_trywait.c: ... here.
44384         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
44385         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
44386         * nptl/sem_wait.c: ... here.
44387         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
44388         * nptl/structsem.sym: ... here.
44389         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
44390         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
44391         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
44392         * nptl/unregister-atfork.c: ... here.
44393         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
44394         * nptl/unwindbuf.sym: ... here.
44395         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
44396         * sysdeps/nptl/fork.c: ... here.
44397         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
44398         * sysdeps/nptl/fork.h: ... here.
44399         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
44400         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
44401         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
44402         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
44403         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
44404         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
44405         * sysdeps/unix/sysv/linux/getpid.c: ... here.
44406         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
44407         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
44408         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
44409         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
44410         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
44411         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
44412         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
44413         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
44414         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
44415         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
44416         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
44417         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
44418         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
44419         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
44420         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
44421         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
44422         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
44423         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
44424         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
44425         * sysdeps/unix/sysv/linux/raise.c: ... here.
44426         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
44427         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
44428         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
44429         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
44430         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
44431         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
44432         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
44433         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
44434         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
44435         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
44436         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
44437         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
44438         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
44439         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
44440         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
44442 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44444         * sysdeps/generic/memcopy.h: Add comment for
44445         MEMCPY_OK_FOR_FWD_MEMMOVE.
44447 2014-07-04  Will Newton  <will.newton@linaro.org>
44449         * string/memchr.c: Merge from gnulib.
44450         [_LIBC]: Remove conditionals.
44451         (__ptr_t): Remove define.
44452         (LONG_MAX_32_BITS): Likewise.
44453         (LONG_MAX): Likewise.
44454         (MEMCHR): Use ANSI prototype and optimize algorithm.
44456         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
44458 2014-07-03  Roland McGrath  <roland@hack.frob.com>
44460         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
44461         (lll_futex_timed_wait_bitset): Fix syscall argument count.
44463         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
44464         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
44465         in a bare environment with no <stdlib.h> installed.
44466         * sysdeps/nptl/configure: Regenerated.
44468         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
44470         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
44471         AC_EGREP_CPP for kernel header checks, so they only succeed if
44472         including <linux/version.h> actually works right.
44473         * sysdeps/unix/sysv/linux/configure: Regenerated.
44475         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
44476         value so it's not diagnosed as unused.
44478         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
44479         thing) with "ifeq ($(subdir),rt)".
44481 2014-07-03  Richard Henderson  <rth@redhat.com>
44483         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
44484         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
44485         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
44487         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
44488         (math_force_eval): New.
44490         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
44491         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
44493         * sysdeps/alpha/fpu/s_round.c: Remove file.
44494         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
44496         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
44497         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
44498         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
44499         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
44500         (_dl_start, print_statistics): Likewise.
44501         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
44502         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
44504         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44505         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44506         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44507         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44508         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44509         (HP_SMALL_TIMING_AVAIL): Define.
44510         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44511         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44512         (HP_SMALL_TIMING_AVAIL): Define.
44513         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44514         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44516         * sysdeps/aarch64/hp-timing.h: New file.
44518         * sysdeps/generic/hp-timing.h: Remove dead comment.
44519         * sysdeps/generic/hp-timing-common.h: New file.
44520         * sysdeps/alpha/hp-timing.h: Include it.
44521         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
44522         * sysdeps/i386/i686/hp-timing.h: Likewise.
44523         * sysdeps/ia64/hp-timing.h: Likewise.
44524         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44525         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44526         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44527         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44528         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
44529         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
44530         (hp_timing_t): New.
44532         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
44533         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
44534         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
44535         * elf/rtld.c (_dl_start_final): Likewise.
44536         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
44537         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44538         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44539         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44540         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44541         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44542         (HP_TIMING_DIFF_INIT): Remove.
44543         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44544         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44545         (HP_TIMING_DIFF_INIT): Remove.
44546         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44547         * sysdeps/i386/i686/hp-timing.c: Remove file.
44548         * sysdeps/x86_64/hp-timing.c: Remove file.
44549         * sysdeps/ia64/hp-timing.c: Remove file.
44550         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
44551         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
44552         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
44553         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
44555         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
44556         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
44557         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
44558         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44559         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44560         (HP_TIMING_ACCUM): Remove.
44561         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44562         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
44563         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44565         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
44566         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
44567         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
44568         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
44569         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
44570         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44571         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
44572         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44574         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
44576 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
44578         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
44580 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44582         Sync up with gettext.
44583         * intl/loadmsgcat.c: Define O_BINARY if not defined.
44584         [_MSC_VER]: Include malloc.h
44585         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
44586         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
44587         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
44588         TEMP_FAILURE_RETRY.  Cast return of alloca.
44589         [!_LIBC] Call gl_rwlock_init.
44590         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
44592 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44594         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
44595         before checking its value.
44597 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44599         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
44601         * debug/memcpy_chk.c: Don't include pagecopy.h.
44602         * debug/mempcpy_chk.c: Likewise.
44603         * string/memcpy.c: Likewise.
44604         * string/memmove.c: Likewise.
44605         * sysdeps/powerpc/memmove.c: Likewise.
44606         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
44607         definition of PAGE_COPY_FWD_MAYBE here...
44608         * sysdeps/generic/pagecopy.h: ... from here.
44609         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
44611 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44612             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44614         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
44615         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
44616         optimizations.
44617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44618         (__libc_ifunc_impl_list): Likewise.
44619         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
44620         multiarch strcat for PPC64.
44621         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
44622         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
44624 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44626         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
44628 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44630         * intl/loadmsgcat.c: Remove declaration of
44631         get_sysdep_segment_value.
44632         (get_sysdep_segment_value): Use ISO C style.
44633         (_nl_load_domain): Use ISO C style.  Get rid of redundant
44634         semicolon.  Fix typo and formatting in comment.
44635         (_nl_unload_domain): Use ISO C style.
44637         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
44639 2014-07-02  Will Newton  <will.newton@linaro.org>
44641         * malloc/obstack.c: Merge from gnulib master.
44642         [HAVE_CONFIG_H]: Remove conditional code.
44643         [!_LIBC]: Include config.h.
44644         [!ELIDE_CODE]: Don't include inttypes.h, include
44645         stdint.h unconditionally.
44646         (print_and_abort): Mark as _Noreturn.
44647         (_obstack_allocated_p): Mark as __attribute_pure__.
44648         (obstack_free): Rename to __obstack_free.
44649         [!__attribute__]: Remove conditional code.
44650         * malloc/obstack.h: Merge from gnulib master.
44651         [__cplusplus]: Move conditional down.
44652         [!__attribute_pure__]: Define __attribute_pure__ here
44653         if it is not already defined.
44654         (_obstack_memory_used): Mark as __attribute_pure__.
44655         [!__obstack_free]: Define as obstack_free.
44656         [__GNUC__]: Remove check for ancient NeXT gcc.
44658 2014-07-02  Will Newton  <will.newton@linaro.org>
44659             Paul Eggert  <eggert@cs.ucla.edu>
44661         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
44663 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44665         * resolv/gethnamaddr.c: Add comment warning that the file is
44666         not maintained.
44668 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
44670         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
44671         entries.
44673         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
44674         entry for aio_cancel and aio_cancel64.
44675         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
44676         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
44677         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
44678         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
44679         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
44680         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
44681         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
44682         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
44683         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
44684         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
44685         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
44686         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
44687         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
44689 2014-07-01  Roland McGrath  <roland@hack.frob.com>
44691         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
44692         * nptl/pthread_mutex_lock.c: Likewise.
44693         * nptl/pthread_mutex_timedlock.c: Likewise.
44694         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
44696 2014-07-01  Richard henderson  <rth@redhat.com>
44698         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
44699         (__isnan, __isnanl): Remove.
44700         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
44702         * sysdeps/alpha/fpu/libm-test-ulps: Update.
44704 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
44706         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44708 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
44710         * resolv/nss_dns/dns-host.c (getanswer_r)
44711         [MULTI_PTRS_ARE_ALIASES]: Remove code.
44713 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
44715         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44716         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
44717         undefine.
44718         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
44719         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
44721 2014-07-01  Roland McGrath <roland@hack.frob.com>
44723         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
44724         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
44726         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
44727         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
44729         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
44730         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
44731         ... here.
44732         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
44733         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
44735         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
44736         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
44737         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
44738         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
44740         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
44741         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
44742         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
44743         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
44744         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
44745         Moved ...
44746         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
44747         ... here.
44748         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
44749         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
44750         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
44751         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
44752         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
44753         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
44754         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
44755         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
44756         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
44757         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
44758         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
44759         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
44760         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
44761         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
44762         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
44763         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
44764         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
44765         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
44766         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
44767         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
44768         ... here.
44769         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
44770         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
44771         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
44772         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
44773         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
44774         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
44775         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
44776         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
44778 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
44780         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
44781         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
44782         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
44783         Add sysdep.
44785 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44789 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
44791         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
44792         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44794         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44796         * sysdeps/arm/libm-test-ulps: Regenerated.
44798 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
44799             Roland McGrath <roland@hack.frob.com>
44801         * test-skeleton.c (signal_handler): Kill the whole process group
44802         before killing the child individually.
44803         (main): Report any failure on `setpgid'.
44805 2014-06-30  Roland McGrath  <roland@hack.frob.com>
44807         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
44808         from _TLS_H to _ARM_NPTL_TLS_H.
44809         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
44810         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
44812 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
44814         [BZ #16539]
44815         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
44816         (__expm1l): Return argument unchanged when small but not
44817         subnormal.
44819         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
44820         include macro name.
44821         (_FP_UNPACK_RAW_1_P): Likewise.
44822         (_FP_PACK_RAW_1): Likewise.
44823         (_FP_PACK_RAW_1_P): Likewise.
44824         (_FP_MUL_MEAT_1_wide): Likewise.
44825         (_FP_MUL_MEAT_DW_1_hard): Likewise.
44826         (_FP_MUL_MEAT_1_hard): Likewise.
44827         (_FP_DIV_MEAT_1_imm): Likewise.
44828         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
44829         (_FP_DIV_MEAT_1_udiv): Likewise.
44830         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
44831         (_FP_UNPACK_RAW_2): Likewise.
44832         (_FP_UNPACK_RAW_2_P): Likewise.
44833         (_FP_PACK_RAW_2): Likewise.
44834         (_FP_PACK_RAW_2_P): Likewise.
44835         (_FP_MUL_MEAT_DW_2_wide): Likewise.
44836         (_FP_MUL_MEAT_2_wide): Likewise.
44837         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
44838         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
44839         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
44840         (_FP_MUL_MEAT_2_gmp): Likewise.
44841         (_FP_DIV_MEAT_2_udiv): Likewise.
44842         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
44843         (_FP_FRAC_SRL_4): Likewise.
44844         (_FP_FRAC_SRST_4): Likewise.
44845         (_FP_FRAC_SRS_4): Likewise.
44846         (_FP_UNPACK_RAW_4): Likewise.
44847         (_FP_UNPACK_RAW_4_P): Likewise.
44848         (_FP_PACK_RAW_4): Likewise.
44849         (_FP_PACK_RAW_4_P): Likewise.
44850         (_FP_MUL_MEAT_DW_4_wide): Likewise.
44851         (_FP_MUL_MEAT_4_wide): Likewise.
44852         (_FP_MUL_MEAT_4_gmp): Likewise.
44853         (umul_ppppmnnn): Likewise.
44854         (_FP_DIV_MEAT_4_udiv): Likewise.
44855         (__FP_FRAC_ADD_4): Likewise.
44856         (__FP_FRAC_SUB_3): Likewise.
44857         (__FP_FRAC_SUB_4): Likewise.
44858         (__FP_FRAC_DEC_3): Likewise.
44859         (__FP_FRAC_DEC_4): Likewise.
44860         (__FP_FRAC_ADDI_4): Likewise.
44861         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
44862         (_FP_FRAC_SRL_8): Likewise.
44863         (_FP_FRAC_SRS_8): Likewise.
44865         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
44866         include macro name.
44867         (FP_UNPACK_RAW_EP): Likewise.
44868         (FP_PACK_RAW_E): Likewise.
44869         (FP_PACK_RAW_EP): Likewise.
44870         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
44871         (_FP_ISSIGNAN): Likewise.
44872         (_FP_ADD_INTERNAL): Likewise.
44873         (_FP_FMA): Likewise.
44874         (_FP_CMP): Likewise.
44875         (_FP_SQRT): Likewise.
44876         (_FP_TO_INT): Likewise.
44877         (_FP_FROM_INT): Likewise.
44878         (FP_EXTEND): Likewise.
44879         (_FP_DIV_MEAT_N_loop): Likewise.
44881 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
44883         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
44884         throughout.
44886 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
44888         [BZ #17097]
44889         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
44890         result with correct sign in case of exponents that produce
44891         overflow except for X very close to 1.
44893 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
44895         mktime: merge #if/#ifdef usage from glibc
44896         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
44897         as that works with both Glibc's and Gnulib's style.
44898         See thread starting at Siddhesh Poyarekar's bug report at:
44899         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
44901 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44903         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
44904         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
44905         * sysdeps/tile/tilegx/memmove.c: Remove file.
44907 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
44909         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
44910         abi-name definition.
44911         * scripts/soversions.awk: Do not handle or generate ABI lines.
44912         * shlib-versions: Remove ABI entries.
44913         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
44914         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
44916 2014-06-27  Roland McGrath  <roland@hack.frob.com>
44918         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
44919         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
44920         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
44921         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
44922         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
44923         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
44924         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
44925         Moved ...
44926         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
44927         ... here.
44928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
44929         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
44930         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
44931         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
44932         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
44933         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
44934         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
44935         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
44936         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
44937         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
44938         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
44939         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
44940         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
44941         Moved ...
44942         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
44943         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
44944         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
44945         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
44946         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
44947         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
44948         Moved ...
44949         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
44950         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
44951         Moved ...
44952         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
44953         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
44954         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
44955         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
44956         Moved ...
44957         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
44958         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
44959         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
44960         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
44961         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
44962         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
44963         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
44964         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
44965         Moved ...
44966         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
44967         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
44968         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
44969         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
44970         Moved ...
44971         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
44972         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
44973         Moved ...
44974         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
44975         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
44976         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
44977         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
44978         Moved ...
44979         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
44980         ... here.
44981         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
44982         Identical file removed.
44983         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
44984         Moved ...
44985         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
44986         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
44987         Identical file removed.
44988         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
44989         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
44990         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
44991         Moved ...
44992         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
44993         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
44994         Identical file removed.
44995         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
44996         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
44997         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
44998         Identical file removed.
44999         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
45000         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
45001         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
45002         Identical file removed.
45003         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
45004         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
45005         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
45006         Identical file removed.
45007         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
45008         Moved ...
45009         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
45010         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
45011         Identical file removed.
45012         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
45013         Moved ...
45014         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
45015         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
45016         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
45017         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
45018         Identical file removed.
45019         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
45020         Moved ...
45021         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
45022         ... here.
45023         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
45024         Identical file removed.
45025         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
45026         Moved ...
45027         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
45028         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
45029         Identical file removed.
45030         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
45031         Moved ...
45032         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
45033         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
45034         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
45035         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
45036         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
45037         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
45038         Moved ...
45039         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
45040         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
45041         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
45043         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
45044         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
45045         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
45046         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
45047         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
45049 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
45051         [BZ #17092]
45052         * nscd/nscd.c (monitor_child): Return exit status of child
45053         instead of return value from wait syscall.
45055 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
45057         * configure.ac (libc_commonpagesize): Remove variable.
45058         (libc_relro_required): Likewise.
45059         (libc_cv_z_relro): Remove configure test.
45060         * configure: Regenerated.
45061         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
45062         variable.
45063         (libc_relro_required): Likewise.
45064         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
45065         (libc_relro_required): Likewise.
45066         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
45067         (libc_relro_required): Likewise.
45068         * sysdeps/arm/preconfigure: Regenerated.
45069         * sysdeps/ia64/preconfigure: Remove file.
45070         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
45071         variable.
45072         (libc_relro_required): Likewise.
45074         [BZ #16561]
45075         [BZ #16562]
45076         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
45077         (__ieee754_yn): Set FE_TONEAREST mode internally and then
45078         recompute overflowing results in original rounding mode.
45079         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
45080         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
45081         recompute overflowing results in original rounding mode.
45082         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
45083         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45084         recompute overflowing results in original rounding mode.
45085         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
45086         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45087         recompute overflowing results in original rounding mode.
45088         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
45089         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45090         recompute overflowing results in original rounding mode.
45091         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
45092         (libc_feholdsetround_ctx): New macro.
45093         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
45094         * sysdeps/i386/fpu/libm-test-ulps: Update.
45095         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
45097 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45099         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
45100         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
45101         corresponding .cpsetup call.
45103 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45105         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
45106         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
45107         * sysdeps/arm/Makefile [$(subdir) = csu]
45108         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
45109         (static-only-routines): Add aeabi_read_tp here.
45110         (shared-only-routines): Add libc-aeabi_read_tp here.
45111         (CFLAGS-libc-start.c): Add -fexceptions here.
45112         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
45113         (sysdep_routines, static-only-routines, shared-only-routines):
45114         Don't add to these here.
45115         (CFLAGS-libc-start.c): Likewise.
45117         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
45118         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45119         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
45120         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45121         * sysdeps/arm/Makefile [$(subdir) = rt]
45122         (librt-sysdep_routines, librt-shared-only-routines):
45123         Append rt-aeabi_unwind_cpp_pr1 here.
45124         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
45125         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
45126         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
45127         (libpthread-sysdep_routines, libpthread-shared-only-routines):
45128         Append nptl-aeabi_unwind_cpp_pr1 here.
45129         (tests): Filter out tst-cleanupx4 here.
45130         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
45131         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
45132         Don't do those here.
45134 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45136         * scripts/list-sources.sh: Do not handle ports specially.
45138 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45140         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
45141         * sysdeps/arm/feupdateenv.c: Likewise.
45143         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
45145 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45147         * manual/texinfo.tex: Update to version 2014-05-05.10 with
45148         trailing whitespace removed.
45149         * scripts/config.guess: Update to version 2014-03-23.
45150         * scripts/config.sub: Update to version 2014-05-01
45151         * scripts/install-sh: Update to version 2013-12-25.23.
45152         * scripts/move-if-change: Update from gnulib.
45154 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45156         * debug/memmove_chk.c: Remove pagecopy.h include.
45158 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
45160         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
45161         identical to gnulib mktime.
45163 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45165         * configure.ac: Do not test for machine being rs6000.  Do not test
45166         for powerpc*-*soft.
45167         * configure: Regenerated.
45169         [BZ #11505]
45170         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
45171         test.
45172         * configure: Regenerated.
45173         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
45174         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
45175         Remove configure test.
45176         * sysdeps/arm/configure: Regenerated.
45177         * sysdeps/nptl/configure.ac: Do not check
45178         libc_cv_asm_cfi_directives.
45179         * sysdeps/nptl/configure: Regenerated.
45180         * sysdeps/x86_64/nptl/configure.ac: Remove file.
45181         * sysdeps/x86_64/nptl/configure: Remove generated file.
45182         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
45183         unconditional.
45184         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
45186 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45188         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
45189         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
45190         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
45191         it is defined.
45193         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
45194         instead of whether it is defined.
45195         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
45196         * sysdeps/hppa/dl-machine.h: Likewise.
45197         * sysdeps/ia64/dl-machine.h: Likewise.
45198         * sysdeps/m68k/dl-machine.h: Likewise.
45199         * sysdeps/microblaze/dl-machine.h: Likewise.
45200         * sysdeps/mips/dl-machine.: Likewise.
45201         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45202         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45203         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45204         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45205         * sysdeps/sh/dl-machine.h: Likewise.
45206         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45207         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45208         * sysdeps/tile/dl-machine.h: Likewise.
45209         * sysdeps/x86_64/dl-machine.h: Likewise.
45211         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
45212         code.
45213         (verify_persistent_db): Likewise.
45215 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
45218         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
45219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
45220         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
45221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45222         Moved ...
45223         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
45224         ... here.
45225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
45226         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
45227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
45228         Identical file removed.
45229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
45230         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
45231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
45232         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
45233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
45234         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
45235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
45236         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
45237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
45238         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
45239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45240         Moved ...
45241         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
45242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
45243         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
45244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
45245         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
45246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45247         Moved ...
45248         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
45249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
45250         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
45251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
45252         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
45253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45254         Identical file removed.
45255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
45256         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
45257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
45258         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
45259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45260         Moved ...
45261         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
45262         ... here.
45263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
45264         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
45265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
45266         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
45267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
45268         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
45269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
45270         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
45271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
45272         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
45273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45274         Moved ...
45275         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
45276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
45277         Moved ...
45278         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
45279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
45280         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
45281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45282         Moved ...
45283         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
45284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
45285         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
45287         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
45288         folded into ...
45289         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
45290         * sysdeps/unix/sysv/linux/s390/Versions
45291         (libpthread: GLIBC_2.19): New version set.
45292         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
45293         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
45294         (librt: GLIBC_2.3.3): New version set.
45295         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
45296         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
45297         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
45298         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
45299         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
45300         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
45301         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
45302         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
45303         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
45304         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
45305         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
45306         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
45307         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
45308         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
45309         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
45310         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
45311         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
45312         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
45313         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
45314         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
45315         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
45316         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
45317         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
45318         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
45319         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
45320         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
45321         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
45322         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
45323         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
45324         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
45325         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
45326         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
45327         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
45328         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
45329         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
45330         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
45331         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
45332         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
45333         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
45334         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
45335         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
45336         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
45337         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
45338         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
45339         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
45341         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
45342         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
45343         (__libc_vfork): Define the function under this name.
45344         [!NOT_IN_libc] (__vfork): Make this an alias.
45345         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45346         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
45347         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
45348         (__libc_vfork): Define the function under this name.
45349         [!NOT_IN_libc] (__vfork): Make this an alias.
45350         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45351         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
45352         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
45353         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
45354         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
45355         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45357         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
45358         code that was previously under [RESET_PID].
45359         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
45360         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
45361         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
45363         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
45364         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
45365         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
45366         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
45367         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
45368         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
45369         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
45370         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
45371         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
45372         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
45373         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
45374         Moved ...
45375         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
45376         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
45377         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
45378         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
45379         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
45380         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
45381         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
45382         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
45383         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
45384         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
45385         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
45386         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
45387         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
45388         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
45389         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
45390         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
45391         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
45392         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
45393         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
45394         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
45395         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
45396         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
45397         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
45398         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
45399         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
45400         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
45401         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
45402         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
45403         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
45405 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45407         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
45408         that was previously under [RESET_PID].
45409         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
45411 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45413         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
45414         not undefine and redefine.
45415         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
45416         [O_CLOEXEC]: Make code unconditional.
45417         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
45418         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
45419         <kernel-features.h>.
45420         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
45421         conditional variable definition.
45422         (shm_open) [O_CLOEXEC]: Make code unconditional.
45423         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
45424         code.
45426         * configure.ac (USE_REGPARMS): Don't define here.
45427         * configure: Regenerated.
45428         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
45429         * sysdeps/i386/configure: Regenerated.
45431         * nptl/createthread.c: Don't include kernel-features.h.
45432         * nptl/pthread_cancel.c: Likewise.
45433         * nptl/pthread_condattr_setclock.c: Likewise.
45434         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
45435         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
45436         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
45437         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
45438         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
45439         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
45440         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
45441         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
45442         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
45443         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
45444         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
45445         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
45446         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
45447         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
45448         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
45449         * nscd/gai.c: Likewise.
45450         * nss/nss_db/db-open.c: Likewise.
45451         * sysdeps/generic/ldsodefs.h: Likewise.
45452         * sysdeps/sh/nptl/tls.h: Likewise.
45453         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45454         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
45455         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
45456         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
45457         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
45458         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45459         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
45460         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45461         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45462         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
45463         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
45464         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45465         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
45466         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
45467         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
45468         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
45469         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
45470         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
45471         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
45472         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
45473         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
45474         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
45475         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
45476         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
45477         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
45478         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
45479         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
45480         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
45481         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
45482         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
45483         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
45484         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
45485         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
45486         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45487         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45488         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45489         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45490         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
45491         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
45492         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
45493         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45494         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
45495         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
45496         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45497         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
45498         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
45499         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
45500         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
45501         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
45502         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
45503         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
45504         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
45505         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
45506         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45507         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
45508         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45509         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45510         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
45511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
45513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
45514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
45515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
45516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
45517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
45518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
45519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
45522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
45523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
45524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
45525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
45531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
45532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
45533         * sysdeps/unix/sysv/linux/pread.c: Likewise.
45534         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
45535         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
45536         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
45537         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
45538         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
45539         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
45540         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
45541         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
45542         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
45543         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
45544         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
45545         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
45546         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
45547         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
45548         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
45549         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45550         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
45551         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
45552         * sysdeps/unix/sysv/linux/system.c: Likewise.
45553         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
45554         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
45555         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45556         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45557         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45558         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45559         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45561         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
45562         * configure: Regenerated.
45563         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
45565         * configure.ac (base_machine): Do not set specially for particular
45566         machines here.
45567         * configure: Regenerated.
45568         * sysdeps/powerpc/preconfigure: Move machine and base_machine
45569         settings from configure.ac.
45570         * sysdeps/i386/preconfigure: New file.
45571         * sysdeps/s390/preconfigure: Likewise.
45572         * sysdeps/sh/preconfigure: Likewise.
45573         * sysdeps/sparc/preconfigure: Likewise.
45575 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45577         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
45578         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
45579         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
45580         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
45581         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
45582         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
45583         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
45584         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
45585         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
45586         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
45587         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
45588         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
45589         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
45590         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
45591         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
45592         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
45593         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
45594         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
45595         * sysdeps/sparc/sparc64/Makefile: ... appended here.
45597         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
45598         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
45599         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
45600         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
45601         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
45602         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
45603         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
45604         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
45605         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
45606         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
45607         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
45608         * sysdeps/sparc/sparc32/sem_post.c: ... here.
45609         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
45610         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
45611         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
45612         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
45613         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
45614         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
45615         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
45616         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
45617         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
45618         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
45619         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
45620         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
45621         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
45622         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
45623         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
45624         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
45625         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
45626         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
45627         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
45628         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
45629         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
45630         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
45631         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
45632         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
45633         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
45634         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
45636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
45637         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
45638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
45639         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
45640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45641         Moved ...
45642         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
45643         ... here.
45644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
45645         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
45646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
45647         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
45648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
45649         Moved ...
45650         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
45651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
45652         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
45653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
45654         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
45655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
45656         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
45657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45658         Moved ...
45659         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
45660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45661         Moved ...
45662         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
45663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
45664         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
45665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45666         Moved ...
45667         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
45668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
45669         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
45670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
45671         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
45672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
45673         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
45674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
45675         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
45676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45677         Moved ...
45678         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
45679         ... here.
45680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
45681         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
45682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
45683         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
45684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
45685         Moved ...
45686         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
45687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
45688         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
45689         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
45690         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
45691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
45692         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
45693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45694         Moved ...
45695         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
45696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45697         Moved ...
45698         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
45699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
45700         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
45701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45702         Moved ...
45703         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
45704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
45705         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
45706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
45707         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
45709 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45711         * timezone/checktab.awk: Update from tzcode 2014e.
45712         * timezone/private.h: Likewise.
45713         * timezone/tzfile.h: Likewise.
45714         * timezone/zdump.c: Likewise.
45715         * timezone/zic.c: Likewise.
45717         * sysdeps/unix/sysv/linux/kernel-features.h
45718         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
45719         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
45720         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
45721         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45722         Remove conditional code.
45724 2014-06-25  Will Newton  <will.newton@linaro.org>
45726         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
45727         (_dl_arm_cap_flags): Add HWCAP2 values.
45728         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
45729         (_DL_HWCAP_COUNT): Increase to 37.
45730         (_DL_HWCAP_LAST): New define.
45731         (_DL_HWCAP2_LAST): New define.
45732         (_dl_procinfo): Add support for printing
45733         AT_HWCAP2 entries.
45734         (_dl_string_hwcap): Use _dl_hwcap_string.
45736 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45740 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45742         * README: Do not mention ports directory.
45744         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
45745         Remove macro.
45746         * sysdeps/unix/sysv/linux/futimes.c: Do not include
45747         <kernel-features.h>.
45748         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
45749         conditional variable definition.
45750         (__futimes): Update comment.
45751         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
45752         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
45754         [BZ #16560]
45755         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
45756         arguments close to 0.
45757         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
45758         Likewise.
45759         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
45760         Likewise.
45761         * math/auto-libm-test-in: Add more tests of exp10.
45762         * math/auto-libm-test-out: Regenerated.
45763         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45765         * sysdeps/unix/sysv/linux/kernel-features.h
45766         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
45767         * sysdeps/unix/sysv/linux/readv.c: Do not include
45768         <kernel-features.h>.
45769         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
45770         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
45771         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
45772         unconditional.
45773         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
45774         conditional code.
45775         * sysdeps/unix/sysv/linux/writev.c: Do not include
45776         <kernel-features.h>.
45777         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
45778         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
45779         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
45780         unconditional.
45781         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
45782         conditional code.
45784 2014-06-25  Will Newton  <will.newton@linaro.org>
45786         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
45787         comment changes throughout the file.  Remove checks
45788         for HAVE_*_H definitions that are not required.
45789         (__gen_tempname): Call abort if an unknown kind value is
45790         passed.
45792 2014-06-25  Andreas Schwab  <schwab@suse.de>
45794         [BZ #17086]
45795         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
45796         scalbln, scalblnf, scalblnl in libc.
45798 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45800         [BZ #17086]
45801         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
45802         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
45803         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
45805 2014-06-24  Roland McGrath  <roland@hack.frob.com>
45807         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
45808         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
45809         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
45810         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
45811         Update #include.
45812         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
45813         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
45814         Update #include.
45815         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
45816         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
45817         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
45818         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
45819         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
45820         * sysdeps/x86/bits/pthreadtypes.h: ... here.
45821         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
45822         * sysdeps/x86/bits/semaphore.h: ... here.
45823         * sysdeps/x86/nptl/elide.h: Moved ...
45824         * sysdeps/x86/elide.h: ... here.
45825         * sysdeps/x86_64/nptl/Implies: File removed.
45826         * sysdeps/i386/nptl/Implies: File removed.
45828 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
45830         [BZ #16539]
45831         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
45832         return the argument for normal arguments with exponent below -64.
45833         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45834         Likewise.
45835         * math/auto-libm-test-in: Add another test of expm1.
45836         * math/auto-libm-test-out: Regenerated.
45838         [BZ #16287]
45839         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
45840         calling __erfcl for arguments at least 16.
45841         * math/auto-libm-test-in: Add more tests of erf.
45842         * math/auto-libm-test-out: Regenerated.
45844         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
45845         individual architectures.
45846         * sysdeps/unix/sysv/linux/configure: Regenerated.
45847         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
45848         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
45849         * sysdeps/unix/sysv/linux/powerpc/configure.ac
45850         (ldd_rewrite_script): Define variable.
45851         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
45853         file.
45854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
45855         generated file.
45856         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
45857         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
45858         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
45859         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
45860         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
45861         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
45862         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
45863         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
45865 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45867         [BZ #17084]
45868         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
45869         Rename member __data.d to __data.__elision_data.
45871 2014-06-24  Wilco  <wdijkstr@arm.com>
45873         * NEWS: Add 16918 to fixed bug list.
45875 2014-06-24  Wilco  <wdijkstr@arm.com>
45877         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
45879 2014-06-24  Wilco  <wdijkstr@arm.com>
45881         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
45882         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
45883         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
45884         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
45885         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
45886         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
45887         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
45888         Use _FPU_MASK_RM.
45890 2014-06-24  Wilco  <wdijkstr@arm.com>
45892         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
45894 2014-06-24  Wilco  <wdijkstr@arm.com>
45896         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
45897         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
45898         * sysdeps/arm/fesetround.c (fesetround): Remove space.
45899         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
45901 2014-06-24  Wilco  <wdijkstr@arm.com>
45903         [BZ #16918]
45904         * sysdeps/arm/feupdateenv.c (feupdateenv):
45905         Rewrite to reduce FPSCR accesses and fix return value.
45907 2014-06-24  Wilco  <wdijkstr@arm.com>
45909         * sysdeps/arm/fclrexcpt.c (feclearexcept):
45910         Optimize to avoid unnecessary FPSCR writes.
45911         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
45912         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
45913         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
45914         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
45916 2014-06-24  Wilco  <wdijkstr@arm.com>
45918         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
45919         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
45920         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
45921         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
45922         Call libc_fetestexcept_vfp.
45923         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
45924         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
45925         __SOFTFP__ ifdef so that they can be built for softfp.
45927 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45929         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
45930         argument type signed char.
45932         * Makerules (check-abi): Dump diff of symlist if the test
45933         fails.
45935 2014-06-23  Roland McGrath  <roland@hack.frob.com>
45937         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
45938         using abort.
45940         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45941         Remove unused variable ST.
45943 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
45945         [BZ #16354]
45946         [BZ #17061]
45947         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
45948         small arguments before calling __expm1.
45949         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
45950         small arguments before calling __expm1f.
45951         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
45952         small arguments before calling __expm1l.
45953         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45954         Likewise.
45955         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
45956         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
45957         spurious underflow for some cosh tests.
45958         * math/auto-libm-test-out: Regenerated.
45959         * sysdeps/i386/fpu/libm-test-ulps: Update.
45961         [BZ #17050]
45962         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
45963         (__ieee754_y1): Set errno if return value overflows.
45964         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
45965         (__ieee754_y1f): Set errno if return value overflows.
45966         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
45967         (__ieee754_y1l): Set errno if return value overflows.
45968         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
45969         (__ieee754_y1l): Set errno if return value overflows.
45970         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
45971         * math/auto-libm-test-out: Regenerated.
45973         * math/gen-auto-libm-tests.c: Document use of
45974         ignore-zero-inf-sign.
45975         (input_flag_type): Add value flag_ignore_zero_inf_sign.
45976         (input_flags): Add ignore-zero-inf-sign.
45977         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
45978         * math/gen-libm-test.pl (generate_testfile): Handle
45979         ignore-zero-inf-sign.
45980         * math/auto-libm-test-in: Mark some cpow tests with
45981         ignore-zero-inf-sign and some with xfail-rounding.
45982         * math/auto-libm-test-out: Regenerated.
45983         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
45984         * sysdeps/i386/fpu/libm-test-ulps: Update.
45985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45987         [BZ #16315]
45988         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
45989         overflowing or underflowing operations take place with sign of
45990         result.
45991         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45992         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45993         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
45994         (__ieee754_pow): Recompute overflowing and underflowing results in
45995         original rounding mode.
45996         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
45997         (__powl_helper): Allow negative argument X and scale negated value
45998         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
45999         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
46000         overflowing or underflowing operations take place with sign of
46001         result.
46002         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
46003         Include <math.h>.
46004         * math/auto-libm-test-in: Add more tests of pow.
46005         * math/auto-libm-test-out: Regenerated.
46006         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
46007         (pow_tonearest_test_data): Remove.
46008         (pow_test_tonearest): Likewise.
46009         (pow_towardzero_test_data): Likewise.
46010         (pow_test_towardzero): Likewise.
46011         (pow_downward_test_data): Likewise.
46012         (pow_test_downward): Likewise.
46013         (pow_upward_test_data): Likewise.
46014         (pow_test_upward): Likewise.
46015         (main): Don't call removed functions.
46016         * sysdeps/i386/fpu/libm-test-ulps: Update.
46017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46019 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
46022         Moved ...
46023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
46024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46025         Moved ...
46026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
46027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46028         Moved ...
46029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
46030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46031         Moved ...
46032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
46033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46034         File removed.
46035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46036         File removed.
46037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
46038         File removed.
46039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
46040         File removed.
46041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
46042         File removed.
46043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
46044         File removed.
46045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
46046         File removed.
46047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46048         File removed.
46049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
46050         File removed.
46051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46052         File removed.
46053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
46054         File removed.
46055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
46056         File removed.
46057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
46058         Moved ...
46059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
46060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
46061         Moved ...
46062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
46063         ... here.
46064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
46065         Moved ...
46066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
46067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
46068         Moved ...
46069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
46070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
46071         Moved ...
46072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
46073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
46074         Moved ...
46075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
46076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
46077         Moved ...
46078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
46079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
46080         Moved ...
46081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
46082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
46083         Moved ...
46084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
46085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
46086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
46087         ... here.
46088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
46089         Moved ...
46090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
46091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46092         Moved ...
46093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
46094         ... here.
46095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
46096         Moved ...
46097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
46098         ... here.
46099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46100         Moved ...
46101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
46102         ... here.
46103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46104         Moved ...
46105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
46106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46107         Moved ...
46108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
46109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
46110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
46111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46112         Moved ...
46113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
46114         ... here.
46115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46116         Moved ...
46117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
46118         ... here.
46119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46120         Moved ...
46121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
46122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46123         Moved ...
46124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
46125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46126         Moved ...
46127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
46128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46129         Moved ...
46130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
46131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46132         Moved ...
46133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
46134         ... here.
46135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46136         Moved ...
46137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
46138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46139         Moved ...
46140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
46141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46142         Moved ...
46143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
46144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46145         Moved ...
46146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
46147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
46148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
46149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46150         Moved ...
46151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
46152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46153         Moved ...
46154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
46155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46156         Moved ...
46157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
46158         ... here.
46159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46160         Moved ...
46161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
46162         ... here.
46163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46164         Moved ...
46165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
46166         ... here.
46167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46168         Moved ...
46169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
46170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46171         Moved ...
46172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
46173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46174         Moved ...
46175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
46176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46177         Moved ...
46178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
46179         ... here.
46180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46181         Moved ...
46182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
46183         ... here.
46184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46185         Moved ...
46186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
46187         ... here.
46188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46189         Moved ...
46190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
46191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46192         Moved ...
46193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
46195 2014-06-23  Will Newton  <will.newton@linaro.org>
46196             Wilco  <wdijkstr@arm.com>
46198         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
46199         implementation.  Include get-rounding-mode.h.
46200         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
46201         [!libc_feholdsetround_noex_ctx]: Define
46202         libc_feholdsetround_noex_ctx.
46203         [!libc_feholdsetround_noexf_ctx]: Define
46204         libc_feholdsetround_noexf_ctx.
46205         [!libc_feholdsetround_noexl_ctx]: Define
46206         libc_feholdsetround_noexl_ctx.
46207         (libc_feholdsetround_ctx): New function.
46208         (libc_feresetround_ctx): New function.
46209         (libc_feholdsetround_noex_ctx): New function.
46210         (libc_feresetround_noex_ctx): New function.
46212 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46214         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
46215         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
46216         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
46217         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
46218         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
46219         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
46221         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
46222         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
46223         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
46224         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
46225         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
46226         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
46227         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
46228         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
46229         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
46230         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
46231         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
46232         Moved ...
46233         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
46234         ... here.
46235         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
46236         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
46237         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
46238         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
46239         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
46240         Moved ...
46241         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
46242         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
46243         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
46244         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
46245         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
46246         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
46247         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
46248         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
46249         Moved ...
46250         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
46251         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
46252         Moved ...
46253         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
46254         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
46255         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
46256         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
46257         Moved ...
46258         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
46259         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
46260         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
46261         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
46262         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
46263         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
46264         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
46265         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
46266         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
46267         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
46268         Moved ...
46269         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
46270         ... here.
46271         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
46272         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
46273         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
46274         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
46275         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
46276         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
46277         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
46278         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
46279         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
46280         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
46281         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
46282         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
46283         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
46284         Moved ...
46285         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
46286         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
46287         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
46288         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
46289         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
46290         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
46291         Moved ...
46292         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
46293         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
46294         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
46295         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
46296         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
46298         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
46299         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
46300         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
46301         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
46302         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
46303         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
46304         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
46305         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
46306         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
46307         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
46308         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
46309         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
46310         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
46311         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
46312         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
46313         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
46314         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
46315         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
46316         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
46317         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
46318         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
46319         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
46320         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
46321         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
46322         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
46323         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
46324         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
46325         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
46327 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
46329         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
46330         (FALLOC_FL_COLLAPSE_RANGE): New macro.
46331         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
46332         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
46333         (IPV6_PMTUDISC_INTERFACE): Likewise.
46334         (IPV6_PMTUDISC_OMIT): Likewise.
46336 2014-06-23  Andreas Schwab  <schwab@suse.de>
46338         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
46339         Remove unused errout label.
46341 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46343         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
46344         macro: hardware supports Vector Crypto instructions.
46346 2014-06-23  Will Newton  <will.newton@linaro.org>
46348         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
46349         rather than __builtin_expect.
46351         * elf/dl-lookup.c (undefined_msg): Remove variable.
46352         (_dl_lookup_symbol_x): Replace undefined_msg with string
46353         literal.
46355         * elf/dl-lookup.c (do_lookup_unique): New function.
46356         (do_lookup_x): Move STB_GNU_UNIQUE handling code
46357         to a separate function.
46359 2014-06-23  Andreas Schwab  <schwab@suse.de>
46361         [BZ #17079]
46362         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
46363         before reading the next line.
46365 2014-06-23  Will Newton  <will.newton@linaro.org>
46367         * test-skeleton.c (signal_handler): Use printf and %m
46368         rather than perror.  Use printf rather than fprintf to
46369         stderr.  Use puts rather than fputs to stderr.
46370         (main): Likewise.
46372 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
46374         * nscd/nscd.c (thread_info_t): Remove typedef.
46375         (thread_info): Remove variable.
46377 2014-06-21  Allan McRae  <allan@archlinux.org>
46379         * NEWS: Mention CVE-2014-4043.
46381 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46383         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
46384         * nptl/smp.h: ... here.
46386         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
46388         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
46389         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
46390         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
46391         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
46393         * nptl/allocatestack.c: Include <stack-aliasing.h>.
46394         * nptl/stack-aliasing.h: New file.
46395         * sysdeps/i386/i686/stack-aliasing.h: New file.
46396         * sysdeps/i386/i686/nptl/Makefile: File removed.
46397         * sysdeps/x86_64/stack-aliasing.h: New file.
46398         * sysdeps/x86_64/nptl/Makefile
46399         (CFLAGS-pthread_create.c): Variable removed.
46401         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
46402         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
46403         old file.
46404         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
46405         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
46406         old file.
46408 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
46410         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46411         (__ASSUME_SIGFRAME_V2): Remove macro.
46412         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
46413         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
46414         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
46415         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
46416         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
46417         Declare as function.  Remove conditional macro definitions.
46418         (__default_rt_sa_restorer): Likewise.
46419         (__default_sa_restorer_v1): Remove declaration.
46420         (__default_sa_restorer_v2): Likewise.
46421         (__default_rt_sa_restorer_v1): Likewise.
46422         (__default_rt_sa_restorer_v2): Likewise.
46423         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
46424         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
46425         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
46427 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46429         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
46430         (libpthread-routines): Add sysdep.
46431         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
46432         * sysdeps/unix/sysv/linux/sparc/Versions
46433         (libpthread: GLIBC_2.3.3): New version set.
46434         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
46435         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
46436         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
46437         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
46438         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
46439         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
46440         Moved ...
46441         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
46442         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
46443         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
46444         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
46445         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
46446         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
46447         * sysdeps/sparc/nptl/sem_init.c: ... here.
46448         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
46449         * sysdeps/sparc/nptl/sem_post.c: ... here.
46450         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
46451         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
46452         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
46453         * sysdeps/sparc/nptl/sem_wait.c: ... here.
46454         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
46455         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
46456         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
46457         (libpthread-routines): Add cpu_relax.
46458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
46459         File removed.
46460         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
46461         (librt: GLIBC_2.3.3): New version set.
46462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
46463         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
46464         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
46465         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
46466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
46467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
46468         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
46469         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
46470         Moved ...
46471         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
46472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
46473         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
46474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
46475         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
46476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
46477         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
46478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
46479         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
46480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
46481         Moved ...
46482         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
46483         Update #include.
46484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
46485         Moved ...
46486         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
46487         Update #include.
46488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
46489         Moved ...
46490         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
46491         Update #include.
46492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
46493         Moved ...
46494         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
46495         Update #include.
46496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
46497         Moved ...
46498         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
46499         Update #include.
46500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
46501         Moved ...
46502         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
46503         Update #include.
46504         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
46505         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
46506         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
46507         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
46508         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
46509         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
46510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
46511         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
46512         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
46513         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
46514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46515         Moved ...
46516         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
46517         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
46518         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
46519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
46520         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
46522 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46524         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
46525         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
46526         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
46527         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
46528         * nscd/nscd.c: Likewise.
46529         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
46530         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
46531         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
46532         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
46534         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
46535         <kernel-features.h>.
46536         (init_mq_netlink): Remove conditional have_sock_cloexec
46537         definitions.  Remove code conditional on have_sock_cloexec < 0.
46538         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
46539         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
46540         * sysdeps/unix/sysv/linux/opensock.c: Do not include
46541         <kernel-features.h>.
46542         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
46543         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
46545 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
46547         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46548         Add tests for memset_chk and memset.
46550         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
46551         with AVX2_Usable.
46553 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46555         [BZ #16046]
46556         * elf/tst-dl-iter-static.c: New file.
46557         * elf/Makefile (tests-static): Add tst-dl-iter-static.
46559         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
46560         error.
46562 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46564         * sysdeps/unix/sysv/linux/kernel-features.h
46565         (__ASSUME_F_GETOWN_EX): Remove macro.
46566         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
46567         <kernel-features.h>.
46568         (miss_F_GETOWN_EX): Remove variable or macro.
46569         (do_fcntl): Do not check miss_F_GETOWN_EX.
46570         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
46572         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
46573         Remove macro.
46574         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
46575         [!__ASSUME_AT_RANDOM]: Remove conditional code.
46576         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
46578         * sysdeps/unix/sysv/linux/kernel-features.h
46579         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
46580         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
46581         [ADJ_OFFSET_SS_READ]: Make code unconditional.
46582         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
46584 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46586         [BZ #17075]
46587         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
46588         Fix calculation of the symbol's value.
46589         * sysdeps/arm/tst-armtlsdescloc.c: New file.
46590         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
46591         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
46592         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
46593         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
46594         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
46595         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
46596         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
46597         (modules-names): Add `tst-armtlsdescmod',
46598         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
46599         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
46600         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46601         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
46602         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
46603         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46604         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
46605         ($(objpfx)tst-armtlsdescloc): New dependency.
46606         ($(objpfx)tst-armtlsdescextnow): Likewise.
46607         ($(objpfx)tst-armtlsdescextlazy): Likewise.
46608         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
46609         TLS scheme support.
46610         * sysdeps/arm/configure: Regenerate.
46612 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46614         * include/fcntl.h (__atfct_seterrno): Remove prototype.
46615         (__atfct_seterrno_2): Likewise.
46616         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
46617         <kernel-features.h>.
46618         (__ASSUME_ATFCTS): Do not undefine and redefine.
46619         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
46620         (__have_atfcts): Remove conditional definition.
46621         (__fxstatat([__NR_fstatat64]: Make code unconditional.
46622         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
46623         unreachable if [__ASSUME_ATFCTS].
46624         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
46625         not undefine and redefine.
46626         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
46627         <kernel-features.h>.
46628         (faccessat) [__NR_faccessat]: Make code unconditional.
46629         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
46630         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
46631         <kernel-features.h>.
46632         (fchmodat) [__NR_fchmodat]: Make code unconditional.
46633         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
46634         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
46635         <kernel-features.h>.
46636         (fchownat) [__NR_fchownat]: Make code unconditional.
46637         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
46638         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
46639         <kernel-features.h>.
46640         (futimesat) [__NR_futimesat]: Make code unconditional.
46641         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
46642         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46643         <kernel-features.h>.
46644         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
46645         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46646         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46647         <kernel-features.h>.
46648         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
46649         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46650         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
46651         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46652         <kernel-features.h>.
46653         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
46654         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46655         * sysdeps/unix/sysv/linux/linkat.c: Do not include
46656         <kernel-features.h>.
46657         (linkat) [__NR_linkat]: Make code unconditional.
46658         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46659         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
46660         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
46661         <kernel-features.h>.
46662         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
46663         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46664         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
46665         <kernel-features.h>.
46666         (mkdirat) [__NR_mkdirat]: Make code unconditional.
46667         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
46668         * sysdeps/unix/sysv/linux/openat.c: Do not include
46669         <kernel-features.h>.
46670         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
46671         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
46672         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
46673         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
46674         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
46675         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
46676         <kernel-features.h>.
46677         (readlinkat) [__NR_readlinkat]: Make code unconditional.
46678         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
46679         result of INLINE_SYSCALL directly, not via int variable.
46680         * sysdeps/unix/sysv/linux/renameat.c: Do not include
46681         <kernel-features.h>.
46682         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
46683         (renameat) [__NR_renameat]: Make code unconditional.
46684         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
46685         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
46686         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
46687         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
46688         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
46689         (__ASSUME_ATFCTS): Do not undefine and redefine.
46690         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
46691         <kernel-features.h>.
46692         (symlinkat) [__NR_symlinkat]: Make code unconditional.
46693         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46694         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
46695         <kernel-features.h>.
46696         (unlinkat) [__NR_unlinkat]: Make code unconditional.
46697         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46698         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
46699         (__ASSUME_ATFCTS): Do not undefine and redefine.
46700         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46701         <kernel-features.h>.
46702         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
46703         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46704         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46705         <kernel-features.h>.
46706         (__xmknodat) [__NR_mknodat]: Make code unconditional.
46707         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
46709 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
46711         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
46713 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
46715         [BZ #17069]
46716         * posix/regcomp.c (parse_reg_exp): Deallocate partially
46717         constructed tree before returning error.
46718         * posix/bug-regexp36.c: Expand test case.
46720 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
46722         [BZ #6803]
46723         * math/libm-test.inc (scalbln_test_date):
46724         Add errno expectations.
46725         * math/w_scalblnf.c: New File.
46726         Add wrapper which checks for setting errno to ERANGE.
46727         Add weak_alias for corresponding scalbln function.
46728         * math/w_scalbln.c: Likewise.
46729         * math/w_scalblnl.c: Likewise.
46730         * math/Makefile (libm-calls): Add w_scalbln.
46731         * sysdeps/ieee754/flt-32/s_scalblnf.c:
46732         Remove weak_alias for corresponding scalbln function.
46733         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46734         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46735         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46736         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46737         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
46738         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
46739         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
46740         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
46741         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
46742         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
46743         Remove long_double_symbol for scalblnl function in libm, libc.
46744         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
46745         Add wrapper which checks for setting errno to ERANGE.
46746         Add long_double_symbol for scalblnl function in libm, libc.
46747         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
46748         Remove long_double_symbol for scalblnl in libm.
46749         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
46750         Add wrapper which checks for setting errno to ERANGE.
46751         Add long_double_symbol for scalblnl function in libm.
46752         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
46753         Do not use wrapper because of own implementation.
46755 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
46757         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
46758         3 bytes for __pad1 for x32.
46759         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
46761 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
46762             H.J. Lu  <hongjiu.lu@intel.com>
46764         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
46765         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
46766         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46767         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46768         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
46770 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
46772         [BZ #17069]
46773         * posix/regcomp.c (parse_expression): Deallocate partially
46774         constructed tree before returning error.
46775         * posix/Makefile.c (tests): Add bug-regex36.
46776         (generated): Add bug-regex36.mtrace.
46777         (tests-special): Add $(objpfx)bug-regex36-mem.out
46778         (bug-regex36-ENV): New variable.
46779         ($(objpfx)bug-regex36-mem.out): New rule.
46780         * posix/bug-regex36.c: New file.
46782 2014-06-19  Will Newton  <will.newton@linaro.org>
46784         * malloc/malloc.c (systrim): If extra is zero then return
46785         early.
46787 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46789         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
46791 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
46793         * sysdeps/aarch64/strchr.S: New file.
46795 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
46797         [BZ #17022]
46798         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
46799         from arguments -2 or below.
46800         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46801         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
46803 2014-06-18  Andreas Schwab  <schwab@suse.de>
46805         [BZ #17062]
46806         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
46807         of a bracket expr not to run off the end of the string.
46808         * posix/Makefile (tests): Add tst-fnmatch3.
46809         * posix/tst-fnmatch3.c: New file.
46811 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
46813         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
46814         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46815         [$(cross-compiling) = no]: Likewise.
46816         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46817         [$(cross-compiling) = no]: Likewise.
46819 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46821         [BZ #17031]
46822         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
46823         double, adjusted for any remainder from the high double.
46824         * math/libm-test.inc (nearbyint): Add tests.
46825         (rint): Likewise.
46827 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46829         * nptl/sysdeps/powerpc/Makefile: Moved ...
46830         * sysdeps/powerpc/nptl/Makefile: ... here.
46831         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
46832         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
46833         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
46834         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
46835         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
46836         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
46837         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
46838         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
46839         * nptl/sysdeps/powerpc/tls.h: Moved ...
46840         * sysdeps/powerpc/nptl/tls.h: ... here.
46842 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
46844         [BZ #16681]
46845         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
46846         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
46847         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
46848         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
46849         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
46850         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
46851         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
46852         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
46853         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
46855 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
46857         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
46859 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
46861         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
46862         defined operator.
46864         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
46865         $TIMEOUTFACTOR.
46867 2014-06-16  Florian Weimer  <fweimer@redhat.com>
46869         [BZ #17058]
46870         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
46871         non-executed part of the test.
46873 2014-06-16  Andreas Schwab  <schwab@suse.de>
46875         * string/bits/string2.h (strdup, strndup): Update feature guard.
46877 2014-06-14  David S. Miller  <davem@davemloft.net>
46879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46881 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
46883         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
46884         that was previously under [RESET_PID].
46885         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
46887         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
46888         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
46889         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
46890         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46891         (__libc_vfork): New strong alias.
46892         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
46894 2014-06-14 Andi Kleen  <ak@linux.intel.com>
46896         * sysdeps/generic/elide.h: New file.
46898 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
46900         * Makefile (installed-headers): Adjust path of pthread.h header.
46902 2014-06-13  Roland McGrath  <roland@hack.frob.com>
46904         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
46905         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
46906         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
46907         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
46909         * nptl/sysdeps/s390/Makefile: Moved ...
46910         * sysdeps/s390/nptl/Makefile: ... here.
46911         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
46912         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
46913         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
46914         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
46915         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
46916         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
46917         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
46918         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
46919         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
46920         * sysdeps/s390/nptl/pthreaddef.h: ... here.
46921         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
46922         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
46923         * nptl/sysdeps/s390/tls.h: Moved ...
46924         * sysdeps/s390/nptl/tls.h: ... here.
46926         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
46927         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
46929 2014-06-13  David S. Miller  <davem@davemloft.net>
46931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
46932         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
46933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
46934         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
46935         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
46936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
46937         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
46938         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
46939         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
46940         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
46941         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
46942         Remove RESET_PID cpp guards.
46943         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
46944         Remove RESET_PID cpp guards.
46945         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
46947 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
46949         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
46950         __sp to uintptr_t.
46952 2014-06-13  Andi Kleen  <ak@linux.intel.com>
46954         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
46955         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
46956         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
46957         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
46958         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
46959         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
46960         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
46961         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
46962         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
46963         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
46964         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
46965         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
46966         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
46967         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
46968         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
46969         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
46970         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
46971         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
46972         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
46973         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
46975         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
46976         (pthread_rwlock_rdlock): Add elision.
46977         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
46978         (pthread_rwlock_wrlock): Add elision.
46979         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
46980         (pthread_rwlock_trywrlock): Add elision.
46981         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
46982         (pthread_rwlock_tryrdlock): Add elision.
46983         * nptl/pthread_rwlock_unlock.c: Include elide.h.
46984         (pthread_rwlock_tryrdlock): Add elision unlock.
46985         * nptl/sysdeps/pthread/pthread.h:
46986         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
46987         (PTHREAD_RWLOCK_INITIALIZER,
46988         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
46989         Handle new elision field.
46990         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
46991         * sysdeps/arm/nptl/bits/pthreadtypes.h
46992         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46993         * sysdeps/sh/nptl/bits/pthreadtypes.h
46994         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46995         * sysdeps/tile/nptl/bits/pthreadtypes.h
46996         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46997         * sysdeps/a/nptl/bits/pthreadtypes.h
46998         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46999         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47000         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47001         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47002         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47003         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
47004         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47005         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47006         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47007         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47008         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47009         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47010         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47011         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47012         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47013         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
47014         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47015         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
47016         (elision_init): Set try_xbegin to zero when no RTM.
47017         * sysdeps/x86/nptl/bits/pthreadtypes.h
47018         (pthread_rwlock_t): Change __pad1 to __rwelision.
47019         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47021 2014-06-13  Andi Kleen  <ak@linux.intel.com>
47023         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
47024         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
47025         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
47026         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
47028 2014-06-13  Meador Inge  <meadori@codesourcery.com>
47030         [BZ #16996]
47031         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
47032         that the cached result has been set before returning it.
47034 2014-06-12  Roland McGrath  <roland@hack.frob.com>
47036         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
47037         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
47038         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
47039         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
47040         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
47041         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
47043         * nptl/sysdeps/sparc/Makefile: Moved ...
47044         * sysdeps/sparc/nptl/Makefile: ... here.
47045         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
47046         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
47047         * nptl/sysdeps/sparc/tls.h: Moved ...
47048         * sysdeps/sparc/nptl/tls.h: ... here.
47049         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
47050         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
47051         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
47052         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
47053         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
47054         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
47055         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
47056         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
47057         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
47058         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
47059         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
47060         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
47061         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
47062         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
47063         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
47064         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
47065         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
47066         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
47067         Update #include.
47068         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
47069         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
47070         Update #include.
47071         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
47072         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
47073         Update #include.
47074         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
47075         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
47076         Update #include.
47078         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47080         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
47081         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
47083         * sysdeps/pthread/posix-timer.h: Include <list.h>.
47084         (struct list_links): Type removed.
47085         (struct thread_node, struct timer_node): Replace struct list_links
47086         with struct list_head.
47087         (list_unlink_ip): Likewise.
47088         * sysdeps/pthread/timer_routines.c
47089         (timer_free_list, thread_free_list, thread_active_list): Likewise.
47090         (list_append, list_insbefore): Likewise.
47091         (list_init): Function removed.
47092         (thread_init, init_module): Use INIT_LIST_HEAD instead.
47093         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
47094         * sysdeps/pthread/Makefile: ... here, new file.
47096         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
47097         * sysdeps/nptl/Implies: ... here.
47098         * sysdeps/unix/sysv/linux/Implies: Add nptl.
47099         * nptl/sysdeps/pthread/list.h: Moved ...
47100         * include/list.h: ... here.
47101         * nptl/sysdeps/pthread/createthread.c: Moved ...
47102         * nptl/createthread.c: ... here.
47103         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
47104         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
47105         * nptl/pt-longjmp.c: ... here.
47106         * nptl/sysdeps/pthread/Makefile: Moved ...
47107         * sysdeps/nptl/Makefile: ... here.
47108         * nptl/sysdeps/pthread/Subdirs: Moved ...
47109         * sysdeps/nptl/Subdirs: ... here.
47110         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
47111         * sysdeps/nptl/aio_misc.h: ... here.
47112         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
47113         * sysdeps/nptl/bits/libc-lock.h: ... here.
47114         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
47115         * sysdeps/nptl/bits/libc-lockP.h: ... here.
47116         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
47117         * sysdeps/nptl/bits/stdio-lock.h: ... here.
47118         * nptl/sysdeps/pthread/configure: Moved ...
47119         * sysdeps/nptl/configure: ... here.
47120         * nptl/sysdeps/pthread/configure.ac: Moved ...
47121         * sysdeps/nptl/configure.ac: ... here.
47122         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
47123         * sysdeps/nptl/gai_misc.h: ... here.
47124         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
47125         * sysdeps/nptl/librt-cancellation.c: ... here.
47126         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
47127         * sysdeps/nptl/malloc-machine.h: ... here.
47128         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
47129         * sysdeps/nptl/pthread-functions.h: ... here.
47130         * nptl/sysdeps/pthread/pthread.h: Moved ...
47131         * sysdeps/nptl/pthread.h: ... here.
47132         * nptl/sysdeps/pthread/setxid.h: Moved ...
47133         * sysdeps/nptl/setxid.h: ... here.
47134         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
47135         * sysdeps/nptl/sigfillset.c: ... here.
47136         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
47137         * sysdeps/nptl/tcb-offsets.h: ... here.
47138         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
47139         * sysdeps/nptl/tst-mqueue8x.c: ... here.
47140         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
47141         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
47142         * nptl/sysdeps/pthread/allocalim.h: Moved ...
47143         * sysdeps/pthread/allocalim.h: ... here.
47144         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
47145         * sysdeps/pthread/bits/sigthread.h: ... here.
47146         * nptl/sysdeps/pthread/flockfile.c: Moved ...
47147         * sysdeps/pthread/flockfile.c: ... here.
47148         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
47149         * sysdeps/pthread/ftrylockfile.c: ... here.
47150         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
47151         * sysdeps/pthread/funlockfile.c: ... here.
47152         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
47153         * sysdeps/pthread/posix-timer.h: ... here.
47154         * nptl/sysdeps/pthread/timer_create.c: Moved ...
47155         * sysdeps/pthread/timer_create.c: ... here.
47156         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
47157         * sysdeps/pthread/timer_delete.c: ... here.
47158         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
47159         * sysdeps/pthread/timer_getoverr.c: ... here.
47160         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
47161         * sysdeps/pthread/timer_gettime.c: ... here.
47162         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
47163         * sysdeps/pthread/timer_routines.c: ... here.
47164         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
47165         * sysdeps/pthread/timer_settime.c: ... here.
47166         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
47167         * sysdeps/pthread/tst-timer.c: ... here.
47168         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
47169         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
47171         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
47172         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
47174         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
47175         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
47176         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
47177         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
47178         Update #include target.
47179         * nptl/sysdeps/i386/i686/Makefile: Moved ...
47180         * sysdeps/i386/i686/nptl/Makefile: ... here.
47181         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
47182         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
47183         Update #include target.
47184         * nptl/sysdeps/i386/i686/tls.h: Moved ...
47185         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
47186         * nptl/sysdeps/i386/Makefile: Moved ...
47187         * sysdeps/i386/nptl/Makefile: ... here.
47188         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
47189         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
47190         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
47191         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
47192         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
47193         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
47194         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
47195         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
47196         * sysdeps/i386/nptl/pthreaddef.h: ... here.
47197         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
47198         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
47199         * nptl/sysdeps/i386/tls.h: Moved ...
47200         * sysdeps/i386/nptl/tls.h: ... here.
47202         * sysdeps/sh/Makefile [$(subdir) = csu]
47203         (gen-as-const-headers): Add tcb-offsets.sym.
47204         * nptl/sysdeps/sh/Makefile: File removed.
47205         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
47206         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
47207         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
47208         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
47209         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
47210         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
47211         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
47212         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
47213         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
47214         * sysdeps/sh/nptl/pthreaddef.h: ... here.
47215         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
47216         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
47217         * nptl/sysdeps/sh/tls.h: Moved ...
47218         * sysdeps/sh/nptl/tls.h: ... here.
47219         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
47220         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
47221         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
47222         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
47223         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
47224         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
47225         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
47226         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
47227         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
47228         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
47229         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
47230         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
47231         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
47232         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
47233         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
47234         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
47235         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
47236         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
47237         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
47238         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
47239         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
47240         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
47241         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
47242         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
47243         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
47244         Moved ...
47245         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
47246         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
47247         Moved ...
47248         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
47249         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
47250         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
47251         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
47252         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
47253         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
47254         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
47255         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
47256         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
47257         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
47258         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
47259         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
47260         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
47261         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
47262         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
47263         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
47264         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
47265         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
47266         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
47268 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
47270         * posix/spawn_faction_addopen.c: Include string.h.
47272 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47274         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
47275         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
47276         * nptl/sysdeps/x86_64/Makefile: Moved ...
47277         * sysdeps/x86_64/nptl/Makefile: ... here.
47278         * nptl/sysdeps/x86_64/configure: Moved ...
47279         * sysdeps/x86_64/nptl/configure: ... here.
47280         * nptl/sysdeps/x86_64/configure.ac: Moved ...
47281         * sysdeps/x86_64/nptl/configure.ac: ... here.
47282         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
47283         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
47284         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
47285         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
47286         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
47287         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
47288         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
47289         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
47290         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
47291         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
47292         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
47293         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
47294         * nptl/sysdeps/x86_64/tls.h: Moved ...
47295         * sysdeps/x86_64/nptl/tls.h: ... here.
47296         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
47297         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
47298         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
47299         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
47301         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
47303 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47307 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
47309         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
47310         type.
47311         [POSIX] (off_t): Likewise.
47312         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
47313         [POSIX] (S_ISBLK): Require macro.
47314         [POSIX] (S_ISCHR): Likewise.
47315         [POSIX] (S_ISDIR): Likewise.
47316         [POSIX] (S_ISFIFO): Likewise.
47317         [POSIX] (S_ISREG): Likewise.
47318         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
47319         optional-macro.
47320         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
47321         type.
47322         [POSIX] (time_t): Likewise.
47323         [POSIX] (timer_t): Likewise.
47325 2014-06-11  Florian Weimer  <fweimer@redhat.com>
47327         [BZ #17048]
47328         * posix/spawn_int.h (struct __spawn_action): Make the path string
47329         non-const to support deallocation.
47330         * posix/spawn_faction_addopen.c
47331         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
47332         * posix/spawn_faction_destroy.c
47333         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
47334         path in all spawn_do_open actions.
47335         * posix/tst-spawn.c (do_test): Exercise the copy operation in
47336         posix_spawn_file_actions_addopen.
47338 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
47340         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
47341         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
47342         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
47343         conditional code always true.
47344         (__libc_vfork): New alias.
47346 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47348         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47349         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
47351         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
47353         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47354         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
47356         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47357         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
47359         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47360         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
47362 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47364         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
47365         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
47366         multiarch strcmp for PPC64.
47367         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
47368         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
47369         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
47370         multiarch optimizations.
47371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47372         (__libc_ifunc_impl_list): Likewise.
47374 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47376         * benchtests/scripts/validate_benchout.py: New script.
47377         * benchtests/Makefile (bench-func): Call it.
47378         * benchtests/scripts/benchout.schema.json: New file.
47380 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
47382         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
47383         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
47384         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
47385         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
47386         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
47387         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
47388         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
47389         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
47390         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
47391         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
47392         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
47393         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
47394         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
47395         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
47396         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
47397         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
47398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
47399         Moved ...
47400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
47401         ... here.
47402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
47403         Moved ...
47404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
47405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
47406         Moved ...
47407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
47408         ... here.
47409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
47410         Moved ...
47411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
47412         ... here.
47413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
47414         Moved ...
47415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
47416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
47417         Moved ...
47418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
47419         ... here.
47420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
47421         Moved ...
47422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
47423         ... here.
47424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
47425         Moved ...
47426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
47427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
47428         Moved ...
47429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
47430         ... here.
47431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
47432         Moved ...
47433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
47434         ... here.
47435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
47436         Moved ...
47437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
47438         ... here.
47439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
47440         Moved ...
47441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
47442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
47443         Moved ...
47444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
47445         ... here.
47446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
47447         Moved ...
47448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
47449         ... here.
47450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
47451         Moved ...
47452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
47453         ... here.
47454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
47455         Moved ...
47456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
47457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
47458         Moved ...
47459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
47460         ... here.
47461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
47462         Moved ...
47463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
47464         ... here.
47465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
47466         Moved ...
47467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
47468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
47469         Moved ...
47470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
47471         ... here.
47472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
47473         Moved ...
47474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
47475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
47476         Moved ...
47477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
47478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
47479         Moved ...
47480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
47481         ... here.
47482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
47483         Moved ...
47484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
47485         ... here.
47486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
47487         Moved ...
47488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
47489         ... here.
47490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
47491         Moved ...
47492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
47493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
47494         Moved ...
47495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
47496         ... here.
47497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
47498         Moved ...
47499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
47500         ... here.
47501         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
47502         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
47503         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
47504         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
47505         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
47506         Moved ...
47507         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
47508         ... here.
47509         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
47510         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
47511         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
47512         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
47513         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
47514         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
47515         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
47516         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
47517         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
47518         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
47519         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
47520         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
47521         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
47522         Moved ...
47523         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
47524         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
47525         Moved ...
47526         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
47527         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
47528         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
47529         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
47530         Moved ...
47531         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
47532         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
47533         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
47534         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
47535         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
47536         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
47537         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
47539 2014-06-10  Wilco  <wdijkstr@arm.com>
47541         * math/test-fenv-return.c: New file.
47542         * math/Makefile: Add new test test-fenv-return.
47544 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
47546         [BZ #17042]
47547         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
47548         when x - 1 is zero.
47549         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
47550         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
47551         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
47552         0.0L for an argument of 1.0L.
47553         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
47554         Likewise.
47555         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
47556         value when x - 1 is zero.
47557         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
47558         * sysdeps/i386/fpu/libm-test-ulps: Update.
47559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47561 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
47563         [BZ #15119]
47564         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
47566 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47568         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
47569         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
47571 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47573         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47574         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
47576         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47577         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
47579         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47580         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
47582         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47583         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
47585         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
47586         if not already defined.
47587         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
47588         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
47589         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
47590         (TLS_INIT_TP): Use it.
47591         (TLS_DEFINE_INIT_TP): New macro.
47592         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
47594 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
47596         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
47597         constant.
47598         [POSIX] (IXANY): Likewise.
47599         [POSIX] (OLCUC): Likewise.
47600         [POSIX || POSIX2008] (CBAUD): Do not allow.
47601         [POSIX || POSIX2008] (DEFECHO): Likewise.
47602         [POSIX || POSIX2008] (ECHOCTL): Likewise.
47603         [POSIX || POSIX2008] (ECHOKE): Likewise.
47604         [POSIX || POSIX2008] (ECHOPRT): Likewise.
47605         [POSIX || POSIX2008] (EXTA): Likewise.
47606         [POSIX || POSIX2008] (EXTB): Likewise.
47607         [POSIX || POSIX2008] (FLUSHO): Likewise.
47608         [POSIX || POSIX2008] (LOBLK): Likewise.
47609         [POSIX || POSIX2008] (PENDIN): Likewise.
47610         [POSIX || POSIX2008] (SWTCH): Likewise.
47611         [POSIX || POSIX2008] (VDISCARD): Likewise.
47612         [POSIX || POSIX2008] (VDSUSP): Likewise.
47613         [POSIX || POSIX2008] (VLNEXT): Likewise.
47614         [POSIX || POSIX2008] (VREPRINT): Likewise.
47615         [POSIX || POSIX2008] (VSTATUS): Likewise.
47616         [POSIX || POSIX2008] (VWERASE): Likewise.
47617         (B*): Change to B[0123456789]*.
47618         * conform/data/time.h-data [POSIX || UNIX98]
47619         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
47620         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47621         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
47622         [POSIX] (tm_*): Do not allow.
47624 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
47626         * Makefile (install): Don't set LANGUAGE.
47627         * Makefile.in (install): Likewise.
47628         * assert/Makefile (test-assert-ENV): Remove variable.
47629         (test-assert-perr-ENV): Likewise.
47630         * elf/Makefile (neededtest4-ENV): Likewise.
47631         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47632         [$(cross-compiling) = no]: Don't set LANGUAGE.
47633         * io/ftwtest-sh (LANG): Remove variable.
47634         * libio/Makefile (tst-widetext-ENV): Likewise.
47635         * manual/install.texi (Running make install): Don't refer to
47636         environment settings for make install.
47637         * INSTALL: Regenerated.
47638         * nptl/tst-tls6.sh: Don't set LANG.
47639         * posix/globtest.sh (LANG): Remove variable.
47640         * string/Makefile (tester-ENV): Likewise.
47641         (inl-tester-ENV): Likewise.
47642         (noinl-tester-ENV): Likewise.
47643         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47644         [$(cross-compiling) = no]: Don't set LANGUAGE.
47645         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
47646         without explicit environment settings.
47648 2014-06-06  Roland McGrath  <roland@hack.frob.com>
47650         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
47651         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
47652         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
47653         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
47655 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
47657         * crypt/crypt-private.h [DOS]: Add some includes taken from the
47658         other files in the crypt directory.
47659         * crypt/crypt.c: Remove duplicate includes.
47660         * crypt/crypt-entry.c: Likewise.
47661         * crypt/crypt_util.c: Likewise.
47663 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
47665         * Makeconfig (run-program-env): New variable.
47666         (run-program-prefix-before-env): Likewise.
47667         (run-program-prefix-after-env): Likewise.
47668         (run-program-prefix): Define in terms of new variables.
47669         (built-program-cmd-before-env): New variable.
47670         (built-program-cmd-after-env): Likewise.
47671         (built-program-cmd): Define in terms of new variables.
47672         (test-program-prefix-before-env): New variable.
47673         (test-program-prefix-after-env): Likewise.
47674         (test-program-prefix): Define in terms of new variables.
47675         (test-program-cmd-before-env): New variable.
47676         (test-program-cmd-after-env): Likewise.
47677         (test-program-cmd): Define in terms of new variables.
47678         * Rules (make-test-out): Use $(run-program-env).
47679         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
47680         (help): Do not mention environment variables.  Mention
47681         --timeoutfactor option.
47682         (timeoutfactor): New variable.
47683         (blacklist_exports): Remove function.
47684         (exports): Remove variable.
47685         (command): Do not include ${exports}.
47686         * manual/install.texi (Configuring and compiling): Do not mention
47687         test wrappers preserving environment variables.  Mention that last
47688         assignment to a variable must take precedence.
47689         * INSTALL: Regenerated.
47690         * benchtests/Makefile (run-bench): Use $(run-program-env).
47691         * catgets/Makefile ($(objpfx)test1.cat): Use
47692         $(built-program-cmd-before-env), $(run-program-env) and
47693         $(built-program-cmd-after-env).
47694         ($(objpfx)test2.cat): Do not specify environment variables
47695         explicitly.
47696         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
47697         $(run-program-env) and $(built-program-cmd-after-env).
47698         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
47699         $(run-program-env) and $(test-program-cmd-after-env).
47700         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
47701         explicitly.
47702         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
47703         run_program_env and test_program_cmd_after_env arguments.
47704         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
47705         * elf/tst-pathopt.sh: Use run_program_env argument.
47706         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
47707         $(test-wrapper-env) and $(run-program-env).
47708         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
47709         run_program_env arguments.
47710         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
47711         * intl/Makefile ($(objpfx)tst-gettext.out): Use
47712         $(test-program-prefix-before-env), $(run-program-env) and
47713         $(test-program-prefix-after-env).
47714         ($(objpfx)tst-gettext2.out): Likewise.
47715         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
47716         run_program_env and test_program_prefix_after_env arguments.
47717         * intl/tst-gettext2.sh: Likewise.
47718         * intl/tst-gettext4.sh: Do not set environment variables
47719         explicitly.
47720         * intl/tst-gettext6.sh: Likewise.
47721         * intl/tst-translit.sh: Likewise.
47722         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
47723         $(test-program-prefix-before-env), $(run-program-env) and
47724         $(test-program-prefix-after-env).
47725         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
47726         run_program_env and test_program_prefix_after_env arguments.
47727         * math/Makefile (run-regen-ulps): Use $(run-program-env).
47728         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
47729         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
47730         explicitly with each use of ${test_wrapper_env}.
47731         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
47732         $(test-program-prefix-before-env), $(run-program-env) and
47733         $(test-program-prefix-after-env).
47734         * posix/tst-getconf.sh: Do not set environment variables
47735         explicitly.
47736         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
47737         run_program_env and test_program_prefix_after_env arguments.
47738         * stdio-common/tst-printf.sh: Do not set environment variables
47739         explicitly.
47740         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
47741         $(test-program-prefix-before-env), $(run-program-env) and
47742         $(test-program-prefix-after-env).
47743         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
47744         run_program_env and test_program_prefix_after_env arguments.
47745         Split $test calls into $test_pre and $test.
47746         * timezone/Makefile (build-testdata): Use
47747         $(built-program-cmd-before-env), $(run-program-env) and
47748         $(built-program-cmd-after-env).
47750 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47752         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
47753         strlen for non SHARED builds.
47755 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47757         * nptl/allocatestack.c (check_list): Inlined function...
47758         (__reclaim_stacks): ... here.
47760 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
47762         [BZ #15698]
47763         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
47764         memory overrun.
47766 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
47768         * Rules (make-test-out): Include
47769         LOCPATH=$(common-objpfx)localedata in default environment.
47770         * debug/Makefile (tst-chk1-ENV): Remove variable.
47771         (tst-chk2-ENV): Likewise.
47772         (tst-chk3-ENV): Likewise.
47773         (tst-chk4-ENV): Likewise.
47774         (tst-chk5-ENV): Likewise.
47775         (tst-chk6-ENV): Likewise.
47776         (tst-lfschk1-ENV): Likewise.
47777         (tst-lfschk2-ENV): Likewise.
47778         (tst-lfschk3-ENV): Likewise.
47779         (tst-lfschk4-ENV): Likewise.
47780         (tst-lfschk5-ENV): Likewise.
47781         (tst-lfschk6-ENV): Likewise.
47782         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
47783         (tst-iconv7-ENV): Likewise.
47784         * intl/Makefile (LOCPATH-ENV): Likewise.
47785         (tst-codeset-ENV): Likewise.
47786         (tst-gettext3-ENV): Likewise.
47787         (tst-gettext5-ENV): Likewise.
47788         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
47789         (tst-fopenloc-ENV): Likewise.
47790         (tst-fgetws-ENV): Remove variable.
47791         (tst-ungetwc1-ENV): Likewise.
47792         (tst-ungetwc2-ENV): Likewise.
47793         (bug-ungetwc2-ENV): Likewise.
47794         (tst-swscanf-ENV): Likewise.
47795         (bug-ftell-ENV): Likewise.
47796         (tst-fgetwc-ENV): Likewise.
47797         (tst-fseek-ENV): Likewise.
47798         (tst-ftell-partial-wide-ENV): Likewise.
47799         (tst-ftell-active-handler-ENV): Likewise.
47800         (tst-ftell-append-ENV): Likewise.
47801         * posix/Makefile (tst-fnmatch-ENV): Likewise.
47802         (tst-regexloc-ENV): Likewise.
47803         (bug-regex1-ENV): Likewise.
47804         (tst-regex-ENV): Likewise.
47805         (tst-regex2-ENV): Likewise.
47806         (bug-regex5-ENV): Likewise.
47807         (bug-regex6-ENV): Likewise.
47808         (bug-regex17-ENV): Likewise.
47809         (bug-regex18-ENV): Likewise.
47810         (bug-regex19-ENV): Likewise.
47811         (bug-regex20-ENV): Likewise.
47812         (bug-regex22-ENV): Likewise.
47813         (bug-regex23-ENV): Likewise.
47814         (bug-regex25-ENV): Likewise.
47815         (bug-regex26-ENV): Likewise.
47816         (bug-regex30-ENV): Likewise.
47817         (bug-regex32-ENV): Likewise.
47818         (bug-regex33-ENV): Likewise.
47819         (bug-regex34-ENV): Likewise.
47820         (bug-regex35-ENV): Likewise.
47821         (tst-rxspencer-ENV): Likewise.
47822         (tst-rxspencer-no-utf8-ENV): Likewise.
47823         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
47824         (tst-sscanf-ENV): Likewise.
47825         (tst-swprintf-ENV): Likewise.
47826         (tst-swscanf-ENV): Likewise.
47827         (test-vfprintf-ENV): Likewise.
47828         (scanf13-ENV): Likewise.
47829         (bug14-ENV): Likewise.
47830         (tst-grouping-ENV): Likewise.
47831         * stdlib/Makefile (tst-strtod-ENV): Likewise.
47832         (tst-strtod3-ENV): Likewise.
47833         (tst-strtod4-ENV): Likewise.
47834         (tst-strtod5-ENV): Likewise.
47835         (testmb2-ENV): Likewise./
47836         * string/Makefile (tst-strxfrm-ENV): Likewise.
47837         (tst-strxfrm2-ENV): Likewise.
47838         (bug-strcoll1-ENV): Likewise.
47839         (test-strcasecmp-ENV): Likewise.
47840         (test-strncasecmp-ENV): Likewise.
47841         * time/Makefile (tst-strptime-ENV): Likewise.
47842         (tst-ftime_l-ENV): Likewise.
47843         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
47844         (tst-mbrtowc-ENV): Likewise.
47845         (tst-wcrtomb-ENV): Likewise.
47846         (tst-mbrtowc2-ENV): Likewise.
47847         (tst-c16c32-1-ENV): Likewise.
47848         (tst-mbsnrtowcs-ENV): Likewise.
47850 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
47852         * manual/resource.texi (How to get information about the memory
47853         subsystem?): Fix typo.
47854         Reported by Peon de la Parra Ivan <peon@keba.com>
47856 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
47858         [BZ #16882]
47859         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
47860         (pthread_spin_lock): Branch out of spin loop to proper location.
47861         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
47862         (pthread_spin_lock): Likewise.
47864         * nptl/tst-spin4.c: New test.
47865         * nptl/Makefile (tests): Add tst-spin4.
47867 2014-06-03  Andreas Schwab  <schwab@suse.de>
47869         [BZ #15946]
47870         * resolv/res_send.c (send_dg): Reload file descriptor after
47871         calling reopen.
47873 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
47875         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47877 2014-06-03  Richard Henderson  <rth@redhat.com>
47879         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
47880         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
47881         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
47882         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
47883         in the SAVE_PID block.
47884         (__libc_vfork): New alias.
47885         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
47887         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
47888         child in registers, not on the stack.  Remove RESET_PID conditionals.
47889         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
47891 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47893         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47895 2014-06-03  Wilco  <wdijkstr@arm.com>
47897         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
47898         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
47899         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47900         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
47901         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
47902         Likewise.
47904 2014-06-03  Wilco  <wdijkstr@arm.com>
47906         * sysdeps/aarch64/fpu/math_private.h
47907         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
47908         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
47909         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
47910         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
47911         Fix declarations.
47913 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
47915         * crypt/crypt-private.h: Include ufc-crypt.h.
47916         (__b64_from_24bit): Declare extern.
47917         * crypt/crypt_util.c(__b64_from_24bit): New function.
47918         (b64t): New static const variable.
47919         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
47920         (b64t): Remove variable.
47921         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
47922         * crypt/sha256-crypt.c: Include crypt-private.h.
47923         (b64t): Remove variable.
47924         (__sha256_crypt_r): Remove b64_from_24bit and replace
47925         with __b64_from_24bit.
47926         * crypt/sha512-crypt.c: Likewise.
47928 2014-06-02  Roland McGrath  <roland@hack.frob.com>
47930         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
47931         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
47932         Label the code __libc_vfork rather than __vfork.
47933         [!NOT_IN_libc] (vfork): Define as weak alias.
47934         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
47935         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
47936         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
47938 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47940         * malloc/malloc.c (malloc_info): Fix format specifier for
47941         n_mmaps.
47943 2014-06-02  Wilco  <wdijkstr@arm.com>
47945         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
47946         FPCR write.
47948 2014-06-02  Wilco  <wdijkstr@arm.com>
47950         [BZ #17009]
47951         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
47952         Rewrite to reduce FPCR/FPSR accesses.
47954 2014-06-01  David S. Miller  <davem@davemloft.net>
47956         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47958 2014-05-31  David S. Miller  <davem@davemloft.net>
47960         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
47961         to occur in round to nearest mode when |x| >= 2.0
47963 2014-05-30  Richard Henderson  <rth@twiddle.net>
47965         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
47966         (PSEUDO_RET_NOERRNO): Remove.
47967         (ret): Don't redefine.
47968         (ret_NOERRNO): Define in terms of ret.
47969         (ret_ERRVAL): Likewise.
47971         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
47972         use of PSEUDO_RET; perform the error check directly.
47974 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
47976         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
47977         with __int128_t.
47979 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47981         * malloc/malloc (malloc_info): Fix formatting.
47983 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47984             Roland McGrath  <roland@hack.frob.com>
47986         * malloc/malloc (malloc_info): Also print mmapped statistics.
47988 2014-05-30  Roland McGrath  <roland@hack.frob.com>
47990         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
47991         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
47993 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
47995         * malloc/malloc.c (malloc_info): Inline mi_arena.
47997 2014-05-29  Richard Henderson  <rth@twiddle.net>
47999         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
48000         Remove comma before expanding ASM_ARGS_##nr.
48001         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
48002         Make _x0 a strict output; make _x8 a strict input; adjust expansion
48003         of ASM_ARGS_##nr.
48004         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
48005         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
48006         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
48007         (ASM_ARGS_1): Add leading comma.
48009         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
48010         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
48011         to __errno_location.
48012         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
48013         Remove the expected plt for __errno_location.
48015         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48016         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
48017         call to __read_tp.
48019         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48020         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
48021         it and break it down.
48022         (DOCARGS_0, DOCARGS_1): Do nothing.
48023         (DOCARGS_2): Update to store into the new stack frame.
48024         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
48025         (UNDOCARGS_1): Update to restore from the new stack frame.
48026         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
48027         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
48029         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48030         (SINGLE_THREAD_P): New parameter for result regno.
48031         (PSEUDO): Update to match; use cbz instead of beq.
48033         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48034         Use ENTRY to define the _nocancel entry point.  Share the syscall
48035         and syscall error check paths with the cancel path.
48036         (PSEUDO_END): New.
48038         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
48039         whitespace; tabs before and after asm mnemonics.
48041 2014-05-29  Eric Wong  <normalperson@yhbt.net>
48043         [BZ #15132]
48044         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48045         Call fstat64 or stat64 internally, depending on arguments passed.
48046         Replace stat buffer argument with file descriptor argument.
48047         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
48048         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
48049         Pass fd to __internal_statvfs instead of calling fstat64.
48050         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
48051         Pass fd to __internal_statvfs64 instead of calling fstat64.
48052         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
48053         Pass -1 to __internal_statvfs instead of calling stat64.
48054         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
48055         Pass -1 to __internal_statvfs64 instead of calling stat64.
48057 2014-05-28  Roland McGrath  <roland@hack.frob.com>
48059         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
48060         that was previously under [RESET_PID].
48061         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
48063         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
48064         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
48066 2014-05-27  Roland McGrath  <roland@hack.frob.com>
48068         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
48070         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
48071         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
48073 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
48075         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
48077 2014-05-27  Andreas Schwab  <schwab@suse.de>
48079         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
48080         TLS_INIT_TP macro.
48081         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
48082         * elf/rtld.c (init_tls, dl_main): Likewise.
48083         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
48084         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
48085         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
48086         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
48087         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
48088         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
48089         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
48090         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
48091         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
48092         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
48093         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
48094         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
48095         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
48096         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
48097         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
48098         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
48099         * sysdeps/generic/tls.h: Update description.
48101 2014-05-27  Will Newton  <will.newton@linaro.org>
48103         [BZ #16990]
48104         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
48105         and restore r2 rather than just restoring.
48107 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48109         [BZ #16724]
48110         * libio/tst-ftell-append.c: New test case.
48111         * libio/Makefile (tests): Add test case.
48112         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
48113         append mode.
48114         * libio/wfileops.c (do_ftell_wide): Likewise.
48116 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48120         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
48121         ...
48122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
48123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48124         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
48125         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
48126         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
48127         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
48128         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
48129         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
48130         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
48131         Moved ...
48132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
48133         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
48134         Moved ...
48135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
48136         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
48137         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
48138         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
48139         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
48140         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
48141         ...
48142         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
48143         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
48144         Moved ...
48145         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
48146         here.
48147         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
48148         ...
48149         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
48150         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
48151         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
48153         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
48154         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
48155         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
48156         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
48158         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
48159         merge into ...
48160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
48161         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
48162         ...
48163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
48164         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
48165         ...
48166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
48167         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48168         Moved ...
48169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
48170         here.
48171         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48172         Moved ...
48173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
48174         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48175         Moved ...
48176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
48178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
48179         conditional [RESET_PID].
48180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
48181         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
48182         removed.
48183         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
48184         removed.
48186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
48187         <tcb-offsets.h>.
48188         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48189         (__libc_vfork): New strong alias.
48190         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
48191         removed.
48192         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
48193         Removed.
48195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
48196         <tcb-offsets.h>.
48197         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
48198         (__libc_vfork): New strong alias.
48199         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
48200         removed.
48201         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
48202         removed.
48204 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
48206         * malloc/malloc.c (mi_arena): New function.
48207         (malloc_info): Remove nested function mi_arena. Call non-nosted
48208         function mi_arena.
48210 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48212         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
48213         by insrwi.
48214         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
48215         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
48216         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
48217         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
48218         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
48219         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
48220         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
48222 2014-05-26  Andreas Schwab  <schwab@suse.de>
48224         [BZ #16984]
48225         * locale/programs/repertoire.c (repertoire_read): Add slash
48226         between I18NPATH element and file name.
48227         * locale/programs/locfile.c (locfile_read): Likewise.
48229 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
48231         * nptl/pthread_mutexattr_settype.c
48232         (__pthread_mutexattr_settype):
48233         Disable lock elision for PTHREAD_MUTEX_NORMAL.
48235 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
48237         * nptl/tst-mutex5 (do_test):
48238         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
48240 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48242         * benchtests/README: Document 'init' directive.
48243         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
48244         BENCH_INIT.
48245         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
48246         (parse_file): Recognize 'init' directive.
48248 2014-05-26  Kyle McMartin  <kyle@redhat.com>
48250         [BZ #16796]
48251         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
48252         alignment of struct pthread.
48254 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48256         [BZ #16878]
48257         * nscd/netgroupcache.c (addgetnetgrentX): Look for
48258         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
48259         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
48260         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
48262 2014-05-25  Richard Henderson  <rth@twiddle.net>
48264         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48265         (SINGLE_THREAD_P_PIC): Remove.
48266         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
48267         (SINGLE_THREAD_P_PIC): Remove.
48269         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
48270         branch to syscall error ...
48271         (PSEUDO): ... here.
48272         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
48273         from __local_syscall_error to .Lsyscall_error.
48274         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
48275         (SYSCALL_ERROR): Update label name.
48277         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48278         Do not use DOARGS/UNDOARGS.
48279         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
48280         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
48281         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
48282         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
48283         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
48285         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
48286         block comment.
48288         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
48289         define if !NOT_IN_libc.
48290         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
48291         define with non-default symbol versions.
48293 2014-05-23  Richard Henderson  <rth@twiddle.net>
48295         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
48296         (vfork, __vfork): Define via compat_symbol.
48298         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
48299         [!HAVE_IFUNC] (vfork_compat): Remove.
48300         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
48302 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48304         [BZ #16978]
48305         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
48306         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
48307         variable.
48309 2014-05-23  Richard Henderson  <rth@twiddle.net>
48311         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
48312         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
48313         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
48314         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
48316         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
48317         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
48318         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
48319         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
48320         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
48321         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
48322         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
48323         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
48324         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
48325         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
48326         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
48327         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
48328         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
48329         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
48330         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
48331         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
48332         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
48333         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
48334         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
48335         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
48336         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
48337         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
48338         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
48339         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
48340         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
48341         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
48342         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
48343         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
48344         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
48345         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
48346         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
48347         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
48348         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
48349         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
48350         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
48351         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
48352         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
48353         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
48354         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
48355         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
48356         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
48357         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
48358         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
48359         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
48360         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
48361         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
48362         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
48363         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
48364         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
48365         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
48366         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
48367         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
48368         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
48369         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
48370         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
48371         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
48373         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
48374         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
48375         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
48376         before exiting on error.
48377         (__libc_vfork): New strong alias.
48378         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
48379         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
48381         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
48382         that was previously under [RESET_PID].
48383         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
48385         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
48387 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48389         [BZ #16977]
48390         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
48391         value when x - 1 is zero.
48392         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
48393         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
48394         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
48395         0.0L for an argument of 1.0L.
48396         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
48397         Likewise.
48398         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
48399         value when x - 1 is zero.
48400         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
48401         * sysdeps/i386/fpu/libm-test-ulps: Update.
48402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48404 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
48406         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
48407         alphasort and versionsort.
48409 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48411         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
48412         macro.
48413         [copysignf]: Likewise.
48415 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48417         * crypt/md5-crypt.c: Fix formatting.
48419 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
48421         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
48422         (b64_from_24bit): New function.
48424 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48426         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
48427         libc_hidden_builtin_def to ifunc.
48428         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48429         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
48431 2014-05-21  Roland McGrath  <roland@hack.frob.com>
48433         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
48434         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
48436 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
48438         * nscd/Depend (linuxthreads): Remove.
48439         (nptl): Add.
48440         * resolv/Depend (linuxthreads): Remove.
48441         * rt/Depend (linuxthreads): Remove.
48443         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
48444         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
48445         $(common-objpfx)elf/.
48446         (link-libc-before-gnulib): Likewise.
48447         (elfobjdir): Remove variable.
48448         * Makefile (install): Use $(elf-objpfx) instead of
48449         $(common-objpfx)elf/.
48450         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
48451         $(elfobjdir)/.
48452         (link-libc-deps): Likewise.
48453         ($(common-objpfx)libc.so): Likewise.
48454         ($(common-objpfx)linkobj/libc.so): Likewise.
48455         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
48456         instead of $(common-objpfx)elf/.
48457         (symbolic-link-list): Likewise.
48458         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48459         [$(cross-compiling) = no]: Likewise.
48460         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
48461         $(elfobjdir)/.
48462         (static-gnulib-arch): Likewise.
48463         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48464         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
48465         $(common-objpfx)elf/.
48467 2014-05-21  Richard Henderson  <rth@redhat.com>
48469         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48470         (SINGLE_THREAD_P): Use the correct width load.  Fold
48471         into the ldr offset.
48473         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
48474         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
48476 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
48478         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
48479         (libgcc_s_resume): Use __attribute_used__.
48480         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
48481         Likewise.
48483 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48485         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
48486         optimization when used with float constants.
48488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48490 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
48492         [BZ #16915]
48493         * locale/nl_langinfo_l.c: Make direct reference to every
48494         _nl_current_CATEGORY symbol.
48495         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
48496         (tests-static): Add tst-langinfo-static.
48497         (tests-special): Add tst-langinfo-static.out.
48498         ($(objpfx)tst-langinfo.out): Redirect output.
48499         ($(objpfx)tst-langinfo-static.out): New.
48500         * localedata/tst-langinfo.sh: Send output to stdout.
48501         * localedata/tst-langinfo-static.c: New file.
48503         [BZ #16965]
48504         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
48505         when the shift amount is modulo the limb size.
48507 2014-05-20  Richard Henderson  <rth@redhat.com>
48509         [BZ #16967]
48510         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
48511         Change type of sa_flags from unsigned int to int.
48513         [BZ #16966]
48514         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
48516         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
48518 2014-05-20  Will Newton  <will.newton@linaro.org>
48520         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48521         Test the return value of the system call in the nocancel case.
48523 2014-05-20  Will Newton  <will.newton@linaro.org>
48524             Yvan Roux  <yvan.roux@linaro.org>
48526         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
48527         #include of asm/ptrace.h.
48528         (PTRACE_GET_THREAD_AREA): Remove #undef.
48529         (PTRACE_GETHBPREGS): Likewise.
48530         (PTRACE_SETHBPREGS): Likewise.
48531         (struct user_regs_struct): New structure.
48532         (struct user_fpsimd_struct): New structure.
48533         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
48534         #include of asm/ptrace.h and second #include of sys/user.h.
48535         (PTRACE_GET_THREAD_AREA): Remove #undef.
48536         (PTRACE_GETHBPREGS): Likewise.
48537         (PTRACE_SETHBPREGS): Likewise.
48538         (ELF_NGREG): Use new struct user_regs_struct.
48539         (elf_fpregset_t): Use new struct user_fpsimd_struct.
48541 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48543         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
48544         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
48546 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
48548         [BZ #16958]
48549         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
48550         membar to avoid block loads/stores to overlap previous stores.
48552 2014-05-17  Richard Henderson  <rth@redhat.com>
48554         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
48555         Create the __##syscall_name##_nocancel entry point.
48556         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
48557         Remove; let the sysdep-cancel.h code create it.
48559 2014-05-17  David S. Miller  <davem@davemloft.net>
48561         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
48562         Protect with __USE_GNU.
48563         (TIOCSET_TEMPT): Likewise.
48564         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
48565         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
48566         these are already provided in bits/ioctl-types.h
48568 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48570         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
48571         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
48573         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
48574         Use wait4 regardless of [__NR_waitpid].
48576 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48578         PR libgcc/60166
48579         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48580         (_FP_NANSIGN_Q): Set the quiet bit.
48582 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
48584         * benchtests/Makefile
48585         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
48586         not $(common-objpfx)math/libm.so.
48587         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
48588         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
48589         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
48590         $(common-objpfx)dlfcn/libdl.so.
48591         ($(objpfx)tst-audit8): Depend on $(libm), not
48592         $(common-objpfx)math/libm.so.
48593         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
48594         not $(common-objpfx)dlfcn/libdl.so.
48595         * math/Makefile
48596         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48597         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
48598         [$(build-shared) = yes].
48599         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
48600         $(common-objpfx)nptl/libpthread.so.
48601         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
48602         $(common-objpfx)math/libm.so$(libm.so-version) or
48603         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
48604         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
48605         $(common-objpfx)dlfcn/libdl.so.
48606         * setjmp/Makefile (link-libm): Remove variable.
48607         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
48608         * stdio-common/Makefile (link-libm): Remove variable.
48609         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
48610         * stdlib/Makefile (link-libm): Remove variable.
48611         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
48612         ($(objpfx)tst-strtod-round): Likewise.
48613         ($(objpfx)tst-tininess): Likewise.
48614         ($(objpfx)tst-strtod-underflow): Likewise.
48615         ($(objpfx)tst-strtod6): Likewise.
48616         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
48617         $(libdl), not $(common-objpfx)nptl/libpthread.so and
48618         $(common-objpfx)dlfcn/libdl.so.
48620 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48622         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
48623         BSD terminal modes definitions.
48625 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48627         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
48628         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
48630         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
48631         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
48632         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
48633         Don't do #include_next.
48634         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
48635         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
48636         Don't do #include_next.
48637         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
48638         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
48639         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
48640         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
48642 2014-05-16  Allan McRae  <allan@archlinux.org>
48644         * po/sv.po: Update Swedish translation from translation project.
48646         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
48647         in sed expression.
48649 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
48651         [BZ #16917]
48652         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
48653         errno if the TIOCGPTN ioctl fails with an error different than
48654         EINVAL.
48655         * login/tst-ptsname.c: New file.
48656         * login/Makefile (tests): Add tst-ptsname.
48658         [BZ #16943]
48659         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
48660         and prlimit64.
48662 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48664         [BZ #16849]
48665         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
48666         herrno to return EAI_AGAIN.
48668 2014-05-14  Roland McGrath  <roland@hack.frob.com>
48670         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
48671         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
48672         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
48673         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
48674         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
48675         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
48676         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
48677         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
48678         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
48679         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
48680         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
48681         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
48682         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
48683         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
48684         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
48685         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
48686         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
48687         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
48688         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
48689         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
48690         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
48691         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
48692         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
48693         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
48694         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
48695         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
48696         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
48697         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
48698         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
48699         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
48700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
48701         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
48702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
48703         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
48704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48705         Moved ...
48706         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
48707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
48708         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
48709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
48710         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
48711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
48712         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
48713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
48714         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
48715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
48716         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
48717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
48718         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
48719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
48720         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
48721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
48722         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
48723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
48724         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
48725         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
48726         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
48727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
48728         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
48729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
48730         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
48731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
48732         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
48733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48734         Moved ...
48735         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
48736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
48737         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
48738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
48739         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
48740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
48741         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
48742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
48743         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
48744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
48745         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
48746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
48747         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
48748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
48749         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
48750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
48751         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
48752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
48753         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
48754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48755         Moved ...
48756         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
48757         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
48758         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
48760         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
48761         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
48762         (libpthread-sysdep_routines): Add elision-related stuff here instead.
48763         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
48764         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
48765         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
48766         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
48767         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
48768         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
48769         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
48770         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
48771         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
48772         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
48773         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
48774         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
48775         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
48776         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
48777         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
48778         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
48779         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
48780         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
48781         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
48782         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
48783         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
48784         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
48785         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
48786         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
48787         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
48788         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
48789         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
48790         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
48792         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
48793         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
48795         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
48796         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
48797         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
48798         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
48799         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
48800         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
48801         Moved ...
48802         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
48803         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
48804         Moved ...
48805         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
48806         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
48807         Moved ...
48808         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
48809         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
48810         Moved ...
48811         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
48812         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
48813         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
48814         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
48815         Moved ...
48816         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
48817         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
48818         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
48819         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
48820         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
48821         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
48822         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
48823         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
48824         Moved ...
48825         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
48826         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
48827         Moved ...
48828         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
48829         ... here.
48830         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
48831         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
48832         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
48833         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
48834         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
48835         Moved ...
48836         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
48837         ... here.
48838         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
48839         Moved ...
48840         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
48841         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
48842         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
48843         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
48844         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
48845         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
48846         Moved ...
48847         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
48848         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
48849         Moved ...
48850         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
48851         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
48852         Moved ...
48853         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
48854         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
48855         Moved ...
48856         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
48857         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
48858         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
48859         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
48860         Moved ...
48861         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
48862         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
48863         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
48864         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
48865         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
48866         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
48867         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
48868         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
48869         Moved ...
48870         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
48871         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
48872         Moved ...
48873         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
48874         ... here.
48875         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
48876         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
48877         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
48878         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
48879         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
48880         Moved ...
48881         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
48882         ... here.
48883         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
48884         Moved ...
48885         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
48886         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
48887         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
48888         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
48889         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
48890         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
48891         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
48892         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
48893         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
48894         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
48895         Moved ...
48896         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
48897         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
48898         Moved ...
48899         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
48900         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
48901         Moved ...
48902         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
48903         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
48904         Moved ...
48905         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
48906         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
48907         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
48908         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
48909         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
48910         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
48911         Moved ...
48912         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
48913         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
48914         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
48915         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
48916         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
48917         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
48918         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
48919         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
48920         Moved ...
48921         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
48922         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48923         Moved ...
48924         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
48925         ... here.
48926         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
48927         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
48928         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
48929         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
48930         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48931         Moved ...
48932         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
48933         ... here.
48934         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
48935         Moved ...
48936         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
48937         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
48938         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
48939         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
48940         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
48941         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
48942         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
48943         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
48944         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
48945         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
48946         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
48948         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
48949         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
48951         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
48952         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
48954         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
48955         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
48956         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
48957         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
48958         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
48959         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
48960         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
48961         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
48962         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
48963         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
48964         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
48965         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
48966         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
48967         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
48968         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
48969         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
48970         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
48971         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
48972         Moved ...
48973         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
48974         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
48975         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
48976         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
48977         Moved ...
48978         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
48979         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
48980         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
48981         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
48982         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
48983         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
48984         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
48985         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
48986         Moved ...
48987         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
48988         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
48989         Moved ...
48990         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
48991         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
48992         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
48993         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
48994         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
48995         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
48996         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
48997         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
48998         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
48999         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
49000         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
49001         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
49002         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
49003         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
49004         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
49005         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
49006         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
49008         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
49009         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
49010         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
49011         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
49012         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
49014         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
49015         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
49016         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
49017         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
49018         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
49019         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
49020         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
49021         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
49022         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
49023         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
49025         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
49026         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
49028         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
49029         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
49030         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
49031         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
49032         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
49033         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
49034         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
49035         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
49036         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
49037         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
49038         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
49039         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
49040         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
49041         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
49042         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
49043         Update #include.
49044         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
49045         Likewise.
49046         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49047         Likewise.
49048         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49049         Likewise.
49050         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49051         Likewise.
49052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
49053         Likewise.
49054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
49055         Likewise.
49056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49057         Likewise.
49058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
49059         Likewise.
49060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
49061         Likewise.
49062         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
49063         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
49064         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
49065         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
49066         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
49067         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
49068         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
49069         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
49070         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
49071         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
49072         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
49073         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
49074         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
49075         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
49076         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
49078         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
49079         that was previously under [RESET_PID].
49080         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49081         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
49082         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
49084         * sysdeps/i386/nptl/Implies: New file.
49085         * sysdeps/x86_64/nptl/Implies: New file.
49086         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
49087         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
49088         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
49089         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
49091         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
49092         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49093         (__libc_vfork): New strong alias.
49094         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
49095         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
49097         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
49098         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49099         (__libc_vfork): New strong alias.
49100         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
49101         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
49103         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
49104         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49105         (__libc_vfork): New strong alias.
49106         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
49107         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
49108         * nptl/pt-vfork.c: New file.
49109         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
49110         (libpthread: GLIBC_2.20): New version set (empty).
49112 2014-05-14  Will Newton  <will.newton@linaro.org>
49114         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
49115         rather than #if.
49117 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
49119         [BZ #16564]
49120         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
49121         arguments with exponent 65 or above.
49122         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
49123         arguments 0x1p113L or above.
49124         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
49125         to arguments 0x1p107L or above.
49126         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
49127         positive arguments with exponent 65 or above.
49128         * math/auto-libm-test-in: Add more tests of log1p.
49129         * math/auto-libm-test-out: Regenerated.
49131         [BZ #16928]
49132         * math/s_cacos.c (__cacos): Ensure zero real part of result from
49133         non-finite arguments is +0.
49134         * math/s_cacosf.c (__cacosf): Likewise.
49135         * math/s_cacosl.c (__cacosl): Likewise.
49136         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
49137         * sysdeps/i386/fpu/libm-test-ulps: Update.
49138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49140         [BZ #16927]
49141         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
49142         value.
49143         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
49144         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
49145         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
49146         for explicit high bit of mantissa when testing for argument equal
49147         to 1.
49148         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
49149         * sysdeps/i386/fpu/libm-test-ulps: Update.
49150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49152         [BZ #16516]
49153         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
49154         (__erf): Scale by 16 instead of 8 in potentially underflowing
49155         case.  Ensure exception if result actually underflows.
49156         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
49157         (__erff): Scale by 16 instead of 8 in potentially underflowing
49158         case.  Ensure exception if result actually underflows.
49159         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
49160         (efx8): Remove variable.
49161         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49162         case.  Ensure exception if result actually underflows.
49163         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
49164         (efx8): Remove variable.
49165         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49166         case.  Ensure exception if result actually underflows.
49167         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
49168         (efx8): Remove variable.
49169         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49170         case.  Ensure exception if result actually underflows.
49171         * math/auto-libm-test-in: Add more tests of erf.
49172         * math/auto-libm-test-out: Regenerated.
49174 2014-05-14  Andreas Schwab  <schwab@suse.de>
49176         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
49177         Remove code conditionalized on USE___THREAD.
49179         * config.h.in (HAVE_PT_CHOWN): Define as 0.
49180         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
49181         not definedness.
49183 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
49185         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
49186         Define unconditionally.
49187         (__ASSUME_O_CLOEXEC): Likewise.
49188         (__ASSUME_SOCK_CLOEXEC): Likewise.
49189         (__ASSUME_IN_NONBLOCK): Likewise.
49190         (__ASSUME_PIPE2): Likewise.
49191         (__ASSUME_EVENTFD2): Likewise.
49192         (__ASSUME_SIGNALFD4): Likewise.
49193         (__ASSUME_DUP3): Likewise.
49194         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49195         (__ASSUME_DUP3): Do not define.
49196         (__ASSUME_EVENTFD2): Likewise.
49197         (__ASSUME_IN_NONBLOCK): Likewise.
49198         (__ASSUME_O_CLOEXEC): Likewise.
49199         (__ASSUME_PIPE2): Likewise.
49200         (__ASSUME_SIGNALFD4): Likewise.
49201         (__ASSUME_SOCK_CLOEXEC): Likewise.
49202         (__ASSUME_UTIMES): Undefine.
49203         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49204         (__ASSUME_UTIMES): Do not define.
49205         (__ASSUME_O_CLOEXEC): Likewise.
49206         (__ASSUME_SOCK_CLOEXEC): Likewise.
49207         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
49208         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
49209         0x020621].
49210         (__ASSUME_PIPE2): Likewise.
49211         (__ASSUME_EVENTFD2): Likewise.
49212         (__ASSUME_SIGNALFD4): Likewise.
49213         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
49214         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
49215         Do not define.
49216         (__ASSUME_EVENTFD2): Likewise.
49217         (__ASSUME_SIGNALFD4): Likewise.
49218         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
49219         (__ASSUME_32BITUIDS): Likewise.
49220         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49221         (__ASSUME_IPC64): Likewise.
49222         (__ASSUME_ST_INO_64_BIT): Likewise.
49223         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
49224         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
49225         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49226         (__ASSUME_UTIMES): Do not define.
49227         (__ASSUME_PSELECT): Likewise.
49228         (__ASSUME_PPOLL): Likewise.
49229         (__ASSUME_O_CLOEXEC): Likewise.
49230         (__ASSUME_SOCK_CLOEXEC): Likewise.
49231         (__ASSUME_IN_NONBLOCK): Likewise.
49232         (__ASSUME_PIPE2): Likewise.
49233         (__ASSUME_EVENTFD2): Likewise.
49234         (__ASSUME_SIGNALFD4): Likewise.
49235         (__ASSUME_DUP3): Likewise.
49236         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49237         (__ASSUME_UTIMES): Likewise.
49238         (__ASSUME_O_CLOEXEC): Likewise.
49239         (__ASSUME_SOCK_CLOEXEC): Likewise.
49240         (__ASSUME_IN_NONBLOCK): Likewise.
49241         (__ASSUME_PIPE2): Likewise.
49242         (__ASSUME_EVENTFD2): Likewise.
49243         (__ASSUME_SIGNALFD4): Likewise.
49244         (__ASSUME_DUP3): Likewise.
49245         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49246         (__ASSUME_UTIMES): Likewise.
49247         (__ASSUME_O_CLOEXEC): Likewise.
49248         (__ASSUME_SOCK_CLOEXEC): Likewise.
49249         (__ASSUME_IN_NONBLOCK): Likewise.
49250         (__ASSUME_PIPE2): Likewise.
49251         (__ASSUME_EVENTFD2): Likewise.
49252         (__ASSUME_SIGNALFD4): Likewise.
49253         (__ASSUME_DUP3): Likewise.
49254         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
49255         Likewise.
49256         (__ASSUME_UTIMES): Likewise.
49257         (__ASSUME_EVENTFD2): Likewise.
49258         (__ASSUME_SIGNALFD4): Likewise.
49259         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49260         (__ASSUME_O_CLOEXEC): Likewise.
49261         (__ASSUME_SOCK_CLOEXEC): Likewise.
49262         (__ASSUME_IN_NONBLOCK): Likewise.
49263         (__ASSUME_PIPE2): Likewise.
49264         (__ASSUME_EVENTFD2): Likewise.
49265         (__ASSUME_SIGNALFD4): Likewise.
49266         (__ASSUME_DUP3): Likewise.
49267         (__ASSUME_UTIMES): Undefine.
49269         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
49270         feclearexcept.  Remove symbol versioning code.
49271         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
49272         symbol versioning code.
49273         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
49274         symbol versioning code.
49275         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
49276         feupdateenv.  Remove symbol versioning code.
49277         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
49278         fegetexceptflag.  Remove symbol versioning code.
49279         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
49280         fesetexceptflag.  Remove symbol versioning code.
49281         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
49282         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
49283         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
49284         (__posix_fadvise64_l32): Remove prototype.
49285         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
49286         code.
49288 2014-05-13  Roland McGrath  <roland@hack.frob.com>
49290         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
49291         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
49292         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
49293         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
49295 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
49297         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
49298         current working directory
49300 2014-05-13  Roland McGrath  <roland@hack.frob.com>
49302         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
49303         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
49304         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
49305         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
49306         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
49307         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
49308         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
49309         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
49310         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
49311         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
49312         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
49313         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
49314         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
49315         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
49316         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
49317         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
49318         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
49319         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
49320         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
49321         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
49322         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
49323         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
49324         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
49325         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
49326         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
49327         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
49328         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
49329         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
49330         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
49331         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
49332         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
49333         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
49334         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
49335         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
49336         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
49337         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
49338         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
49339         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
49340         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
49341         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
49342         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
49343         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
49345         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
49346         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
49348         * sysdeps/unix/sysv/linux/arm/Makefile
49349         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
49350         Add rt-aeabi_unwind_cpp_pr1.
49351         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
49352         Add nptl-aeabi_unwind_cpp_pr1.
49353         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
49354         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
49355         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
49356         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
49357         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
49358         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
49360         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
49361         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
49362         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
49363         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
49365         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
49366         Deconditionalize the code that was previously under [RESET_PID].
49367         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
49369         * sysdeps/generic/exit-thread.h: New file.
49370         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
49371         * include/unistd.h (__exit_thread): Remove declaration.
49372         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
49373         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
49374         * csu/libc-start.c: Include <exit-thread.h>.
49375         (LIBC_START_MAIN): Pass no argument to __exit_thread.
49376         * nptl/pthread_create.c: Include <exit-thread.h>.
49377         (start_thread): Call __exit_thread in place of __exit_thread_inline.
49378         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
49379         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
49380         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
49381         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
49382         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
49383         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
49384         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
49385         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
49386         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
49387         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
49388         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
49389         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
49390         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
49391         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
49392         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
49393         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
49395 2014-05-13  Andreas Schwab  <schwab@suse.de>
49397         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
49399 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
49401         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
49402         (__ASSUME_UTIMES): Do not condition on kernel version.
49403         (__ASSUME_PSELECT): Define unconditionally.
49404         (__ASSUME_PPOLL): Likewise.
49405         (__ASSUME_ATFCTS): Likewise.
49406         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
49407         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
49408         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
49409         (__ASSUME_UTIMENSAT): Define unconditionally.
49410         (__ASSUME_PRIVATE_FUTEX): Likewise.
49411         (__ASSUME_FALLOCATE): Likewise.
49412         (__ASSUME_O_CLOEXEC): Likewise.
49413         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
49414         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
49415         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
49416         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
49417         (__ASSUME_IN_NONBLOCK): Likewise.
49418         (__ASSUME_PIPE2): Likewise.
49419         (__ASSUME_EVENTFD2): Likewise.
49420         (__ASSUME_SIGNALFD4): Likewise.
49421         (__ASSUME_DUP3): Likewise.
49422         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49423         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
49424         (__ASSUME_AT_RANDOM): Likewise.
49425         (__ASSUME_PREADV): Likewise.
49426         (__ASSUME_PWRITEV): Likewise.
49427         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
49428         (__ASSUME_F_GETOWN_EX): Define unconditionally.
49429         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
49430         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
49431         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
49432         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49433         (__ASSUME_O_CLOEXEC): Define unconditionally.
49434         (__ASSUME_PSELECT): Do not undefine conditionally.
49435         (__ASSUME_PPOLL): Likewise.
49436         (__ASSUME_ATFCTS): Likewise.
49437         (__ASSUME_SET_ROBUST_LIST): Likewise.
49438         (__ASSUME_UTIMENSAT): Likewise.
49439         (__ASSUME_FDATASYNC): Define unconditionally.
49440         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49441         (__ASSUME_SIGFRAME_V2): Likewise.
49442         )__ASSUME_EVENTFD2): Likewise.
49443         (__ASSUME_SIGNALFD4): Likewise.
49444         (__ASSUME_PSELECT): Do not undefine conditionally.
49445         (__ASSUME_PPOLL): Likewise.
49446         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49447         (__ASSUME_PSELECT): Define unconditionally.
49448         (__ASSUME_PPOLL): Likewise.
49449         (__ASSUME_O_CLOEXEC): Likewise.
49450         (__ASSUME_SOCK_CLOEXEC): Likewise.
49451         (__ASSUME_IN_NONBLOCK): Likewise.
49452         (__ASSUME_PIPE2): Likewise.
49453         (__ASSUME_EVENTFD2): Likewise.
49454         (__ASSUME_SIGNALFD4): Likewise.
49455         (__ASSUME_DUP3): Likewise.
49456         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49457         (__ASSUME_O_CLOEXEC): Likewise.
49458         (__ASSUME_SOCK_CLOEXEC): Likewise.
49459         (__ASSUME_IN_NONBLOCK): Likewise.
49460         (__ASSUME_PIPE2): Likewise.
49461         (__ASSUME_EVENTFD2): Likewise.
49462         (__ASSUME_SIGNALFD4): Likewise.
49463         (__ASSUME_DUP3): Likewise.
49464         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49465         (__ASSUME_EVENTFD2): Likewise.
49466         (__ASSUME_SIGNALFD4): Likewise.
49467         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49469 2014-05-12  Andreas Schwab  <schwab@suse.de>
49471         [BZ #16932]
49472         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
49473         (_nss_nis_gethostbyname4_r): Return error if item length is larger
49474         than maximum RPC packet size.
49475         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
49476         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
49477         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
49478         (_nss_nis_getservbyport_r): Likewise.
49480 2014-05-12  Will Newton  <will.newton@linaro.org>
49482         * malloc/Makefile (tests): Add tst-mallopt.
49483         * malloc/tst-mallopt.c: New file.
49485 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49487         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
49488         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
49490 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49492         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
49493         (tst-tlsmod6.so): Likewise.
49495 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49497         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
49499 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
49501         [BZ #16064]
49502         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
49503         and <dl-procinfo.h>.
49504         (__fegetenv): Save SSE state in envp->__eip if supported.
49505         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
49506         envp->__eip if supported.
49507         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
49508         and <dl-procinfo.h>.
49509         (__fesetenv): Always set __eip, __cs_selector, __opcode,
49510         __data_offset and __data_selector in environment to 0.  Set SSE
49511         state if supported.
49512         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
49513         test-fenv-sse.
49514         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
49515         -mfpmath=sse.
49516         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
49518 2014-05-09  Will Newton  <will.newton@linaro.org>
49520         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
49521         and libc_relro_required for ARM.
49522         * sysdeps/arm/preconfigure: Regenerate.
49524 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
49525             Stefan Liebler  <stli@linux.vnet.ibm.com>
49527         * config.make.in (enable-lock-elision): New Makefile variable.
49528         * configure.ac: Likewise.
49529         * configure: Regenerate.
49530         * sysdeps/s390/configure.ac:
49531         Add check for gcc transactions support.
49532         * sysdeps/s390/configure: Regenerate.
49533         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
49534         Build elision files if enabled.
49535         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
49536         Add lock elision support for s390.
49537         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
49538         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
49539         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
49540         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
49541         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
49542         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
49543         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
49544         Likewise.
49545         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
49546         Likewise.
49547         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
49548         Likewise.
49549         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
49550         Likewise.
49551         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
49552         (__lll_timedlock_elision, __lll_lock_elision)
49553         (__lll_unlock_elision, __lll_trylock_elision)
49554         (lll_timedlock_elision, lll_lock_elision)
49555         (lll_unlock_elision, lll_trylock_elision): Add.
49556         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49557         (pthread_mutex_t): Add lock elision support for s390.
49559 2014-05-14  Wilco  <wdijkstr@arm.com>
49561         * sysdeps/arm/fclrexcpt.c: Cleanup.
49562         * sysdeps/arm/fedisblxcpt.c: Cleanup.
49563         * sysdeps/arm/feenablxcpt.c: Cleanup.
49564         * sysdeps/arm/fegetenv.c: Cleanup.
49565         * sysdeps/arm/fegetexcept.c: Cleanup.
49566         * sysdeps/arm/fegetround.c: Cleanup.
49567         * sysdeps/arm/feholdexcpt.c: Cleanup.
49568         * sysdeps/arm/fesetenv.c: Cleanup.
49569         * sysdeps/arm/fesetround.c: Cleanup.
49570         * sysdeps/arm/feupdateenv.c: Cleanup.
49571         * sysdeps/arm/fgetexcptflg.c: Cleanup.
49572         * sysdeps/arm/fraiseexcpt.c: Cleanup.
49573         * sysdeps/arm/fsetexcptflg.c: Cleanup.
49574         * sysdeps/arm/ftestexcept.c: Cleanup.
49575         * sysdeps/arm/get-rounding-mode.h: Cleanup.
49576         * sysdeps/arm/setfpucw.c: Cleanup.
49578 2014-05-09  Will Newton  <will.newton@linaro.org>
49580         * sysdeps/arm/armv7/strcmp.S: New file.
49581         * NEWS: Mention addition of ARMv7 optimized strcmp.
49583 2014-05-08  Roland McGrath  <roland@hack.frob.com>
49585         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
49586         look for %.ac rather than %.in.
49588         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
49589         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
49590         * sysdeps/mach/hurd/configure: Regenerated.
49591         * sysdeps/unix/sysv/linux/configure: Regenerated.
49593         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
49595 2014-05-07  Steve Ellcey  <sellcey@mips.com>
49597         [BZ #16922]
49598         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
49599         (LONG_SUB): Ditto.
49600         (PTR_SUB): Ditto.
49602 2014-05-07  Andreas Schwab  <schwab@suse.de>
49604         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
49605         when skipping over non-matching result from nscd.
49607 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
49609         [BZ #16876]
49610         * nptl/sockperf.c (client): Check socket return value.
49612         [BZ #16877]
49613         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
49614         nscd security class.
49616 2014-05-06  Roland McGrath  <roland@hack.frob.com>
49618         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
49619         * sysdeps/arm/unwind.h: ... here.
49621 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
49623         [BZ #16916]
49624         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
49625         Define.
49627 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49629         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
49630         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
49631         multiarch strncpy for PPC64.
49632         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
49633         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
49634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
49635         multiarch optimizations.
49636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49637         (__libc_ifunc_impl_list): Likewise.
49638         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
49639         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
49640         multiarch stpncpy for PPC64.
49641         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
49642         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
49644 2014-05-06  Andreas Schwab  <schwab@suse.de>
49646         [BZ #16912]
49647         * gmon/mcount.c (_MCOUNT_DECL): Use
49648         atomic_compare_and_exchange_bool_acq instead of
49649         catomic_compare_and_exchange_bool_acq.
49651 2014-05-05  Roland McGrath  <roland@hack.frob.com>
49653         * elf/Makefile (others, install-bin): Remove pldd.
49654         (pldd-modules): Variable removed.
49655         ($(objpfx)pldd): Target removed.
49656         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
49657         (others, install-bin): Append pldd here.
49658         ($(objpfx)pldd): New target.
49660         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
49661         to 0, so the first #if test emitted later doesn't see it undefined.
49662         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
49663         * sysdeps/gnu/errlist.c: Regenerated.
49665 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49667         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
49668         [libc_hidden_builtin_def]: Define to empty value.
49669         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
49670         [libc_hidden_builtin_def]: Likewise.
49671         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
49672         [libc_hidden_builtin_def]: Likewise.
49673         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
49674         [libc_hidden_builtin_def]: Likewise.
49675         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
49676         __redirect_memcpy and define ifunc as default hidden symbol.
49677         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
49678         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
49680 2014-05-04  Adam Conrad  <adconrad@0c3.net>
49682         * locale/iso-4217.def: Reintroduce XDR currency.
49684 2014-05-04  Allan McRae  <allan@archlinux.org>
49686         * po/eo.po: Update Esperanto translation from translation project.
49688 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
49690         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
49691         and FEATURE_INDEX_MAX to 1.
49692         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
49694 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49696         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
49697         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
49698         * iconvdata/big5.c (ONE_DIRECTION): Define.
49699         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
49700         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
49701         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
49702         * iconvdata/cp932.c (ONE_DIRECTION): Define.
49703         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
49704         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
49705         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
49706         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
49707         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
49708         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
49709         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
49710         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
49711         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
49712         * iconvdata/gbk.c (ONE_DIRECTION): Define.
49713         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
49714         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
49715         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
49716         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
49717         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
49718         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
49719         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
49720         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
49721         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
49722         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
49723         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
49724         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
49725         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
49726         * iconvdata/iso646.c (ONE_DIRECTION): Define.
49727         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
49728         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
49729         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
49730         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
49731         * iconvdata/johab.c (ONE_DIRECTION): Define.
49732         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
49733         * iconvdata/sjis.c (ONE_DIRECTION): Define.
49734         * iconvdata/t.61.c (ONE_DIRECTION): Define.
49735         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
49736         * iconvdata/tscii.c (ONE_DIRECTION): Define.
49737         * iconvdata/uhc.c (ONE_DIRECTION): Define.
49738         * iconvdata/unicode.c (ONE_DIRECTION): Define.
49739         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
49740         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
49741         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
49743 2014-05-01  Roland McGrath  <roland@hack.frob.com>
49745         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
49746         (_IO_JUMPS_OFFSET): Define to 0.
49748         * nptl/sysdeps/pthread/bits/libc-lock.h
49749         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
49750         (__libc_lock_define_initialized_recursive): Always define using
49751         initializer.  Modern compilers treat uninitialized (implicit zero) and
49752         explicit zero initializers the same (i.e. put the datum in bss).
49754 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49756         * nscd/nscd-client.h: Include <string.h>.
49758 2014-05-01  David S. Miller  <davem@davemloft.net>
49760         [BZ #16885]
49761         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
49762         multiple zero bytes exist at the end of a string.
49763         Reported by Aurelien Jarno <aurelien@aurel32.net>
49765         * string/test-strcmp.c (check): Add explicit test for situations where
49766         there are multiple zero bytes after the first.
49768 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49770         [BZ #16890]
49771         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
49772         when compiling wprintf.
49773         * stdio-common/tstdiomisc.c (t3): New function.
49774         (main): Call it.
49776 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49778         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
49779         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
49780         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
49781         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
49783 2014-05-01  Steve Ellcey  <sellcey@mips.com>
49785         * stdlib/longlong.h: Updated from GCC.
49787 2014-05-01  Will Newton  <will.newton@linaro.org>
49788             Bernard Ogden  <bernie.ogden@linaro.org>
49790         * NEWS: Update fixed bug list.
49792         [BZ #15119]
49793         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
49795 2014-04-30  David S. Miller  <davem@davemloft.net>
49797         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
49798         (libc_feholdexcept_setround_sparc_ctx): New function.
49799         (libc_fesetenv_sparc_ctx): Likewise.
49800         (libc_feupdateenv_sparc_ctx): Likewise.
49801         (libc_feholdsetround_sparc_ctx): Likewise.
49802         (libc_feholdexcept_setround_ctx): Define.
49803         (libc_feholdexcept_setroundf_ctx): Likewise.
49804         (libc_feholdexcept_setroundl_ctx): Likewise.
49805         (libc_fesetenv_ctx): Likewise.
49806         (libc_fesetenvf_ctx): Likewise.
49807         (libc_fesetenvl_ctx): Likewise.
49808         (libc_feupdateenv_ctx): Likewise.
49809         (libc_feupdateenvf_ctx): Likewise.
49810         (libc_feupdateenvl_ctx): Likewise.
49811         (libc_feresetround_ctx): Likewise.
49812         (libc_feresetroundf_ctx): Likewise.
49813         (libc_feresetroundl_ctx): Likewise.
49814         (libc_feholdsetround_ctx): Likewise.
49815         (libc_feholdsetroundf_ctx): Likewise.
49816         (libc_feholdsetroundl_ctx): Likewise.
49818         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
49819         with __USE_GNU instead of XOPEN cpp guards.
49821         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
49822         0.
49824         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
49825         with XOPEN cpp guards.
49827 2014-04-30  Julian Brown  <julian@codesourcery.com>
49829         [BZ #16888]
49830         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
49831         handling.
49833 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
49835         [BZ #9894]
49836         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
49837         Change to 2.6.32.
49838         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
49839         * sysdeps/unix/sysv/linux/configure: Regenerated.
49840         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
49841         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
49842         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
49843         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
49844         * README: Update reference to required Linux kernel version.
49845         * manual/install.texi (Linux): Update reference to required Linux
49846         kernel headers version.
49847         * INSTALL: Regenerated.
49849         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
49850         header inclusion.
49851         [POSIX] (limits.h): Likewise.
49852         [POSIX] (math.h): Likewise.
49853         [POSIX] (sys/wait.h): Likewise.
49854         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
49855         function.
49856         [POSIX] (stddef.h): Do not allow header inclusion.
49858 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49860         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
49862 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
49864         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
49865         Return immediately after lll_futex_wake.
49867 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49869         [BZ #16791]
49870         * nscd/nscd-client.h (datahead_init_common): Initialize entire
49871         structure.
49872         (datahead_init_pos): Call datahead_init_common early.
49873         (datahead_init_neg): Likewise.
49875         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
49876         datahead_init_neg): New functions.
49877         * nscd/aicache.c (addhstaiX): Use them.
49878         * nscd/grpcache.c (cache_addgr): Likewise.
49879         * nscd/hstcache.c (cache_addhst): Likewise.
49880         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49881         * nscd/netgroupcache.c (do_notfound): Likewise.
49882         (addgetnetgrentX): Likewise.
49883         (addinnetgrX): Likewise.
49884         * nscd/pwdcache.c (cache_addpw): Likewise.
49885         * nscd/servicescache.c (cache_addserv): Likewise.
49887 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49888             Atsushi Onoe  <atsushi@onoe.org>
49890         [BZ #14308]
49891         [BZ #12994]
49892         [BZ #13651]
49893         * resolv/res_query.c (__libc_res_nsearch): Return if at least
49894         one response is valid.
49895         * resolv/res_send.c (send_dg): Check for validity of other
49896         response if the current response is a referral.
49898 2014-04-29  Steve Ellcey  <sellcey@mips.com>
49900         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
49902 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
49904         [BZ #16823]
49905         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
49906         Always divide by positive zero when computing -Inf result.
49907         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
49908         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
49910 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49912         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
49913         FPSCR if value do not change.
49914         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49915         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
49916         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
49917         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49918         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
49919         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
49920         function.
49922 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
49924         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
49925         * sysdeps/unix/sysv/linux/hppa: Move directory from
49926         ports/systeps/unix/sysv/linux/hppa.
49927         * README: Update listing for hppa-*-linux-gnu.
49929 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
49931         [BZ #16754]
49932         * manual/stdio.texi (Hook functions): Fix types of stream hook
49933         functions.
49934         [BZ #16854]
49935         * socket/sys/socket.h: Fix typo in comment.
49937 2014-04-28  Wilco  <wdijkstr@arm.com>
49939         * sysdeps/arm/fenv_private.h: New file.
49940         * sysdeps/arm/math_private.h: New file.
49941         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
49943 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
49945         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
49946         with __int128_t.
49947         (La_x86_64_retval): Likewise.
49949 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
49951         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
49952         fpsr if value didn't change.
49953         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
49954         to fpcr if value didn't change.
49955         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
49956         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
49957         fpsr or fpcr if value didn't change.
49958         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49959         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
49960         fpcr if value didn't change.
49961         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
49962         to fpsr if value didn't change.
49964 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49966         * nptl/tst-sem3.c: Use test-skeleton.c
49967         (main): Rename to do_test.  Use return instead of
49968         exit.
49969         * nptl/tst-sem4.c: Use test-skeleton.c
49970         (main): Rename to do_test.
49972 2014-04-22  David S. Miller  <davem@davemloft.net>
49974         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
49975         (struct sigaction): New struct member __glibc_reserved0, change
49976         type of sa_flags to int.
49978 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
49980         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
49981         (COUNT_LEADING_ZEROS_0): Define for AArch64.
49983 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49985         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
49986         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
49988 2014-04-22  Will Newton  <will.newton@linaro.org>
49989             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
49991         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
49992         (__longjmp): Add longjmp and longjmp_target SystemTap
49993         probes.
49994         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
49995         (__sigsetjmp): Add setjmp SystemTap probe.
49997 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
49999         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
50000         match manual order.
50002 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50004         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
50006         * sysdeps/powerpc/fpu/fenv_private.h
50007         (libc_feholdexcept_setroundl_ctx): Define to
50008         libc_feholdexcept_setround_ppc_ctx.
50009         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
50010         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
50011         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
50012         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
50014 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
50016         * sysdeps/aarch64/math-tests.h: New file.
50018 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
50020         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
50021         New.
50022         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50023         Check and set bit_AVX2_Usable.
50024         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
50025         macro.
50026         (bit_AVX2): Likewise.
50027         (index_AVX2_Usable): Likewise.
50028         (CPUID_AVX2): Likewise.
50029         (HAS_AVX2): Likewise.
50031 2014-04-17  Will Newton  <will.newton@linaro.org>
50033         * manual/setjmp.texi (System V contexts): Add note that
50034         calling setcontext on a context created by a call to a
50035         signal handler is undefined.  Update text to note that
50036         setcontext from a signal handler is possible but not
50037         recommended.
50039         [BZ #16629]
50040         * stdlib/tst-setcontext.c: Include signal.h.
50041         (main): Check that the signal stack before and
50042         after swapcontext is the same.
50044         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
50045         Re-implement to restore registers in user code and avoid
50046         rt_sigreturn system call.
50048 2014-04-17  Wilco  <wdijkstr@arm.com>
50050         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
50051         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
50052         * math/test-fenv.c: Skip exception trap tests on targets which only
50053         support non-stop mode.
50055 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
50056             Wilco Dijkstra  <wilco.dijkstra@arm.com>
50058         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
50059         (libc_feholdsetround_aarch64_ctx)
50060         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
50061         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
50062         (libc_feresetround_ctx, libc_feresetroundf_ctx)
50063         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
50064         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
50065         (libc_feresetround_noexl_ctx): Define.
50067 2014-04-16  Richard Henderson  <rth@redhat.com>
50069         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
50071         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
50072         unwind tables.
50074         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
50075         const from the non-libc, non-ldso copy.
50077         * sysdeps/alpha/libm-test-ulps: Regenerate.
50079 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
50080             Wilco Dijkstra  <wilco.dijkstra@arm.com>
50082         * sysdeps/aarch64/fpu/math_private.h: New file.
50084 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50086         * sysdeps/aarch64/libm-test-ulps: Regenerate.
50088 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
50090         [BZ #16275]
50091         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
50092         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
50093         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
50094         Intel MPX bound registers before _dl_profile_fixup.
50095         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
50096         registers after _dl_profile_fixup.  Save and restore bound
50097         registers bnd0/bnd1 when calling _dl_call_pltexit.
50098         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
50099         (LR_BND_OFFSET): Likewise.
50100         (LRV_BND0_OFFSET): Likewise.
50101         (LRV_BND1_OFFSET): Likewise.
50103 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50105         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
50106         to...
50107         * sysdeps/mach/hurd/i386/tls.h: ... here.
50108         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
50109         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
50110         fields.
50112 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50114         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
50116 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
50118         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50120 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
50122         [BZ #14770]
50123         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
50124         * sysdeps/s390/configure: Regenerate.
50126         [BZ #16824]
50127         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
50128         Set round-to-nearest internally to reduce error accumulation.
50130 2014-04-16  Alan Modra  <amodra@gmail.com>
50132         [BZ #16740]
50133         [BZ #16619]
50134         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
50135         * math/libm-test.inc (frexp_test_data): Add tests.
50136         * NEWS: Update fixed bug list.
50138 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50140         * benchtests/Makefile: Depend on libraries in build directory.
50141         (bench-math): Separate out math tests.
50142         (bench-pthread): Separate out pthread tests.
50143         (bench): Include math and pthread tests.
50145 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
50147         [BZ #16831]
50148         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
50149         _dl_debug_initialize.
50151         * configure.ac: Remove SELinux header check.
50152         * configure: Regenerate.
50153         * nscd/selinux.c (perms): Array of const char* to permission names.
50154         (nscd_request_avc_has_perm): Call security_deny_unknown to find
50155         default policy. Call string_to_security_class and string_to_av_perm to
50156         translate strings. Enforce default policy and call avs_has_perm with
50157         results of translated strings.
50159 2014-04-13  David S. Miller  <davem@davemloft.net>
50161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50163 2014-04-12  Allan McRae  <allan@archlinux.org>
50165         [BZ #16838]
50166         * manual/string.texi (Collation Functions): Fix qsort argument
50167         order in example.
50168         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50170 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
50172         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
50173         Make the test a no-op if there are no exceptions defined.
50175 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
50177         * elf/Makefile (tests): make tst-dlopen-aout conditional on
50178         enable-hardcoded-path-in-tests
50180 2014-04-11  Will Newton  <will.newton@linaro.org>
50182         * benchtests/Makefile (extra-objs): Add json-lib.o.
50183         (bench-func): Tidy up JSON output.
50184         * benchtests/bench-skeleton.c: Include json-lib.h.
50185         (main): Use JSON library functions to do output of
50186         benchmark results.
50187         * benchtests/bench-timing-type.c (main): Output the
50188         timing type simply, leaving formatting to the user.
50189         * benchtests/json-lib.c: New file.
50190         * benchtests/json-lib.h: Likewise.
50192 2014-04-11  Torvald Riegel  <triegel@redhat.com>
50194         [BZ #15215]
50195         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
50196         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
50197         memory barriers.  Add comments.
50198         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
50199         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
50200         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
50201         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
50202         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
50203         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
50205 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
50207         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
50208         * sysdeps/s390/s390-64/configure.ac: ... this ...
50209         * sysdeps/s390/configure.ac: ... to here.
50210         * sysdeps/s390/s390-32/configure: Delete file.
50211         * sysdeps/s390/s390-64/configure: Delete file.
50212         * sysdeps/s390/configure: Regenerate.
50214 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
50216         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
50218 2014-04-11  Will Newton  <will.newton@linaro.org>
50220         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
50221         to zero if it is not defined elsewhere.  (mtrim): Test
50222         the value of MALLOC_DEBUG with #if rather than #ifdef.
50224 2014-04-10 Torvald Riegel  <triegel@redhat.com>
50226         * benchtests/pthread_once-inputs: New file.
50227         * benchtests/pthread_once-source.c: New file.
50228         * benchtests/README: Update documentation.
50230 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
50231             H.J. Lu  <hongjiu.lu@intel.com>
50233         [BZ #16275]
50234         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
50235         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
50236         * sysdeps/x86_64/configure: Regenerated.
50237         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
50238         macro.
50239         (REGISTER_SAVE_RAX): Likewise.
50240         (REGISTER_SAVE_RCX): Likewise.
50241         (REGISTER_SAVE_RDX): Likewise.
50242         (REGISTER_SAVE_RSI): Likewise.
50243         (REGISTER_SAVE_RDI): Likewise.
50244         (REGISTER_SAVE_R8): Likewise.
50245         (REGISTER_SAVE_R9): Likewise.
50246         (REGISTER_SAVE_BND0): Likewise.
50247         (REGISTER_SAVE_BND1): Likewise.
50248         (REGISTER_SAVE_BND2): Likewise.
50249         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
50250         bound registers when calling _dl_fixup.
50252 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50254         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
50255         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
50256         of its definition.
50257         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
50258         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
50259         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
50260         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
50261         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
50262         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
50263         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
50265 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
50267         [BZ #15514]
50268         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
50269         pathconf(_PC_NAME_MAX).
50271 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50273         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
50274         Remove macro usage.
50275         (__PTHREAD_SPINS): Move definition to ...
50276         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50277         (__PTHREAD_SPINS): ... here.
50278         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50279         (__PTHREAD_SPIN): Likewise.
50280         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
50281         (__PTHREAD_SPIN): Likewise.
50282         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
50283         (__PTHREAD_SPIN): Likewise.
50284         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
50285         (__PTHREAD_SPIN): Likewise.
50286         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50287         (__PTHREAD_SPIN): Likewise.
50288         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50289         (__PTHREAD_SPIN): Likewise.
50290         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
50291         (__PTHREAD_SPIN): Likewise.
50292         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50293         (__PTHREAD_SPIN): Likewise.
50294         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50295         (__PTHREAD_SPIN): Likewise.
50296         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50297         (__PTHREAD_SPIN): Likewise.
50298         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50299         (__PTHREAD_SPIN): Likewise.
50300         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
50301         (__PTHREAD_SPIN): Likewise.
50303         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
50304         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
50305         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
50306         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
50307         imply folder.
50308         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
50309         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
50310         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
50311         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
50312         correct imply path.
50313         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
50314         strlen symbol for non multi-arch builds.
50315         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
50316         missing hidden_def and weak_alias.
50318 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
50320         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
50322 2014-04-07  Will Newton  <will.newton@linaro.org>
50324         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
50325         and contents.  [!_LIBC] Remove #ifndef and contents.
50326         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
50327         * string/memccpy.c (__memccpy): Use ANSI prototype.
50328         * string/memfrob.c (memfrob): Likewise.
50329         * string/strcoll.c (STRCOLL): Likewise.
50330         * string/strlen.c (strlen): Likewise.
50331         * string/strtok.c (STRTOK): Likewise.
50332         * string/strcat.c: Remove unused #include of memcopy.h.
50333         (strcat): Use ANSI prototype.
50334         * string/strchr.c: Remove unused #include of memcopy.h.
50335         (strchr): Use ANSI prototype.
50336         * string/strcmp.c: Remove unused #include of memcopy.h.
50337         (strcmp): Use ANSI prototype.
50338         * string/strcpy.c: Remove unused #include of memcopy.h.
50339         (strcpy): Use ANSI prototype.
50341 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50343         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
50344         * config.make.in (config-extra-cppflags): Set it from
50345         libc_extra_cppflags.
50346         * configure.ac (libc_extra_cflags): Make it accumulate over
50347         configure fragments.
50348         (libc_extra_cppflags): New flag.
50349         * configure. Regenerate.
50350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
50351         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
50352         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
50353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
50355         [BZ #16815]
50356         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
50357         result for FE_DOWNWARD rounding mode.
50358         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
50359         Likewise.
50360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50362 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
50364         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
50365         in function argument name.
50367 2014-04-03  David Svoboda  <svoboda@cert.org>
50369         [BZ #5666]
50370         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
50371         explicitly.
50373 2014-04-03  Roland McGrath  <roland@hack.frob.com>
50375         * elf/dl-unmap-segments.h: New file.
50376         * sysdeps/generic/ldsodefs.h
50377         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
50378         * elf/dl-close.c: Include <dl-unmap-segments.h>.
50379         * elf/dl-fptr.c: Likewise.
50380         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
50381         * sysdeps/aarch64/tlsdesc.c: Likewise.
50382         * sysdeps/arm/tlsdesc.c: Likewise.
50383         * sysdeps/i386/tlsdesc.c: Likewise.
50384         * sysdeps/tile/dl-runtime.c: Likewise.
50385         * sysdeps/x86_64/tlsdesc.c: Likewise.
50386         * elf/dl-load.h: New file.
50387         * elf/dl-load.c: Include it.
50388         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
50389         Macros moved to dl-load.h.
50390         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
50391         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
50392         Use _dl_unmap_segments in place of __munmap.
50393         Break out segment-mapping loop into ...
50394         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
50396 2014-04-03  Will Newton  <will.newton@linaro.org>
50398         * elf/dl-lookup.c (do_lookup_x): Remove comment
50399         referring to nested function and move variable
50400         declarations down to before first use.
50402 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
50404         [BZ #16799]
50405         [BZ #16800]
50406         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
50407         with 0 numerator.
50408         * math/s_catanf.c (__catanf): Likewise.
50409         * math/s_catanh.c (__catanh): Likewise.
50410         * math/s_catanhf.c (__catanhf): Likewise.
50411         * math/s_catanhl.c (__catanhl): Likewise.
50412         * math/s_catanl.c (__catanl): Likewise.
50413         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
50414         by positive zero when computing -Inf result.
50415         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
50416         (catanh_test): Likewise.
50417         * sysdeps/i386/fpu/libm-test-ulps: Update.
50418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50420         [BZ #16789]
50421         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
50422         instead of using underflowing value in computing result.
50423         * math/s_clog10.c (__clog10): Likewise.
50424         * math/s_clog10f.c (__clog10f): Likewise.
50425         * math/s_clog10l.c (__clog10l): Likewise.
50426         * math/s_clogf.c (__clogf): Likewise.
50427         * math/s_clogl.c (__clogl): Likewise.
50428         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
50429         (clog10_test): Likewise.
50430         * sysdeps/i386/fpu/libm-test-ulps: Update.
50431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50433 2014-04-02  Alan Modra  <amodra@gmail.com>
50435         [BZ #16739]
50436         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
50437         output when value is near a power of two.  Use int64_t for lx and
50438         remove casts.  Use decimal rather than hex exponent constants.
50439         Don't use long double multiplication when double will suffice.
50440         * math/libm-test.inc (nextafter_test_data): Add tests.
50441         * NEWS: Add 16739 and 16786 to bug list.
50443         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
50445         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
50447 2014-04-01  Will Newton  <will.newton@linaro.org>
50449         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
50450         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
50452 2014-04-01  Florian Weimer  <fweimer@redhat.com>
50454         [BZ #13347]
50455         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
50456         * nptl/tst-setuid2.c: New file.
50457         * nptl/Makefile (xtests): Add tst-setuid2.
50459 2014-04-01  Alan Modra  <amodra@gmail.com>
50461         [BZ #16786]
50462         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
50464 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50466         [BZ #6803]
50467         [BZ #6804]
50468         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
50469         set errno as appropriate.
50470         * math/w_scalbf.c (__scalbf): Likewise.
50471         * math/w_scalbl.c (__scalbl): Likewise.
50472         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
50473         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
50474         * math/libm-test.inc (scalb_test_data): Add errno expectations.
50475         Add more NaN tests.
50477         [BZ #16349]
50478         * math/w_atan2.c: Include <errno.h>.
50479         (__atan2): Set errno for result underflowing to zero.
50480         * math/w_atan2f.c: Include <errno.h>.
50481         (__atan2f): Set errno for result underflowing to zero.
50482         * math/w_atan2l.c: Include <errno.h>.
50483         (__atan2l): Set errno for result underflowing to zero.
50484         * math/auto-libm-test-in: Don't allow missing errno for some atan2
50485         tests.
50486         * math/auto-libm-test-out: Regenerated.
50488 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50490         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
50491         Encode instruction correctly in little endian.
50492         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
50493         Likewise.
50494         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
50495         Likewise.
50496         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
50497         Likewise.
50498         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
50499         Likewise.
50501 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50503         [BZ #9894]
50504         * sysdeps/unix/sysv/linux/kernel-features.h
50505         [__sparc__ && !__arch64__ && !__sparc_v9__]
50506         (__ASSUME_SET_ROBUST_LIST): Do not define.
50507         [__sparc__ && !__arch64__ && !__sparc_v9__]
50508         (__ASSUME_FUTEX_LOCK_PI): Likewise.
50509         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
50510         Likewise.
50511         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50512         (__ASSUME_FUTEX_LOCK_PI): Undefine.
50513         (__ASSUME_REQUEUE_PI): Likewise.
50514         (__ASSUME_SET_ROBUST_LIST): Likewise.
50515         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50516         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
50517         Undefine.
50518         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50519         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
50520         Likewise.
50521         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
50522         Likewise.
50523         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
50524         Likewise.
50525         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50526         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
50527         Undefine.
50528         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
50529         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
50530         Likewise.
50532         [BZ #16648]
50533         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50534         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
50535         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
50537 2014-03-31  Will Newton  <will.newton@linaro.org>
50539         * benchtests/Makefile (bench): Add ffs and ffsll to list
50540         of tests.
50541         * benchtests/ffs-inputs: New file.
50542         * benchtests/ffsll-inputs: Likewise.
50544 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
50546         [BZ #16770]
50547         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
50548         too large before casting to int.
50549         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
50550         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
50551         * math/libm-test.inc (scalb_test_data): Add more tests.
50553 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50555         * benchtests/Makefile (DETAILED_OPT): New make option.
50556         (bench-func): Run benchmark program with -d if DETAILED_OPT is
50557         set.
50558         * benchtests/bench-skeleton.c: Include stdbool.h.
50559         (main): Store and print timings per input.
50560         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
50561         member to each argument value.
50562         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
50563         (_print_arg_data): Initialize per-input timing to 0.
50565         * benchtests/Makefile (timing-type): New binary.
50566         (bench-clean): Also remove bench-timing-type.
50567         (bench): New target for timing-type.
50568         (bench-func): Print output in JSON format.
50569         * benchtests/bench-skeleton.c (main): Print output in JSON
50570         format.
50571         * benchtests/bench-timing-type.c: New file.
50572         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
50573         (TIMING_PRINT_STATS): Remove.
50574         * benchtests/scripts/bench.py (_print_arg_data): Store variant
50575         name separately.
50577         * benchtests/bench-modf.c: Remove.
50578         * benchtests/modf-inputs: New inputs file.
50580 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
50582         [BZ #16362]
50583         * math/s_clog10.c (M_PI_LOG10E): New macro.
50584         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
50585         imaginary parts are 0.
50586         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
50587         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
50588         imaginary parts are 0.
50589         * math/s_clog10l.c (M_PI_LOG10El): New macro.
50590         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
50591         imaginary parts are 0.
50592         * math/libm-test.inc (clog10_test_data): Update expected results
50593         for when real and imaginary parts are 0.
50595 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
50597         * elf/dl-load.c: Finish conversion of __builtin_expect into
50598         __glibc_{un}likely.
50600 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
50602         [BZ #16348]
50603         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
50604         1+x for argument with exponent below -67.
50605         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
50606         Likewise.
50607         * math/auto-libm-test-in: Add more tests of exp.
50608         * math/auto-libm-test-out: Regenerated.
50610 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50612         [BZ #16759]
50613         * inet/getnetgrent_r.c (get_nonempty_val): New function.
50614         (nscd_getnetgrent): Use it.
50616         [BZ #16760]
50617         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
50618         of stpcpy.
50620 2014-03-27  Andi Kleen  <ak@linux.intel.com>
50622         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
50623         (lll_robust_lock, lll_cond_lock, lll_timedlock)
50624         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50625         (lll_robust_unlock): Remove out of line section. Use cfi
50626         intrinsics.
50627         (LLL_STUB_UNWIND_INFO*): Remove.
50628         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
50629         (lll_robust_lock, lll_cond_lock, lll_timedlock)
50630         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50631         (lll_robust_unlock): Remove out of line section. Use cfi
50632         intrinsics.
50633         (LLL_STUB_UNWIND_INFO*): Remove.
50635 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50637         [BZ #16758]
50638         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
50639         blank values.
50641 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
50643         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
50645 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
50647         [BZ #16198]
50648         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
50649         fnstenv.
50650         * math/test-fenv-preserve.c: New file.
50651         * math/Makefile (tests): Add test-fenv-preserve.
50653 2014-03-26  Will Newton <will.newton@linaro.org>
50655         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
50657 2014-03-25  Roland McGrath  <roland@hack.frob.com>
50659         * scripts/versionlist.awk: Partition the version sets and emit all
50660         GLIBC_* (sorted) before all others (sorted).
50662 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
50664         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
50665         GLIBC_2.2.5 version.
50667 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50669         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
50670         calls.
50672         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
50673         previous change.
50675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50677 2014-03-25  Andreas Schwab  <schwab@suse.de>
50679         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
50680         label to be used after in6ailist is initialized.
50682 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50684         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50685         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
50687 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
50689         [BZ #16357]
50690         [BZ #16599]
50691         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
50692         min_plus_half.
50693         (fp_formats): Update initializers.
50694         (init_fp_formats): Initialize new field.
50695         (output_for_one_input_case): Allow underflow for results up to
50696         min_plus_half.
50697         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
50698         * math/auto-libm-test-in: Don't mark some underflows from asin and
50699         atanh as spurious.
50700         * math/auto-libm-test-out: Regenerated.
50701         * sysdeps/i386/fpu/libm-test-ulps: Update.
50702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50704 2014-03-25  Andreas Schwab  <schwab@suse.de>
50706         * libio/Makefile (tst-ftell-partial-wide-ENV)
50707         (tst-ftell-active-handler-ENV): Define.
50709 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
50711         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
50713 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
50715         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
50717 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
50719         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
50720         * sysdeps/x86_64/fpu/multiarch/e_exp.c
50721         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
50723 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
50725         [BZ #16634]
50726         * elf/dl-load.c (open_verify): Add mode parameter.
50727         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
50728         (open_path): Change from boolean 'secure' to complete flag 'mode'
50729         (_dl_map_object): Adjust.
50730         * elf/Makefile (tests): Add tst-dlopen-aout.
50731         * elf/tst-dlopen-aout.c: New test.
50733 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
50735         [BZ #16714]
50736         * sysdeps/unix/sysv/linux/s390/bits/stat.h
50737         (struct stat): Rename member pad0 to __glibc_reserved0.
50739         [BZ #16712]
50740         * sysdeps/s390/s390-32/bits/wordsize.h
50741         (__WORDSIZE32_SIZE_ULONG): New define.
50742         * sysdeps/s390/s390-64/bits/wordsize.h
50743         (__WORDSIZE32_SIZE_ULONG): Likewise.
50744         * sysdeps/generic/stdint.h (SIZE_MAX):
50745         Define as UL if __WORDSIZE32_SIZE_ULONG.
50747         [BZ #16713]
50748         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
50749         (__glibc_reserved0): New variable.
50750         (sa_flags): Change type to int.
50752         * posix/Makefile (before-compile): Use += before-compile instead
50753         of a :=.
50755         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50756         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
50758 2014-03-20  Andreas Schwab  <schwab@suse.de>
50760         [BZ #16743]
50761         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
50762         non-matching result from nscd.
50764 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50766         * scripts/bench.py: Moved to ...
50767         * benchtests/scripts/bench.py: ... here.
50768         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
50770 2014-03-24  Andreas Schwab  <schwab@suse.de>
50772         [BZ #16002]
50773         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
50774         alloca_account and account alloca use for struct in6ailist.
50776 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
50778         [BZ #16284]
50779         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
50780         rounding mode to recompute results that overflow to infinity or
50781         underflow to zero.
50782         * math/auto-libm-test-in: Don't mark tests as expected to fail for
50783         bug 16284.
50784         * math/auto-libm-test-out: Regenerated.
50785         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
50786         (ccosh_test): Likewise.
50787         (csin_test_data): Use plus_oflow.
50788         (csin_test): Use ALL_RM_TEST.
50789         (csinh_test_data): Use plus_oflow.
50790         (csinh_test): Use ALL_RM_TEST.
50791         * sysdeps/i386/fpu/libm-test-ulps: Update.
50792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50794 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
50796         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
50797         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
50798         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
50800         [BZ #16731]
50801         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
50802         when x - 1 is zero.
50803         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
50804         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
50805         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50806         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
50807         argument is 1.
50808         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
50809         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
50810         zero.
50811         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
50812         * sysdeps/i386/fpu/libm-test-ulps: Update.
50813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50815 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50817         * scripts/bench.pl: Remove file.
50818         * scripts/bench.py: New benchmark script.
50819         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
50820         * benchtests/README: Mention python dependency.
50821         * scripts/pylintrc: New file.
50822         * scripts/pylint: New file.
50824         * bits/mathdef.h: Use #ifdef instead of #if.
50825         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
50826         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50827         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
50828         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50829         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
50830         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
50832 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50833             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50835         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
50836         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
50837         and strpbrk-ppc64 objects.
50838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50839         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
50840         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
50841         multiarch strpbrk for POWER7.
50842         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
50843         multiarch strpbrk for PPC64.
50844         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
50845         ifunc selector.
50846         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
50847         strpbrk for POWER7.
50849 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
50851         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
50852         (atan_test): Likewise.
50853         (atanh_test_data): Use NO_TEST_INLINE for two tests.
50854         (atanh_test): Use ALL_RM_TEST.
50855         (atan2_test_data): Likewise.
50856         (cabs_test): Likewise.
50857         (cacosh_test): Likewise.
50858         (carg_test): Likewise.
50859         (casin_test): Likewise.
50860         (casinh_test): Likewise.
50861         (cbrt_test): Likewise.
50862         (csqrt_test): Likewise.
50863         (erf_test): Likewise.
50864         (erfc_test): Likewise.
50865         (pow10_test): Likewise.
50866         (exp2_test): Likewise.
50867         (hypot_test): Likewise.
50868         (j0_test): Likewise.
50869         (j1_test): Likewise.
50870         (lgamma_test): Likewise.
50871         (gamma_test): Likewise.
50872         (sincos_test): Likewise.
50873         (tanh_test): Likewise.
50874         (y0_test): Likewise.
50875         (y1_test): Likewise.
50876         * sysdeps/i386/fpu/libm-test-ulps: Update.
50877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50879 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50881         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
50882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
50883         and strcspn-ppc64 objects.
50884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
50885         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
50886         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
50887         multiarch strcspn for POWER7.
50888         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
50889         multiarch strcspn for PPC64.
50890         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
50891         ifunc selector.
50892         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
50893         strcspn for POWER7.
50895 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
50897         * math/gen-libm-test.pl (generate_testfile): Expect only function
50898         name as argument to AUTO_TESTS_* and pass results for all rounding
50899         modes to parse_args.
50900         (parse_auto_input): Separate inputs of automatic tests from
50901         outputs before storing in %auto_tests.
50902         * math/libm-test.inc (acos_test_data): Update call to
50903         AUTO_TESTS_f_f.
50904         (acos_test): Use ALL_RM_TEST.
50905         (acos_tonearest_test_data): Remove.
50906         (acos_test_tonearest): Likewise.
50907         (acos_towardzero_test_data): Likewise.
50908         (acos_test_towardzero): Likewise.
50909         (acos_downward_test_data): Likewise.
50910         (acos_test_downward): Likewise.
50911         (acos_upward_test_data): Likewise.
50912         (acos_test_upward): Likewise.
50913         (acosh_test_data): Update call to AUTO_TESTS_f_f.
50914         (asin_test_data): Likewise.
50915         (asin_test): Use ALL_RM_TEST.
50916         (asin_tonearest_test_data): Remove.
50917         (asin_test_tonearest): Likewise.
50918         (asin_towardzero_test_data): Likewise.
50919         (asin_test_towardzero): Likewise.
50920         (asin_downward_test_data): Likewise.
50921         (asin_test_downward): Likewise.
50922         (asin_upward_test_data): Likewise.
50923         (asin_test_upward): Likewise.
50924         (asinh_test_data): Update call to AUTO_TESTS_f_f.
50925         (atan_test_data): Likewise.
50926         (atanh_test_data): Likewise.
50927         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
50928         (cabs_test_data): Update call to AUTO_TESTS_c_f.
50929         (carg_test_data): Likewise.
50930         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
50931         (ccos_test_data): Update call to AUTO_TESTS_c_c.
50932         (ccosh_test_data): Likewise.
50933         (cexp_test_data): Likewise.
50934         (clog_test_data): Likewise.
50935         (clog10_test_data): Likewise.
50936         (cos_test_data): Update call to AUTO_TESTS_f_f.
50937         (cos_test): Use ALL_RM_TEST.
50938         (cos_tonearest_test_data): Remove.
50939         (cos_test_tonearest): Likewise.
50940         (cos_towardzero_test_data): Likewise.
50941         (cos_test_towardzero): Likewise.
50942         (cos_downward_test_data): Likewise.
50943         (cos_test_downward): Likewise.
50944         (cos_upward_test_data): Likewise.
50945         (cos_test_upward): Likewise.
50946         (cosh_test_data): Update call to AUTO_TESTS_f_f.
50947         (cosh_test): Use ALL_RM_TEST.
50948         (cosh_tonearest_test_data): Remove.
50949         (cosh_test_tonearest): Likewise.
50950         (cosh_towardzero_test_data): Likewise.
50951         (cosh_test_towardzero): Likewise.
50952         (cosh_downward_test_data): Likewise.
50953         (cosh_test_downward): Likewise.
50954         (cosh_upward_test_data): Likewise.
50955         (cosh_test_upward): Likewise.
50956         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
50957         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
50958         (ctan_test_data): Likewise.
50959         (ctan_test): Use ALL_RM_TEST.
50960         (ctan_tonearest_test_data): Remove.
50961         (ctan_test_tonearest): Likewise.
50962         (ctan_towardzero_test_data): Likewise.
50963         (ctan_test_towardzero): Likewise.
50964         (ctan_downward_test_data): Likewise.
50965         (ctan_test_downward): Likewise.
50966         (ctan_upward_test_data): Likewise.
50967         (ctan_test_upward): Likewise.
50968         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
50969         (ctanh_test): Use ALL_RM_TEST.
50970         (ctanh_tonearest_test_data): Remove.
50971         (ctanh_test_tonearest): Likewise.
50972         (ctanh_towardzero_test_data): Likewise.
50973         (ctanh_test_towardzero): Likewise.
50974         (ctanh_downward_test_data): Likewise.
50975         (ctanh_test_downward): Likewise.
50976         (ctanh_upward_test_data): Likewise.
50977         (ctanh_test_upward): Likewise.
50978         (erf_test_data): Update call to AUTO_TESTS_f_f.
50979         (erfc_test_data): Likewise.
50980         (exp_test_data): Likewise.
50981         (exp_test): Use ALL_RM_TEST.
50982         (exp_tonearest_test_data): Remove.
50983         (exp_test_tonearest): Likewise.
50984         (exp_towardzero_test_data): Likewise.
50985         (exp_test_towardzero): Likewise.
50986         (exp_downward_test_data): Likewise.
50987         (exp_test_downward): Likewise.
50988         (exp_upward_test_data): Likewise.
50989         (exp_test_upward): Likewise.
50990         (exp10_test_data): Update call to AUTO_TESTS_f_f.
50991         (exp10_test): Use ALL_RM_TEST.
50992         (exp10_tonearest_test_data): Remove.
50993         (exp10_test_tonearest): Likewise.
50994         (exp10_towardzero_test_data): Likewise.
50995         (exp10_test_towardzero): Likewise.
50996         (exp10_downward_test_data): Likewise.
50997         (exp10_test_downward): Likewise.
50998         (exp10_upward_test_data): Likewise.
50999         (exp10_test_upward): Likewise.
51000         (exp2_test_data): Update call to AUTO_TESTS_f_f.
51001         (expm1_test_data): Likewise.
51002         (expm1_test): Use ALL_RM_TEST.
51003         (expm1_tonearest_test_data): Remove.
51004         (expm1_test_tonearest): Likewise.
51005         (expm1_towardzero_test_data): Likewise.
51006         (expm1_test_towardzero): Likewise.
51007         (expm1_downward_test_data): Likewise.
51008         (expm1_test_downward): Likewise.
51009         (expm1_upward_test_data): Likewise.
51010         (expm1_test_upward): Likewise.
51011         (fma_test_data): Update call to AUTO_TESTS_fff_f.
51012         (fma_test): Use ALL_RM_TEST.
51013         (fma_towardzero_test_data): Remove.
51014         (fma_test_towardzero): Likewise.
51015         (fma_downward_test_data): Likewise.
51016         (fma_test_downward): Likewise.
51017         (fma_upward_test_data): Likewise.
51018         (fma_test_upward): Likewise.
51019         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
51020         (j0_test_data): Update call to AUTO_TESTS_f_f.
51021         (j1_test_data): Likewise.
51022         (jn_test_data): Update call to AUTO_TESTS_if_f.
51023         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
51024         (log_test_data): Update call to AUTO_TESTS_f_f.
51025         (log10_test_data): Likewise.
51026         (log1p_test_data): Likewise.
51027         (log2_test_data): Likewise.
51028         (pow_test_data): Update call to AUTO_TESTS_ff_f.
51029         (pow_tonearest_test_data): Likewise.
51030         (sin_test_data): Update call to AUTO_TESTS_f_f.
51031         (sin_test): Use ALL_RM_TEST.
51032         (sin_tonearest_test_data): Remove.
51033         (sin_test_tonearest): Likewise.
51034         (sin_towardzero_test_data): Likewise.
51035         (sin_test_towardzero): Likewise.
51036         (sin_downward_test_data): Likewise.
51037         (sin_test_downward): Likewise.
51038         (sin_upward_test_data): Likewise.
51039         (sin_test_upward): Likewise.
51040         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
51041         (sinh_test_data): Update call to AUTO_TESTS_f_f.
51042         (sinh_test): Use ALL_RM_TEST.
51043         (sinh_tonearest_test_data): Remove.
51044         (sinh_test_tonearest): Likewise.
51045         (sinh_towardzero_test_data): Likewise.
51046         (sinh_test_towardzero): Likewise.
51047         (sinh_downward_test_data): Likewise.
51048         (sinh_test_downward): Likewise.
51049         (sinh_upward_test_data): Likewise.
51050         (sinh_test_upward): Likewise.
51051         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
51052         (sqrt_test): Use ALL_RM_TEST.
51053         (sqrt_tonearest_test_data): Remove.
51054         (sqrt_test_tonearest): Likewise.
51055         (sqrt_towardzero_test_data): Likewise.
51056         (sqrt_test_towardzero): Likewise.
51057         (sqrt_downward_test_data): Likewise.
51058         (sqrt_test_downward): Likewise.
51059         (sqrt_upward_test_data): Likewise.
51060         (sqrt_test_upward): Likewise.
51061         (tan_test_data): Update call to AUTO_TESTS_f_f.
51062         (tan_test): Use ALL_RM_TEST.
51063         (tan_tonearest_test_data): Remove.
51064         (tan_test_tonearest): Likewise.
51065         (tan_towardzero_test_data): Likewise.
51066         (tan_test_towardzero): Likewise.
51067         (tan_downward_test_data): Likewise.
51068         (tan_test_downward): Likewise.
51069         (tan_upward_test_data): Likewise.
51070         (tan_test_upward): Likewise.
51071         (tanh_test_data): Update call to AUTO_TESTS_f_f.
51072         (tgamma_test_data): Likewise.
51073         (y0_test_data): Likewise.
51074         (y1_test_data): Likewise.
51075         (yn_test_data): Update call to AUTO_TESTS_if_f.
51076         (main): Do not call removed functions.
51078 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
51080         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
51081         (ldexp_test_data): Remove.
51082         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
51083         scalbn_test_data.
51084         (scalb_test): Use ALL_RM_TEST.
51086 2014-03-19  Andreas Schwab  <schwab@suse.de>
51088         * nscd/nscd.service: Also invalidate netgroup cache on reload.
51090 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
51092         [BZ #16649]
51093         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51094         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
51095         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
51096         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51097         (__ASSUME_PREADV): Undefine.
51098         (__ASSUME_PWRITEV): Likewise.
51100 2014-03-18  Roland McGrath  <roland@hack.frob.com>
51102         * bits/mman-linux.h: Add comment about non-Linux use.
51103         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
51104         bits/mman-linux.h resting place.
51106         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
51107         * bits/mman-linux.h: ... here.
51109 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51111         * conform/conformtest.pl: Add standard definition when calling C
51112         preprocessor on data files.
51113         (checknamespace): Remove unused variable.
51115 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
51117         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
51118         minus_oflow, plus_uflow and minus_uflow in expected results.
51119         * math/libm-test.inc (scalbn_test_data): Add more tests of
51120         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
51121         minus_uflow.
51122         (scalbn_test): Use ALL_RM_TEST.
51123         (scalbln_test_data): Add more tests of negative arguments.  Use
51124         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
51125         (scalbln_test): Use ALL_RM_TEST.
51127 2014-03-18  Roland McGrath  <roland@hack.frob.com>
51129         * scripts/abilist.awk: Ignore symbols marked with .hidden.
51131 2014-03-18  Will Newton  <will.newton@linaro.org>
51133         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
51134         inaccurate comment.
51136 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
51138         * Makerules [!subdir] (check-abi): Exit with error status if a
51139         test failed.
51141 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
51143         * math/libm-test.inc (nearbyint_test_data): Include all tests used
51144         for rint.  Include results for all rounding modes.
51145         (nearbyint_test): Use ALL_RM_TEST.
51146         (rint_test_data): Include all tests used for nearbyint.
51148 2014-03-17  Will Newton  <will.newton@linaro.org>
51150         * nptl/sysdeps/pthread/pthread.h: Revert previous
51151         change.
51153         * sysdeps/generic/ldsodefs.h: Revert previous
51154         change.
51156         * libio/genops.c: Revert previous change.
51157         * libio/libioP.h: Likewise.
51158         * stdio-common/vfprintf.c: Likewise.
51160         * sysdeps/generic/math_private.h: Revert previous
51161         change.
51163         * sysdeps/generic/math_private.h: Check whether
51164         HAVE_RM_CTX is defined with #ifdef rather
51165         than #if.
51167         * argp/argp-fmtstream.h: Check whether
51168         __STRICT_ANSI__ is defined with #ifdef rather
51169         than #if.
51170         * argp/argp.h: Likewise.
51172         * libio/genops.c: Check whether
51173         _IO_JUMPS_OFFSET is defined with #ifdef rather
51174         than #if.
51175         * libio/libioP.h: Likewise.
51176         * stdio-common/vfprintf.c: Likewise.
51178         * sysdeps/generic/ldsodefs.h: Check whether
51179         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
51180         than #if.
51182         * nptl/sysdeps/pthread/pthread.h: Check
51183         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
51184         its value.
51186 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51188         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
51189         setting O_APPEND.
51190         * libio/tst-ftell-active-handler.c (do_append_test): Add a
51191         test case.
51193         [BZ #16680]
51194         * libio/fileops.c (_IO_file_open): Seek to end of file but
51195         don't cache the offset.
51196         (get_file_offset): Remove function.
51197         (do_ftell): Use cached offset when available.
51198         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
51199         don't cache the offset.
51200         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
51201         case.
51202         (do_one_test): Call it.
51203         (do_ftell_test): Fix up expected old offset for a+ mode.
51204         * libio/wfileops.c (do_ftell_wide): Used cached offset when
51205         available.
51207         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
51208         up test status with function return status.
51209         (do_write_test): Likewise.
51210         (do_append_test): Likewise.
51212         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
51213         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
51214         Remove.
51216 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
51218         * math/gen-libm-test.pl (parse_args): Handle results specified for
51219         each rounding mode separately.
51220         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
51221         tests and results from lrint_tonearest_test_data,
51222         lrint_towardzero_test_data, lrint_downward_test_data and
51223         lrint_upward_test_data.
51224         (lrint_test): Use ALL_RM_TEST.
51225         (lrint_tonearest_test_data): Remove.
51226         (lrint_test_tonearest): Likewise.
51227         (lrint_towardzero_test_data): Likewise.
51228         (lrint_test_towardzero): Likewise.
51229         (lrint_downward_test_data): Likewise.
51230         (lrint_test_downward): Likewise.
51231         (lrint_upward_test_data): Likewise.
51232         (lrint_test_upward): Likewise.
51233         (llrint_test_data): Merge in per-rounding-mode tests and results
51234         from llrint_tonearest_test_data, llrint_towardzero_test_data,
51235         llrint_downward_test_data and llrint_upward_test_data.
51236         (llrint_test): Use ALL_RM_TEST.
51237         (llrint_tonearest_test_data): Remove.
51238         (llrint_test_tonearest): Likewise.
51239         (llrint_towardzero_test_data): Likewise.
51240         (llrint_test_towardzero): Likewise.
51241         (llrint_downward_test_data): Likewise.
51242         (llrint_test_downward): Likewise.
51243         (llrint_upward_test_data): Likewise.
51244         (llrint_test_upward): Likewise.
51245         (rint_test_data): Merge in per-rounding-mode tests and results
51246         from rint_tonearest_test_data, rint_towardzero_test_data,
51247         rint_downward_test_data and rint_upward_test_data.  Add
51248         per-rounding-mode results for tests not in those arrays.
51249         (rint_test): Use ALL_RM_TEST.
51250         (rint_tonearest_test_data): Remove.
51251         (rint_test_tonearest): Likewise.
51252         (rint_towardzero_test_data): Likewise.
51253         (rint_test_towardzero): Likewise.
51254         (rint_downward_test_data): Likewise.
51255         (rint_test_downward): Likewise.
51256         (rint_upward_test_data): Likewise.
51257         (rint_test_upward): Likewise.
51258         (main): Don't call removed functions.
51260 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51262         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
51263         "Compiled on ..." crapola.  It is anti-useful.
51265 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
51267         * scripts/evaluate-test.sh: Handle fourth argument to determine
51268         whether test run should stop on failure.
51269         * Makeconfig (stop-on-test-failure): New variable.
51270         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
51271         $(stop-on-test-failure).
51272         * Makefile (tests): Give a summary of results from testing and
51273         exit with failure status if they include an ERROR or FAIL.
51274         (xtests): Likewise.
51275         * manual/install.texi (Configuring and compiling): Mention
51276         stop-on-test-failure=y.
51277         * INSTALL: Regenerated.
51279 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51281         * scripts/versionlist.awk: New file.
51282         * Makerules [$(build-shared) = yes]
51283         (postclean-generated): Add Versions.def, not Versions.def.v and
51284         Versions.def.v.i.
51285         ($(common-objpfx)Versions.def.v.i): Target removed.
51286         ($(common-objpfx)Versions.def): New target.
51287         ($(common-objpfx)Versions.all): Depend on that rather that
51288         $(common-objpfx)Versions.def.v.
51289         * Versions.def: File removed.
51291         * Makeconfig (+gccwarn): Add -Wundef.
51292         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
51293         a dl-sysdep.h breaking its contract.
51294         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
51295         * include/stackinfo.h: New file.
51296         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
51297         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
51298         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
51299         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
51300         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
51301         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
51302         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51303         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51304         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51305         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51306         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51307         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
51308         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51309         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51310         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51312 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51314         [BZ #16707]
51315         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
51316         implementation.
51317         * math/libm-test.inc (round_test_data): Add more tests.
51319         [BZ #16706]
51320         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
51321         implementation.
51322         * math/libm-test.inc (nearbyint_test_data): Add more tests.
51324         [BZ #16701]
51325         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
51326         implementation.
51327         * math/libm-test.inc (ceil_test_data): Add more tests.
51329         * math/libm-test.inc (trunc_test_data): Add more tests related to
51330         BZ#16414.
51332 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51334         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
51335         with #if rather than #ifdef.
51336         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
51338 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
51340         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
51341         first.  Disable AVX-512 GCC support if assembler doesn't support
51342         it.
51343         * sysdeps/x86_64/configure: Regenerated.
51345 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
51347         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
51348         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
51349         (__old_pthread_attr_setstack): Likewise.
51350         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
51351         [!_STACK_GROWS_DOWN]: Likewise.
51353 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
51355         * config.make.in (have-bash2): Delete.
51356         * configure.ac (libc_cv_have_bash2): Delete.
51357         * configure: Regenerate.
51358         * elf/Makefile (common-ldd-rewrite): Rename to ...
51359         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
51360         (sh-ldd-rewrite): Delete.
51361         (bash-ldd-rewrite): Delete.
51362         (have-bash2): Delete checks.
51363         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
51364         ldd-rewrite.
51366         * config.make.in (have-ksh): Delete.
51367         (KSH): Delete.
51368         * configure.ac (libc_cv_have_ksh): Delete.
51369         * configure: Regenerate.
51371         * elf/Makefile: Delete $(have-ksh) check.
51372         ($(objpfx)sotruss): Change KSH to BASH.
51373         * elf/sotruss.ksh: Rename to ...
51374         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
51375         function style to match POSIX.  Drop ksh vim mode setting.
51377         * manual/time.texi (Specifying the Time Zone with TZ): Change
51378         Tuesday to Thursday.
51380         * debug/tst-longjmp_chk2.c: Update header comment.
51381         (stackoverflow_handler): Add comment.  Call assert on pass value.
51383 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
51385         [BZ #16194]
51386         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
51387         (HAVE_AVX512_ASM_SUPPORT): Likewise.
51388         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
51389         (La_x86_64_vector): Add zmm.
51390         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
51391         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
51392         ($(objpfx)tst-audit10): New target.
51393         ($(objpfx)tst-audit10.out): Likewise.
51394         (tst-audit10-ENV): New.
51395         (AVX512-CFLAGS): Likewise.
51396         (CFLAGS-tst-audit10.c): Likewise.
51397         (CFLAGS-tst-auditmod10a.c): Likewise.
51398         (CFLAGS-tst-auditmod10b.c): Likewise.
51399         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
51400         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
51401         * sysdeps/x86_64/configure: Regenerated.
51402         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
51403         AVX-512 zmm register support.
51404         (_dl_x86_64_save_sse): Likewise.
51405         (_dl_x86_64_restore_sse): Likewise.
51406         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
51407         size vector registers.
51408         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
51409         (ZMM_SIZE): Likewise.
51410         * sysdeps/x86_64/tst-audit10.c: New file.
51411         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
51412         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
51414 2014-03-13  Roland McGrath  <roland@hack.frob.com>
51416         * configure.ac (HAVE_EHDR_START): New check.
51417         * configure: Regenerated.
51418         * config.h.in (HAVE_EHDR_START): New #undef.
51419         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
51420         assuming the lowest-addressed segment maps the start of the file.
51422 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
51424         * INSTALL: Regenerated.
51426 2014-03-13  Will Newton  <will.newton@linaro.org>
51428         * manual/setjmp.texi (System V contexts): Improve
51429         clarity and grammar of documentation.
51431 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
51433         [BZ #16381]
51434         * elf/Makefile (tests): Add tst-pie2.
51435         (tests-pie): Add tst-pie2.
51436         * elf/tst-pie2.c: New file.
51437         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
51438         for ET_EXEC.
51439         * elf/rtld.c (map_doit): Load executable as lt_executable.
51440         (dl_main): Likewise.
51442 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
51444         [BZ #16642]
51445         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51446         (__ASSUME_PSELECT): Undefine.
51448 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51450         [BZ #16689]
51451         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
51452         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
51453         static build.
51454         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
51455         selector for static builds.
51457 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51459         [BZ #16695]
51460         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
51461         key in the buffer.
51463 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51465         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
51466         IFUNC selector for static builds.
51468 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
51470         * sysdeps/mips/math_private.h [__mips_hard_float]
51471         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
51472         libc_feresetround_mips_ctx.
51473         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
51474         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
51475         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
51477         [BZ #16677]
51478         * math/s_nextafter.c (__nextafter): Do not return value from
51479         overflowing computation.
51480         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
51481         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
51482         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
51483         Likewise.
51484         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
51485         Likewise.
51486         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
51487         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
51489 2014-03-11  Roland McGrath  <roland@hack.frob.com>
51491         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
51492         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
51493         Move sfi_sp use from the load-multiple (that no longer sets sp) to
51494         the new mov targetting sp.
51496 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51498         [BZ #16683]
51499         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
51500         Define it for static builds as well.
51501         (NO_BZERO_IMPL): Likewise.
51503 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51505         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
51506         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
51507         multiarch strspn for PPC64.
51508         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
51509         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
51510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51511         (__libc_ifunc_impl_list): Likewise.
51512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
51513         multiarch optimizations
51514         * string/strspn.c (strspn): Using macro to redefine symbol name.
51516 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51517             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51519         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
51520         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
51521         multiarch strncat for PPC64.
51522         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
51523         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
51524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51525         (__libc_ifunc_impl_list): Likewise.
51526         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
51527         multiarch optimizations
51529 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51531         [BZ #16639]
51532         * nscd/nscd.service: Make service type forking.
51534 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51536         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
51537         sign in non default rounding modes.
51538         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
51540 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
51542         * math/libm-test.inc (ALL_RM_TEST): New macro.
51543         (ceil_test): Use ALL_RM_TEST.
51544         (cimag_test): Likewise.
51545         (conj_test): Likewise.
51546         (copysign_test): Likewise.
51547         (cproj_test): Likewise.
51548         (creal_test): Likewise.
51549         (fabs_test): Likewise.
51550         (floor_test): Likewise.
51551         (fmax_test): Likewise.
51552         (fmin_test): Likewise.
51553         (fmod_test): Likewise.
51554         (fpclassify_test): Likewise.
51555         (frexp_test): Likewise.
51556         (ilogb_test): Likewise.
51557         (isfinite_test): Likewise.
51558         (finite_test): Likewise.
51559         (isgreater_test): Likewise.
51560         (isgreaterequal_test): Likewise.
51561         (isinf_test): Likewise.
51562         (isless_test): Likewise.
51563         (islessequal_test): Likewise.
51564         (islessgreater_test): Likewise.
51565         (isnan_test): Likewise.
51566         (isnormal_test): Likewise.
51567         (issignaling_test): Likewise.
51568         (isunordered_test): Likewise.
51569         (logb_test): Likewise.
51570         (logb_downward_test_data): Remove.
51571         (logb_test_downward): Likewise.
51572         (lround_test): Use ALL_RM_TEST.
51573         (llround_test): Likewise.
51574         (modf_test): Likewise.
51575         (nexttoward_test): Likewise.
51576         (remainder_test): Likewise.
51577         (drem_test): Likewise.
51578         (remainder_tonearest_test_data): Likewise.
51579         (remainder_test_tonearest): Likewise.
51580         (drem_test_tonearest): Likewise.
51581         (remainder_towardzero_test_data): Likewise.
51582         (remainder_test_towardzero): Likewise.
51583         (drem_test_towardzero): Likewise.
51584         (remainder_downward_test_data): Likewise.
51585         (remainder_test_downward): Likewise.
51586         (drem_test_downward): Likewise.
51587         (remainder_upward_test_data): Likewise.
51588         (remainder_test_upward): Likewise.
51589         (drem_test_upward): Likewise.
51590         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
51591         (round_test): Use ALL_RM_TEST.
51592         (signbit_test): Likewise.
51593         (trunc_test): Likewise.
51594         (significand_test): Likewise.
51595         (main): Don't call removed functions.
51597 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51599         [BZ #16674]
51600         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
51601         || __USE_XOPEN2K8].
51602         (ILL_ILLOPN): Likewise.
51603         (ILL_ILLADR): Likewise.
51604         (ILL_ILLTRP): Likewise.
51605         (ILL_PRVOPC): Likewise.
51606         (ILL_PRVREG): Likewise.
51607         (ILL_COPROC): Likewise.
51608         (ILL_BADSTK): Likewise.
51609         (FPE_INTDIV): Likewise.
51610         (FPE_INTOVF): Likewise.
51611         (FPE_FLTDIV): Likewise.
51612         (FPE_FLTOVF): Likewise.
51613         (FPE_FLTUND): Likewise.
51614         (FPE_FLTRES): Likewise.
51615         (FPE_FLTINV): Likewise.
51616         (FPE_FLTSUB): Likewise.
51617         (SEGV_MAPERR): Likewise.
51618         (SEGV_ACCERR): Likewise.
51619         (BUS_ADRALN): Likewise.
51620         (BUS_ADRERR): Likewise.
51621         (BUS_OBJERR): Likewise.
51622         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51623         (TRAP_TRACE): Likewise.
51624         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51625         __USE_XOPEN2K8].
51626         (CLD_KILLED): Likewise.
51627         (CLD_DUMPED): Likewise.
51628         (CLD_TRAPPED): Likewise.
51629         (CLD_STOPPED): Likewise.
51630         (CLD_CONTINUED): Likewise.
51631         (POLL_IN): Likewise.
51632         (POLL_OUT): Likewise.
51633         (POLL_MSG): Likewise.
51634         (POLL_ERR): Likewise.
51635         (POLL_PRI): Likewise.
51636         (POLL_HUP): Likewise.
51637         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
51638         Likewise.
51639         (ILL_ILLOPN): Likewise.
51640         (ILL_ILLADR): Likewise.
51641         (ILL_ILLTRP): Likewise.
51642         (ILL_PRVOPC): Likewise.
51643         (ILL_PRVREG): Likewise.
51644         (ILL_COPROC): Likewise.
51645         (ILL_BADSTK): Likewise.
51646         (FPE_INTDIV): Likewise.
51647         (FPE_INTOVF): Likewise.
51648         (FPE_FLTDIV): Likewise.
51649         (FPE_FLTOVF): Likewise.
51650         (FPE_FLTUND): Likewise.
51651         (FPE_FLTRES): Likewise.
51652         (FPE_FLTINV): Likewise.
51653         (FPE_FLTSUB): Likewise.
51654         (SEGV_MAPERR): Likewise.
51655         (SEGV_ACCERR): Likewise.
51656         (BUS_ADRALN): Likewise.
51657         (BUS_ADRERR): Likewise.
51658         (BUS_OBJERR): Likewise.
51659         (BUS_MCEERR_AR): Likewise.
51660         (BUS_MCEERR_AO): Likewise.
51661         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51662         (TRAP_TRACE): Likewise.
51663         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51664         __USE_XOPEN2K8].
51665         (CLD_KILLED): Likewise.
51666         (CLD_DUMPED): Likewise.
51667         (CLD_TRAPPED): Likewise.
51668         (CLD_STOPPED): Likewise.
51669         (CLD_CONTINUED): Likewise.
51670         (POLL_IN): Likewise.
51671         (POLL_OUT): Likewise.
51672         (POLL_MSG): Likewise.
51673         (POLL_ERR): Likewise.
51674         (POLL_PRI): Likewise.
51675         (POLL_HUP): Likewise.
51676         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
51677         (ILL_ILLOPN): Likewise.
51678         (ILL_ILLADR): Likewise.
51679         (ILL_ILLTRP): Likewise.
51680         (ILL_PRVOPC): Likewise.
51681         (ILL_PRVREG): Likewise.
51682         (ILL_COPROC): Likewise.
51683         (ILL_BADSTK): Likewise.
51684         (FPE_INTDIV): Likewise.
51685         (FPE_INTOVF): Likewise.
51686         (FPE_FLTDIV): Likewise.
51687         (FPE_FLTOVF): Likewise.
51688         (FPE_FLTUND): Likewise.
51689         (FPE_FLTRES): Likewise.
51690         (FPE_FLTINV): Likewise.
51691         (FPE_FLTSUB): Likewise.
51692         (SEGV_MAPERR): Likewise.
51693         (SEGV_ACCERR): Likewise.
51694         (BUS_ADRALN): Likewise.
51695         (BUS_ADRERR): Likewise.
51696         (BUS_OBJERR): Likewise.
51697         (BUS_MCEERR_AR): Likewise.
51698         (BUS_MCEERR_AO): Likewise.
51699         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51700         (TRAP_TRACE): Likewise.
51701         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51702         __USE_XOPEN2K8].
51703         (CLD_KILLED): Likewise.
51704         (CLD_DUMPED): Likewise.
51705         (CLD_TRAPPED): Likewise.
51706         (CLD_STOPPED): Likewise.
51707         (CLD_CONTINUED): Likewise.
51708         (POLL_IN): Likewise.
51709         (POLL_OUT): Likewise.
51710         (POLL_MSG): Likewise.
51711         (POLL_ERR): Likewise.
51712         (POLL_PRI): Likewise.
51713         (POLL_HUP): Likewise.
51714         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
51715         Likewise.
51716         (ILL_ILLOPN): Likewise.
51717         (ILL_ILLADR): Likewise.
51718         (ILL_ILLTRP): Likewise.
51719         (ILL_PRVOPC): Likewise.
51720         (ILL_PRVREG): Likewise.
51721         (ILL_COPROC): Likewise.
51722         (ILL_BADSTK): Likewise.
51723         (ILL_BADIADDR): Likewise.
51724         (ILL_BREAK): Likewise.
51725         (FPE_INTDIV): Likewise.
51726         (FPE_INTOVF): Likewise.
51727         (FPE_FLTDIV): Likewise.
51728         (FPE_FLTOVF): Likewise.
51729         (FPE_FLTUND): Likewise.
51730         (FPE_FLTRES): Likewise.
51731         (FPE_FLTINV): Likewise.
51732         (FPE_FLTSUB): Likewise.
51733         (FPE_DECOVF): Likewise.
51734         (FPE_DECDIV): Likewise.
51735         (FPE_DECERR): Likewise.
51736         (FPE_INVASC): Likewise.
51737         (FPE_INVDEC): Likewise.
51738         (SEGV_MAPERR): Likewise.
51739         (SEGV_ACCERR): Likewise.
51740         (SEGV_PSTKOVF): Likewise.
51741         (BUS_ADRALN): Likewise.
51742         (BUS_ADRERR): Likewise.
51743         (BUS_OBJERR): Likewise.
51744         (BUS_MCEERR_AR): Likewise.
51745         (BUS_MCEERR_AO): Likewise.
51746         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51747         (TRAP_TRACE): Likewise.
51748         (TRAP_BRANCH): Likewise.
51749         (TRAP_HWBKPT): Likewise.
51750         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51751         __USE_XOPEN2K8].
51752         (CLD_KILLED): Likewise.
51753         (CLD_DUMPED): Likewise.
51754         (CLD_TRAPPED): Likewise.
51755         (CLD_STOPPED): Likewise.
51756         (CLD_CONTINUED): Likewise.
51757         (POLL_IN): Likewise.
51758         (POLL_OUT): Likewise.
51759         (POLL_MSG): Likewise.
51760         (POLL_ERR): Likewise.
51761         (POLL_PRI): Likewise.
51762         (POLL_HUP): Likewise.
51763         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
51764         (ILL_ILLOPN): Likewise.
51765         (ILL_ILLADR): Likewise.
51766         (ILL_ILLTRP): Likewise.
51767         (ILL_PRVOPC): Likewise.
51768         (ILL_PRVREG): Likewise.
51769         (ILL_COPROC): Likewise.
51770         (ILL_BADSTK): Likewise.
51771         (FPE_INTDIV): Likewise.
51772         (FPE_INTOVF): Likewise.
51773         (FPE_FLTDIV): Likewise.
51774         (FPE_FLTOVF): Likewise.
51775         (FPE_FLTUND): Likewise.
51776         (FPE_FLTRES): Likewise.
51777         (FPE_FLTINV): Likewise.
51778         (FPE_FLTSUB): Likewise.
51779         (SEGV_MAPERR): Likewise.
51780         (SEGV_ACCERR): Likewise.
51781         (BUS_ADRALN): Likewise.
51782         (BUS_ADRERR): Likewise.
51783         (BUS_OBJERR): Likewise.
51784         (BUS_MCEERR_AR): Likewise.
51785         (BUS_MCEERR_AO): Likewise.
51786         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51787         (TRAP_TRACE): Likewise.
51788         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51789         __USE_XOPEN2K8].
51790         (CLD_KILLED): Likewise.
51791         (CLD_DUMPED): Likewise.
51792         (CLD_TRAPPED): Likewise.
51793         (CLD_STOPPED): Likewise.
51794         (CLD_CONTINUED): Likewise.
51795         (POLL_IN): Likewise.
51796         (POLL_OUT): Likewise.
51797         (POLL_MSG): Likewise.
51798         (POLL_ERR): Likewise.
51799         (POLL_PRI): Likewise.
51800         (POLL_HUP): Likewise.
51801         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
51802         (ILL_ILLOPN): Likewise.
51803         (ILL_ILLADR): Likewise.
51804         (ILL_ILLTRP): Likewise.
51805         (ILL_PRVOPC): Likewise.
51806         (ILL_PRVREG): Likewise.
51807         (ILL_COPROC): Likewise.
51808         (ILL_BADSTK): Likewise.
51809         (FPE_INTDIV): Likewise.
51810         (FPE_INTOVF): Likewise.
51811         (FPE_FLTDIV): Likewise.
51812         (FPE_FLTOVF): Likewise.
51813         (FPE_FLTUND): Likewise.
51814         (FPE_FLTRES): Likewise.
51815         (FPE_FLTINV): Likewise.
51816         (FPE_FLTSUB): Likewise.
51817         (SEGV_MAPERR): Likewise.
51818         (SEGV_ACCERR): Likewise.
51819         (BUS_ADRALN): Likewise.
51820         (BUS_ADRERR): Likewise.
51821         (BUS_OBJERR): Likewise.
51822         (BUS_MCEERR_AR): Likewise.
51823         (BUS_MCEERR_AO): Likewise.
51824         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51825         (TRAP_TRACE): Likewise.
51826         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51827         __USE_XOPEN2K8].
51828         (CLD_KILLED): Likewise.
51829         (CLD_DUMPED): Likewise.
51830         (CLD_TRAPPED): Likewise.
51831         (CLD_STOPPED): Likewise.
51832         (CLD_CONTINUED): Likewise.
51833         (POLL_IN): Likewise.
51834         (POLL_OUT): Likewise.
51835         (POLL_MSG): Likewise.
51836         (POLL_ERR): Likewise.
51837         (POLL_PRI): Likewise.
51838         (POLL_HUP): Likewise.
51839         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
51840         (ILL_ILLOPN): Likewise.
51841         (ILL_ILLADR): Likewise.
51842         (ILL_ILLTRP): Likewise.
51843         (ILL_PRVOPC): Likewise.
51844         (ILL_PRVREG): Likewise.
51845         (ILL_COPROC): Likewise.
51846         (ILL_BADSTK): Likewise.
51847         (FPE_INTDIV): Likewise.
51848         (FPE_INTOVF): Likewise.
51849         (FPE_FLTDIV): Likewise.
51850         (FPE_FLTOVF): Likewise.
51851         (FPE_FLTUND): Likewise.
51852         (FPE_FLTRES): Likewise.
51853         (FPE_FLTINV): Likewise.
51854         (FPE_FLTSUB): Likewise.
51855         (SEGV_MAPERR): Likewise.
51856         (SEGV_ACCERR): Likewise.
51857         (BUS_ADRALN): Likewise.
51858         (BUS_ADRERR): Likewise.
51859         (BUS_OBJERR): Likewise.
51860         (BUS_MCEERR_AR): Likewise.
51861         (BUS_MCEERR_AO): Likewise.
51862         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51863         (TRAP_TRACE): Likewise.
51864         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51865         __USE_XOPEN2K8].
51866         (CLD_KILLED): Likewise.
51867         (CLD_DUMPED): Likewise.
51868         (CLD_TRAPPED): Likewise.
51869         (CLD_STOPPED): Likewise.
51870         (CLD_CONTINUED): Likewise.
51871         (POLL_IN): Likewise.
51872         (POLL_OUT): Likewise.
51873         (POLL_MSG): Likewise.
51874         (POLL_ERR): Likewise.
51875         (POLL_PRI): Likewise.
51876         (POLL_HUP): Likewise.
51877         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
51878         (ILL_ILLOPN): Likewise.
51879         (ILL_ILLADR): Likewise.
51880         (ILL_ILLTRP): Likewise.
51881         (ILL_PRVOPC): Likewise.
51882         (ILL_PRVREG): Likewise.
51883         (ILL_COPROC): Likewise.
51884         (ILL_BADSTK): Likewise.
51885         (ILL_DBLFLT): Likewise.
51886         (ILL_HARDWALL): Likewise.
51887         (FPE_INTDIV): Likewise.
51888         (FPE_INTOVF): Likewise.
51889         (FPE_FLTDIV): Likewise.
51890         (FPE_FLTOVF): Likewise.
51891         (FPE_FLTUND): Likewise.
51892         (FPE_FLTRES): Likewise.
51893         (FPE_FLTINV): Likewise.
51894         (FPE_FLTSUB): Likewise.
51895         (SEGV_MAPERR): Likewise.
51896         (SEGV_ACCERR): Likewise.
51897         (BUS_ADRALN): Likewise.
51898         (BUS_ADRERR): Likewise.
51899         (BUS_OBJERR): Likewise.
51900         (BUS_MCEERR_AR): Likewise.
51901         (BUS_MCEERR_AO): Likewise.
51902         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51903         (TRAP_TRACE): Likewise.
51904         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51905         __USE_XOPEN2K8].
51906         (CLD_KILLED): Likewise.
51907         (CLD_DUMPED): Likewise.
51908         (CLD_TRAPPED): Likewise.
51909         (CLD_STOPPED): Likewise.
51910         (CLD_CONTINUED): Likewise.
51911         (POLL_IN): Likewise.
51912         (POLL_OUT): Likewise.
51913         (POLL_MSG): Likewise.
51914         (POLL_ERR): Likewise.
51915         (POLL_PRI): Likewise.
51916         (POLL_HUP): Likewise.
51917         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
51918         (ILL_ILLOPN): Likewise.
51919         (ILL_ILLADR): Likewise.
51920         (ILL_ILLTRP): Likewise.
51921         (ILL_PRVOPC): Likewise.
51922         (ILL_PRVREG): Likewise.
51923         (ILL_COPROC): Likewise.
51924         (ILL_BADSTK): Likewise.
51925         (FPE_INTDIV): Likewise.
51926         (FPE_INTOVF): Likewise.
51927         (FPE_FLTDIV): Likewise.
51928         (FPE_FLTOVF): Likewise.
51929         (FPE_FLTUND): Likewise.
51930         (FPE_FLTRES): Likewise.
51931         (FPE_FLTINV): Likewise.
51932         (FPE_FLTSUB): Likewise.
51933         (SEGV_MAPERR): Likewise.
51934         (SEGV_ACCERR): Likewise.
51935         (BUS_ADRALN): Likewise.
51936         (BUS_ADRERR): Likewise.
51937         (BUS_OBJERR): Likewise.
51938         (BUS_MCEERR_AR): Likewise.
51939         (BUS_MCEERR_AO): Likewise.
51940         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51941         (TRAP_TRACE): Likewise.
51942         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51943         __USE_XOPEN2K8].
51944         (CLD_KILLED): Likewise.
51945         (CLD_DUMPED): Likewise.
51946         (CLD_TRAPPED): Likewise.
51947         (CLD_STOPPED): Likewise.
51948         (CLD_CONTINUED): Likewise.
51949         (POLL_IN): Likewise.
51950         (POLL_OUT): Likewise.
51951         (POLL_MSG): Likewise.
51952         (POLL_ERR): Likewise.
51953         (POLL_PRI): Likewise.
51954         (POLL_HUP): Likewise.
51955         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
51956         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
51958         [BZ #16670]
51959         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
51960         before #include of <time.h>.
51961         [!__USE_XOPEN2K] (__need_timespec): Likewise.
51962         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
51963         (test-xfail-UNIX98/sched.h/conform): Likewise.
51965 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51967         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
51968         error absence of trapping exception support.
51969         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51971 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51973         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
51974         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
51975         * timezone/Makefile (testdata): Move definition above include of
51976         Rules.
51977         (test-zones): New variable.
51978         (tests-special): Add zone files.
51979         (build-testdata): Use $(evaluate-test).
51981         * elf/Makefile (tests-special): Rename tests to end with .out.
51982         ($(objpfx)noload-mem): Likewise.
51983         ($(objpfx)tst-leaks1-mem): Likewise.
51984         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
51985         * iconv/Makefile (xtests-special): Change test-iconvconfig to
51986         $(objpfx)test-iconvconfig.out.
51987         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
51988         set -e inside subshell and redirect output to file.
51989         * iconvdata/Makefile (generated): Rename tests to end with .out.
51990         Correct type.
51991         (tests-special): Rename tests to end with .out.
51992         ($(objpfx)mtrace-tst-loading): Likewise.
51993         * intl/Makefile (generated): Likewise.
51994         (tests-special): Likewise.
51995         ($(objpfx)mtrace-tst-gettext): Likewise.
51996         * misc/Makefile (generated): Likewise.
51997         (tests-special): Likewise.
51998         ($(objpfx)tst-error1-mem): Likewise.
51999         * nptl/Makefile (tests-special): Likewise.
52000         ($(objpfx)tst-stack3-mem): Likewise.
52001         (generated): Likewise.
52002         * posix/Makefile (generated): Likewise.
52003         (tests-special): Likewise.
52004         (xtests-special): Likewise.
52005         ($(objpfx)tst-fnmatch-mem): Likewise.
52006         ($(objpfx)bug-regex2-mem): Likewise.
52007         ($(objpfx)bug-regex14-mem): Likewise.
52008         ($(objpfx)bug-regex21-mem): Likewise.
52009         ($(objpfx)bug-regex31-mem): Likewise.
52010         ($(objpfx)tst-vfork3-mem): Likewise.
52011         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
52012         ($(objpfx)tst-pcre-mem): Likewise.
52013         ($(objpfx)tst-boost-mem): Likewise.
52014         ($(objpfx)bug-ga2-mem): Likewise.
52015         ($(objpfx)bug-glob2-mem): Likewise.
52016         * resolv/Makefile (generate): Likewise.
52017         (tests-special): Likewise.
52018         (xtests-special): Likewise.
52019         (generated): Likewise.
52020         ($(objpfx)mtrace-tst-leaks): Likewise.
52021         ($(objpfx)mtrace-tst-leaks2): Likewise.
52023         * scripts/merge-test-results.sh: New file.
52024         * Makefile (tests-special-notdir): New variable.
52025         (tests): Run merge-test-results.sh.
52026         (xtests): Likewise.
52027         * Rules (tests-special-notdir): New variable.
52028         (xtests-special-notdir): Likewise.
52029         (tests): Run merge-test-results.sh
52030         (xtests): Likewise.
52032         * Makeconfig (test-xfail-name): New variable.
52033         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
52034         compute variable name for expected failures.
52035         * conform/Makefile (conformtest-headers-data): New variable.
52036         (conformtest-standards): Likewise.
52037         (conformtest-headers-ISO): Likewise.
52038         (conformtest-headers-ISO99): Likewise.
52039         (conformtest-headers-ISO11): Likewise.
52040         (conformtest-headers-POSIX): Likewise.
52041         (conformtest-headers-XPG3): Likewise.
52042         (conformtest-headers-XPG4): Likewise.
52043         (conformtest-headers-UNIX98): Likewise.
52044         (conformtest-headers-XOPEN2K): Likewise.
52045         (conformtest-headers-POSIX2008): Likewise.
52046         (conformtest-headers-XOPEN2K8): Likewise.
52047         (conformtest-header-list-base): Likewise.
52048         (conformtest-header-list-tests): Likewise.
52049         (conformtest-header-base): Likewise.
52050         (conformtest-header-tests): Likewise.
52051         (tests-special): Add $(conformtest-header-list-tests).  If
52052         [$(fast-check) && !$(cross-compiling)], add
52053         $(conformtest-header-tests) instead of
52054         $(objpfx)run-conformtest.out.
52055         (generated): Add $(conformtest-header-list-base).  If
52056         [$(fast-check) && !$(cross-compiling)], add
52057         $(conformtest-header-base).  Remove previous setting.
52058         ($(conformtest-header-list-tests)): New target.
52059         (test-xfail-run-conformtest): Remove variable.
52060         ($(objpfx)run-conformtest.out): Remove target.
52061         (test-xfail-ISO11/complex.h/conform): New variable.
52062         (test-xfail-ISO11/stdalign.h/conform): Likewise.
52063         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
52064         (test-xfail-XPG3/varargs.h/conform): Likewise.
52065         (test-xfail-XPG4/varargs.h/conform): Likewise.
52066         (test-xfail-UNIX98/varargs.h/conform): Likewise.
52067         (test-xfail-XPG4/ndbm.h/conform): Likewise.
52068         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
52069         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
52070         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
52071         (test-xfail-XPG3/fcntl.h/conform): Likewise.
52072         (test-xfail-XPG3/ftw.h/conform): Likewise.
52073         (test-xfail-XPG3/grp.h/conform): Likewise.
52074         (test-xfail-XPG3/langinfo.h/conform): Likewise.
52075         (test-xfail-XPG3/limits.h/conform): Likewise.
52076         (test-xfail-XPG3/pwd.h/conform): Likewise.
52077         (test-xfail-XPG3/search.h/conform): Likewise.
52078         (test-xfail-XPG3/signal.h/conform): Likewise.
52079         (test-xfail-XPG3/stdio.h/conform): Likewise.
52080         (test-xfail-XPG3/stdlib.h/conform): Likewise.
52081         (test-xfail-XPG3/string.h/conform): Likewise.
52082         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
52083         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
52084         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
52085         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
52086         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
52087         (test-xfail-XPG3/sys/types.h/conform): Likewise.
52088         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
52089         (test-xfail-XPG3/termios.h/conform): Likewise.
52090         (test-xfail-XPG3/time.h/conform): Likewise.
52091         (test-xfail-XPG3/unistd.h/conform): Likewise.
52092         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
52093         (test-xfail-XPG4/fcntl.h/conform): Likewise.
52094         (test-xfail-XPG4/langinfo.h/conform): Likewise.
52095         (test-xfail-XPG4/netdb.h/conform): Likewise.
52096         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
52097         (test-xfail-XPG4/signal.h/conform): Likewise.
52098         (test-xfail-XPG4/stdio.h/conform): Likewise.
52099         (test-xfail-XPG4/stdlib.h/conform): Likewise.
52100         (test-xfail-XPG4/stropts.h/conform): Likewise.
52101         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
52102         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
52103         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
52104         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
52105         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
52106         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
52107         (test-xfail-XPG4/sys/time.h/conform): Likewise.
52108         (test-xfail-XPG4/sys/types.h/conform): Likewise.
52109         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
52110         (test-xfail-XPG4/termios.h/conform): Likewise.
52111         (test-xfail-XPG4/ucontext.h/conform): Likewise.
52112         (test-xfail-XPG4/unistd.h/conform): Likewise.
52113         (test-xfail-XPG4/utmpx.h/conform): Likewise.
52114         (test-xfail-POSIX/sched.h/conform): Likewise.
52115         (test-xfail-POSIX/signal.h/conform): Likewise.
52116         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
52117         (test-xfail-POSIX/tar.h/conform): Likewise.
52118         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
52119         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
52120         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
52121         (test-xfail-UNIX98/netdb.h/conform): Likewise.
52122         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
52123         (test-xfail-UNIX98/sched.h/conform): Likewise.
52124         (test-xfail-UNIX98/signal.h/conform): Likewise.
52125         (test-xfail-UNIX98/stdio.h/conform): Likewise.
52126         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
52127         (test-xfail-UNIX98/stropts.h/conform): Likewise.
52128         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
52129         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
52130         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
52131         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
52132         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
52133         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
52134         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
52135         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
52136         (test-xfail-UNIX98/unistd.h/conform): Likewise.
52137         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
52138         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
52139         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
52140         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
52141         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
52142         (test-xfail-XOPEN2K/math.h/conform): Likewise.
52143         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
52144         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
52145         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
52146         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
52147         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
52148         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
52149         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
52150         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
52151         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
52152         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
52153         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
52154         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
52155         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
52156         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
52157         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
52158         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
52159         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
52160         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
52161         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
52162         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
52163         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
52164         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
52165         (test-xfail-POSIX2008/signal.h/conform): Likewise.
52166         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
52167         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
52168         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
52169         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
52170         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
52171         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
52172         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
52173         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
52174         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
52175         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
52176         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
52177         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
52178         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
52179         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
52180         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
52181         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
52182         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
52183         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
52184         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
52185         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
52186         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
52187         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
52188         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
52189         (conformtest-cc-flags): Likewise.
52190         ($(conformtest-header-tests): New target.
52191         * conform/check-header-lists.sh: New file.
52192         * conform/run-conformtest.sh: Remove.
52194         * conform/conformtest.pl: Allow ' and \ in values given for
52195         constants.
52196         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
52197         inclusion.
52198         [POSIX] (sys/types.h): Likewise.
52199         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
52200         inclusion.
52201         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
52202         inclusion.
52203         * conform/data/signal.h-data (SIGIO): Remove expectation.
52204         [XPG3] (SIGBUS): Do not expect.
52205         [POSIX || XPG3] (SIGPOLL): Likewise.
52206         [POSIX || XPG3] (SIGPROF): Likewise.
52207         [POSIX || XPG3] (SIGSYS): Likewise.
52208         [XPG3] (SIGTRAP): Likewise.
52209         [POSIX || XPG3] (SIGURG): Likewise.
52210         [POSIX || XPG3] (SIGVTALRM): Likewise.
52211         [POSIX || XPG3] (SIGXCPU): Likewise.
52212         [POSIX || XPG3] (SIGXFSZ): Likewise.
52213         [POSIX] (SA_SIGINFO): Expect.
52214         [XPG3] (siginfo_t): Do not expect type or contents.
52215         [POSIX] (si_pid): Do not expect element.
52216         [POSIX] (si_uid): Likewise.
52217         [POSIX] (si_addr): Likewise.
52218         [POSIX] (si_status): Likewise.
52219         [POSIX] (si_band): Likewise.
52220         [XPG4] (si_value): Likewise.
52221         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
52222         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
52223         [POSIX || XPG3] (ILL_ILLADR): Likewise.
52224         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
52225         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
52226         [POSIX || XPG3] (ILL_PRVREG): Likewise.
52227         [POSIX || XPG3] (ILL_COPROC): Likewise.
52228         [POSIX || XPG3] (ILL_BADSTK): Likewise.
52229         [POSIX || XPG3] (FPE_INTDIV): Likewise.
52230         [POSIX || XPG3] (FPE_INTOVF): Likewise.
52231         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
52232         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
52233         [POSIX || XPG3] (FPE_FLTUND): Likewise.
52234         [POSIX || XPG3] (FPE_FLTRES): Likewise.
52235         [POSIX || XPG3] (FPE_FLTINV): Likewise.
52236         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
52237         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
52238         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
52239         [POSIX || XPG3] (BUS_ADRALN): Likewise.
52240         [POSIX || XPG3] (BUS_ADRERR): Likewise.
52241         [POSIX || XPG3] (BUS_OBJERR): Likewise.
52242         [POSIX || XPG3] (CLD_EXITED): Likewise.
52243         [POSIX || XPG3] (CLD_KILLED): Likewise.
52244         [POSIX || XPG3] (CLD_DUMPED): Likewise.
52245         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
52246         [POSIX || XPG3] (CLD_STOPPED): Likewise.
52247         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
52248         [POSIX || XPG3] (POLL_IN): Likewise.
52249         [POSIX || XPG3] (POLL_OUT): Likewise.
52250         [POSIX || XPG3] (POLL_MSG): Likewise.
52251         [POSIX || XPG3] (POLL_ERR): Likewise.
52252         [POSIX || XPG3] (POLL_PRI): Likewise.
52253         [POSIX || XPG3] (POLL_HUP): Likewise.
52254         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
52255         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
52256         (SIG*): Do not allow.
52257         [XPG3] (si_*): Likewise.
52258         [XPG3] (SI_*): Likewise.
52259         [XPG3 || XPG4] (sigev_*): Likewise.
52260         [XPG3 || XPG4] (SIGEV_*): Likewise.
52261         [XPG3 || XPG4] (sival_*): Likewise.
52262         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
52263         [POSIX || XPG3] (BUS_*): Likewise.
52264         [POSIX || XPG3] (CLD_*): Likewise.
52265         [POSIX || XPG3] (FPE_*): Likewise.
52266         [POSIX || XPG3] (ILL_*): Likewise.
52267         [POSIX || XPG3] (POLL_*): Likewise.
52268         [POSIX || XPG3] (SEGV_*): Likewise.
52269         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
52270         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
52271         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
52272         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
52273         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
52274         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
52275         Specify type and value.
52276         (TVERSLEN): Likewise.
52277         (REGTYPE): Likewise.
52278         (AREGTYPE): Likewise.
52279         (LNKTYPE): Likewise.
52280         (SYMTYPE): Likewise.
52281         (CHRTYPE): Likewise.
52282         (BLKTYPE): Likewise.
52283         (DIRTYPE): Likewise.
52284         (FIFOTYPE): Likewise.
52285         (CONTTYPE): Likewise.
52286         (TSUID): Likewise.
52287         (TSGID): Likewise.
52288         (TSVTX): Likewise.
52289         (TUREAD): Likewise.
52290         (TUWRITE): Likewise.
52291         (TUEXEC): Likewise.
52292         (TGREAD): Likewise.
52293         (TGWRITE): Likewise.
52294         (TGEXEC): Likewise.
52295         (TOREAD): Likewise.
52296         (TOWRITE): Likewise.
52297         (TOEXEC): Likewise.
52298         [POSIX] (TSVTX): Expect constant.
52300 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
52302         * Makefile (tests): Change dependencies to ....
52303         (tests-special): ... additions to this variable.
52304         (tests): Depend on $(tests-special).
52305         * Makerules (check-abi-list): New variable.
52306         (check-abi): Depend on $(check-abi-list).
52307         [$(subdir) = elf] (tests-special): Add
52308         $(objpfx)check-abi-libc.out.
52309         [$(build-shared) = yes && subdir] (tests-special): Add
52310         $(check-abi-list).
52311         [$(build-shared) = yes && subdir] (tests): Do not depend on
52312         check-abi.
52313         * Rules (tests): Depend on $(tests-special).
52314         (xtests): Depend on $(xtests-special).
52315         * catgets/Makefile (tests): Change dependencies to ....
52316         (tests-special): ... additions to this variable.
52317         * conform/Makefile (tests): Change dependencies to ....
52318         (tests-special): ... additions to this variable.
52319         * elf/Makefile (tests): Change dependencies to ....
52320         (tests-special): ... additions to this variable.
52321         * grp/Makefile (tests): Change dependencies to ....
52322         (tests-special): ... additions to this variable.
52323         * iconv/Makefile (xtests): Change dependencies to ....
52324         (xtests-special): ... additions to this variable.
52325         * iconvdata/Makefile (tests): Change dependencies to ....
52326         (tests-special): ... additions to this variable.
52327         * intl/Makefile (tests): Change dependencies to ....
52328         (tests-special): ... additions to this variable.  Also add
52329         $(objpfx)tst-gettext.out.
52330         * io/Makefile (tests): Change dependencies to ....
52331         (tests-special): ... additions to this variable.
52332         * libio/Makefile (tests): Change dependencies to ....
52333         (tests-special): ... additions to this variable.
52334         * malloc/Makefile (tests): Change dependencies to ....
52335         (tests-special): ... additions to this variable.
52336         * misc/Makefile (tests): Change dependencies to ....
52337         (tests-special): ... additions to this variable.
52338         * nptl/Makefile (tests): Change dependencies to ....
52339         (tests-special): ... additions to this variable.
52340         * nptl_db/Makefile (tests): Change dependencies to ....
52341         (tests-special): ... additions to this variable.
52342         * posix/Makefile (tests): Change dependencies to ....
52343         (tests-special): ... additions to this variable.
52344         (xtests): Change dependencies to ....
52345         (xtests-special): ... additions to this variable.
52346         * resolv/Makefile (tests): Change dependencies to ....
52347         (tests-special): ... additions to this variable.
52348         (xtests): Change dependencies to ....
52349         (xtests-special): ... additions to this variable.
52350         * stdio-common/Makefile (tests): Change dependencies to ....
52351         (tests-special): ... additions to this variable.
52352         (do-tst-unbputc): Remove target.
52353         (do-tst-printf): Likewise.
52354         * stdlib/Makefile (tests): Change dependencies to ....
52355         (tests-special): ... additions to this variable.
52356         * string/Makefile (tests): Change dependencies to ....
52357         (tests-special): ... additions to this variable.
52358         * sysdeps/x86/Makefile (tests): Change dependencies to ....
52359         (tests-special): ... additions to this variable.
52361         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
52362         whole file.
52363         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
52364         whole file.
52365         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
52366         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
52368         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
52369         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
52370         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
52371         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
52372         * conform/data/libgen.h-data [XPG3]: Likewise.
52373         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
52374         * conform/data/ndbm.h-data [XPG3]: Likewise.
52375         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52376         * conform/data/netdb.h-data [XPG3]: Likewise.
52377         * conform/data/netinet/in.h-data [XPG3]: Likewise.
52378         * conform/data/poll.h-data [XPG3]: Likewise.
52379         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52380         * conform/data/strings.h-data [XPG3]: Likewise.
52381         * conform/data/stropts.h-data [XPG3]: Likewise.
52382         * conform/data/sys/mman.h-data [XPG3]: Likewise.
52383         * conform/data/sys/resource.h-data [XPG3]: Likewise.
52384         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
52385         Likewise.
52386         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
52387         * conform/data/sys/time.h-data [XPG3]: Likewise.
52388         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
52389         * conform/data/sys/uio.h-data [XPG3]: Likewise.
52390         * conform/data/sys/un.h-data [XPG3]: Likewise.
52391         * conform/data/syslog.h-data [XPG3]: Likewise.
52392         * conform/data/ucontext.h-data [XPG3]: Likewise.
52393         * conform/data/utmpx.h-data [XPG3]: Likewise.
52394         * conform/data/varargs.h-data [UNIX98]: Enable file.
52396         * manual/Makefile (INSTALL_INFO): Remove variable setting.
52398         * math/libm-test.inc (struct test_f_f_data): Move expected results
52399         into structure for each rounding mode.
52400         (struct test_ff_f_data): Likewise.
52401         (struct test_ff_f_data_nexttoward): Likewise.
52402         (struct test_fi_f_data): Likewise.
52403         (struct test_fl_f_data): Likewise.
52404         (struct test_if_f_data): Likewise.
52405         (struct test_fff_f_data): Likewise.
52406         (struct test_c_f_data): Likewise.
52407         (struct test_f_f1_data): Likewise.
52408         (struct test_fF_f1_data): Likewise.
52409         (struct test_ffI_f1_data): Likewise.
52410         (struct test_c_c_data): Likewise.
52411         (struct test_cc_c_data): Likewise.
52412         (struct test_f_i_data): Likewise.
52413         (struct test_ff_i_data): Likewise.
52414         (struct test_f_l_data): Likewise.
52415         (struct test_f_L_data): Likewise.
52416         (struct test_fFF_11_data): Likewise.
52417         (RM_): New macro.
52418         (RM_FE_DOWNWARD): Likewise.
52419         (RM_FE_TONEAREST): Likewise.
52420         (RM_FE_TOWARDZERO): Likewise.
52421         (RM_FE_UPWARD): Likewise.
52422         (RUN_TEST_LOOP_f_f): Update references to expected results.
52423         (RUN_TEST_LOOP_2_f): Likewise.
52424         (RUN_TEST_LOOP_fff_f): Likewise.
52425         (RUN_TEST_LOOP_c_f): Likewise.
52426         (RUN_TEST_LOOP_f_f1): Likewise.
52427         (RUN_TEST_LOOP_fF_f1): Likewise.
52428         (RUN_TEST_LOOP_fI_f1): Likewise.
52429         (RUN_TEST_LOOP_ffI_f1): Likewise.
52430         (RUN_TEST_LOOP_c_c): Likewise.
52431         (RUN_TEST_LOOP_cc_c): Likewise.
52432         (RUN_TEST_LOOP_f_i): Likewise.
52433         (RUN_TEST_LOOP_f_i_tg): Likewise.
52434         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52435         (RUN_TEST_LOOP_f_b): Likewise.
52436         (RUN_TEST_LOOP_f_b_tg): Likewise.
52437         (RUN_TEST_LOOP_f_l): Likewise.
52438         (RUN_TEST_LOOP_f_L): Likewise.
52439         (RUN_TEST_LOOP_fFF_11): Likewise.
52440         * math/gen-libm-test.pl (parse_args): Output four copies of
52441         expected results for each test.
52443         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52444         (__ASSUME_UTIMES): Remove.
52445         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52446         (__ASSUME_UTIMES): Likewise.
52448         * math/gen-auto-libm-tests.c: Update comment on output format.
52449         (output_for_one_input_case): Generate before-rounding and
52450         after-rounding information as conditions on output flags not
52451         floating-point format.
52452         * math/auto-libm-test-out: Regenerated.
52453         * math/gen-libm-test.pl (cond_value): New function.
52454         (or_cond_value): Use cond_value.
52455         (generate_testfile): Handle conditional exceptions.
52457 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
52459         * math/libm-test.inc (max_valid_error): New variable.
52460         (init_max_error): Take new argument specifying whether function
52461         results are exactly determined.  Set max_valid_error and bound
52462         other variables for errors based on this argument.
52463         (set_max_error): Do not record results above max_valid_error.
52464         (check_float_internal): Only accept errors of up to 0.5ulps if
52465         also at most max_valid_error.
52466         (START): Take new argument EXACT and pass it to init_max_error.
52467         (acos_test): Update call to START.
52468         (acos_test_tonearest): Likewise.
52469         (acos_test_towardzero): Likewise.
52470         (acos_test_downward): Likewise.
52471         (acos_test_upward): Likewise.
52472         (acosh_test): Likewise.
52473         (asin_test): Likewise.
52474         (asin_test_tonearest): Likewise.
52475         (asin_test_towardzero): Likewise.
52476         (asin_test_downward): Likewise.
52477         (asin_test_upward): Likewise.
52478         (asinh_test): Likewise.
52479         (atan_test): Likewise.
52480         (atanh_test): Likewise.
52481         (atan2_test): Likewise.
52482         (cabs_test): Likewise.
52483         (cacos_test): Likewise.
52484         (cacosh_test): Likewise.
52485         (carg_test): Likewise.
52486         (casin_test): Likewise.
52487         (casinh_test): Likewise.
52488         (catan_test): Likewise.
52489         (catanh_test): Likewise.
52490         (cbrt_test): Likewise.
52491         (ccos_test): Likewise.
52492         (ccosh_test): Likewise.
52493         (ceil_test): Likewise.
52494         (cexp_test): Likewise.
52495         (cimag_test): Likewise.
52496         (clog_test): Likewise.
52497         (clog10_test): Likewise.
52498         (conj_test): Likewise.
52499         (copysign_test): Likewise.
52500         (cos_test): Likewise.
52501         (cos_test_tonearest): Likewise.
52502         (cos_test_towardzero): Likewise.
52503         (cos_test_downward): Likewise.
52504         (cos_test_upward): Likewise.
52505         (cosh_test): Likewise.
52506         (cosh_test_tonearest): Likewise.
52507         (cosh_test_towardzero): Likewise.
52508         (cosh_test_downward): Likewise.
52509         (cosh_test_upward): Likewise.
52510         (cpow_test): Likewise.
52511         (cproj_test): Likewise.
52512         (creal_test): Likewise.
52513         (csin_test): Likewise.
52514         (csinh_test): Likewise.
52515         (csqrt_test): Likewise.
52516         (ctan_test): Likewise.
52517         (ctan_test_tonearest): Likewise.
52518         (ctan_test_towardzero): Likewise.
52519         (ctan_test_downward): Likewise.
52520         (ctan_test_upward): Likewise.
52521         (ctanh_test): Likewise.
52522         (ctanh_test_tonearest): Likewise.
52523         (ctanh_test_towardzero): Likewise.
52524         (ctanh_test_downward): Likewise.
52525         (ctanh_test_upward): Likewise.
52526         (erf_test): Likewise.
52527         (erfc_test): Likewise.
52528         (exp_test): Likewise.
52529         (exp_test_tonearest): Likewise.
52530         (exp_test_towardzero): Likewise.
52531         (exp_test_downward): Likewise.
52532         (exp_test_upward): Likewise.
52533         (exp10_test): Likewise.
52534         (exp10_test_tonearest): Likewise.
52535         (exp10_test_towardzero): Likewise.
52536         (exp10_test_downward): Likewise.
52537         (exp10_test_upward): Likewise.
52538         (pow10_test): Likewise.
52539         (exp2_test): Likewise.
52540         (expm1_test): Likewise.
52541         (expm1_test_tonearest): Likewise.
52542         (expm1_test_towardzero): Likewise.
52543         (expm1_test_downward): Likewise.
52544         (expm1_test_upward): Likewise.
52545         (fabs_test): Likewise.
52546         (fdim_test): Likewise.
52547         (floor_test): Likewise.
52548         (fma_test): Likewise.
52549         (fma_test_towardzero): Likewise.
52550         (fma_test_downward): Likewise.
52551         (fma_test_upward): Likewise.
52552         (fmax_test): Likewise.
52553         (fmin_test): Likewise.
52554         (fmod_test): Likewise.
52555         (fpclassify_test): Likewise.
52556         (frexp_test): Likewise.
52557         (hypot_test): Likewise.
52558         (ilogb_test): Likewise.
52559         (isfinite_test): Likewise.
52560         (finite_test): Likewise.
52561         (isgreater_test): Likewise.
52562         (isgreaterequal_test): Likewise.
52563         (isinf_test): Likewise.
52564         (isless_test): Likewise.
52565         (islessequal_test): Likewise.
52566         (islessgreater_test): Likewise.
52567         (isnan_test): Likewise.
52568         (isnormal_test): Likewise.
52569         (issignaling_test): Likewise.
52570         (isunordered_test): Likewise.
52571         (j0_test): Likewise.
52572         (j1_test): Likewise.
52573         (jn_test): Likewise.
52574         (ldexp_test): Likewise.
52575         (lgamma_test): Likewise.
52576         (gamma_test): Likewise.
52577         (lrint_test): Likewise.
52578         (lrint_test_tonearest): Likewise.
52579         (lrint_test_towardzero): Likewise.
52580         (lrint_test_downward): Likewise.
52581         (lrint_test_upward): Likewise.
52582         (llrint_test): Likewise.
52583         (llrint_test_tonearest): Likewise.
52584         (llrint_test_towardzero): Likewise.
52585         (llrint_test_downward): Likewise.
52586         (llrint_test_upward): Likewise.
52587         (log_test): Likewise.
52588         (log10_test): Likewise.
52589         (log1p_test): Likewise.
52590         (log2_test): Likewise.
52591         (logb_test): Likewise.
52592         (logb_test_downward): Likewise.
52593         (lround_test): Likewise.
52594         (llround_test): Likewise.
52595         (modf_test): Likewise.
52596         (nearbyint_test): Likewise.
52597         (nextafter_test): Likewise.
52598         (nexttoward_test): Likewise.
52599         (pow_test): Likewise.
52600         (pow_test_tonearest): Likewise.
52601         (pow_test_towardzero): Likewise.
52602         (pow_test_downward): Likewise.
52603         (pow_test_upward): Likewise.
52604         (remainder_test): Likewise.
52605         (drem_test): Likewise.
52606         (remainder_test_tonearest): Likewise.
52607         (drem_test_tonearest): Likewise.
52608         (remainder_test_towardzero): Likewise.
52609         (drem_test_towardzero): Likewise.
52610         (remainder_test_downward): Likewise.
52611         (drem_test_downward): Likewise.
52612         (remainder_test_upward): Likewise.
52613         (drem_test_upward): Likewise.
52614         (remquo_test): Likewise.
52615         (rint_test): Likewise.
52616         (rint_test_tonearest): Likewise.
52617         (rint_test_towardzero): Likewise.
52618         (rint_test_downward): Likewise.
52619         (rint_test_upward): Likewise.
52620         (round_test): Likewise.
52621         (scalb_test): Likewise.
52622         (scalbn_test): Likewise.
52623         (scalbln_test): Likewise.
52624         (signbit_test): Likewise.
52625         (sin_test): Likewise.
52626         (sin_test_tonearest): Likewise.
52627         (sin_test_towardzero): Likewise.
52628         (sin_test_downward): Likewise.
52629         (sin_test_upward): Likewise.
52630         (sincos_test): Likewise.
52631         (sinh_test): Likewise.
52632         (sinh_test_tonearest): Likewise.
52633         (sinh_test_towardzero): Likewise.
52634         (sinh_test_downward): Likewise.
52635         (sinh_test_upward): Likewise.
52636         (sqrt_test): Likewise.
52637         (sqrt_test_tonearest): Likewise.
52638         (sqrt_test_towardzero): Likewise.
52639         (sqrt_test_downward): Likewise.
52640         (sqrt_test_upward): Likewise.
52641         (tan_test): Likewise.
52642         (tan_test_tonearest): Likewise.
52643         (tan_test_towardzero): Likewise.
52644         (tan_test_downward): Likewise.
52645         (tan_test_upward): Likewise.
52646         (tanh_test): Likewise.
52647         (tgamma_test): Likewise.
52648         (trunc_test): Likewise.
52649         (y0_test): Likewise.
52650         (y1_test): Likewise.
52651         (yn_test): Likewise.
52652         (significand_test): Likewise.
52654         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
52655         individual tests in comment.
52656         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
52657         (prev_max_error): New variable.
52658         (prev_real_max_error): Likewise.
52659         (prev_imag_max_error): Likewise.
52660         (compare_ulp_data): Don't refer to test names in comment.
52661         (find_test_ulps): Remove function.
52662         (find_function_ulps): Likewise.
52663         (find_complex_function_ulps): Likewise.
52664         (init_max_error): Take function name as argument.  Look up ulps
52665         for that function.
52666         (print_ulps): Remove function.
52667         (print_max_error): Use prev_max_error instead of calling
52668         find_function_ulps.
52669         (print_complex_max_error): Use prev_real_max_error and
52670         prev_imag_max_error instead of calling find_complex_function_ulps.
52671         (check_float_internal): Take max_ulp parameter instead of calling
52672         find_test_ulps.  Don't call print_ulps.
52673         (check_float): Update call to check_float_internal.
52674         (check_complex): Update calls to check_float_internal.
52675         (START): Pass argument to init_max_error.
52676         * math/gen-libm-test.pl (%results): Don't include "kind"
52677         information.
52678         (parse_ulps): Don't handle ulps of individual tests.
52679         (print_ulps_file): Likewise.
52680         (output_ulps): Likewise.
52681         * math/README.libm-test: Update.
52682         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
52683         individual tests.
52684         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
52685         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
52686         * sysdeps/arm/libm-test-ulps: Likewise.
52687         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
52688         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
52689         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
52690         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
52691         * sysdeps/microblaze/libm-test-ulps: Likewise.
52692         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
52693         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
52694         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52695         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
52696         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52697         * sysdeps/sh/libm-test-ulps: Likewise.
52698         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52699         * sysdeps/tile/libm-test-ulps: Likewise.
52700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52702 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
52704         * math/libm-test.inc (print_complex_max_error): Check separately
52705         whether real and imaginary errors are within allowed range and
52706         pass 0 to print_complex_function_ulps instead of value within
52707         allowed range.
52709 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52711         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
52712         formatting.
52713         (get_handles_fopen): Likewise.
52714         (do_write_test): Likewise.
52716         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
52718         * libio/fileops.c (do_ftell): Use cached offset when
52719         available.
52720         * libio/iofwide.c (do_ftell_wide): Likewise.
52721         * libio/iofdopen.c (_IO_new_fdopen): Don't use
52722         _IO_file_attach.
52723         * libio/wfileops.c (_IO_fwide): Don't cache offset.
52725         [BZ #16532]
52726         * libio/libioP.h (get_file_offset): New function.
52727         * libio/fileops.c (get_file_offset): Likewise.
52728         (do_ftell): Likewise.
52729         (_IO_new_file_seekoff): Split out ftell logic.
52730         * libio/wfileops.c (do_ftell_wide): Likewise.
52731         (_IO_wfile_seekoff): Split out ftell logic.
52732         * libio/tst-ftell-active-handler.c: New test case.
52733         * libio/Makefile (tests): Add it.
52735 2014-03-03  Roland McGrath  <roland@hack.frob.com>
52737         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
52738         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
52740 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52742         [BZ #16639]
52743         * nscd/connections.c (nscd_init): Call do_exit.
52744         (start_threads): Call do_exit and notify_parent.
52745         (begin_drop_privileges): Call do_exit.
52746         (finish_drop_privileges): Likewise.
52747         * nscd/selinux.c (preserve_capabilities): Likewise.
52748         (install_real_capabilities): Likewise.
52749         (nscd_selinux_enabled): Likewise.
52750         (avc_create_thread): Likewise.
52751         (avc_alloc_lock): Likewise.
52752         (nscd_avc_init): Likewise.
52753         * nscd/nscd.c (parent_fd): New static variable.
52754         (main): Create a pipe between parent and child processes.
52755         Skip closing parent_fd.
52756         (monitor_child): New function.
52757         (do_exit): Likewise.
52758         (notify_parent): Likewise.
52759         * nscd/nscd.h (notify_parent): Likewise.
52760         (do_exit): Likewise.
52762 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
52764         * malloc/malloc.c (__libc_calloc): Revert last change.
52766 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52770 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
52772         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
52773         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
52774         implementation.
52775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52776         (__libc_ifunc_impl_list): Likewise.
52777         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
52778         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
52779         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
52780         * string/strrchr.c: Define STRRCHR.
52782 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
52784         * benchtest/bench-strtok.c (simple_strtok): Delete.
52785         (strtok_string): Use as benchmark.
52786         * string/strtok (STRTOK): New macro.
52788 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
52790         * manual/threads.texi: Add header and standard comments to all
52791         functions.
52793         * elf/dl-lookup.c (check_match): New function.
52794         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
52795         (do_lookup_x): Remove nested function check_match. Use non-nested
52796         function check_match.
52798 2014-02-28  Roland McGrath  <roland@hack.frob.com>
52800         * csu/Makefile (generated, before-compile): Use += rather than =.
52801         * catgets/Makefile (generated, generated-dirs): Likewise.
52802         * debug/Makefile (generated): Likewise.
52803         * dlfcn/Makefile (generated): Likewise.
52804         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
52805         * iconvdata/Makefile (before-compile, generated): Likewise.
52806         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
52807         * libio/Makefile (generated): Likewise.
52808         * malloc/Makefile (generated): Likewise.
52809         * manual/Makefile (generated, generated-dirs): Likewise.
52810         * misc/Makefile (generated): Likewise.
52811         * posix/Makefile (generated): Likewise.
52812         * resolv/Makefile (generated): Likewise.
52813         * sunrpc/Makefile (generated, generated-dirs): Likewise.
52814         * timezone/Makefile (generated, generated-dirs): Likewise.
52816         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
52818 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52820         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52821         power8 implementation.
52822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
52823         file: POWER8 llround ifunc implementation.
52824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
52825         (__lllround): Add POWER8 implementation.
52826         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
52827         POWER8 llround implementation.
52829         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
52830         power8 implementation.
52831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
52832         file: POWER8 llrint ifunc implementation.
52833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
52834         Add POWER8 implementation.
52835         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
52836         POWER8 llrint implementation.
52838         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
52839         power8 implementation.
52840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
52841         file: POWER8 finite ifunc implementation.
52842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
52843         Add POWER8 implementation.
52844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
52845         Likewise.
52846         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
52847         POWER8 finite implementation.
52848         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
52850         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
52851         power8 implementation.
52852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
52853         file: POWER8 isinf ifunc implementation.
52854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
52855         POWER8 implementation.
52856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
52857         Likewise.
52858         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
52859         isinf implementation.
52860         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
52862         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
52863         (INIT_ARCH): Add hwcap2 initialization.
52864         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52865         power8 implementation.
52866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
52867         file: POWER8 isnan ifunc implementation.
52868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
52869         POWER8 implementation.
52870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
52871         Likewise.
52872         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
52873         isnan implementation.
52874         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
52876 2014-02-27  Joey Ye  <joey.ye@arm.com>
52878         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
52879         (_FP_NANFRAC_Q): Set to zero.
52881 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52883         [BZ #16623]
52884         * math/auto-libm-test-in: New test inputs.
52885         * math/auto-libm-test-out: Regenerate.
52886         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
52887         and DA.
52888         (__cos): Likewise.
52889         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52891 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
52893         * scripts/evaluate-test.sh: Take new argument indicating whether
52894         failure is expected.
52895         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
52896         indicating whether failure is expected.
52897         * conform/Makefile (test-xfail-run-conformtest): New variable.
52898         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
52899         level.
52900         * posix/Makefile (test-xfail-annexc): New variable.
52901         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
52903 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
52905         * argp/Makefile: Include Makeconfig immediately after defining
52906         subdir.
52907         * assert/Makefile: Likewise.
52908         * benchtests/Makefile: Likewise.
52909         * catgets/Makefile: Likewise.
52910         * conform/Makefile: Likewise.
52911         * crypt/Makefile: Likewise.
52912         * csu/Makefile: Likewise.
52913         (all): Remove target.
52914         * ctype/Makefile: Include Makeconfig immediately after defining
52915         subdir.
52916         * debug/Makefile: Likewise.
52917         * dirent/Makefile: Likewise.
52918         * dlfcn/Makefile: Likewise.
52919         * gmon/Makefile: Likewise.
52920         * gnulib/Makefile: Likewise.
52921         * grp/Makefile: Likewise.
52922         * gshadow/Makefile: Likewise.
52923         * hesiod/Makefile: Likewise.
52924         * hurd/Makefile: Likewise.
52925         (all): Remove target.
52926         * iconvdata/Makefile: Include Makeconfig immediately after
52927         defining subdir.
52928         * inet/Makefile: Likewise.
52929         * intl/Makefile: Likewise.
52930         * io/Makefile: Likewise.
52931         * libio/Makefile: Likewise.
52932         (all): Remove target.
52933         * locale/Makefile: Include Makeconfig immediately after defining
52934         subdir.
52935         * login/Makefile: Likewise.
52936         * mach/Makefile: Likewise.
52937         (all): Remove target.
52938         * malloc/Makefile: Include Makeconfig immediately after defining
52939         subdir.
52940         (all): Remove target.
52941         * manual/Makefile: Include Makeconfig immediately after defining
52942         subdir.
52943         * math/Makefile: Likewise.
52944         * misc/Makefile: Likewise.
52945         * nis/Makefile: Likewise.
52946         * nss/Makefile: Likewise.
52947         * po/Makefile: Likewise.
52948         (all): Remove target.
52949         * posix/Makefile: Include Makeconfig immediately after defining
52950         subdir.
52951         * pwd/Makefile: Likewise.
52952         * resolv/Makefile: Likewise.
52953         * resource/Makefile: Likewise.
52954         * rt/Makefile: Likewise.
52955         * setjmp/Makefile: Likewise.
52956         * shadow/Makefile: Likewise.
52957         * signal/Makefile: Likewise.
52958         * socket/Makefile: Likewise.
52959         * soft-fp/Makefile: Likewise.
52960         * stdio-common/Makefile: Likewise.
52961         * stdlib/Makefile: Likewise.
52962         * streams/Makefile: Likewise.
52963         * string/Makefile: Likewise.
52964         * sunrpc/Makefile: Likewise.
52965         (all): Remove target.
52966         * sysvipc/Makefile: Include Makeconfig immediately after defining
52967         subdir.
52968         * termios/Makefile: Likewise.
52969         * time/Makefile: Likewise.
52970         * timezone/Makefile: Likewise.
52971         (all): Remove target.
52972         * wcsmbs/Makefile: Include Makeconfig immediately after defining
52973         subdir.
52974         * wctype/Makefile: Likewise.
52976 2014-02-26  Steve Ellcey  <sellcey@mips.com>
52978         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
52979         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
52980         (libc_feholdexcept_setround_mips): Ditto.
52981         (libc_feholdsetround): New.
52982         (libc_feholdsetroundf): New.
52983         (libc_feholdsetroundl): New.
52984         (libc_feupdateenv_test_mips): New.
52985         (libc_feupdateenv_test): New.
52986         (libc_feupdateenv_testf): New.
52987         (libc_feupdateenv_testl): New.
52988         (libc_feresetround): New.
52989         (libc_feresetroundf): New.
52990         (libc_feresetroundl): New.
52991         (libc_fetestexcept_mips): New.
52992         (libc_fetestexcept): New.
52993         (libc_fetestexceptf): New.
52994         (libc_fetestexceptl): New.
52995         (HAVE_RM_CTX): New.
52996         (libc_feholdexcept_setround_mips_ctx): New.
52997         (libc_feholdexcept_setround_ctx): New.
52998         (libc_feholdexcept_setroundf_ctx): New.
52999         (libc_feholdexcept_setroundl_ctx): New.
53000         (libc_fesetenv_mips_ctx): New.
53001         (libc_fesetenv_ctx): New.
53002         (libc_fesetenv_ctxf): New.
53003         (libc_fesetenv_ctxl): New.
53004         (libc_feupdateenv_mips_ctx): New.
53005         (libc_feupdateenv_ctx): New.
53006         (libc_feupdateenvf_ctx): New.
53007         (libc_feupdateenvl_ctx): New.
53008         (libc_feholdsetround_mips_ctx): New.
53009         (libc_feholdsetround_ctx): New.
53010         (libc_feholdsetroundf_ctx): New.
53011         (libc_feholdsetroundl_ctx): New.
53012         (libc_feresetround_mips_ctx): New.
53013         (libc_feresetround_ctx): New.
53014         (libc_feresetroundf_ctx): New.
53015         (libc_feresetroundl_ctx): New.
53017 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
53019         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
53021         * manual/ipc.texi: New file.
53022         * manual/Makefile (chapters): Add ipc.
53023         * manual/job.texi: Add "Inter-Process Communication" to next.
53024         * manual/process.texi: Add "Inter-Process Communication" to prev.
53026 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53030 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
53032         * malloc/malloc.c (__libc_calloc): Simplify implementation.
53034         * manual/arith.texi: Fix spaces after sentences.
53035         * manual/charset.texi: Likewise.
53036         * manual/errno.texi: Likewise.
53037         * manual/install.texi: Likewise.
53038         * manual/llio.texi: Likewise.
53039         * manual/locale.texi: Likewise.
53040         * manual/maint.texi: Likewise.
53041         * manual/math.texi: Likewise.
53042         * manual/memory.texi: Likewise.
53043         * manual/message.texi: Likewise.
53044         * manual/probes.texi: Likewise.
53045         * manual/resource.texi: Likewise.
53046         * manual/signal.texi: Likewise.
53047         * manual/socket.texi: Likewise.
53048         * manual/stdio.texi: Likewise.
53049         * manual/string.texi: Likewise.
53050         * manual/time.texi: Likewise.
53051         * manual/users.texi: Likewise.
53053 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
53055         [BZ #16632]
53056         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
53057         _DEFAULT_SOURCE is defined.
53059 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
53060             Carlos O'Donell  <carlos@redhat.com>
53062         [BZ #16613]
53063         * elf/dl-tls.c (_dl_count_modids): New function.
53064         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
53065         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
53066         audit library and increment generation counter.
53067         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
53068         * elf/tst-audit9.c: New file.
53069         * elf/tst-auditmod9a.c: New file.
53070         * elf/tst-auditmod9b.c: New file.
53071         * elf/Makefile: Add rules to build and run tst-audit9.
53073 2014-02-25  Florian Weimer  <fweimer@redhat.com>
53075         [BZ #15347]
53076         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
53078 2014-02-25  Will Newton  <will.newton@linaro.org>
53080         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
53081         (__longjmp): Restore sp and lr before restoring callee
53082         saved registers.  Add longjmp and longjmp_target
53083         SystemTap probe point.
53084         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
53085         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
53086         Define to zero to match jmpbuf layout.
53087         * sysdeps/arm/setjmp.S: Include stap-probe.h.
53088         (__sigsetjmp): Save sp and lr before saving callee
53089         saved registers.  Add setjmp SystemTap probe point.
53091 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
53093         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53095 2014-02-24  Andreas Schwab  <schwab@suse.de>
53097         [BZ #15804]
53098         * elf/pldd.c (wait_for_ptrace_stop): New function.
53099         (main): Call it after attaching.
53101 2014-02-22  Roland McGrath  <roland@hack.frob.com>
53103         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
53104         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
53105         Versions files is now verboten.
53106         * hurd/Versions (libc: GLIBC_2.0):
53107         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
53108         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
53109         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
53110         * mach/Versions: Likewise.
53112         * csu/Versions: Remove unused %include.
53113         * resolv/Versions: Likewise.
53115 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
53117         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
53118         ($(objpfx)check-local-headers.out): Likewise.
53119         ($(objpfx)begin-end-check.out): Likewise.
53120         * Makerules (check-abi-%.out): Likewise.
53121         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
53122         ($(objpfx)test2.cat): Likewise.
53123         ($(objpfx)de/libc.cat): Likewise.
53124         ($(objpfx)test-gencat.out): Likewise.
53125         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
53126         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
53127         ($(objpfx)noload-mem): Likewise.
53128         ($(objpfx)tst-pathopt.out): Likewise.
53129         ($(objpfx)tst-rtld-load-self.out): Likewise.
53130         ($(objpfx)tst-array1-cmp.out): Likewise.
53131         ($(objpfx)tst-array1-static-cmp.out): Likewise.
53132         ($(objpfx)tst-array2-cmp.out): Likewise.
53133         ($(objpfx)tst-array3-cmp.out): Likewise.
53134         ($(objpfx)tst-array4-cmp.out): Likewise.
53135         ($(objpfx)tst-array5-cmp.out): Likewise.
53136         ($(objpfx)tst-array5-static-cmp.out): Likewise.
53137         ($(objpfx)check-textrel.out): Likewise.
53138         ($(objpfx)check-execstack.out): Likewise.
53139         ($(objpfx)check-localplt.out): Likewise.
53140         ($(objpfx)order2-cmp.out): Likewise.
53141         ($(objpfx)tst-leaks1-mem): Likewise.
53142         ($(objpfx)tst-leaks1-static-mem): Likewise.
53143         ($(objpfx)tst-initorder-cmp.out): Likewise.
53144         ($(objpfx)tst-initorder2-cmp.out): Likewise.
53145         ($(objpfx)tst-unused-dep.out): Likewise.
53146         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
53147         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
53148         * iconv/Makefile (test-iconvconfig): Likewise.
53149         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
53150         ($(objpfx)iconv-test.out): Likewise.
53151         ($(objpfx)tst-tables.out): Likewise.
53152         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
53153         ($(objpfx)tst-gettext.out): Likewise.
53154         ($(objpfx)tst-translit.out): Likewise.
53155         ($(objpfx)tst-gettext2.out): Likewise.
53156         ($(objpfx)tst-gettext4.out): Likewise.
53157         ($(objpfx)tst-gettext6.out): Likewise.
53158         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
53159         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
53160         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
53161         ($(objpfx)tst-fopenloc-mem.out): Likewise.
53162         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
53163         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
53164         * posix/Makefile ($(objpfx)globtest.out): Likewise.
53165         ($(objpfx)wordexp-tst.out): Likewise.
53166         ($(objpfx)annexc.out): Likewise.
53167         ($(objpfx)tst-fnmatch-mem): Likewise.
53168         ($(objpfx)bug-regex2-mem): Likewise.
53169         ($(objpfx)bug-regex14-mem): Likewise.
53170         ($(objpfx)bug-regex21-mem): Likewise.
53171         ($(objpfx)bug-regex31-mem): Likewise.
53172         ($(objpfx)tst-vfork3-mem): Likewise.
53173         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53174         ($(objpfx)tst-pcre-mem): Likewise.
53175         ($(objpfx)tst-boost-mem): Likewise.
53176         ($(objpfx)tst-getconf.out): Likewise.
53177         ($(objpfx)bug-ga2-mem): Likewise.
53178         ($(objpfx)bug-glob2-mem): Likewise.
53179         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
53180         ($(objpfx)mtrace-tst-leaks2): Likewise.
53181         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
53182         ($(objpfx)tst-printf.out): Likewise.
53183         ($(objpfx)tst-setvbuf1.out): Likewise.
53184         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
53185         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
53186         ($(objpfx)tst-fmtmsg.out): Likewise.
53187         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
53188         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
53190         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
53191         * bits/sigaction.h [__USE_MISC]: Likewise.
53192         * bits/waitstatus.h: Update #endif comments.
53193         * ctype/ctype.h: Likewise.
53194         * dirent/dirent.h: Likewise.
53195         [__USE_MISC]: Remove redundant conditionals.
53196         * grp/grp.h: Update #endif comments.
53197         [__USE_GNU]: Remove redundant conditionals.
53198         [__USE_MISC]: Likewise.
53199         * inet/netinet/in.h [__USE_GNU]: Likewise.
53200         * io/sys/stat.h [__USE_MISC]: Likewise.
53201         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
53202         * libio/bits/stdio.h: Update #endif comments.
53203         [__USE_MISC]: Remove redundant conditionals.
53204         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
53205         * libio/stdio.h: Update #endif comments.
53206         [__USE_MISC]: Remove redundant conditionals.
53207         * math/bits/math-finite.h [__USE_MISC]: Likewise.
53208         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
53209         * math/math.h: Update #else and #endif comments.
53210         [__USE_MISC]: Remove redundant conditionals.
53211         * misc/sys/uio.h: Update #endif comments.
53212         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
53213         * posix/glob.h [__USE_MISC]: Likewise.
53214         * posix/sys/types.h: Update #endif comments.
53215         [__USE_MISC]: Remove redundant conditionals.
53216         * posix/sys/wait.h: Update #endif comments.
53217         [__USE_MISC]: Remove redundant conditionals.
53218         * posix/unistd.h: Update #endif comments.
53219         [__USE_MISC]: Remove redundant conditionals.
53220         * pwd/pwd.h [__USE_GNU]: Likewise.
53221         [__USE_MISC]: Likewise.
53222         * resolv/netdb.h [__USE_GNU]: Likewise.
53223         * signal/signal.h: Update #endif comments.
53224         [__USE_MISC]: Remove redundant conditionals.
53225         * stdlib/stdlib.h: Update #else and #endif comments.
53226         [__USE_MISC]: Remove redundant conditionals.
53227         [__USE_GNU]: Likewise.
53228         * string/bits/string2.h [__USE_MISC]: Likewise.
53229         * string/string.h: Update #endif comments.
53230         [__USE_MISC]: Remove redundant conditionals.
53231         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
53232         Likewise.
53233         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
53234         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
53235         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
53236         Likewise.
53237         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
53238         Likewise.
53239         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
53240         comments.
53241         [__USE_MISC]: Remove redundant conditionals.
53242         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
53243         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
53244         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
53245         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
53246         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
53247         Likewise.
53248         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
53249         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
53250         Likewise.
53251         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
53252         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
53253         Likewise.
53254         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
53255         Likewise.
53256         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
53257         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
53258         Likewise.
53259         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
53260         Likewise.
53261         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
53262         * sysdeps/x86/bits/string.h: Update #endif comments.
53263         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
53264         conditionals.
53265         * time/sys/time.h: Update #endif comments.
53266         * time/time.h: Likewise.
53267         [__USE_MISC]: Remove redundant conditionals.
53269 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
53271         [BZ #16600]
53272         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
53274 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
53276         * Versions.def (librt): Add GLIBC_2.17.
53278 2014-02-21  Adam Conrad  <adconrad@0c3.net>
53280         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
53281         synonym for _SYS_AUXV_H to allow direct inclusion.
53282         * sysdeps/sparc/bits/hwcap.h: Likewise.
53283         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
53284         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
53285         * sysdeps/sparc/sysdep.h: Likewise.
53287 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53289         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
53291 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53293         * benchtests/bench-strrchr.c: Print length instead of position.
53295 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
53297         [BZ #16611]
53298         * sysdeps/unix/sysv/linux/kernel-features.h
53299         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
53300         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
53301         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
53302         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
53303         Likewise.
53304         [__i386__ || __powerpc__ || __sh__ || __sparc__]
53305         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53306         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
53307         (__ASSUME_SENDMMSG): Define instead of using previous
53308         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
53309         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53310         (__ASSUME_SENDMMSG_SYSCALL): Define.
53311         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53312         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
53313         Likewise.
53314         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53315         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53316         Likewise.
53317         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53318         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53319         Likewise.
53320         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
53321         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53322         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53323         [__ASSUME_SENDMMSG]: Change conditionals to
53324         [__ASSUME_SENDMMSG_SOCKETCALL].
53325         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53326         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
53327         Define.
53328         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53329         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
53330         Likewise.
53331         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
53332         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53333         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53334         [!__ASSUME_SENDMMSG]: Change conditional to
53335         [!__ASSUME_SENDMMSG_SOCKETCALL].
53336         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53337         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53338         Define.
53340         [BZ #16610]
53341         * sysdeps/unix/sysv/linux/kernel-features.h
53342         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
53343         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
53344         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
53345         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
53346         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
53347         [__i386__ || __sparc__]
53348         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53349         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
53350         (__ASSUME_RECVMMSG): Define instead of using previous
53351         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
53352         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53353         (__ASSUME_RECVMMSG_SYSCALL): Define.
53354         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53355         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53356         Likewise.
53357         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53358         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53359         Likewise.
53360         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53361         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53362         Likewise.
53363         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
53364         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53365         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53366         [__ASSUME_RECVMMSG]: Change condition to
53367         [__ASSUME_RECVMMSG_SOCKETCALL].
53368         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53369         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53370         Define.
53371         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53372         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53373         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53374         Likewise.
53375         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
53376         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53377         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53378         [!__ASSUME_RECVMMSG]: Change condition to
53379         [!__ASSUME_RECVMMSG_SOCKETCALL].
53380         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53381         (__ASSUME_RECVMMSG_SYSCALL): Define.
53383         [BZ #16609]
53384         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
53385         __powerpc__ || __s390__ || __sh__ || __sparc__]
53386         (__ASSUME_SOCKETCALL): Define.
53387         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
53388         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
53389         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
53390         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
53391         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53392         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
53393         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
53394         (__ASSUME_ACCEPT4): Define instead of using previous
53395         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
53396         __powerpc__ || __sparc__ || __s390__)] condition.
53397         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53398         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53399         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
53400         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53401         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53402         [!__ASSUME_ACCEPT4]: Change condition to
53403         [!__ASSUME_ACCEPT4_SOCKETCALL].
53404         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53405         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
53406         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
53407         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53408         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
53409         __ASSUME_ACCEPT4_SYSCALL.
53410         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
53411         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
53412         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53413         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
53414         __ASSUME_ACCEPT4_SYSCALL.
53415         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
53416         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53417         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53418         [__ASSUME_ACCEPT4]: Change condition to
53419         [__ASSUME_ACCEPT4_SOCKETCALL].
53420         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53421         (__ASSUME_SOCKETCALL): Define.
53422         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
53423         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53424         (__ASSUME_SOCKETCALL): Define.
53425         (__ASSUME_ACCEPT4): Remove.
53426         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
53427         Define.
53428         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53429         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
53430         Likewise.
53431         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53432         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53434         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
53435         macro.
53436         (HWCAP_ARM_LPAE): Likewise.
53437         (HWCAP_ARM_EVTSTRM): Likewise.
53438         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
53439         Add vpfd32, lpae and evtstrm.
53440         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
53441         Increase to 22.
53443 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
53445         * math/auto-libm-test-in: Add tests of clog10.
53446         * math/auto-libm-test-out: Regenerated.
53447         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
53448         * sysdeps/i386/fpu/libm-test-ulps: Update.
53449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53451 2014-02-18  Andreas Schwab  <schwab@suse.de>
53453         [BZ #16574]
53454         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
53455         Store non-zero if the second buffer was newly allocated.
53456         (send_dg): Likewise.
53457         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
53458         to send_vc and send_dg.
53459         (res_nsend): Pass NULL for ansp2_malloced.
53460         * resolv/res_query.c (__libc_res_nquery): Add parameter
53461         answerp2_malloced and pass it down to __libc_res_nsend.
53462         (res_nquery): Pass additional NULL to __libc_res_nquery.
53463         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
53464         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
53465         second answer buffer if answerp2_malloced was set.
53466         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
53467         (__libc_res_nquerydomain): Add parameter
53468         answerp2_malloced and pass it down to __libc_res_nquery.
53469         (res_nquerydomain): Pass additional NULL to
53470         __libc_res_nquerydomain.
53471         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
53472         additional NULL to __libc_res_nsend and __libc_res_nquery.
53473         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
53474         additional NULL to __libc_res_nsearch.
53475         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
53476         parameter of __libc_res_nsearch to check for separately allocated
53477         second buffer.
53478         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
53479         __libc_res_nquery.
53480         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
53481         additional NULL to __libc_res_nquery.
53482         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
53483         __libc_res_nsearch.
53484         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
53485         * include/resolv.h: Update prototypes of __libc_res_nquery,
53486         __libc_res_nsearch, __libc_res_nsend.
53488 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
53490         * math/auto-libm-test-in: Add tests of fma.
53491         * math/auto-libm-test-out: Regenerated.
53492         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
53493         (fma_towardzero_test_data): Likewise.
53494         (fma_downward_test_data): Likewise.
53495         (fma_upward_test_data): Likewise.
53496         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
53497         mpc_mode.
53498         (rounding_modes): Add values for new field.
53499         (func_calc_method): Add value mpfr_fff_f.
53500         (func_calc_desc): Add mpfr_fff_f union field.
53501         (test_function): Add field exact_args.
53502         (FUNC): Add macro argument EXACT_ARGS.
53503         (FUNC_mpfr_f_f): Update call to FUNC.
53504         (FUNC_mpfr_f_f): Likewise.
53505         (FUNC_mpfr_ff_f): Likewise.
53506         (FUNC_mpfr_if_f): Likewise.
53507         (FUNC_mpc_c_f): Likewise.
53508         (FUNC_mpc_c_c): Likewise.
53509         (test_functions): Add fma.  Update calls to FUNC.
53510         (handle_input_arg): Add argument exact_args.
53511         (add_test): Update call to handle_input_arg.
53512         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
53513         (output_for_one_input_case): Update call to calc_generic_results.
53514         Recalculate exact zero results in each rounding mode.
53516         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
53517         non-negative before setting low bit.
53518         * math/auto-libm-test-in: Mark one asin test possibly having
53519         spurious underflow.
53520         * math/auto-libm-test-out: Regenerated.
53521         * sysdeps/i386/fpu/libm-test-ulps: Update.
53522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53524 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
53526         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
53527         * sysdeps/unix/sysv/linux/microblaze: Move directory from
53528         ports/sysdeps/unix/sysv/linux/microblaze.
53529         * README: Add missing listing for microblaze*-*-linux-gnu.
53531 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
53533         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
53534         duplicate code
53536 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
53538         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
53539         * sysdeps/unix/sysv/linux/ia64: Move directory from
53540         ports/sysdeps/unix/sysv/linux/ia64.
53541         * README: Update listing for ia64-*-linux-gnu.
53543 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
53544             Joseph Myers  <joseph@codesourcery.com>
53546         * Makeconfig (test-name): New variable.
53547         (evaluate-test): Likewise.
53548         * Makerules (do-test-clean): Remove .test-result files.
53549         (common-mostlyclean): Likewise.
53550         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
53551         * scripts/evaluate-test.sh: New file.
53553 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
53555         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
53556         separate $(objpfx)tst-fopenloc-cmp.out and
53557         $(objpfx)tst-fopenloc-mem.out targets.
53558         (tests): Update dependencies.
53559         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
53560         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
53561         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
53562         (tst-rxspencer-no-utf8-ARGS): New variable.
53563         (tst-rxspencer-no-utf8-ENV): Likewise.
53564         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
53565         instead of $(objpfx)tst-rxspencer-mem.
53566         ($(objpfx)tst-rxspencer-mem): Change target to
53567         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
53568         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
53569         * posix/tst-rxspencer-no-utf8.c: New file.
53571         * elf/Makefile ($(objpfx)order.out): Remove rule.
53572         [$(run-built-tests) = yes] (tests): Depend on
53573         $(objpfx)order-cmp.out.
53574         ($(objpfx)order-cmp.out): New rule.
53575         [$(run-built-tests) = yes] (tests): Depend on
53576         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
53577         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
53578         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
53579         $(objpfx)tst-array5-static-cmp.out.
53580         ($(objpfx)tst-array1.out): Remove rule.
53581         ($(objpfx)tst-array1-cmp.out): New rule.
53582         ($(objpfx)tst-array1-static.out): Remove rule.
53583         ($(objpfx)tst-array1-static-cmp.out): New rule.
53584         ($(objpfx)tst-array2.out): Remove rule.
53585         ($(objpfx)tst-array2-cmp.out): New rule.
53586         ($(objpfx)tst-array3.out): Remove rule.
53587         ($(objpfx)tst-array3-cmp.out): New rule.
53588         ($(objpfx)tst-array4.out): Remove rule.
53589         ($(objpfx)tst-array4-cmp.out): New rule.
53590         ($(objpfx)tst-array5.out): Remove rule.
53591         ($(objpfx)tst-array5-cmp.out): New rule.
53592         ($(objpfx)tst-array5-static.out): Remove rule.
53593         ($(objpfx)tst-array5-static-cmp.out): New rule.
53594         [$(run-built-tests) = yes] (tests): Depend on
53595         $(objpfx)order2-cmp.out.
53596         ($(objpfx)order2.out): Remove rule.
53597         ($(objpfx)order2-cmp.out): New rule.
53598         ($(objpfx)tst-initorder.out): Remove rule.
53599         [$(run-built-tests) = yes] (tests): Depend on
53600         $(objpfx)tst-initorder-cmp.out.
53601         ($(objpfx)tst-initorder-cmp.out): New rule.
53602         ($(objpfx)tst-initorder2.out): Remove rule.
53603         [$(run-built-tests) = yes] (tests): Depend on
53604         $(objpfx)tst-initorder2-cmp.out.
53605         ($(objpfx)tst-initorder2-cmp.out): New rule.
53606         [$(run-built-tests) = yes] (tests): Depend on
53607         $(objpfx)tst-unused-dep-cmp.out.
53608         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
53609         ($(objpfx)tst-unused-dep-cmp.out): New rule.
53610         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
53611         on $(objpfx)tst-setvbuf1-cmp.out.
53612         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
53613         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
53614         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
53615         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
53616         ($(objpfx)tst-svc.out): Remove rule.
53617         ($(objpfx)tst-svc-cmp.out): New rule.
53619 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
53621         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
53622         * ctype/ctype.h [__USE_MISC]: Likewise.
53623         * dirent/dirent.h [__USE_MISC]: Likewise.
53624         * grp/grp.h [__USE_MISC]: Likewise.
53625         * io/fcntl.h [__USE_MISC]: Likewise.
53626         * io/sys/stat.h [__USE_MISC]: Likewise.
53627         * libio/stdio.h [__USE_MISC]: Likewise.
53628         * posix/unistd.h [__USE_MISC]: Likewise.
53629         * pwd/pwd.h [__USE_MISC]: Likewise.
53630         * stdlib.h [__USE_MISC]: Likewise.
53631         * string/bits/string2.h [__USE_MISC]: Likewise.
53632         * string/string.h [__USE_MISC]: Likewise.
53633         * time/time.h [__USE_MISC]: Likewise.
53635 2014-02-13  Andreas Schwab  <schwab@suse.de>
53637         [BZ #16574]
53638         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
53639         second answer buffer if it was separately allocated.
53641 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
53643         * sysdeps/mips/math-tests.h: Include <features.h>.
53644         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53645         (ROUNDING_TESTS_long_double): Do not define.
53646         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53647         (EXCEPTION_TESTS_long_double): Likewise.
53648         * sysdeps/mips/mips64/libm-test-ulps: Update.
53650         * include/features.h (__USE_BSD): Remove macro definitions.
53651         (__USE_SVID): Likewise.
53652         (_BSD_SOURCE): Likewise.
53653         (_SVID_SOURCE): Likewise.
53654         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
53655         from definition of _DEFAULT_SOURCE.
53656         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
53657         [_DEFAULT_SOURCE].
53658         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
53659         * bits/mman.h [__USE_BSD]: Likewise.
53660         * bits/termios.h [__USE_BSD]: Likewise.
53661         * bits/waitstatus.h [__USE_BSD]: Likewise.
53662         * ctype/ctype.h [__USE_SVID]: Likewise.
53663         * dirent/dirent.h [__USE_BSD]: Likewise.
53664         * grp/grp.h [__USE_SVID]: Likewise.
53665         [__USE_BSD]: Likewise.
53666         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
53667         * io/fcntl.h [__USE_BSD]: Likewise.
53668         * io/ftw.h [__USE_BSD]: Likewise.
53669         * io/sys/stat.h [__USE_BSD]: Likewise.
53670         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
53671         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
53672         * libio/stdio.h [__USE_SVID]: Likewise.
53673         [__USE_BSD]: Likewise.
53674         * math/math.h [__USE_SVID]: Likewise.
53675         [__USE_BSD]: Likewise.
53676         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
53677         * misc/bits/syslog.h [__USE_BSD]: Likewise.
53678         * misc/search.h [__USE_SVID]: Likewise.
53679         * misc/sys/mman.h [__USE_BSD]: Likewise.
53680         * misc/sys/syslog.h [__USE_BSD]: Likewise.
53681         * misc/sys/uio.h [__USE_BSD]: Likewise.
53682         * posix/bits/unistd.h [__USE_BSD]: Likewise.
53683         * posix/glob.h [__USE_BSD]: Likewise.
53684         * posix/regex.h [__USE_BSD]: Likewise.
53685         * posix/sys/types.h [__USE_BSD]: Likewise.
53686         [__USE_SVID]: Likewise.
53687         * posix/sys/utsname.h [__USE_SVID]: Likewise.
53688         * posix/sys/wait.h [__USE_BSD]: Likewise.
53689         [__USE_SVID]: Likewise.
53690         * posix/unistd.h [__USE_BSD]: Likewise.
53691         [__USE_SVID]: Likewise.
53692         * pwd/pwd.h [__USE_SVID]: Likewise.
53693         * resolv/netdb.h [__USE_BSD]: Likewise.
53694         * setjmp/setjmp.h [__USE_BSD]: Likewise.
53695         * signal/signal.h [__USE_BSD]: Likewise.
53696         [__USE_SVID]: Likewise.
53697         * socket/sys/socket.h [__USE_BSD]: Likewise.
53698         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
53699         * stdlib/stdlib.h [__USE_BSD]: Likewise.
53700         [__USE_SVID]: Likewise.
53701         * string/bits/string2.h [__USE_BSD]: Likewise.
53702         [__USE_SVID]: Likewise.
53703         * string/bits/string3.h [__USE_BSD]: Likewise.
53704         * string/endian.h [__USE_BSD]: Likewise.
53705         * string/string.h [__USE_SVID]: Likewise.
53706         [__USE_BSD]: Likewise.
53707         * string/strings.h [__USE_BSD]: Likewise.
53708         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
53709         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
53710         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
53711         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
53712         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
53713         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
53714         Likewise.
53715         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
53716         Likewise.
53717         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
53718         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
53719         Likewise.
53720         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
53721         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
53722         Likewise.
53723         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
53724         Likewise.
53725         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
53726         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
53727         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
53728         Likewise.
53729         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
53730         Likewise.
53731         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
53732         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
53733         * termios/termios.h [__USE_BSD]: Likewise.
53734         * time/sys/time.h [__USE_BSD]: Likewise.
53735         * time/time.h [__USE_BSD]: Likewise.
53736         [__USE_SVID]: Likewise.
53738         * Makefile (subdir_targets): Remove subdir_lint.out.
53740         * stdio-common/Makefile (do-tst-unbputc): Remove target.
53741         (do-tst-printf): Likewise.
53742         (tests): Depend directly on $(objpfx)tst-unbputc.out and
53743         $(objpfx)tst-printf.out.
53745         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
53747         * Makerules (check-abi-%): Change target to
53748         $(objpfx)check-abi-%.out.
53749         (check-abi target): Update dependencies.
53750         (check-abi-pattern variable): Redirect output of diff to $@.
53751         (check-abi variable): Likewise.
53752         * elf/Makefile (check-abi): Update dependencies.
53754         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
53755         unused.
53756         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
53757         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
53758         subnormal range.
53759         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
53760         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
53761         value has largest subnormal exponent.
53762         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
53763         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
53764         * sysdeps/aarch64/soft-fp/sfp-machine.h
53765         (_FP_TININESS_AFTER_ROUNDING): New macro.
53766         * sysdeps/alpha/soft-fp/sfp-machine.h
53767         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53768         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53769         Likewise.
53770         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
53771         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53772         * sysdeps/mips/soft-fp/sfp-machine.h
53773         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53774         * sysdeps/powerpc/soft-fp/sfp-machine.h
53775         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53776         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53777         Likewise.
53778         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
53779         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53780         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
53781         (_FP_TININESS_AFTER_ROUNDING): Likewise.
53782         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
53783         Likewise.
53785 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
53787         [BZ #16545]
53788         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
53789         model 1.
53791 2014-02-12  Richard Henderson  <rth@redhat.com>
53793         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
53794         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
53795         * sysdeps/unix/sysv/linux/alpha: Move directory from
53796         ports/sysdeps/unix/sysv/linux/alpha.
53797         * README: Update listing for alpha-*-linux-gnu.
53799 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
53801         * include/features.h: Update comment documenting feature test
53802         macros.
53803         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
53804         _DEFAULT_SOURCE.
53805         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
53806         (_SVID_SOURCE): Likewise.
53807         (_DEFAULT_SOURCE): Update description of default features.
53808         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
53809         with _GNU_SOURCE.
53810         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
53811         (S_ISVTX): Likewise.
53812         * manual/math.texi (Mathematical Constants): Likewise.
53813         * manual/signal.texi (Interrupted Primitives): Likewise.
53814         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
53815         * math/test-matherr.c (_SVID_SOURCE): Do not define.
53816         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
53817         Don't refer to _SVID_SOURCE in warning text.
53819         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53821         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
53822         already defined.
53823         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
53824         * sysdeps/mips/dl-lookup.c: Remove.
53825         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
53827 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
53829         [BZ #16447]
53830         * math/auto-libm-test-in: Add testcase for expl.
53831         * math/auto-libm-test-out: Regenerate.
53832         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
53833         calculation of unsafe.
53834         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
53836 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53838         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
53839         * sysdeps/unix/sysv/linux/aarch64: Move directory from
53840         ports/sysdeps/unix/sysv/linux/aarch64.
53841         * README: Update listing for aarch64*-*-linux-gnu.
53843 2014-02-11  Will Newton  <will.newton@linaro.org>
53845         * manual/probes.texi (Mathematical Function Probes): Use
53846         "triggered" instead of "hit".
53848         * manual/probes.texi (Internal Probes): Add documentation
53849         of setjmp, longjmp and longjmp_target probes.
53851         * include/stap-probe.h: Add comment about probe argument
53852         format.
53854         * malloc/mtrace.c (attribute_hidden): Remove unused macro
53855         definition.  (tr_where, tr_freehook, tr_mallochook,
53856         tr_reallochook, tr_memalignhook): Use ANSI protoype.
53858 2014-02-11  David S. Miller  <davem@davemloft.net>
53860         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
53861         processing int_tests.
53863 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
53865         * sysdeps/mips: Move directory from ports/sysdeps/mips.
53866         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
53867         * sysdeps/unix/sysv/linux/mips: Move directory from
53868         ports/sysdeps/unix/sysv/linux/mips.
53869         * README: Update listing for mips-*-linux-gnu and
53870         mips64-*-linux-gnu.
53872 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
53874         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
53875         * sysdeps/unix/sysv/linux/m68k: Move directory from
53876         ports/sysdeps/unix/sysv/linux/m68k.
53877         * README: Update listing for m68k-*-linux-gnu.
53879 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
53881         * sysdeps/tile: Move directory from ports/sysdeps/tile.
53882         * sysdeps/unix/sysv/linux/generic: Move directory from
53883         ports/sysdeps/unix/sysv/linux/generic.
53884         * sysdeps/unix/sysv/linux/tile: Move directory from
53885         ports/sysdeps/unix/sysv/linux/tile.
53886         * README: Update listing for tile*-*-linux-gnu.
53888 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
53890         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
53891         __builtin_expect.
53892         * benchtests/bench-memmem.c (simple_memmem): Likewise.
53893         * catgets/open_catalog.c (__open_catalog): Likewise.
53894         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
53895         * debug/confstr_chk.c: Likewise.
53896         * debug/fread_chk.c (__fread_chk): Likewise.
53897         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
53898         * debug/getgroups_chk.c: Likewise.
53899         * debug/mbsnrtowcs_chk.c: Likewise.
53900         * debug/mbsrtowcs_chk.c: Likewise.
53901         * debug/mbstowcs_chk.c: Likewise.
53902         * debug/memcpy_chk.c: Likewise.
53903         * debug/memmove_chk.c: Likewise.
53904         * debug/mempcpy_chk.c: Likewise.
53905         * debug/memset_chk.c: Likewise.
53906         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
53907         * debug/strcat_chk.c (__strcat_chk): Likewise.
53908         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
53909         * debug/strncat_chk.c (__strncat_chk): Likewise.
53910         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
53911         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
53912         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
53913         * debug/wcpncpy_chk.c: Likewise.
53914         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
53915         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
53916         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
53917         * debug/wcsncpy_chk.c: Likewise.
53918         * debug/wcsnrtombs_chk.c: Likewise.
53919         * debug/wcsrtombs_chk.c: Likewise.
53920         * debug/wcstombs_chk.c: Likewise.
53921         * debug/wmemcpy_chk.c: Likewise.
53922         * debug/wmemmove_chk.c: Likewise.
53923         * debug/wmempcpy_chk.c: Likewise.
53924         * debug/wmemset_chk.c: Likewise.
53925         * dirent/scandirat.c (SCANDIRAT): Likewise.
53926         * dlfcn/dladdr1.c (dladdr1): Likewise.
53927         * dlfcn/dladdr.c (dladdr): Likewise.
53928         * dlfcn/dlclose.c (dlclose_doit): Likewise.
53929         * dlfcn/dlerror.c (__dlerror): Likewise.
53930         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
53931         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
53932         * dlfcn/dlopen.c (dlopen_doit): Likewise.
53933         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
53934         * dlfcn/dlsym.c (dlsym_doit): Likewise.
53935         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
53936         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
53937         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
53938         Likewise.
53939         * elf/dl-conflict.c: Likewise.
53940         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
53941         * elf/dl-dst.h: Likewise.
53942         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
53943         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
53944         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
53945         * elf/dl-init.c (call_init, _dl_init): Likewise.
53946         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
53947         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
53948         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
53949         Likewise.
53950         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
53951         Likewise.
53952         * elf/dl-minimal.c (__libc_memalign): Likewise.
53953         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
53954         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
53955         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
53956         * elf/dl-sym.c (do_sym): Likewise.
53957         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
53958         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
53959         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
53960         * elf/dl-writev.h (_dl_writev): Likewise.
53961         * elf/ldconfig.c (search_dir): Likewise.
53962         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
53963         (dl_main): Likewise.
53964         * elf/setup-vdso.h (setup_vdso): Likewise.
53965         * grp/compat-initgroups.c (compat_call): Likewise.
53966         * grp/fgetgrent.c (fgetgrent): Likewise.
53967         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
53968         * grp/putgrent.c (putgrent): Likewise.
53969         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53970         Likewise.
53971         * hurd/hurdinit.c: Likewise.
53972         * iconvdata/8bit-gap.c (struct): Likewise.
53973         * iconvdata/ansi_x3.110.c : Likewise.
53974         * iconvdata/big5.c : Likewise.
53975         * iconvdata/big5hkscs.c : Likewise.
53976         * iconvdata/cp1255.c: Likewise.
53977         * iconvdata/cp1258.c : Likewise.
53978         * iconvdata/cp932.c : Likewise.
53979         * iconvdata/euc-cn.c: Likewise.
53980         * iconvdata/euc-jisx0213.c : Likewise.
53981         * iconvdata/euc-jp.c: Likewise.
53982         * iconvdata/euc-jp-ms.c : Likewise.
53983         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
53984         * iconvdata/gb18030.c : Likewise.
53985         * iconvdata/gbbig5.c (const): Likewise.
53986         * iconvdata/gbgbk.c: Likewise.
53987         * iconvdata/gbk.c : Likewise.
53988         * iconvdata/ibm1364.c : Likewise.
53989         * iconvdata/ibm930.c : Likewise.
53990         * iconvdata/ibm932.c: Likewise.
53991         * iconvdata/ibm933.c : Likewise.
53992         * iconvdata/ibm935.c : Likewise.
53993         * iconvdata/ibm937.c : Likewise.
53994         * iconvdata/ibm939.c : Likewise.
53995         * iconvdata/ibm943.c: Likewise.
53996         * iconvdata/iso_11548-1.c: Likewise.
53997         * iconvdata/iso-2022-cn.c : Likewise.
53998         * iconvdata/iso-2022-cn-ext.c : Likewise.
53999         * iconvdata/iso-2022-jp-3.c: Likewise.
54000         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
54001         * iconvdata/iso-2022-kr.c : Likewise.
54002         * iconvdata/iso646.c (gconv_end): Likewise.
54003         * iconvdata/iso_6937-2.c : Likewise.
54004         * iconvdata/iso_6937.c : Likewise.
54005         * iconvdata/iso8859-1.c: Likewise.
54006         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
54007         * iconvdata/shift_jisx0213.c : Likewise.
54008         * iconvdata/sjis.c : Likewise.
54009         * iconvdata/t.61.c : Likewise.
54010         * iconvdata/tcvn5712-1.c : Likewise.
54011         * iconvdata/tscii.c: Likewise.
54012         * iconvdata/uhc.c : Likewise.
54013         * iconvdata/unicode.c (gconv_end): Likewise.
54014         * iconvdata/utf-16.c (gconv_end): Likewise.
54015         * iconvdata/utf-32.c (gconv_end): Likewise.
54016         * iconvdata/utf-7.c (base64): Likewise.
54017         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
54018         * iconv/gconv_close.c (__gconv_close): Likewise.
54019         * iconv/gconv_open.c (__gconv_open): Likewise.
54020         * iconv/gconv_simple.c (internal_ucs4_loop_single)
54021         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
54022         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
54023         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
54024         (ucs4le_internal_loop_single): Likewise.
54025         * iconv/iconv.c (iconv): Likewise.
54026         * iconv/iconv_close.c: Likewise.
54027         * iconv/loop.c (SINGLE): Likewise.
54028         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
54029         * include/atomic.h: Likewise.
54030         * inet/inet6_option.c (option_alloc): Likewise.
54031         * intl/bindtextdom.c (set_binding_values): Likewise.
54032         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
54033         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
54034         * intl/localealias.c (read_alias_file): Likewise.
54035         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
54036         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
54037         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
54038         * libio/fmemopen.c (fmemopen): Likewise.
54039         * libio/iofgets.c (_IO_fgets): Likewise.
54040         * libio/iofgets_u.c (fgets_unlocked): Likewise.
54041         * libio/iofgetws.c (fgetws): Likewise.
54042         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
54043         * libio/iogetdelim.c (_IO_getdelim): Likewise.
54044         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
54045         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
54046         * locale/findlocale.c (_nl_find_locale): Likewise.
54047         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
54048         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
54049         Likewise.
54050         * locale/setlocale.c (setlocale): Likewise.
54051         * login/programs/pt_chown.c (main): Likewise.
54052         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
54053         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
54054         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
54055         (mmap, mmap64, mremap, munmap): Likewise.
54056         * math/e_exp2l.c: Likewise.
54057         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
54058         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
54059         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
54060         * math/s_catan.c (__catan): Likewise.
54061         * math/s_catanf.c (__catanf): Likewise.
54062         * math/s_catanh.c (__catanh): Likewise.
54063         * math/s_catanhf.c (__catanhf): Likewise.
54064         * math/s_catanhl.c (__catanhl): Likewise.
54065         * math/s_catanl.c (__catanl): Likewise.
54066         * math/s_ccosh.c (__ccosh): Likewise.
54067         * math/s_ccoshf.c (__ccoshf): Likewise.
54068         * math/s_ccoshl.c (__ccoshl): Likewise.
54069         * math/s_cexp.c (__cexp): Likewise.
54070         * math/s_cexpf.c (__cexpf): Likewise.
54071         * math/s_cexpl.c (__cexpl): Likewise.
54072         * math/s_clog10.c (__clog10): Likewise.
54073         * math/s_clog10f.c (__clog10f): Likewise.
54074         * math/s_clog10l.c (__clog10l): Likewise.
54075         * math/s_clog.c (__clog): Likewise.
54076         * math/s_clogf.c (__clogf): Likewise.
54077         * math/s_clogl.c (__clogl): Likewise.
54078         * math/s_csin.c (__csin): Likewise.
54079         * math/s_csinf.c (__csinf): Likewise.
54080         * math/s_csinh.c (__csinh): Likewise.
54081         * math/s_csinhf.c (__csinhf): Likewise.
54082         * math/s_csinhl.c (__csinhl): Likewise.
54083         * math/s_csinl.c (__csinl): Likewise.
54084         * math/s_csqrt.c (__csqrt): Likewise.
54085         * math/s_csqrtf.c (__csqrtf): Likewise.
54086         * math/s_csqrtl.c (__csqrtl): Likewise.
54087         * math/s_ctan.c (__ctan): Likewise.
54088         * math/s_ctanf.c (__ctanf): Likewise.
54089         * math/s_ctanh.c (__ctanh): Likewise.
54090         * math/s_ctanhf.c (__ctanhf): Likewise.
54091         * math/s_ctanhl.c (__ctanhl): Likewise.
54092         * math/s_ctanl.c (__ctanl): Likewise.
54093         * math/w_pow.c: Likewise.
54094         * math/w_powf.c: Likewise.
54095         * math/w_powl.c: Likewise.
54096         * math/w_scalb.c (sysv_scalb): Likewise.
54097         * math/w_scalbf.c (sysv_scalbf): Likewise.
54098         * math/w_scalbl.c (sysv_scalbl): Likewise.
54099         * misc/error.c (error_tail): Likewise.
54100         * misc/pselect.c (__pselect): Likewise.
54101         * nis/nis_callback.c (__nis_create_callback): Likewise.
54102         * nis/nis_call.c (__nisfind_server): Likewise.
54103         * nis/nis_creategroup.c (nis_creategroup): Likewise.
54104         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
54105         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
54106         * nis/nis_getservlist.c (nis_getservlist): Likewise.
54107         * nis/nis_lookup.c (nis_lookup): Likewise.
54108         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
54109         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
54110         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
54111         * nis/nis_xdr.c (xdr_endpoint): Likewise.
54112         * nis/nss_compat/compat-grp.c (getgrent_next_file)
54113         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
54114         * nis/nss_compat/compat-initgroups.c (add_group)
54115         (internal_getgrent_r): Likewise.
54116         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
54117         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
54118         * nis/nss_compat/compat-spwd.c (getspent_next_file)
54119         (internal_getspnam_r): Likewise.
54120         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
54121         (_nss_nis_getaliasbyname_r): Likewise.
54122         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
54123         (_nss_nis_getntohost_r): Likewise.
54124         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
54125         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
54126         (_nss_nis_getgrgid_r): Likewise.
54127         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
54128         (internal_nis_gethostent_r, internal_gethostbyname2_r)
54129         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
54130         (_nss_nis_gethostbyname4_r): Likewise.
54131         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
54132         (initgroups_netid): Likewise.
54133         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
54134         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
54135         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
54136         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
54137         (_nss_nis_getprotobynumber_r): Likewise.
54138         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
54139         (_nss_nis_getsecretkey): Likewise.
54140         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
54141         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
54142         (_nss_nis_getpwuid_r): Likewise.
54143         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
54144         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
54145         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
54146         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
54147         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
54148         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
54149         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
54150         Likewise.
54151         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
54152         (_nss_nisplus_getntohost_r): Likewise.
54153         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
54154         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
54155         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
54156         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
54157         Likewise.
54158         * nis/nss_nisplus/nisplus-initgroups.c
54159         (_nss_nisplus_initgroups_dyn): Likewise.
54160         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
54161         (_nss_nisplus_getnetbyaddr_r): Likewise.
54162         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
54163         (_nss_nisplus_getprotobynumber_r): Likewise.
54164         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
54165         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
54166         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
54167         Likewise.
54168         * nis/nss_nisplus/nisplus-service.c
54169         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
54170         (_nss_nisplus_getservbyport_r): Likewise.
54171         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
54172         (_nss_nisplus_getspnam_r): Likewise.
54173         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
54174         Likewise.
54175         * nscd/aicache.c (addhstaiX): Likewise.
54176         * nscd/cache.c (cache_search, prune_cache): Likewise.
54177         * nscd/connections.c (register_traced_file, send_ro_fd)
54178         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
54179         (main_loop_epoll): Likewise.
54180         * nscd/grpcache.c (addgrbyX): Likewise.
54181         * nscd/hstcache.c (addhstbyX): Likewise.
54182         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54183         * nscd/mem.c (gc, mempool_alloc): Likewise.
54184         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
54185         (addinnetgrX): Likewise.
54186         * nscd/nscd-client.h (__nscd_acquire_maplock)
54187         (__nscd_drop_map_ref): Likewise.
54188         * nscd/nscd_getai.c (__nscd_getai): Likewise.
54189         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
54190         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
54191         Likewise.
54192         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
54193         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54194         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
54195         (__nscd_get_map_ref): Likewise.
54196         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
54197         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
54198         Likewise.
54199         * nscd/pwdcache.c (addpwbyX): Likewise.
54200         * nscd/selinux.c (preserve_capabilities): Likewise.
54201         * nscd/servicescache.c (addservbyX): Likewise.
54202         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
54203         * posix/fnmatch.c (fnmatch): Likewise.
54204         * posix/getopt.c (_getopt_internal_r): Likewise.
54205         * posix/glob.c (glob, glob_in_dir): Likewise.
54206         * posix/wordexp.c (exec_comm_child): Likewise.
54207         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
54208         (getanswer_r, gaih_getanswer_slice): Likewise.
54209         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
54210         * resolv/res_init.c: Likewise.
54211         * resolv/res_mkquery.c (res_nmkquery): Likewise.
54212         * resolv/res_query.c (__libc_res_nquery): Likewise.
54213         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
54214         Likewise.
54215         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
54216         * stdio-common/perror.c (perror): Likewise.
54217         * stdio-common/printf_fp.c (___printf_fp): Likewise.
54218         * stdio-common/tmpnam.c (tmpnam): Likewise.
54219         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54220         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
54221         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
54222         Likewise.
54223         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
54224         * stdlib/putenv.c (putenv): Likewise.
54225         * stdlib/setenv.c (__add_to_environ): Likewise.
54226         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54227         * stdlib/strtol_l.c (INTERNAL): Likewise.
54228         * string/memmem.c (memmem): Likewise.
54229         * string/strerror.c (strerror): Likewise.
54230         * string/strnlen.c (__strnlen): Likewise.
54231         * string/test-memmem.c (simple_memmem): Likewise.
54232         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
54233         * sunrpc/pm_getport.c (__get_socket): Likewise.
54234         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
54235         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
54236         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
54237         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
54238         Likewise.
54239         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
54240         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
54241         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
54242         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
54243         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
54244         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
54245         Likewise.
54246         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
54247         Likewise.
54248         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
54249         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
54250         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54251         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
54252         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
54253         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
54254         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
54255         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
54256         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
54257         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
54258         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54259         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
54260         Likewise.
54261         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
54262         Likewise.
54263         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
54264         Likewise.
54265         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
54266         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54267         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
54268         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
54269         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
54270         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
54271         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54272         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
54273         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
54274         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
54275         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
54276         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54277         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54278         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
54279         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54280         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
54281         Likewise.
54282         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
54283         Likewise.
54284         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
54285         Likewise.
54286         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
54287         Likewise.
54288         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54289         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54290         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
54291         Likewise.
54292         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
54293         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
54294         * sysdeps/posix/opendir.c (__opendirat): Likewise.
54295         * sysdeps/posix/sleep.c: Likewise.
54296         * sysdeps/posix/tempname.c: Likewise.
54297         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
54298         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54299         Likewise.
54300         * sysdeps/powerpc/powerpc32/dl-machine.h
54301         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
54302         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54303         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54304         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
54305         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
54306         Likewise.
54307         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
54308         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
54309         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54310         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
54311         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54312         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
54313         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
54314         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
54315         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54316         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
54317         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
54318         (elf_machine_lazy_rel): Likewise.
54319         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54320         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
54321         (elf_machine_lazy_rel): Likewise.
54322         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
54323         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
54324         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
54325         * sysdeps/unix/grantpt.c (grantpt): Likewise.
54326         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
54327         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
54328         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
54329         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54330         Likewise.
54331         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
54332         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
54333         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
54334         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
54335         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54336         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54337         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
54338         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
54339         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
54340         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54341         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54342         Likewise.
54343         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
54344         (__posix_fallocate64_l64): Likewise.
54345         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
54346         (posix_fallocate): Likewise.
54347         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
54348         Likewise.
54349         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54350         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
54351         (getifaddrs_internal): Likewise.
54352         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
54353         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
54354         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
54355         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
54356         * sysdeps/unix/sysv/linux/posix_fallocate64.c
54357         (__posix_fallocate64_l64): Likewise.
54358         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
54359         Likewise.
54360         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
54361         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
54362         (__get_clockfreq): Likewise.
54363         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
54364         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
54365         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
54366         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54367         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54368         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
54369         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
54370         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
54371         Likewise.
54372         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
54373         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
54374         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
54375         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
54376         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54377         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
54378         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
54379         Likewise.
54380         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54381         (posix_fallocate): Likewise.
54382         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54383         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
54384         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
54385         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
54386         (elf_machine_rela, elf_machine_rela_relative)
54387         (elf_machine_lazy_rel): Likewise.
54388         * time/asctime.c (asctime_internal): Likewise.
54389         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
54390         * time/tzset.c (__tzset_parse_tz): Likewise.
54391         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
54392         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
54393         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
54394         * wcsmbs/wcsmbsload.h: Likewise.
54396         [BZ #15894]
54397         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
54399         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
54400         (arena_get2): Remove THREAD_STATS conditionals.
54401         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
54402         (__malloc_stats, int): Likewise.
54404 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
54406         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
54407         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
54409         * manual/setjmp.texi: Fix typos/grammar errors.
54411         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
54412         Only return early when n is <= 0.  Delete unused return statement.
54414         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
54415         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
54416         * debug/tst-longjmp_chk3.c: New file.
54418         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
54419         (test_main): Replace code with set_fortify_handler call.
54420         * debug/test-strcpy_chk.c: Likewise.
54421         * debug/tst-chk1.c: Likewise.
54422         * debug/tst-longjmp_chk.c: Likewise.
54423         * test-skeleton.c: Include fcntl.h & paths.h
54424         (set_fortify_handler): Define.
54426         * debug/tst-longjmp_chk.c: Add header comment and include
54427         ../test-skeleton.c.
54428         (do_test): Mark static.
54429         (TEST_FUNCTION): Define.
54431         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
54432         (IP_PMTUDISC_INTERFACE): Likewise.
54433         (IP_MULTICAST_IF): Likewise.
54434         (IP_MULTICAST_TTL): Likewise.
54435         (IP_MULTICAST_LOOP): Likewise.
54436         (IP_ADD_MEMBERSHIP): Likewise.
54437         (IP_DROP_MEMBERSHIP): Likewise.
54438         (IP_UNBLOCK_SOURCE): Likewise.
54439         (IP_BLOCK_SOURCE): Likewise.
54440         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
54441         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
54442         (IP_MSFILTER): Likewise.
54443         (MCAST_JOIN_GROUP): Likewise.
54444         (MCAST_BLOCK_SOURCE): Likewise.
54445         (MCAST_UNBLOCK_SOURCE): Likewise.
54446         (MCAST_LEAVE_GROUP): Likewise.
54447         (MCAST_JOIN_SOURCE_GROUP): Likewise.
54448         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
54449         (MCAST_MSFILTER): Likewise.
54450         (IP_MULTICAST_ALL): Likewise.
54451         (IP_UNICAST_IF): Likewise.
54453         * timezone/Makefile: Delete $(have-ksh) check.
54454         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
54455         * timezone/tzselect.ksh: Add +x mode bits.
54457         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
54458         (ANON_INODE_FS_MAGIC): Likewise.
54459         (BDEVFS_MAGIC): Likewise.
54460         (BINFMTFS_MAGIC): Likewise.
54461         (BTRFS_TEST_MAGIC): Likewise.
54462         (CRAMFS_MAGIC_WEND): Likewise.
54463         (DEBUGFS_MAGIC): Likewise.
54464         (ECRYPTFS_SUPER_MAGIC): Likewise.
54465         (EXT3_SUPER_MAGIC): Likewise.
54466         (EXT4_SUPER_MAGIC): Likewise.
54467         (FUTEXFS_SUPER_MAGIC): Likewise.
54468         (HOSTFS_SUPER_MAGIC): Likewise.
54469         (HUGETLBFS_MAGIC): Likewise.
54470         (MINIX3_SUPER_MAGIC): Likewise.
54471         (MTD_INODE_FS_MAGIC): Likewise.
54472         (NILFS_SUPER_MAGIC): Likewise.
54473         (OPENPROM_SUPER_MAGIC): Likewise.
54474         (PIPEFS_MAGIC): Likewise.
54475         (PSTOREFS_MAGIC): Likewise.
54476         (QNX6_SUPER_MAGIC): Likewise.
54477         (RAMFS_MAGIC): Likewise.
54478         (REISERFS_SUPER_MAGIC_STRING): Likewise.
54479         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
54480         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
54481         (SECURITYFS_MAGIC): Likewise.
54482         (SELINUX_MAGIC): Likewise.
54483         (SMACK_MAGIC): Likewise.
54484         (SOCKFS_MAGIC): Likewise.
54485         (SQUASHFS_MAGIC): Likewise.
54486         (STACK_END_MAGIC): Likewise.
54487         (TMPFS_MAGIC): Likewise.
54488         (USBDEVICE_SUPER_MAGIC): Likewise.
54489         (V9FS_MAGIC): Likewise.
54490         (XENFS_SUPER_MAGIC): Likewise.
54491         (CRAMFS_MAGIC): Fix typo in comment.
54492         (EXT2_SUPER_MAGIC): Update comment.
54493         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
54495 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
54497         * sysdeps/arm: Move directory from ports/sysdeps/arm.
54498         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
54499         * sysdeps/unix/sysv/linux/arm: Move directory from
54500         ports/sysdeps/unix/sysv/linux/arm.
54501         * README: Update listing for arm-*-linux-gnueabi.
54503         * README: Remove mention of am33.
54505 2014-02-07  Roland McGrath  <roland@hack.frob.com>
54507         * bits/sigset.h (__sigemptyset): Use a statement expression rather
54508         than the comma operator, to avoid "rhs of comma has no effect"
54509         compiler warnings.
54510         (__sigfillset, __sigandset, __sigorset): Likewise.
54511         * include/signal.h (__sigemptyset): Likewise.
54512         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
54514 2014-02-07  Allan McRae  <allan@archlinux.org>
54516         * version.h (RELEASE): Set to "development".
54517         (VERSION): Set to "2.19.90"
54518         * NEWS: Add 2.20 section.
54520 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
54522         [BZ #16529]
54523         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
54525 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54527         * manual/contrib.texi: Update entry for Carlos O'Donell,
54528         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
54530 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
54532         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
54534         * sysdeps/unix/sysv/linux/kernel-features.h
54535         [__LINUX_KERNEL_VERSION >= 0x020621]
54536         (__ASSUME_PROC_PID_TASK_COMM): Define.
54538 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54540         [BZ #16398]
54541         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
54542         conversion when destination buffer does not have enough space.
54543         * libio/tst-ftell-partial-wide.c: New test case.
54544         * libio/Makefile (tests): Add tst-ftell-partial-wide.
54546         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
54547         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
54548         Leonard and Allan McRae.
54550 2014-02-04  David S. Miller  <davem@davemloft.net>
54552         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
54553         32-bit.
54555 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
54558         New file
54559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
54560         New file
54561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
54562         New file.
54563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
54564         New file.
54565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
54566         New file.
54567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
54568         New file.
54569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
54570         New file.
54571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
54572         New file.
54573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
54574         New file.
54575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
54576         New file.
54577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
54578         New file.
54579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
54580         New file.
54581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
54582         New file.
54584 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54586         * nptl/shlib-versions: Change powerpc*le start to 2.17.
54587         * shlib-versions: Likewise.
54589 2014-02-04  Roland McGrath  <roland@hack.frob.com>
54590             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54592         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
54593         (abilist-pattern): New variable, set to %-le.abilist.
54595         * Makerules (abilist-pattern): New variable.
54596         (vpath): Use $(abilist-pattern) in place of %.abilist.
54597         (check-abi-% pattern rule): Likewise.
54598         (check-abi, update-abi): Likewise.
54600 2014-02-04  Eric Wong  <normalperson@yhbt.net>
54602         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54604 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
54606         * manual/startup.texi: Add next, previous, and top entries for
54607         the `Program Arguments' and `Environment Variables' nodes.
54609 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
54611         * manual/macros.texi: Add comments before MTASC-safety macros.
54613         * manual/users.texi: Document MTASC-safety properties.
54615         * manual/threads.texi (pthread_key_create, pthread_key_delete)
54616         (pthread_getspecific, pthread_setspecific): Format with
54617         @deftypefun, and add @safety note.
54618         * manual/signal.texi: Move comments that analyze the above
54619         functions to their home place.
54621 2014-02-03  Allan McRae  <allan@archlinux.org>
54623         * po/sl.po: Update Slovenian translation from translation project.
54625 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
54627         * manual/time.texi (timegm): Add missing blank after @c.
54628         Reported by Joseph Myers <joseph@codesourcery.com>.
54630 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
54632         * manual/check-safety.sh: New.
54633         * manual/Makefile ($(objpfx)stamp-summary): Run it.
54635         * manual/terminal.texi: Document MTASC-safety properties.
54637         * manual/filesys.texi: Document MTASC-safety properties.
54639         * manual/errno.texi: Document MTASC-safety properties.
54641         * manual/intro.texi: Document safety identifiers and
54642         conditionals.
54644         * manual/string.texi (wcstok): Fix prototype.
54645         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
54647         * manual/time.texi: Document MTASC-safety properties.
54649         * manual/string.texi: Document MTASC-safety properties.
54651         * manual/threads.texi: Document MTASC-safety properties.
54653         * manual/stdio.texi: Document MTASC-safety properties.
54655         * manual/syslog.texi: Document MTASC-safety properties.
54657         * manual/sysinfo.texi: Document MTASC-safety properties.
54659         * manual/startup.texi: Document MTASC-safety properties.
54661         * manual/socket.texi: Document MTASC-safety properties.
54663         * manual/signal.texi: Document MTASC-safety properties.
54665 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
54667         * manual/setjmp.texi: Document MTASC-safety properties.
54669         * manual/search.texi: Document MTASC-safety properties.
54671         * manual/resource.texi: Document MTASC-safety properties.
54673         * manual/process.texi: Document MTASC-safety properties.
54675         * manual/platform.texi: Document MTASC-safety properties.
54677         * manual/pipe.texi: Document MTASC-safety properties.
54679         * manual/pattern.texi: Document MTASC-safety properties.
54681         * manual/message.texi: Document MTASC-safety properties.
54683         [BZ #12751]
54684         * manual/memory.texi: Document MTASC-safety properties.
54686         * manual/math.texi: Document MTASC-safety properties.
54688         * manual/locale.texi: Document MTASC-safety properties.
54690         * manual/llio.texi: Document MTASC-safety properties.
54692         * manual/libdl.texi: New.
54694         * manual/lang.texi: Document MTASC-safety properties.
54696         * manual/job.texi: Document MTASC-safety properties.
54698         * manual/getopt.texi: Document MTASC-safety properties.
54700         * manual/ctype.texi: Document MTASC-safety properties.
54702 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
54704         [BZ #16046]
54705         * csu/libc-tls.c (static_map): Remove variable.
54706         (__libc_setup_tls): Use main executable's link map for TLS data.
54707         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
54708         casing for LM_ID_BASE and GL(dl_nns).
54709         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
54710         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
54711         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
54712         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
54713         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
54714         member.
54715         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
54716         l_phnum members.
54718 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
54720         * manual/debug.texi: Document MTASC-safety properties.
54722 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
54724         [BZ #16510]
54725         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
54726         of __x86_64__ when disabling x87 inline functions.
54728 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
54730         * manual/charset.texi: Document MTASC-safety properties.
54732         * manual/crypt.texi: Document MTASC-safety properties.
54734         * manual/conf.texi: Document MTASC-safety properties.
54736         * manual/arith.texi: Document MTASC-safety properties.
54738         * manual/argp.texi: Document MTASC-safety properties.
54740         * manual/macros.texi: Introduce macros to document multi
54741         thread, asynchronous signal and asynchronous cancellation
54742         safety properties.
54743         * manual/intro.texi: Introduce the properties themselves.
54745 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54747         * sysdeps/sh/sh4/Makefile: New file.
54749 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
54751         * math/gen-libm-test.pl ($srcdir): New variable.
54752         ($auto_input): Use it.
54754 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54756         [BZ #16506]
54757         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
54758         access beyond array bounds when parsing netgroups file.
54760         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
54761         the old buffer before realloc.
54763 2014-01-27  Allan McRae  <allan@archlinux.org>
54765         * po/fr.po: Update French translation from translation project.
54767 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54769         * sysdeps/sh/libm-test-ulps: Regenerate.
54771 2014-01-24  David S. Miller  <davem@davemloft.net>
54773         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
54775 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54777         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
54778         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
54780 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54782         [BZ #16474]
54783         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
54784         string pointers after reallocation.
54786 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54788         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
54789         __SH4A__ instead of __SH_FPU_ANY__.
54791 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54793         * sysdeps/sh/fpu_control.h: New file.
54794         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
54795         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
54796         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
54797         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
54798         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
54799         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
54800         * sysdeps/sh/sys/ucontext.h: Remove.
54801         * sysdeps/sh/sys: Remove directory.
54803 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54805         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
54806         s390/sys/ucontext.h.
54807         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
54808         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
54810 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
54812         [BZ #15605]
54813         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
54815 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54817         [BZ #16431]
54818         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54819         Adjust the vDSO correctly for internal calls.
54820         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
54822 2014-01-20  Allan McRae  <allan@archlinux.org>
54824         * po/ca.po: Update Catalan translation from translation project.
54826 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
54828         * sysdeps/s390/sotruss-lib.c: New file.
54830 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54832         [BZ #16430]
54833         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
54834         (__GI___gettimeofday): Alias for a different internal symbol to avoid
54835         local calls issues by not having a PLT stub required for IFUNC calls.
54836         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
54838 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
54840         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
54841         * math/test-fpucw-static.c: Likewise.
54843 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54845         [BZ #16453]
54846         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
54848 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54850         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
54851         implementation for powerpc.
54853 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
54855         [BZ #14782]
54856         * sysdeps/posix/system.c (__libc_system): Do not enable
54857         asynchronous cancellation.
54859 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54861         [BZ #16427]
54862         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
54863         handling only for numbers special also in the IEEE case.
54865 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54867         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54869 2014-01-11  Allan McRae  <allan@archlinux.org>
54871         * po/bg.po: Update Bulgarian translation from translation project.
54873         * po/de.po: Update German translation from translation project.
54875 2014-01-10  Roland McGrath  <roland@hack.frob.com>
54877         * sysdeps/generic/gcc-compat.h: New file.
54879 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54881         * benchtests/asin-inputs: Correct slow inputs.
54882         * benchtests/acos-inputs: Likewise.
54884 2014-01-10  Allan McRae  <allan@archlinux.org>
54886         * po:sv.po: Update Swedish translation from translation project.
54888         * po/vi.po: Update Vietnamese translation from translation project.
54890         * po/eo.po: Update Esperanto translation from translation project.
54892         * po/cs.po: Update Czech translation from translation project.
54894         * po/nl.po: Update Dutch translation from translation project.
54896         * po/pl.po: Update Polish translation from translation project.
54898         * po/ru.po: Update Russian translation from translation project.
54900         * po/uk.po: Update Ukrainian translation from translation project.
54902 2014-01-08  Brooks Moses  <bmoses@google.com>
54904         * elf/dl-load.c: Fix comment typo.
54906 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
54908         * po/header.pot: Rename to...
54909         * po/pot.header: ... this.
54910         * po/Makefile: Use pot.header.
54912 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
54913             Maxim Kuvyrkov  <maxim@kugelworks.com>
54915         [BZ #16394]
54916         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
54917         SRC and DEST against LEN.
54919 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54921         [BZ #16414]
54922         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
54923         implementation.
54924         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
54926 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54930 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
54932         [BZ #16408]
54933         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
54934         for large positive arguments.
54936 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
54938         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
54940         * math/auto-libm-test-in: Mark various tests with
54941         xfail-rounding:ldbl-128ibm.
54942         * math/auto-libm-test-out: Regenerated.
54944         [BZ #16407]
54945         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
54946         Increase overflow threshold.
54948 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
54950         [BZ #14286]
54951         * stdio-common/vfprintf.c: Check for integer overflow.
54953 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54955         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
54956         the first argument and return value of __tls_get_addr_internal.
54958 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54960         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
54961         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
54963 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54965         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
54966         * sysdeps/s390/rtld-global-offsets.sym: New file.
54967         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
54968         GLIBC_2.19 symbol.
54969         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
54970         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
54971         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
54972         ... this.
54973         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
54974         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
54975         ... this.
54976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54977         Regenerate.
54978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54979         Regenerate.
54980         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
54981         halfs of GPRs for high_gprs contexts.
54982         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
54983         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
54984         field.
54985         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
54986         uc_flags field.
54987         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
54988         64 bit versions:
54989         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
54990         for high GPRs (uc_high_gprs) and for future extensions
54991         (__reserved).
54992         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
54993         for future extensions (__reserved).
54994         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
54995         64 bit versions:
54996         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
54997         SC_HIGHGPRS offset definition.
54998         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
54999         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
55001         * Versions.def: Add GLIBC_2.19 for libpthread.
55002         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
55003         siglongjmp for libpthread with GLIBC_2.19 symver.
55004         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
55005         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
55006         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
55007         * sysdeps/s390/__longjmp.c: New file.
55008         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
55009         * sysdeps/s390/longjmp.c: New file.
55010         * sysdeps/s390/setjmp.S: New file.
55011         * sysdeps/s390/sigjmp.S: New file.
55012         * sysdeps/s390/v1-longjmp.c: New file.
55013         * sysdeps/s390/v1-setjmp.h: New file.
55014         * sysdeps/s390/v1-sigjmp.c: New file.
55015         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
55016         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
55017         GLIBC_2.19 version.
55018         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
55019         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
55020         versioned symbols for ____longjmp_chk.
55021         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
55022         Likewise.
55023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55024         Regenerate.
55025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55026         Regenerate.
55027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55028         Regenerate.
55029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55030         Regenerate.
55031         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
55032         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
55033         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
55034         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
55035         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
55036         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
55037         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
55038         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
55039         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
55040         * sysdeps/s390/rtld-__longjmp.c: New file.
55041         * sysdeps/s390/rtld-setjmp.S: New file.
55043 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
55045         [BZ #16400]
55046         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55047         Return -__logl (x) for small positive arguments without evaluating
55048         a polynomial.
55050 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
55052         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
55053         Rename to ...
55054         (__ptrace_peeksiginfo_args): ... this.
55055         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55056         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55057         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55059 2014-01-06  Allan McRae  <allan@archlinux.org>
55061         * inet/netinet/in.h: Fix typo in comment.
55063 2014-01-05  Andreas Jaeger  <aj@suse.de>
55065         * sysdeps/i386/fpu/libm-test-ulps: Update.
55067 2014-01-05  Allan McRae  <allan@archlinux.org>
55069         * po/libc.pot: Regenerated.
55071         * malloc/memusagestat.c: Fix gettext call formatting.
55073 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
55075         * nscd/nscd.c: Improve usage() output.
55077 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
55079         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
55080         * sysdeps/unix/sysv/linux/configure: Regenerated.
55081         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
55082         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
55084 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
55086         [BZ #16390]
55087         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55088         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
55090 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55092         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
55093         extra tokens at end of #undef directive.
55094         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
55095         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
55096         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
55098 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
55100         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
55102         * math/auto-libm-test-in: Mark various tests with
55103         xfail-rounding:ldbl-128ibm.
55104         * math/auto-libm-test-out: Regenerated.
55106 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
55108         [BZ #16386]
55109         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
55110         numbers with subnormal high part when calculating exponent.
55112         [BZ #16385]
55113         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
55114         fabs.
55116         [BZ #16384]
55117         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
55118         M_LN2l.
55119         (__ieee754_acoshl): Use __log1pl not __log1p.
55121 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
55123         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
55124         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
55125         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
55126         (grow_heap, heap_trim, _int_new_arena, get_free_list)
55127         (reused_arena, arena_get2): Convert to GNU style.
55128         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
55129         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
55130         (memalign_check, __malloc_set_state): Likewise.
55131         * malloc/mallocbug.c (main): Likewise.
55132         * malloc/malloc.c (__malloc_assert, malloc_init_state)
55133         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
55134         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
55135         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
55136         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
55137         (__posix_memalign, malloc_info): Likewise.
55138         * malloc/malloc.h: Likewise.
55139         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
55140         (mallochook, memalignhook, reallochook, mabort): Likewise.
55141         * malloc/mcheck.h: Likewise.
55142         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
55143         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
55144         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
55145         * malloc/morecore.c (__default_morecore): Likewise.
55146         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
55147         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
55148         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
55149         (print_and_abort): Likewise.
55150         * malloc/obstack.h: Likewise.
55151         * malloc/set-freeres.c (__libc_freeres): Likewise.
55152         * malloc/tst-mallocstate.c (main): Likewise.
55153         * malloc/tst-mtrace.c (main): Likewise.
55154         * malloc/tst-realloc.c (do_test): Likewise.
55156 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55158         [BZ #16366]
55159         * nscd/netgroupcache.c (do_notfound): New function.
55160         (addgetnetgrentX): Use it.
55162         [BZ # 16365]
55163         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
55164         NSS_STATUS_NOTFOUND.
55166 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
55168         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55171 2014-01-01  Allan McRae  <allan@archlinux.org>
55173         * scripts/update-copyrights: Update configure input file suffix.
55175         * NEWS: Update copyright year.
55176         * catgets/gencat.c: Likewise.
55177         * csu/version.c: Likewise.
55178         * debug/catchsegv.sh: Likewise.
55179         * debug/pcprofiledump.c: Likewise.
55180         * debug/xtrace.sh: Likewise.
55181         * elf/ldconfig.c: Likewise.
55182         * elf/ldd.bash.in: Likewise.
55183         * elf/pldd.c: Likewise.
55184         * elf/sotruss.ksh: Likewise.
55185         * elf/sprof.c: Likewise.
55186         * iconv/iconv_prog.c: Likewise.
55187         * iconv/iconvconfig.c: Likewise.
55188         * locale/programs/locale.c: Likewise.
55189         * locale/programs/localedef.c: Likewise.
55190         * login/programs/pt_chown.c: Likewise.
55191         * malloc/memusage.sh: Likewise.
55192         * malloc/memusagestat.c: Likewise.
55193         * malloc/mtrace.pl: Likewise.
55194         * manual/libc.texinfo: Likewise.
55195         * nscd/nscd.c: Likewise.
55196         * nss/getent.c: Likewise.
55197         * nss/makedb.c: Likewise.
55198         * posix/getconf.c: Likewise.
55199         * scripts/test-installation.pl: Likewise.
55201         * All files with FSF copyright notices: Update copyright dates
55202         using scripts/update-copyrights.
55203         * intl/plural.c: Regenerated.
55204         * locale/programs/charmap-kw.h: Likewise.
55205         * locale/programs/locfile-kw.h: Likewise.
55207 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
55209         * sysdeps/unix/sysv/linux/configure: Regenerated.
55210         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
55211         the linux/fanotify.h header.
55212         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
55213         HAVE_LINUX_FANOTIFY_H is defined.
55215 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55217         * benchtests/cos-inputs: New inputs.
55218         * benchtests/sin-inputs: Likewise.
55220         * benchtests/atan-inputs: New inputs. Fix name of multiple
55221         precision fallback inputs.
55223         * benchtests/atanh-inputs: New inputs.
55224         * benchtests/tanh-inputs: Likewise.
55226         * benchtests/acosh-inputs: New inputs.
55227         * benchtests/asinh-inputs: Likewise.
55229         * benchtests/cosh-inputs: New inputs.
55230         * benchtests/sinh-inputs: Likewise.
55232         * benchtests/acos-inputs: Add more inputs.
55233         * benchtests/asin-inputs: Likewise.
55235 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
55237         [BZ #16375]
55238         * manual/arith.texi: Fix spelling.
55239         * manual/charset.texi: Likewise.
55240         * manual/errno.texi: Likewise.
55241         * manual/filesys.texi: Likewise.
55242         * manual/lang.texi: Likewise.
55243         * manual/llio.texi: Likewise.
55244         * manual/locale.texi: Likewise.
55245         * manual/message.texi: Likewise.
55246         * manual/resource.texi: Likewise.
55247         * manual/search.texi: Likewise.
55248         * manual/setjmp.texi: Likewise.
55249         * manual/stdio.texi: Likewise.
55250         * manual/string.texi: Likewise.
55251         * manual/sysinfo.texi: Likewise.
55252         * manual/time.texi: Likewise.
55254 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
55256         * po/sl.po: New file.
55258 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
55260         * .gitignore: Add core/.gdbinit/.gdb_history.
55262 2013-12-27  Allan McRae  <allan@archlinux.org>
55264         [BZ #16369]
55265         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
55266         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
55268 2013-12-24  Brooks Moses  <bmoses@google.com>
55270         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
55271         all compilers that claim C++98 compliance, not just GCC.
55272         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
55273         Likewise.
55275 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
55277         * NEWS: Restore accidentally deleted bug-fix entries.
55279 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
55280             Ondřej Bílka  <neleai@seznam.cz>
55282         [BZ #15073]
55283         * malloc/malloc.c (_int_free): Perform sanity check only if we
55284         have_lock.
55286 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
55288         [BZ #12986]
55289         * manual/stdio.texi (String Input Conversions): Clarify that character
55290         classes are not supported.
55292 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55296 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
55298         [BZ #16337]
55299         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55300         Calculate results for small negative arguments directly rather
55301         than using reflection formula with special underflow handling.
55303         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
55304         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
55305         sysdeps/unix/bsd/bsd4.4/syscalls.list.
55306         (fchflags): Likewise.
55307         (revoke): Likewise.
55308         (setlogin): Likewise.
55309         (sigaltstack): Likewise.
55310         (wait4): Likewise.
55311         (sigblock): Remove.
55312         (sigsetmask): Likewise.
55313         (wait3): Likewise.
55314         (waitpid): Likewise.
55315         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
55316         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
55317         file.
55318         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
55319         * sysdeps/unix/bsd/Makefile: ... here.
55320         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
55321         * sysdeps/unix/bsd/Versions: ... here.
55322         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
55323         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
55324         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
55325         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
55326         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
55327         * sysdeps/unix/bsd/sigblock.c: ... here.
55328         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
55329         * sysdeps/unix/bsd/sigsetmask.c: ... here.
55330         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
55331         * sysdeps/unix/bsd/sigvec.c: ... here.
55332         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
55333         * sysdeps/unix/bsd/tcdrain.c: ... here.
55334         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
55335         * sysdeps/unix/bsd/tcgetattr.c: ... here.
55336         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
55337         * sysdeps/unix/bsd/tcsetattr.c: ... here.
55338         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
55339         * sysdeps/unix/bsd/wait.c: ... here.
55340         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
55341         * sysdeps/unix/bsd/wait3.c: ... here.
55342         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
55343         * sysdeps/unix/bsd/waitpid.c: ... here.
55345 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
55347         [BZ #16356]
55348         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
55349         round-to-nearest for [!USE_AS_EXPM1L].
55350         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
55351         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
55352         more tests of exp and exp10.  Expect some exp10 tests to miss
55353         exceptions or fail in directed rounding modes.
55354         * math/auto-libm-test-out: Regenerated.
55355         * math/libm-test.inc (exp10_tonearest_test_data): New array.
55356         (exp10_test_tonearest): New function.
55357         (exp10_towardzero_test_data): New array.
55358         (exp10_test_towardzero): New function.
55359         (exp10_downward_test_data): New array.
55360         (exp10_test_downward): New function.
55361         (exp10_upward_test_data): New array.
55362         (exp10_test_upward): New function.
55363         (main): Call the new functions.
55364         * sysdeps/i386/fpu/libm-test-ulps: Update.
55365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55367 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
55369         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
55370         asinh, atan, atan2, atanh, cbrt, cos and cosh.
55371         * math/auto-libm-test-out: Regenerated.
55372         * math/libm-test.inc (acosh_test_data): Add more tests.
55373         (atanh_test_data): Likewise.
55374         (ceil_test_data): Likewise.
55375         (copysign_test_data): Likewise.
55376         * sysdeps/i386/fpu/libm-test-ulps: Update.
55377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55379         * timezone/checktab.awk: Update from tzcode 2013i.
55380         * timezone/private.h: Likewise.
55381         * timezone/scheck.c: Likewise.
55382         * timezone/tzfile.h: Likewise.
55383         * timezone/tzselect.ksh: Likewise.
55384         * timezone/zdump.c: Likewise.
55385         * timezone/zic.c: Likewise.
55387         * math/auto-libm-test-in: Add tests of cpow.
55388         * math/auto-libm-test-out: Regenerated.
55389         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
55390         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55391         mpc_cc_c.
55392         (func_calc_desc): Add mpc_cc_c union field.
55393         (test_functions): Add cpow.
55394         (special_fill_2pi): New function.
55395         (special_real_inputs): Add 2pi.
55396         (calc_generic_results): Handle mpc_cc_c.
55397         * sysdeps/i386/fpu/libm-test-ulps: Update.
55398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55400         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
55401         csqrt, ctan and ctanh.
55402         * math/auto-libm-test-out: Regenerated.
55403         * math/libm-test.inc (TEST_COND_x86_64): New macro.
55404         (TEST_COND_x86): Likewise.
55405         (ccos_test_data): Use AUTO_TESTS_c_c.
55406         (ccosh_test_data): Likewise.
55407         (cexp_test_data): Likewise.
55408         (clog_test_data): Likewise.
55409         (csqrt_test_data): Likewise.
55410         (ctan_test_data): Likewise.
55411         (ctan_tonearest_test_data): Likewise.
55412         (ctan_towardzero_test_data): Likewise.
55413         (ctan_downward_test_data): Likewise.
55414         (ctan_upward_test_data): Likewise.
55415         (ctanh_test_data): Likewise.
55416         (ctanh_tonearest_test_data): Likewise.
55417         (ctanh_towardzero_test_data): Likewise.
55418         (ctanh_downward_test_data): Likewise.
55419         (ctanh_upward_test_data): Likewise.
55420         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55421         mpc_c_c.
55422         (func_calc_desc): Add mpc_c_c union field.
55423         (FUNC_mpc_c_c): New macro.
55424         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
55425         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
55426         ctanh.
55427         (special_fill_min_subnorm_p120): New function.
55428         (special_real_inputs): Add min_subnorm_p120.
55429         (calc_generic_results): Handle mpc_c_c.
55430         * sysdeps/i386/fpu/libm-test-ulps: Update.
55431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55433 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55435         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
55436         (do_sin_slow): New functions.
55437         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
55438         (cslow2, csloww1, csloww2): Use the new functions.
55440         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
55441         Use M to change sign of result instead of X.  Assume X is
55442         positive.
55443         (csloww1): Likewise.
55444         (__sin): Adjust.
55445         (__cos): Adjust.
55447         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
55448         arguments A and DA.
55449         (__sin): Adjust.
55450         (__cos): Likewise.
55452         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
55453         (__cos): Likewise.
55454         (sloww1): Don't adjust sign of DX.
55455         (csloww1): Likewise.
55456         (sloww2): Use X directly and don't adjust sign of DX.
55457         (csloww2): Likewise.
55459 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55461         * math/auto-libm-test-in: Add tests of cabs and carg.
55462         * math/auto-libm-test-out: Regenerated.
55463         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
55464         (carg_test_data): Likewise.
55465         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55466         mpc_c_f.
55467         (func_calc_desc): Add mpc_c_f union field.
55468         (test_functions): Add cabs and carg.
55469         (calc_generic_results): Handle mpc_c_f.
55471         * sysdeps/powerpc/powerpc32/libgcc-compat.S
55472         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
55473         as a macro and a compat symbol.
55474         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
55475         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
55476         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
55477         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
55478         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
55479         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
55480         not use .hidden.
55481         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
55482         Likewise.
55483         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
55484         Likewise.
55485         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
55486         Likewise.
55487         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
55488         Likewise.
55489         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
55490         Likewise.
55491         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
55492         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
55493         from GLIBC_2.3.2.
55495 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55499 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55501         * manual/texinfo.tex: Update to version 2013-11-26.10 with
55502         trailing whitespace removed.
55503         * scripts/config.guess: Update to version 2013-11-29.
55504         * scripts/config.sub: Update to version 2013-10-01.
55506         * math/auto-libm-test-in: Add tests of sincos.
55507         * math/auto-libm-test-out: Regenerated.
55508         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
55509         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55510         mpfr_f_11.
55511         (func_calc_desc): Add mpfr_f_11 union field.
55512         (test_functions): Add sincos.
55513         (calc_generic_results): Handle mpfr_f_11.
55514         * sysdeps/i386/fpu/libm-test-ulps: Update.
55515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55517 2013-12-19  Andreas Schwab  <schwab@suse.de>
55519         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
55520         CALL_MCOUNT.
55521         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55522         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
55523         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
55525 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55527         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
55528         * sysdeps/i386/fpu/libm-test-ulps: Update.
55529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55531         [BZ #16293]
55532         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
55533         round-to-nearest mode when using frndint.
55534         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
55535         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55536         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
55537         Likewise.
55538         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
55539         sinh test to fail.
55540         * math/auto-libm-test-out: Regenerated.
55541         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
55542         (TEST_COND_x86): Likewise.
55543         (expm1_tonearest_test_data): New array.
55544         (expm1_test_tonearest): New function.
55545         (expm1_towardzero_test_data): New array.
55546         (expm1_test_towardzero): New function.
55547         (expm1_downward_test_data): New array.
55548         (expm1_test_downward): New function.
55549         (expm1_upward_test_data): New array.
55550         (expm1_test_upward): New function.
55551         (main): Run the new test functions.
55552         * sysdeps/i386/fpu/libm-test-ulps: Update.
55553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55555         * include/features.h: Update comment documenting feature test
55556         macros.  Mention _DEFAULT_SOURCE in comment.
55557         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
55558         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
55559         _BSD_SOURCE and _SVID_SOURCE.
55560         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
55561         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
55562         !_SVID_SOURCE]: Likewise.
55563         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55564         (__USE_POSIX_IMPLICITLY): Define.
55565         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55566         (_POSIX_SOURCE): Undefine and redefine.
55567         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55568         (_POSIX_C_SOURCE): Likewise.
55569         * manual/creature.texi (_DEFAULT_SOURCE): Document.
55570         (Feature Test Macros): Update documentation of default features.
55572 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55574         * benchtests/Makefile: Add bench-strtok.
55575         * benchtests/bench-strtok.c: New file: strtok benchtest.
55577 2013-12-19  Allan McRae  <allan@archlinux.org>
55579         * manual/install.texi: Suppress menu for plain text output.
55580         * INSTALL: Regenerated.
55582 2013-12-18  Brooks Moses  <bmoses@google.com>
55584         [BZ #15846]
55585         * misc/getauxval.c: Include errno.h.
55586         (__getauxval): Set errno to ENOENT if the requested type is not
55587         found.
55588         * misc/sys/auxv.h (getauxval): Document that it may set errno;
55589         don't declare with __attribute_const__.
55590         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
55591         * manual/startup.texi: Document that getauxval sets errno.
55593 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55595         * math/auto-libm-test-in: Add tests of jn and yn.
55596         * math/auto-libm-test-out: Regenerated.
55597         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
55598         (yn_test_data): Likewise.
55599         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55600         mpfr_if_f.
55601         (func_calc_desc): Add mpfr_if_f union field.
55602         (FUNC_mpfr_if_f): New macro.
55603         (test_functions): Add jn and yn.
55604         (calc_generic_results): Assert type of second input for
55605         mpfr_ff_f.  Handle mpfr_if_f.
55606         (output_for_one_input_case): Disable all checking for arguments
55607         fitting floating-point types in case of an integer argument.
55608         * sysdeps/i386/fpu/libm-test-ulps: Update.
55609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55612         Don't expect fegetround reference in libm.so.
55614 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55616         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
55617         $(config-cflags-nofma).
55619 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55621         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
55622         * math/auto-libm-test-out: Regenerated.
55624         [BZ #16338]
55625         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
55626         to determine exponent and adjust argument to have exponent of -1.
55627         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
55628         log2.
55629         * math/auto-libm-test-out: Regenerated.
55630         * sysdeps/i386/fpu/libm-test-ulps: Update.
55631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55633 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
55635         * manual/probes.texi: Remove cases when per-thread arenas are
55636         disabled.
55638 2013-12-18  Andreas Schwab  <schwab@suse.de>
55640         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
55641         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
55642         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
55643         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
55644         * sysdeps/i386/i686/multiarch/Makefile: Update.
55645         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
55647 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55649         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
55650         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
55652 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
55654         [BZ #15968]
55655         Support TZ transition times < 00:00:00.
55656         This is needed for version-3 tz-format files; it supports time
55657         stamps past 2037 for America/Godthab (the only entry in the tz
55658         database for which this change is relevant).
55659         * manual/time.texi (TZ Variable): Document transition times
55660         from -167:59:59 through -00:00:01.
55661         * time/tzset.c (tz_rule): Time of day is now signed.
55662         (__tzset_parse_tz): Parse negative time of day.
55664         Document TZ transition times >= 25:00:00.
55665         * manual/time.texi (TZ Variable): Document transition times from
55666         25:00:00 through 167:59:59.  These are already supported, and this
55667         support will help with version-3 tz-format files.
55669         * manual/time.texi (TZ Variable): Modernize North America example
55670         to reflect current (i.e., 2007-and-later) daylight saving rules.
55672         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
55674 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55676         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
55677         * sysdeps/unix/bsd/bits/stat.h: Likewise.
55678         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
55679         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55680         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
55681         * sysdeps/unix/bsd/bsdstat.h: Likewise.
55682         * sysdeps/unix/bsd/clock.c: Likewise.
55683         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
55684         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
55685         * sysdeps/unix/bsd/init-posix.c: Likewise.
55686         * sysdeps/unix/bsd/poll.c: Likewise.
55687         * sysdeps/unix/bsd/ptsname.c: Likewise.
55688         * sysdeps/unix/bsd/seekdir.c: Likewise.
55689         * sysdeps/unix/bsd/setegid.c: Likewise.
55690         * sysdeps/unix/bsd/seteuid.c: Likewise.
55691         * sysdeps/unix/bsd/setgid.c: Likewise.
55692         * sysdeps/unix/bsd/setrgid.c: Likewise.
55693         * sysdeps/unix/bsd/setruid.c: Likewise.
55694         * sysdeps/unix/bsd/setsid.c: Likewise.
55695         * sysdeps/unix/bsd/setuid.c: Likewise.
55696         * sysdeps/unix/bsd/sigaction.c: Likewise.
55697         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
55698         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
55699         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
55700         * sysdeps/unix/bsd/telldir.c: Likewise.
55701         * sysdeps/unix/bsd/times.c: Likewise.
55702         * sysdeps/unix/bsd/usleep.c: Likewise.
55704         * misc/Makefile (install-lib): Remove libbsd-compat.a.
55705         ($(objpfx)libbsd-compat.a): Remove rule.
55707         * include/features.h (__FAVOR_BSD): Do not define.
55708         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
55709         features conflicting with POSIX.
55710         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
55711         (_BSD_SOURCE): Remove description of not being a subset of other
55712         feature test macros.
55713         * manual/job.texi (getpgrp): Do not document BSD version.
55714         (getpgid): Do not document by reference to BSD getpgrp.
55715         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
55716         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
55717         * signal/signal.h [__FAVOR_BSD]: Likewise.
55718         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
55719         instead of making contents conditional on [__FAVOR_BSD].
55720         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
55722 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55726 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55728         [BZ #16314]
55729         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
55730         values below 2**-450, not 2**-500.
55731         * math/auto-libm-test-in: Don't allow spurious underflow from
55732         hypot.
55733         * math/auto-libm-test-out: Regenerated.
55735         [BZ #16316]
55736         [BZ #16330]
55737         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
55738         values of ha and hb and sort them after adjusting subnormal
55739         arguments.
55740         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
55741         Likewise.
55742         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
55743         values of ea and eb and sort them after adjusting subnormal
55744         arguments.
55745         * math/auto-libm-test-in: Do not expect some hypot tests of
55746         subnormals to fail.  Add more hypot tests.
55747         * math/auto-libm-test-out: Regenerated.
55749 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55751         [BZ #13304]
55752         * sysdeps/sh/s_fma.c: New file.
55753         * sysdeps/sh/s_fmaf.c: New file.
55754         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
55755         version.
55756         * sysdeps/sh/Implies: Add sh/soft-fp.
55758 2013-12-16  Roland McGrath  <roland@hack.frob.com>
55760         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
55761         level of indirection to members `objname', `errstring', `malloced'.
55762         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
55763         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
55764         it as the __longjmp argument (just pass 1 instead).
55765         (_dl_catch_error): Initialize C with argument pointers and address of
55766         volatile local ERRCODE rather than copying values out of C at return.
55768 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
55770         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
55771         * math/auto-libm-test-out: Regenerated.
55772         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
55773         (hypot_test_data): Likewise.
55774         (pow_test_data): Likewise.
55775         (pow_tonearest_test_data): Likewise.
55776         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55777         mpfr_ff_f.
55778         (func_calc_desc): Add mpfr_ff_f union field.
55779         (FUNC_mpfr_ff_f): New macro.
55780         (test_functions): Add atan2, hypot and pow.
55781         (special_fill_min): New function.
55782         (special_fill_minus_min): Likewise.
55783         (special_fill_min_subnorm): Likewise.
55784         (special_fill_minus_min_subnorm): Likewise.
55785         (special_real_inputs): Add min, -min, min_subnorm and
55786         -min_subnorm.
55787         (calc_generic_results): Handle mpfr_ff_f.
55788         * sysdeps/i386/fpu/libm-test-ulps: Update.
55789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55791 2013-12-16  Will Newton  <will.newton@linaro.org>
55793         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
55794         (Aligned Memory Blocks): Add documentation for aligned_alloc
55795         and suggest it as an alternative to posix_memalign.
55796         (Hooks for Malloc): Document __memalign_hook is also called
55797         for aligned_alloc.  (Summary of Malloc): Add summary for
55798         aligned alloc.  Document __memalign_hook is also called
55799         for aligned_alloc.
55801 2013-12-16  Will Newton  <will.newton@linaro.org>
55803         * manual/memory.texi (Malloc Examples): Clarify default
55804         alignment documentation.  Suggest posix_memalign rather
55805         than memalign or valloc.
55806         (Aligned Memory Blocks): Remove suggestion to use memalign
55807         or valloc.  Remove obsolete comment about BSD.
55808         Document memalign errno values and mark the function obsolete.
55809         Document posix_memalign returned error codes.  Mark valloc
55810         as obsolete.  (Hooks for Malloc): __memalign_hook is also
55811         called for posix_memalign and valloc.
55812         (Summary of Malloc): Add posix_memalign to function summary.
55813         __memalign_hook is also called for posix_memalign and valloc.
55815 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55817         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
55818         TAYLOR_SIN.
55819         (__sin): Adjust.
55820         (__cos): Likewise.
55821         (sloww): Use mynumber union.  Expand ternary operator into
55822         if-else statements.
55823         (cslow): use mynumber union.
55825 2013-12-16  Allan McRae  <allan@archlinux.org>
55827         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
55828         * configure: Regenerated.
55830         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
55832         [BZ #14120]
55833         * configure.ac: Added --enable-maintainer-mode. Check for
55834         autoconf when enabled.
55835         * configure: Regenerated.
55837         * nscd/nscd.service: New file.
55838         * nscd/nscd.tmpfiles: New file.
55840 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
55842         [BZ #12100]
55843         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
55844         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
55845         * sysdeps/x86_64/multiarch/strstr.c: ... here.
55846         (strstr): Add __strstr_sse2_unaligned ifunc.
55847         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
55848         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
55849         (strcasestr): Remove __strcasestr_sse42 ifunc.
55850         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
55851         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55852         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55854 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55856         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
55857         * sysdeps/sh/bits/fenv.h: ... here.
55858         * sysdeps/sh/sh4/fpu/bits: Remove directory.
55860 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55862         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
55864         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
55865         hypotf multiarch implementations.
55866         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
55867         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
55868         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
55869         multiarch hypot for PPC64.
55870         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
55871         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
55872         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
55873         multiarch hypotf for PPC64.
55875         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
55876         modff multiarch implementations.
55877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
55878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
55879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
55880         multiarch modf for PPC64.
55881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
55882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
55883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
55884         multiarch modff for PPC64.
55886         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
55887         and logl multiarch implementations.
55888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
55889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
55890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
55891         multiarch logb for PPC64.
55892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
55893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
55894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
55895         multiarch logb for PPC64.
55896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
55897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
55898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
55899         multiarch logb for PPC64.
55901         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
55902         isinff multiarch implementation.
55903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
55904         file.
55905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
55906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
55907         multiarch isinf for PPC64.
55908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
55909         file.
55910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
55911         multiarch isinff for PPC64.
55913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
55914         finitef multiarch implementation.
55915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
55916         file.
55917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
55918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
55919         multiarch finite for PPC64.
55920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
55921         file.
55922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
55923         multiarch finitef for PPC64.
55925         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
55926         lrint multiarch implementation.
55927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
55928         file.
55929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
55930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
55931         multiarch llrint for PPC64.
55932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
55933         multiarch lrint for PPC64.
55935         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
55936         copysignf multiarch implementation.
55937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
55938         file.
55939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
55940         file.
55941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
55942         multiarch copysign for PPC64.
55943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
55944         multiarch copysignf for PPC64.
55946         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
55947         multiarch implementation.
55948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
55949         file.
55950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
55951         file.
55952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
55953         file.
55954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
55955         file.
55956         multiarch llround for PPC64.
55957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
55958         multiarch trunc for PPC64.
55959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
55960         multiarch truncf for PPC64.
55962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
55963         multiarch implementation.
55964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
55965         file.
55966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
55967         file.
55968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
55969         file.
55970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
55971         file.
55972         multiarch llround for PPC64.
55973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
55974         multiarch round for PPC64.
55975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
55976         multiarch roundf for PPC64.
55978         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
55979         multiarch implementation.
55980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
55981         file.
55982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
55983         file.
55984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
55985         file.
55986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
55987         file.
55988         multiarch llround for PPC64.
55989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
55990         multiarch floor for PPC64.
55991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
55992         multiarch floorf for PPC64.
55994         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
55995         multiarch implementation.
55996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
55997         file.
55998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
55999         file.
56000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
56001         file.
56002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
56003         file.
56004         multiarch llround for PPC64.
56005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
56006         multiarch ceil for PPC64.
56007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
56008         multiarch ceilf for PPC64.
56010         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56011         multiarch implementation.
56012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
56013         file.
56014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
56015         file.
56016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
56017         file.
56018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
56019         multiarch llround for PPC64.
56020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
56021         multiarch lround for PPC64.
56023         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56024         multiarch implementation.
56025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
56026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
56027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
56028         file.
56029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
56030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
56031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
56032         multiarch isnan for PPC64.
56033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
56034         multiarch isnanf for PPC64.
56036         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
56037         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
56038         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
56039         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
56040         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
56041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
56043         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
56044         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56045         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56046         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56048         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
56049         multiarch implementations.
56050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56051         (__libc_ifunc_impl_list): Likewise.
56052         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
56053         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
56054         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
56055         multiarch stpcpy for PPC64.
56057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
56058         multiarch implementations.
56059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56060         (__libc_ifunc_impl_list): Likewise.
56061         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
56062         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
56063         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
56064         multiarch strcpy for PPC64.
56066         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
56067         redefine function name.
56068         (_wordcopy_fwd_dest_aligned): Likewise.
56069         (_wordcopy_bwd_aligned): Likewise.
56070         (_wordcopy_bwd_dest_aligned): Likewise.
56071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
56072         multiarch implementations.
56073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56074         (__libc_ifunc_impl_list): Likewise.
56075         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
56076         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
56077         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
56078         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
56079         multiarch wcscpy for PPC64.
56081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
56082         multiarch implementations.
56083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56084         (__libc_ifunc_impl_list): Likewise.
56085         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
56086         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
56087         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
56088         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
56089         multiarch wcscpy for PPC64.
56091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
56092         multiarch implementations.
56093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56094         (__libc_ifunc_impl_list): Likewise.
56095         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
56096         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
56097         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
56098         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
56099         multiarch wcsrchr for PPC64.
56101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
56102         multiarch implementations.
56103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56104         (__libc_ifunc_impl_list): Likewise.
56105         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
56106         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
56107         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
56108         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
56109         multiarch wcschr for PPC64.
56111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
56112         multiarch implementations.
56113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56114         (__libc_ifunc_impl_list): Likewise.
56115         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
56116         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
56117         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
56118         multiarch strchrnul for PPC64.
56120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
56121         implementations.
56122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56123         (__libc_ifunc_impl_list): Likewise.
56124         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
56125         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
56126         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
56127         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
56128         strchr for PPC64.
56130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
56131         implementations.
56132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56133         (__libc_ifunc_impl_list): Likewise.
56134         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
56135         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
56136         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
56137         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
56138         strncmp for PPC64.
56140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
56141         multiarch implementations.
56142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56143         (__libc_ifunc_impl_list): Likewise.
56144         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
56145         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
56146         strncasecmp for PPC64.
56147         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
56148         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
56149         multiarch strncasecmp_l for PPC64.
56151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
56152         multiarch implementations.
56153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56154         (__libc_ifunc_impl_list): Likewise.
56155         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
56156         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
56157         multiarch strcasecmp for PPC64.
56158         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
56159         file.
56160         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
56161         multiarch strcasecmp_l for PPC64.
56163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
56164         implementations.
56165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56166         (__libc_ifunc_impl_list): Likewise.
56167         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
56168         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
56169         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
56170         strnlen for PPC64.
56172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
56173         implementations.
56174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56175         (__libc_ifunc_impl_list): Likewise.
56176         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
56177         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
56178         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
56179         strlen for PPC64.
56181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
56182         implementations.
56183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56184         (__libc_ifunc_impl_list): Likewise.
56185         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
56186         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
56187         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
56188         rawmemrchr for PPC64.
56190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
56191         implementation.
56192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56193         (__libc_ifunc_impl_list): Likewise.
56194         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
56195         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
56196         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
56197         memrchr for PPC64.
56199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
56200         implementation.
56201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56202         (__libc_ifunc_impl_list): Likewise.
56203         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
56204         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
56205         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
56206         memchr for PPC64.
56208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
56209         implementation.
56210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56211         (__libc_ifunc_impl_list): Likewise.
56212         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
56213         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
56214         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
56215         mempcpy for PPC64.
56217         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
56218         avoid cretion of __bzero symbol.
56219         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
56220         Likewise.
56221         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
56222         Likewise.
56223         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
56224         Likewise.
56225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
56226         multiarch implementations.
56227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56228         (__libc_ifunc_impl_list): Likewise.
56229         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
56230         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
56231         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
56232         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
56233         bzero for PPC32.
56234         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
56235         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
56236         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
56237         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
56238         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
56239         memset for PPC64.
56240         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
56242         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
56243         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
56244         implementations.
56245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56246         (__libc_ifunc_impl_list): Likewise.
56247         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
56248         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
56249         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
56250         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
56251         memcmp for PPC64.
56253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
56254         multiarch for POWER/PPC64.
56255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
56256         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
56257         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
56258         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
56259         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
56260         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
56261         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
56262         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
56263         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
56264         memcpy for PPC64.
56266         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
56267         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
56268         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
56269         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
56270         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
56271         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
56272         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
56273         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
56274         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
56275         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
56276         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
56277         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
56278         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
56279         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
56280         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
56281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
56282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
56283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
56284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
56285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
56286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
56287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
56289 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56291         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
56293 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56295         * benchtests/Makefile (bench): Add exp2 and log2.
56296         (LDLIBS-bench-exp2): Add -lm.
56297         (LDLIBS-bench-log2): Likewise.
56298         * benchtests/exp2-inputs: New inputs file.
56299         * benchtests/log2-inputs: New inputs file.
56300         * benchtests/log-inputs: Add new inputs.
56301         * benchtests/tan-inputs: Likewise.
56303 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56305         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
56306         definition...
56307         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
56308         (csloww2): ... from here.
56310         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
56311         instead of structures.
56312         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
56313         (POLYNOMIAL): Likewise.
56314         (TAYLOR_SLOW): Likewise.
56315         (__sin): Likewise.
56316         (__cos): Likewise.
56317         (slow1): Likewise.
56318         (slow2): Likewise.
56319         (sloww): Likewise.
56320         (sloww1); Likewise.
56321         (sloww2): Likewise.
56322         (bsloww1): Likewise.
56323         (bsloww2): Likewise.
56324         (cslow2): Likewise.
56325         (csloww): Likewise.
56326         (csloww1): Likewise.
56327         (csloww2): Likewise.
56329 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
56331         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
56332         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
56333         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
56334         * malloc/hooks.c (realloc_check): Likewise.
56336         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
56337         * malloc/arena.c: Remove PER_THREAD conditional.
56338         [!PER_THREAD]: Remove code.
56339         (ptmalloc_unlock_all2): Likewise.
56340         (ptmalloc_init): Likewise.
56341         (_int_new_arena): Likewise.
56342         (arena_get2): Likewise.
56343         * malloc/hooks.c (__malloc_get_state): Likewise.
56344         (__malloc_set_state): Likewise.
56345         * malloc/malloc.c: Likewise.
56346         (struct malloc_state): Likewise.
56347         (struct malloc_par): Likewise.
56348         (__libc_realloc): Likewise.
56349         (__libc_mallopt): Likewise.
56351 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56353         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
56355 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
56357         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
56358         macro to a function.  Check for zero perturb_byte.
56359         (_int_malloc, _int_free): Remove zero perturb_byte checks.
56361         * malloc/malloc.c: (force_reg): Remove.
56362         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
56363         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
56364         force_reg by atomic_forced_read.
56365         * malloc/arena.c (ptmalloc_init): Likewise.
56366         * malloc/hooks.c (top_check): Likewise.
56368 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56372 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
56374         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56376 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
56378         * math/auto-libm-test-in: Add tests of lgamma.
56379         * math/auto-libm-test-out: Regenerated.
56380         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
56381         (M_LOG_2_SQRT_PIl): Likewise.
56382         (lgamma_test_data): Use AUTO_TESTS_f_f1.
56383         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56384         mpfr_f_f1.
56385         (func_calc_desc): Add mpfr_f_f1 union field.
56386         (ARGS1): New macro.
56387         (ARGS2): Likewise.
56388         (ARGS3): Likewise.
56389         (ARGS4): Likewise.
56390         (RET1): Likewise.
56391         (RET2): Likewise.
56392         (CALC): Likewise.
56393         (FUNC): Likewise.
56394         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
56395         (test_functions): Add lgamma.
56396         (calc_generic_results): Handle mpfr_f_f1.
56397         * sysdeps/i386/fpu/libm-test-ulps: Update.
56398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56400 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56402         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
56403         __mpn_add_n for PowerPC64/POWER7.
56404         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
56405         __mpn_sub_n for PowerPC64/POWER7.
56407         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
56408         __mpn_addmul_1 for PowerPC64.
56409         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
56410         __mpn_submul_1 for PowerPC64.
56411         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
56412         for PowerPC64.
56413         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
56414         for PowerPC64.
56416 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
56418         [BZ #15089]
56419         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
56421 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56423         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
56425         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
56426         add multiarch folders.
56427         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
56428         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
56429         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
56430         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
56431         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
56432         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
56433         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
56434         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
56435         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
56436         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
56437         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
56438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
56439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
56440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
56441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
56442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
56443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
56445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56446         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
56447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
56448         New file.
56449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
56450         New file.
56451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
56452         multiarch __ieee754_hypot for PowerPC32.
56453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
56454         New file.
56455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
56456         New file.
56457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
56458         multiarch __ieee754_hypotf for PowerPC32.
56460         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
56461         long_double_symbol only if __logbl is defined.
56462         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
56463         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
56464         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
56465         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
56466         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
56467         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
56468         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
56469         path for implementation.
56470         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
56471         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
56472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
56473         logb, and logbl multiarch implementations for PowerPC32.
56474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
56475         file.
56476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
56477         file.
56478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
56479         multiarch logb for PowerPC32.
56480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
56481         file.
56482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
56483         file.
56484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
56485         multiarch logbf for PowerPC32.
56486         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
56487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
56488         file.
56489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
56490         multiarch logbl implementation for PowerPC32.
56492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
56493         and modff multiarch implementations.
56494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
56495         New file.
56496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
56497         New file.
56498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
56499         multiarch modf for PowerPC32.
56500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
56501         New file.
56502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
56503         New file.
56504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
56505         multiarch modff for PowerPC32.
56507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
56508         and lrintf multiarch implementations.
56509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
56510         New file.
56511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
56512         New file.
56513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
56514         multiarch lrint for PowerPC32.
56515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
56516         file: multiarch lrintf for PowerPC32.
56518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
56519         and lroundf multiarch implementations.
56520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
56521         New file.
56522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
56523         New file.
56524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
56525         New file.
56526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
56527         multiarch lround for PowerPC32.
56528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
56529         file: multiarch lroundf for PowerPC32.
56531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56532         copysign and copysignf multiarch implementations.
56533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
56534         New file.
56535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
56536         New file.
56537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
56538         file: multiarch copysign for PowerPC32.
56539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
56540         file: multiarch copysignf for PowerPC32.
56542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
56543         and truncf multiarch implementations.
56544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
56545         New file.
56546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
56547         file.
56548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
56549         multiarch trunc for PowerPC32.
56550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
56551         New file.
56552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
56553         New file.
56554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
56555         multiarch truncf for PowerPC32.
56557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
56558         and roundf multiarch implementations.
56559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
56560         New file.
56561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
56562         file.
56563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
56564         multiarch round for PowerPC32.
56565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
56566         New file.
56567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
56568         New file.
56569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
56570         multiarch roundf for PowerPC32.
56572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
56573         and floorf multiarch implementations.
56574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
56575         New file.
56576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
56577         file.
56578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
56579         multiarch floor for PowerPC32.
56580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
56581         New file.
56582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
56583         New file.
56584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
56585         multiarch floorf for PowerPC32.
56587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
56588         and ceilf multiarch implementations.
56589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
56590         New file.
56591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
56592         file.
56593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
56594         multiarch ceil for PowerPC32.
56595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
56596         New file.
56597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
56598         file.
56599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
56600         multiarch ceilf for PowerPC32.
56602         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
56603         is defined.
56604         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
56605         FINITEF is defined.
56606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
56607         and finitef multiarch implementations.
56608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
56609         New file.
56610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
56611         file.
56612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
56613         multiarch finite for PowerPC32.
56614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
56615         New file.
56616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
56617         file: multiarch finitef for PowerPC32.
56619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
56620         and isinff multiarch implementations.
56621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
56622         file.
56623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
56624         file.
56625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
56626         multiarch isinf for PowerPC32.
56627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
56628         New file.
56629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
56630         multiarch isinff for PowerPC32.
56632         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
56633         alias when __isnan is defined.
56634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
56635         and isnanf multiarch implementations.
56636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
56637         file.
56638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
56639         file.
56640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
56641         file.
56642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
56643         file.
56644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
56645         multiarch isnan for PowerPC32.
56646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
56647         New file.
56648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
56649         New file.
56650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
56651         multiarch isnanf for PowerPC32.
56653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
56654         and sqrtf multiarch implementations.
56655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
56656         file.
56657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
56658         file.
56659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
56660         multiarch sqrt for PowerPC32.
56661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
56662         file.
56663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
56664         file.
56665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
56666         multiarch sqrtf for PowerPC32.
56668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
56669         and llroundf multiarch implementations.
56670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
56671         New file.
56672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
56673         New file.
56674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
56675         New file.
56676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
56677         file: multiarch llround for PowerPC32.
56678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
56679         file: multiarch llroundf for PowerPC32.
56681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
56682         multiarch PowerPC32 fpu implementations.
56683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
56684         New file.
56685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
56686         New file.
56687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
56688         multiarch llrint for PowerPC32.
56689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
56690         New file.
56691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
56692         New file.
56693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
56694         file.
56696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
56698         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
56699         file.
56700         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
56701         file.
56702         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
56703         file.
56704         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
56705         multiarch wordcopy for PPC32.
56706         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
56707         wordcopy objects.
56708         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56709         (__libc_ifunc_impl_list): Likewise.
56710         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
56711         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
56712         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
56713         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
56714         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
56715         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
56717         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
56718         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
56719         file.
56720         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
56721         file.
56722         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
56723         file.
56724         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
56725         multiarch wcscpy for PPC32.
56726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
56727         multiarch objects.
56728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56729         (__libc_ifunc_impl_list): Likewise.
56730         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
56731         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
56732         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
56733         sysdeps/powerpc/power6/wcscpy.c.
56735         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
56736         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
56737         file.
56738         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
56739         file.
56740         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
56741         file.
56742         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
56743         multiarch wcsrchr for PPC32.
56744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
56745         multiarch objects.
56746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56747         (__libc_ifunc_impl_list): Likewise.
56748         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
56749         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
56750         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
56751         sysdeps/powerpc/power6/wcsrchr.c.
56753         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
56754         file.
56755         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
56756         file.
56757         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
56758         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
56759         multiarch wcschr for PPc32.
56760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
56761         multiarch objects.
56762         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56763         (__libc_ifunc_impl_list): Likewise.
56764         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
56765         * sysdeps/powerpc/power6/wcschr.c: ... to here.
56766         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
56767         sysdeps/powerpc/power6/wcschr.c.
56769         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
56770         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
56771         file.
56772         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
56773         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
56774         file: multiarch strchr for PPC32.
56775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
56776         multiarch objects.
56777         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56778         (__libc_ifunc_impl_list): Likewise.
56780         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
56781         name.
56782         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
56783         file.
56784         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
56785         file.
56786         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
56787         multiarch strchrnul for PPC32.
56788         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
56789         multiarch objects.
56790         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56791         (__libc_ifunc_impl_list): Likewise.
56793         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
56794         file.
56795         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
56796         multiarch strncasecmp for PPC32.
56797         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
56798         file.
56799         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
56800         multiarch strncasecmp_l for PPC32.
56801         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
56802         strncasecmp multiarch objects.
56803         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56804         (__libc_ifunc_impl_list): Likewise.
56806         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
56807         file.
56808         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
56809         multiarch strncasecmp for PPC32.
56810         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
56811         New file.
56812         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
56813         multiarch strcasecmp_l for PPC32.
56814         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
56815         multiarch objects.
56816         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56817         (__libc_ifunc_impl_list): Likewise.
56819         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
56820         file.
56821         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
56822         file.
56823         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
56824         multiarch strncmp for PPC32.
56825         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
56826         multiarch objects.
56827         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56828         (__libc_ifunc_impl_list): Likewise.
56830         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
56831         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
56832         file.
56833         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
56834         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
56835         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
56836         multiarch objects.
56837         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56838         (__libc_ifunc_impl_list): Likewise.
56840         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
56841         file.
56842         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
56843         file.
56844         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
56845         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
56846         multiarch objects.
56847         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56848         (__libc_ifunc_impl_list): Likewise.
56850         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
56851         file.
56852         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
56853         file.
56854         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
56855         multiarch rawmemchr for PPC32.
56856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
56857         multiarch objects.
56858         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56859         (__libc_ifunc_impl_list): Likewise.
56861         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
56862         file.
56863         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
56864         file.
56865         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
56866         file: memrchr multiarch for PPC32.
56867         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
56868         multiarch objects.
56869         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
56870         (__libc_ifunc_impl_list): Likewise.
56872         * string/memchr.c (__memchr): Using macro to redefine symbol name.
56873         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
56874         file.
56875         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
56876         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
56877         multiarch memchr for PPC32.
56878         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
56879         multiarch objects.
56880         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56881         (__libc_ifunc_impl_list): Likewise.
56883         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
56884         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
56885         file.
56886         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
56887         file.
56888         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
56889         file: multiarch mempcpy for PPC32.
56890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
56891         multiarch objects.
56892         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56893         (__libc_ifunc_impl_list): Likewise.
56895         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
56896         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
56897         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
56898         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
56899         multiarch bzero for PPC32.
56900         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
56901         file.
56902         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
56903         file.
56904         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
56905         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
56906         file: multiarch memset for PPC32.
56907         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
56908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
56909         memset multiarch objects.
56910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56911         (__libc_ifunc_impl_list): Likewise.
56913         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
56914         file.
56915         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
56916         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
56917         memcmp for PPC32.
56918         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
56919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
56920         multiarch objects.
56921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56922         (__libc_ifunc_impl_list): Likewise.
56924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
56925         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
56926         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
56927         file.
56928         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
56929         file.
56930         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
56931         file.
56932         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
56933         multiarch memcpy for PPC32.
56934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
56935         multiarch objects.
56936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
56937         (__libc_ifunc_impl_list): Likewise.
56939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
56940         support multiarch for POWER/PPC32.
56941         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
56942         Likewise.
56943         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
56944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
56945         Implies file to make multiarch folder appers before the fpu and
56946         default folder for power4 configuration.
56948 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56950         * scripts/bench.pl: Append volatile keyword to type.
56952 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56954         * sysdeps/sh/sotruss-lib.c: New file.
56955         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
56957 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56961 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
56963         [BZ #6810]
56964         * math/w_tgamma.c: Include <errno.h>.
56965         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
56966         * math/w_tgammaf.c: Include <errno.h>.
56967         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
56968         * math/w_tgammal.c: Include <errno.h>.
56969         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
56970         * math/auto-libm-test-in: Do not allow missing errno on tgamma
56971         underflow.  Add more tgamma tests.
56972         * math/auto-libm-test-out: Regenerated.
56973         * sysdeps/i386/fpu/libm-test-ulps: Update.
56974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56976         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
56977         sin, sinh, tan, tanh, tgamma, y0 and y1.
56978         * math/auto-libm-test-out: Regenerated.
56979         * math/libm-test.inc (TEST_COND_x86_64): New macro.
56980         (TEST_COND_x86): Likewise.
56981         (M_E2l): Remove macro.
56982         (M_E3l): Likewise.
56983         (M_2_SQRT_PIl): Likewise.
56984         (M_SQRT_PIl): Likewise.
56985         (M_1_DIV_El): Likewise.
56986         (log_test_data): Use AUTO_TESTS_f_f.
56987         (log10_test_data): Likewise.
56988         (log1p_test_data): Likewise.
56989         (log2_test_data): Likewise.
56990         (sin_test_data): Likewise.
56991         (sin_tonearest_test_data): Likewise.
56992         (sin_towardzero_test_data): Likewise.
56993         (sin_downward_test_data): Likewise.
56994         (sin_upward_test_data): Likewise.
56995         (sinh_test_data): Likewise.
56996         (sinh_tonearest_test_data): Likewise.
56997         (sinh_towardzero_test_data): Likewise.
56998         (sinh_downward_test_data): Likewise.
56999         (sinh_upward_test_data): Likewise.
57000         (tan_test_data): Likewise.
57001         (tan_tonearest_test_data): Likewise.
57002         (tan_towardzero_test_data): Likewise.
57003         (tan_downward_test_data): Likewise.
57004         (tan_upward_test_data): Likewise.
57005         (tanh_test_data): Likewise.
57006         (tgamma_test_data): Likewise.
57007         (y0_test_data): Likewise.
57008         (y1_test_data): Likewise.
57009         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
57010         (special_real_inputs): Add pi/4.
57011         * sysdeps/i386/fpu/libm-test-ulps: Update.
57012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57014 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57016         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
57017         "longjmp_target" static probes.
57018         (__longjmp): Rename to __longjmp_symbol.
57019         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57020         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
57021         on which longjmp to generate.
57022         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
57023         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
57024         probe.
57025         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57026         (__sigjmp_save): Rename to __sigjmp_save_symbol.
57027         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
57028         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
57029         and __sigjmp_save_symbol based on which sigsetjmp to generated.
57030         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
57032         __longjmp_symbol based on which __longjmp to generate.
57033         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
57034         probe.
57035         (setjmp): Rename to setjmp_symbol.
57036         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57037         (_setjmp): Rename to _setjmp_symbol.
57038         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57039         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
57040         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
57041         which setjmp to generate.
57042         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
57043         "longjmp_target" static probes.
57045 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57047         * benchtests/README: Add note about output arguments.
57048         * benchtests/bench-sincos.c: Remove file.
57049         * benchtests/sincos-inputs: New file.
57050         * scripts/bench.pl: Identify output arguments and define
57051         static variables for them.
57053         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
57055         [BZ #15941]
57056         * Makefile (INSTALL): Add install-plain.texi as the primary
57057         dependency.
57058         * manual/install-plain.texi: New file.
57059         * manual/install.texi: Include node directive only for
57060         non-plaintext output.
57062 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
57064         * stdlib/longlong.h: Update from GCC.
57066         [BZ #6807]
57067         [BZ #15901]
57068         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
57069         * math/w_j0f.c (y0f): Likewise.
57070         * math/w_j0l.c (__y0l): Likewise.
57071         * math/w_j1.c (y1): Likewise.
57072         * math/w_j1f.c (y1f): Likewise.
57073         * math/w_j1l.c (__y1l): Likewise.
57074         * math/w_jn.c (yn): Likewise.
57075         * math/w_jnf.c (ynf): Likewise.
57076         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
57077         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
57078         value for Bessel function domain errors outside _SVID_ mode.
57079         Adjust sign of return value for yn (negative integer, 0).
57080         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
57081         by zero in return for negative x and set sign appropriately for
57082         negative n.
57083         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
57084         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57085         * math/libm-test.inc (y0_test_data): Add more tests and adjust
57086         expectations in error cases.
57087         (y1_test_data): Likewise.
57088         (yn_test_data): Likewise.
57089         * sysdeps/i386/fpu/libm-test-ulps: Update.
57090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57092 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57094         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
57095         "64" to "64-v1".  Add "64-v2".
57096         (abi-64-options): Rename to ...
57097         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
57098         (abi-64-condition): Rename to ...
57099         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
57100         (abi-64-ld-soname): Rename to ...
57101         (abi-64-v1-ld-soname): ... this.
57102         (abi-64-v2-options): Define.
57103         (abi-64-v2-condition): Likewise.
57104         (abi-64-v2-ld-soname): Likewise.
57105         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
57106         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
57107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
57108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
57109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
57111 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57112             Alan Modra  <amodra@gmail.com>
57114         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
57115         New versions for use with the ELFv2 ABI.
57116         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
57117         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
57118         declaration.
57119         (struct La_ppc64v2_retval): Likewise.
57120         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
57121         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
57122         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
57123         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
57124         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
57125         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57126         Do not save or restore CR.
57127         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
57128         (_dl_profile_resolve): Do no save or restore CR.  Support extended
57129         return values for ELFv2 ABI.  Fix location of FPR return registers.
57130         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
57131         updated values for _CALL_ELF == 2.
57132         (La_regs, La_retval, int_retval): Likewise.
57134 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57136         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
57137         (FRAME_MIN_SIZE_PARM): Likewise.
57138         (FRAME_BACKCHAIN): Likewise.
57139         (FRAME_CR_SAVE): Likewise.
57140         (FRAME_LR_SAVE): Likewise.
57141         (FRAME_TOC_SAVE): Likewise.
57142         (FRAME_PARM_SAVE): Likewise.
57143         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
57144         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
57145         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57146         (call_mcount_parm_offset): New macro.
57147         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
57148         (PROF): Use symbolic stack frame offsets.
57149         (TAIL_CALL_SYSCALL_ERROR): Likewise.
57150         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
57151         Redefine in terms of FRAME_MIN_SIZE.
57152         (_dl_runtime_resolve): Use symbolic stack frame offsets.
57153         (_dl_profile_resolve): Likewise.  Update comment.
57154         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
57155         symbols stack frame offsets.
57156         (__sigsetjmp): Likewise.
57157         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
57158         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
57159         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
57160         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
57162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
57163         (FRAME_BACKCHAIN): Remove.
57164         (FRAME_CR_SAVE): Likewise.
57165         (FRAME_LR_SAVE): Likewise.
57166         (FRAME_COMPILER_DW): Likewise.
57167         (FRAME_LINKER_DW): Likewise.
57168         (FRAME_TOC_SAVE): Likewise.
57169         (FRAME_PARM_SAVE): Likewise.
57170         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
57171         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
57172         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
57174         (CHECK_SP): Use symbolic stack frame offsets.
57175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
57176         zone" instead of caller's parameter save area for temp storage.
57177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57178         Likewise.  Also, use symbolic stack frame offsets.
57179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
57180         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
57181         our own stack frame instead of the caller's.
57182         (__socket): Use symbolic stack frame offsets.
57184 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57185             Alan Modra  <amodra@gmail.com>
57187         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
57188         Define.
57189         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
57190         (PPC64_LOCAL_ENTRY_OFFSET): Define.
57191         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
57192         New function.
57193         (elf_machine_fixup_plt): Call it.
57194         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
57195         reloc arguments.
57196         (elf_machine_rela): Update call to elf_machine_plt_conflict.
57197         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
57198         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
57199         r2 before calling target.
57201 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57202             Alan Modra  <amodra@gmail.com>
57204         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
57205         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
57206         versions of macros to support ELFv2 ABI.
57207         (LOCALENTRY): New macro.
57208         (ENTRY, EALIGN): Use it.
57209         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
57210         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
57211         fall through into ENTRY entry point.
57212         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
57213         Only define if _CALL_ELF != 2.
57215         (elf_machine_matches_host): Verify ABI version matches.
57216         (RTLD_START): Use LOCALENTRY.
57217         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
57218         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
57219         (PLT_ENTRY_WORDS): New macro.
57220         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
57221         (elf_machine_runtime_setup): Support ELFv2 ABI.
57222         (elf_machine_fixup_plt): Likewise.
57223         (elf_machine_plt_conflict): Likewise.
57224         (resolve_ifunc): Likewise.
57225         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57226         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
57227         Likewise.
57228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
57229         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
57230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57231         (makecontext): Support ELFv2 ABI.
57232         * elf/elf.h (EF_PPC64_ABI): Define.
57234 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57236         * sysdeps/powerpc/powerpc64/sysdep.h
57237         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
57238         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
57239         (ENTRY) [ASSEMBLER]: ... but instead here ...
57240         (EALIGN) [ASSEMBLER]: ... and here.
57241         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
57242         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
57243         (ENTRY_2) [!ASSEMBLER]: Use it.
57244         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
57245         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
57246         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
57247         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
57248         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
57249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
57250         Use PPC64_LOAD_FUNCPTR.
57252         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
57254 2013-12-04  Alan Modra  <amodra@gmail.com>
57256         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
57257         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
57258         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
57259         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
57261         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
57262         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
57263         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
57264         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
57265         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
57266         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
57268 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57271         (__makecontext): Fix incorrect CFI when backtracing out of
57272         context created via makecontext.
57273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
57274         (__setcontext): Fix incorrect CFI during switch to new context.
57275         (__novec_setcontext): Likewise.
57277 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
57279         [BZ #4772]
57280         * time/strptime_l.c (__strptime_internal): Allow modifiers
57281         in strptime.
57282         * time/tst-strptime.c (day_tests): Add testcase.
57284 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57286         * scripts/bench.pl: Skip over blank lines.
57288 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
57290         [BZ #926]
57291         * manual/time.texi (Calendar Time): Clarify what timezone functions
57292         use.
57294 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57298 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
57300         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
57301         implementation.
57302         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
57303         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
57304         * debug/memset_chk.c (__memset_chk): Likewise.
57305         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
57306         * debug/strncpy_chk.c: Likewise.
57308 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57310         [BZ #15268]
57311         [BZ #15425]
57312         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
57313         (__ieee754_exp): For possibly underflowing results, check size of
57314         result and force underflow exception if required.
57315         * math/auto-libm-test-in: Add more tests of exp.
57316         * math/auto-libm-test-out: Regenerated.
57317         * sysdeps/i386/fpu/libm-test-ulps: Update.
57318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57320         [BZ #16283]
57321         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
57322         * math/w_exp2f.c (__exp2f): Likewise.
57323         * math/w_exp2l.c (__exp2l): Likewise.
57324         * math/auto-libm-test-in: Do not allow missing errno on exp2
57325         underflow.
57326         * math/auto-libm-test-out: Regenerated.
57328 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
57330         [BZ #16274]
57331         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
57332         handle filename validation.
57333         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
57334         (do_open): Delete.
57336 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57338         [BZ #6786]
57339         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
57340         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
57341         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
57342         <float.h>.
57343         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
57344         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
57345         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57346         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
57347         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57348         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
57349         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57350         * math/auto-libm-test-in: Don't allow missing errno from erfc.
57351         Add more erfc tests.
57352         * math/auto-libm-test-out: Regenerated.
57353         * sysdeps/i386/fpu/libm-test-ulps: Update.
57354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57356         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
57357         exp2, expm1, j0 and j1.
57358         * math/auto-libm-test-out: Regenerated.
57359         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
57360         (erfc_test_data): Likewise.
57361         (exp_test_data): Likewise.
57362         (exp_tonearest_test_data): Likewise.
57363         (exp_towardzero_test_data): Likewise.
57364         (exp_downward_test_data): Likewise.
57365         (exp_upward_test_data): Likewise.
57366         (exp10_test_data): Likewise.
57367         (exp2_test_data): Likewise.
57368         (expm1_test_data): Likewise.
57369         (j0_test_data): Likewise.
57370         (j1_test_data): Likewise.
57371         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
57372         (input_flag_type): Add flag_xfail_rounding.
57373         (input_flags): Add xfail-rounding.
57374         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
57375         (output_for_one_input_case): Handle flag_xfail_rounding.
57376         * sysdeps/i386/fpu/libm-test-ulps: Update.
57377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57379 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
57381         [BZ #16289]
57382         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
57383         division by 0.
57385 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57387         [BZ #16195]
57388         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
57389         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
57390         (STAP_PROBE0): New macro.
57391         (STAP_PROBE1): Likewise.
57392         (STAP_PROBE2): Likewise.
57393         (STAP_PROBE3): Likewise.
57394         (STAP_PROBE4): Likewise.
57396 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
57398         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
57400 2013-12-02  Steve Ellcey  <sellcey@mips.com>
57402         * benchtests/Makefile (bench): Add sqrt.
57403         (LDLIBS-bench-sqrt): New.
57404         * benchtests/sqrt-input: New.
57406 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
57408         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
57409         (GAIH_EAI): Likewise.
57410         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
57411         (gaih_inet): Likewise.
57412         (getaddrinfo): Don't use GAIH_EAI.
57414         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
57415         (struct gaih): Remove definition.
57417 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57419         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
57420         Use HERRNOP directly.
57422 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57426 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
57428         * math/gen-auto-libm-tests.c (test_functions): Add more
57429         single-argument functions.
57430         (special_fill_pi_2): New function.
57431         (special_fill_minus_pi_2): Likewise.
57432         (special_fill_pi_6): Likewise.
57433         (special_fill_minus_pi_6): Likewise.
57434         (special_fill_pi_3): Likewise.
57435         (special_fill_2pi_3): Likewise.
57436         (special_fill_e): Likewise.
57437         (special_fill_1_e): Likewise.
57438         (special_fill_e_minus_1): Likewise.
57439         (special_real_inputs): Add more special inputs.
57440         (output_for_one_input_case): Do not require ERANGE on underflow to
57441         zero if round-to-nearest result does not underflow to zero, unless
57442         exact results required.
57443         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
57444         atan, atanh, cbrt, cos and cosh.
57445         * math/auto-libm-test-out: Regenerated.
57446         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
57447         (acos_tonearest_test_data): Likewise.
57448         (acos_towardzero_test_data): Likewise.
57449         (acos_downward_test_data): Likewise.
57450         (acos_upward_test_data): Likewise.
57451         (acosh_test_data): Likewise.
57452         (asin_test_data): Likewise.
57453         (asin_tonearest_test_data): Likewise.
57454         (asin_towardzero_test_data): Likewise.
57455         (asin_upward_test_data): Likewise.
57456         (asinh_test_data): Likewise.
57457         (atan_test_data): Likewise.
57458         (atanh_test_data): Likewise.
57459         (cbrt_test_data): Likewise.
57460         (cos_test_data): Likewise.
57461         (cos_tonearest_test_data): Likewise.
57462         (cos_towardzero_test_data): Likewise.
57463         (cos_downward_test_data): Likewise.
57464         (cos_upward_test_data): Likewise.
57465         (cosh_test_data): Likewise.
57466         (cosh_tonearest_test_data): Likewise.
57467         (cosh_towardzero_test_data): Likewise.
57468         (cosh_downward_test_data): Likewise.
57469         (cosh_upward_test_data): Likewise.
57470         * sysdeps/i386/fpu/libm-test-ulps: Update.
57471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57473 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
57475         [BZ #6787]
57476         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
57477         * math/w_exp10f.c (__exp10f): Likewise.
57478         * math/w_exp10l.c (__exp10l): Likewise.
57479         * math/libm-test.inc (exp10_test_data): Add more tests and expect
57480         errno settings in existing tests.
57482         [BZ #14032]
57483         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
57484         precision control set to double precision.
57485         * sysdeps/i386/fpu/w_sqrt.c: New file.
57486         * math/auto-libm-test-in: Add more tests.
57487         * math/auto-libm-test-out: Update.
57489         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
57490         (sqrt_test_tonearest): New function.
57491         (sqrt_towardzero_test_data): New variable.
57492         (sqrt_test_towardzero): New function.
57493         (sqrt_downward_test_data): New variable.
57494         (sqrt_test_downward): New function.
57495         (sqrt_upward_test_data): New variable.
57496         (sqrt_test_upward): New function.
57497         (main): Call the new functions.
57499         * math/gen-auto-libm-tests.c: New file.
57500         * math/auto-libm-test-in: Likewise.
57501         * math/auto-libm-test-out: New generated file.
57502         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
57503         variables.
57504         (%beautify): Add generated representations of zero.
57505         (top level): Set $auto_input and call parse_auto_input.
57506         (beautify): Remove trailing "f" from hex float constants.
57507         (parse_args): Handle XFAIL_TEST.
57508         (convert_condition): New function.
57509         (or_value): Likewise.
57510         (or_cond_value): Likewise.
57511         (generate_testfile): Handle AUTO_TESTS_* lines.
57512         (parse_auto_input): New function.
57513         * math/libm-test.inc (XFAIL_TEST): New macro.
57514         (ERRNO_UNCHANGED): Update value.
57515         (ERRNO_EDOM): Likewise.
57516         (ERRNO_ERANGE): Likewise.
57517         (IGNORE_RESULT): Likewise.
57518         (TEST_COND_flt_32): New macro.
57519         (TEST_COND_dbl_64): Likewise.
57520         (TEST_COND_ldbl_96_intel): Likewise.
57521         (TEST_COND_ldbl_96_m68k): Likewise.
57522         (TEST_COND_ldbl_128): Likewise.
57523         (TEST_COND_ldbl_128ibm): Likewise.
57524         (TEST_COND_long32): Likewise.
57525         (TEST_COND_long64): Likewise.
57526         (TEST_COND_before_rounding): Likewise.
57527         (TEST_COND_after_rounding): Likewise.
57528         (enable_test): Handle XFAIL_TEST flag.
57529         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
57530         with finite results.
57531         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
57532         auto-libm-test-out.
57534 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57535             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57537         [BZ #16214]
57538         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
57539         __tls_get_addr_internal instead of __tls_get_offset in order to
57540         avoid GOT pointer dependency.  Make rtld export
57541         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
57542         __tls_get_addr since we are a __tls_get_offset platform.
57543         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
57544         GOT pointer being set up before.
57545         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
57547 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
57549         * manual/math.texi (Errors in Math Functions): Document accuracy
57550         goals.
57552         [BZ #15004]
57553         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
57554         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
57555         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57556         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57557         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57558         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57559         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57560         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57561         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57562         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57563         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57564         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57565         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57566         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57567         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57568         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57570         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
57571         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
57572         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
57573         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
57574         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
57575         Likewise.
57576         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
57577         Likewise.
57578         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
57579         Likewise.
57580         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
57581         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
57582         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
57583         atomic-feupdateenv and flt-rounds.
57584         * sysdeps/powerpc/nofpu/Versions (libc): Add
57585         __atomic_feholdexcept, __atomic_feclearexcept,
57586         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
57587         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
57588         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
57589         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
57590         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
57591         here.
57592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
57593         Update.
57595         * manual/arith.texi (FP Exceptions): Document that exceptions may
57596         not be raised when matherr is used.
57597         (Math Error Reporting): Document overflow in directed rounding
57598         modes.  Document that errno may not be set when finite values are
57599         returned on overflow.  Document intent to set errno on underflow
57600         only for underflow to zero.
57602         [BZ #16271]
57603         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
57604         round-to-nearest then adjust result for other rounding modes.
57605         * include/fenv.h (fegetround): Use libm_hidden_proto.
57606         * math/fegetround.c (fegetround): Use libm_hidden_def.
57607         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
57608         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
57609         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57610         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
57611         Likewise.
57612         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
57613         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57614         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
57615         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
57617 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57619         [BZ #16077]
57620         * nss/Versions (libnss_files): Add
57621         _nss_files_gethostbyname3_r.
57622         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
57623         New function.
57624         (HOST_DB_LOOKUP): Remove macro.
57625         (_nss_files_gethostbyname_r): Implement function without the
57626         HOST_DB_LOOKUP macro.
57627         (_nss_files_gethostbyname2_r): Likewise.
57629 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
57631         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
57633 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
57635         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
57636         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
57637         warning.
57639 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57641         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
57642         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
57643         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
57644         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
57645         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
57646         __fe_nomask_env_priv and attribute_hidden.
57647         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
57648         (libc_feupdateenv_test_ppc): Likewise.
57649         (libc_feresetround_ppc): Likewise.
57650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57651         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
57652         compat_symbol macro.
57653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57654         (__fe_nomask_env): Likewise.
57655         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
57657 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57659         * string/Makefile: Remove ifunc tests.
57660         * string/test-string.h: Define TEST_IFUNC.
57661         * string/test-bcopy-ifunc.c: Remove.
57662         * string/test-bzero-ifunc.c: Likewise.
57663         * string/test-memccpy-ifunc.c: Likewise.
57664         * string/test-memchr-ifunc.c: Likewise.
57665         * string/test-memcmp-ifunc.c: Likewise.
57666         * string/test-memcpy-ifunc.c: Likewise.
57667         * string/test-memmem-ifunc.c: Likewise.
57668         * string/test-memmove-ifunc.c: Likewise.
57669         * string/test-mempcpy-ifunc.c: Likewise.
57670         * string/test-memrchr-ifunc.c: Likewise.
57671         * string/test-memset-ifunc.c: Likewise.
57672         * string/test-rawmemchr-ifunc.c: Likewise.
57673         * string/test-stpcpy-ifunc.c: Likewise.
57674         * string/test-stpncpy-ifunc.c: Likewise.
57675         * string/test-strcasecmp-ifunc.c: Likewise.
57676         * string/test-strcasestr-ifunc.c: Likewise.
57677         * string/test-strcat-ifunc.c: Likewise.
57678         * string/test-strchr-ifunc.c: Likewise.
57679         * string/test-strchrnul-ifunc.c: Likewise.
57680         * string/test-strcmp-ifunc.c: Likewise.
57681         * string/test-strcpy-ifunc.c: Likewise.
57682         * string/test-strcspn-ifunc.c: Likewise.
57683         * string/test-strlen-ifunc.c: Likewise.
57684         * string/test-strncasecmp-ifunc.c: Likewise.
57685         * string/test-strncat-ifunc.c: Likewise.
57686         * string/test-strncmp-ifunc.c: Likewise.
57687         * string/test-strncpy-ifunc.c: Likewise.
57688         * string/test-strnlen-ifunc.c: Likewise.
57689         * string/test-strpbrk-ifunc.c: Likewise.
57690         * string/test-strrchr-ifunc.c: Likewise.
57691         * string/test-strspn-ifunc.c: Likewise.
57692         * string/test-strstr-ifunc.c: Likewise.
57694 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57696         * benchtests/Makefile: Remove ifunc tests.
57697         * benchtests/bench-string.h: Define TEST_IFUNC.
57698         * benchtests/bench-bcopy-ifunc.c: Remove.
57699         * benchtests/bench-bzero-ifunc.c: Likewise.
57700         * benchtests/bench-memccpy-ifunc.c: Likewise.
57701         * benchtests/bench-memchr-ifunc.c: Likewise.
57702         * benchtests/bench-memcmp-ifunc.c: Likewise.
57703         * benchtests/bench-memcpy-ifunc.c: Likewise.
57704         * benchtests/bench-memmem-ifunc.c: Likewise.
57705         * benchtests/bench-memmove-ifunc.c: Likewise.
57706         * benchtests/bench-mempcpy-ifunc.c: Likewise.
57707         * benchtests/bench-memrchr-ifunc.c: Likewise.
57708         * benchtests/bench-memset-ifunc.c: Likewise.
57709         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
57710         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
57711         * benchtests/bench-stpcpy-ifunc.c: Likewise.
57712         * benchtests/bench-stpncpy-ifunc.c: Likewise.
57713         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
57714         * benchtests/bench-strcasestr-ifunc.c: Likewise.
57715         * benchtests/bench-strcat-ifunc.c: Likewise.
57716         * benchtests/bench-strchr-ifunc.c: Likewise.
57717         * benchtests/bench-strchrnul-ifunc.c: Likewise.
57718         * benchtests/bench-strcmp-ifunc.c: Likewise.
57719         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
57720         * benchtests/bench-strcpy-ifunc.c: Likewise.
57721         * benchtests/bench-strcspn-ifunc.c: Likewise.
57722         * benchtests/bench-strlen-ifunc.c: Likewise.
57723         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
57724         * benchtests/bench-strncat-ifunc.c: Likewise.
57725         * benchtests/bench-strncmp-ifunc.c: Likewise.
57726         * benchtests/bench-strncpy-ifunc.c: Likewise.
57727         * benchtests/bench-strnlen-ifunc.c: Likewise.
57728         * benchtests/bench-strpbrk-ifunc.c: Likewise.
57729         * benchtests/bench-strrchr-ifunc.c: Likewise.
57730         * benchtests/bench-strsep-ifunc.c: Likewise.
57731         * benchtests/bench-strspn-ifunc.c: Likewise.
57732         * benchtests/bench-strstr-ifunc.c: Likewise.
57734 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57736         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
57738 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57740         * resolv/netdb.h: Use __glibc_reserved instead __unused.
57741         * rt/aio.h: Likewise.
57742         * sysdeps/gnu/bits/utmp.h: Likewise.
57743         * sysdeps/gnu/bits/utmpx.h: Likewise.
57744         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57745         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
57746         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
57747         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
57748         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
57749         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
57750         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
57751         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
57752         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
57753         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
57754         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
57755         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
57756         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
57757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
57758         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
57759         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
57760         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
57761         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
57762         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
57763         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
57764         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
57765         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
57766         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
57767         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57768         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
57769         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57770         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
57771         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
57772         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
57773         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
57774         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
57775         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
57776         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
57777         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
57778         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
57779         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
57780         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
57781         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
57782         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
57783         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
57784         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
57785         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
57787 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
57789         [BZ #16245]
57790         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
57791         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
57793 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
57795         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
57796         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
57797         Likewise.
57799 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57801         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
57802         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
57803         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
57804         (__fesetround): Remove define.
57805         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
57806         rounding and exceptions handling.
57807         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
57808         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
57809         (__fe_nomask_env): Likewise.
57810         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
57811         __fegetround instead of fegetround.
57812         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57813         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
57815 2013-11-21  Roland McGrath  <roland@hack.frob.com>
57817         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
57818         it's there.
57820         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
57822 2013-11-21  Meador Inge  <meadori@codesourcery.com>
57824         [BZ #11157]
57825         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
57826         (encrypt_r): Likewise.
57827         * malloc/obstack.h (obstack_free): Likewise.
57828         * posix/unistd.h (encrypt): Likewise.
57830 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
57832         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
57833         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
57834         DL_CALL_DT_FINI() that call the functions directly.
57835         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
57836         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
57837         * elf/dl-fini.c: Likewise.
57839 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
57841         * malloc/hooks.c (memalign_check): Add alignment rounding.
57842         * malloc/malloc.c (_mid_memalign): New function.
57843         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
57844         Implement by calling _mid_memalign.
57845         * manual/probes.texi (Memory Allocation Probes): Remove
57846         memory_valloc_retry and memory_pvalloc_retry.
57848 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57850         * locale/programs/locarchive.c (open_archive): Add const
57851         qualifier to ARCHIVEFNAME and copy default fname to
57852         DEFAULT_FNAME.
57854         [BZ #15601]
57855         * libio/tst-widetext.input: Rename Oriya to Odia.
57856         * locale/iso-639.def: Likewise.
57858         * manual/probes.texi (Mathematical Function Probes): Add
57859         documentation for sin, cos, asin and acos probes.
57860         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
57861         (__sin32): Add slowasin probe.
57862         (__cos32): Add slowacos probe.
57863         (__mpsin): Add slowsin probe.
57864         (__mpcos): Add slowcos probe.
57866 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
57868         [BZ #15483]
57869         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
57870         thread-local __sim_exceptions_thread and global
57871         __sim_exceptions_global.
57872         (__sim_disabled_exceptions): Change to thread-local
57873         __sim_disabled_exceptions_thread and global
57874         __sim_disabled_exceptions_global.
57875         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
57876         and global __sim_round_mode_global.
57877         (__simulate_exceptions): Use thread-local floating-point state and
57878         set global state from it as needed.
57879         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
57880         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
57881         __sim_round_mode_thread.
57882         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
57883         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
57884         and global __sim_exceptions_global.
57885         (__sim_disabled_exceptions): Change to thread-local
57886         __sim_disabled_exceptions_thread and global
57887         __sim_disabled_exceptions_global.
57888         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
57889         and global __sim_round_mode_global.
57890         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
57891         (SIM_SET_GLOBAL): Likewise.
57892         * sysdeps/powerpc/soft-fp/sfp-machine.h
57893         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
57894         __sim_round_mode_thread.
57895         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
57896         __sim_disabled_exceptions_thread.
57897         (__sim_exceptions): Change to __sim_exceptions_thread.
57898         (__sim_disabled_exceptions): Change to
57899         __sim_disabled_exceptions_thread.
57900         (__sim_round_mode): Change to __sim_round_mode_thread.
57901         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
57902         thread-local floating-point state and set global state from it as
57903         needed.
57904         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
57905         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
57906         (__sim_disabled_exceptions): Remove extern declaration.
57907         (feenableexcept): Use thread-local floating-point state and set
57908         global state from it as needed.
57909         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
57910         extern declaration.
57911         (__sim_disabled_exceptions): Likewise.
57912         (__sim_round_mode): Likewise.
57913         (__fegetenv): Use thread-local floating-point state.
57914         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
57915         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57916         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
57917         floating-point state and set global state from it as needed.
57918         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
57919         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
57920         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
57921         Likewise.
57922         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
57923         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
57924         Likewise.
57925         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
57926         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
57927         Use __sim_round_mode_thread.
57928         * math/test-fenv-tls.c: New file.
57929         * math/Makefile (tests): Add test-fenv-tls.
57930         ($(objpfx)test-fenv-tls): Depend on
57931         $(common-objpfx)nptl/libpthread.so.
57933 2013-11-19  Andreas Schwab  <schwab@suse.de>
57935         * locale/programs/locale.c (show_info): Decode wordarray elements.
57936         * locale/categories.def (LC_MONETARY): Add element for
57937         _NL_MONETARY_CRNCYSTR.
57938         * locale/C-monetary.c (conversion_rate): New variable.
57939         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
57940         element.
57942 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
57944         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
57945         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
57947 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57949         * elf/Makefile (tst-auxv): New test.
57950         * elf/tst-auxv.c: New
57951         * elf/rtld.c (dl_main): Adjust AT_EXECFN
57953 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
57955         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
57956         (hidden_proto): Caller changed.
57957         (hidden_tls_proto): New macro.
57958         (libc_hidden_tls_proto): Likewise.
57959         (rtld_hidden_tls_proto): Likewise.
57960         (libm_hidden_tls_proto): Likewise.
57961         (libresolv_hidden_tls_proto): Likewise.
57962         (librt_hidden_tls_proto): Likewise.
57963         (libdl_hidden_tls_proto): Likewise.
57964         (libnss_files_hidden_tls_proto): Likewise.
57965         (libnsl_hidden_tls_proto): Likewise.
57966         (libnss_nisplus_hidden_tls_proto): Likewise.
57967         (libutil_hidden_tls_proto): Likewise.
57969 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
57971         [BZ #10253]
57972         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
57973         (decompose_rpath): Defer expansion to fillin_rpath.
57974         (_dl_init_paths): Pass linkmap to fillin_rpath.
57976 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57978         * benchtests/Makefile: Add strsep.
57979         * benchtests/bench-strsep.c: New file: strsep benchtest.
57980         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
57982 2013-11-18  Andreas Schwab  <schwab@suse.de>
57984         * locale/programs/locale.c (show_info) [case byte]: Check for
57985         '\377' instead of '\177'.
57986         * locale/C-monetary.c (not_available): Always use "\377".
57987         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
57988         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
57989         detect unavailable sign_posn locale elements.
57990         * locale/localeconv.c (__localeconv): For grouping and
57991         mon_grouping handle "\177" and "\377" like no grouping.
57992         (INT_ELEM): New macro.  Use it to set all numeric members.
57993         * locale/programs/ld-monetary.c (monetary_read)
57994         <tok_mon_grouping>: Normalize single -1 to the empty string.
57995         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
57996         Likewise.
57998 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
58000         [BZ #16055]
58001         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
58002         when we match (nil).
58003         * stdio-common/tst-sscanf.c (struct test): Add testcase.
58005 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
58007         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
58008         (NO_TEST_INLINE): Update value.
58009         (ERRNO_UNCHANGED): Likewise.
58010         (ERRNO_EDOM): Likewise.
58011         (ERRNO_ERANGE): Likewise.
58012         (IGNORE_RESULT): Likewise.
58013         (check_float_internal): Check signs of NaN results if
58014         TEST_NAN_SIGN used.
58015         (check_complex): Pass TEST_NAN_SIGN flag through to second
58016         check_float_internal call.
58017         (copysign_test_data): Add tests with quiet NaNs as second
58018         argument.  Use TEST_NAN_SIGN.
58019         (fabs_test_data): Add test of negative quiet NaN argument.  Use
58020         TEST_NAN_SIGN.
58021         (signbit_test_data): Add tests of quiet NaN argument.
58022         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
58024         * math/gen-libm-test.pl (show_exceptions): Take extra argument
58025         $ignore_result.
58026         (parse_args): Handle function results specified as IGNORE.
58027         * math/libm-test.inc (IGNORE_RESULT): New macro.
58028         (check_float_internal): Do not check numerical result if flag
58029         IGNORE_RESULT set.
58030         (check_complex): Pass through IGNORE_RESULT to second
58031         check_float_internal call.
58032         (check_int): Do not check numerical result if flag IGNORE_RESULT
58033         set.
58034         (check_long): Likewise.
58035         (check_bool): Likewise.
58036         (check_longlong): Likewise.
58037         (lrint_test_data): Add tests of infinite and NaN arguments.
58038         (lrint_tonearest_test_data): Likewise.
58039         (lrint_towardzero_test_data): Likewise.
58040         (lrint_downward_test_data): Likewise.
58041         (lrint_upward_test_data): Likewise.
58042         (llrint_test_data): Likewise.
58043         (llrint_tonearest_test_data): Likewise.
58044         (llrint_towardzero_test_data): Likewise.
58045         (llrint_downward_test_data): Likewise.
58046         (llrint_upward_test_data): Likewise.
58047         (lround_test_data): Likewise.
58048         (llround_test_data): Likewise.
58050         * math/libm-test.inc (NO_TEST_INLINE): New macro.
58051         (ERRNO_UNCHANGED): Update value.
58052         (ERRNO_EDOM): Likewise.
58053         (ERRNO_ERANGE): Likewise.
58054         (NO_TEST_INLINE_FLOAT): New macro.
58055         (NO_TEST_INLINE_DOUBLE): Likewise.
58056         (enable_test): New function.
58057         (RUN_TEST_f_f): Check enable_test before running test.
58058         (RUN_TEST_2_f): Likewise.
58059         (RUN_TEST_fff_f): Likewise.
58060         (RUN_TEST_c_f): Likewise.
58061         (RUN_TEST_f_f1): Likewise.
58062         (RUN_TEST_fF_f1): Likewise.
58063         (RUN_TEST_fI_f1): Likewise.
58064         (RUN_TEST_ffI_f1): Likewise.
58065         (RUN_TEST_c_c): Likewise.
58066         (RUN_TEST_cc_c): Likewise.
58067         (RUN_TEST_f_i): Likewise.
58068         (RUN_TEST_f_i_tg): Likewise.
58069         (RUN_TEST_ff_i_tg): Likewise.
58070         (RUN_TEST_f_b): Likewise.
58071         (RUN_TEST_f_b_tg): Likewise.
58072         (RUN_TEST_f_l): Likewise.
58073         (RUN_TEST_f_L): Likewise.
58074         (RUN_TEST_fFF_11): Likewise.
58075         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
58076         conditionals.
58077         (cosh_test_data): Likewise.
58078         (exp_test_data): Likewise.
58079         (expm1_test_data): Likewise.
58080         (hypot_test_data): Likewise.
58081         (pow_test_data): Likewise.
58082         (sinh_test_data): Likewise.
58083         (tanh_test_data): Likewise.
58084         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
58085         flags argument.
58087         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
58088         tests with quiet NaN input and output.
58089         (acosh_test_data): Likewise.
58090         (asin_test_data): Likewise.
58091         (asinh_test_data): Likewise.
58092         (atan_test_data): Likewise.
58093         (atanh_test_data): Likewise.
58094         (atan2_test_data): Likewise.
58095         (cbrt_test_data): Likewise.
58096         (cos_test_data): Likewise.
58097         (cosh_test_data): Likewise.
58098         (erf_test_data): Likewise.
58099         (erfc_test_data): Likewise.
58100         (exp_test_data): Likewise.
58101         (exp10_test_data): Likewise.
58102         (exp2_test_data): Likewise.
58103         (expm1_test_data): Likewise.
58104         (hypot_test_data): Likewise.
58105         (j0_test_data): Likewise.
58106         (j1_test_data): Likewise.
58107         (jn_test_data): Likewise.
58108         (lgamma_test_data): Likewise.
58109         (log_test_data): Likewise.
58110         (log10_test_data): Likewise.
58111         (log1p_test_data): Likewise.
58112         (log2_test_data): Likewise.
58113         (pow_test_data): Likewise.
58114         (scalb_test_data): Likewise.
58115         (sin_test_data): Likewise.
58116         (sincos_test_data): Likewise.
58117         (sinh_test_data): Likewise.
58118         (tan_test_data): Likewise.
58119         (tanh_test_data): Likewise.
58120         (tgamma_test_data): Likewise.
58121         (y0_test_data): Likewise.
58122         (y1_test_data): Likewise.
58123         (yn_test_data): Likewise.
58125         [BZ #16167]
58126         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
58127         argument being NaN and avoid computations with second argument in
58128         that case.
58129         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
58130         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
58131         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
58133 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
58135         * locale/iso-639.def: Add Chitwani Tharu (the).
58137 2013-11-14  Andreas Schwab  <schwab@suse.de>
58139         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
58140         word instead of empty string.
58142 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58145         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
58146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58147         (__fe_nomask_env): Likewise.
58149 2013-11-13  Steve Ellcey  <sellcey@mips.com>
58151         * benchtests/bench-timing.h: Include time.h.
58153 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
58155         [BZ #15997]
58156         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
58157         to 3.4.0 for x32.
58158         * sysdeps/unix/sysv/linux/configure: Regenerated.
58160 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
58162         [BZ #16151]
58163         * stdlib/strtod_l.c (round_and_return): Do not consider
58164         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
58165         exponent one less than half the least subnormal exponent.
58166         * stdlib/test-strtod-round-data: Add more tests.
58167         * stdlib/tst-strtod-round.c (tests): Regenerated.
58169 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58171         [BZ #14143]
58172         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
58173         (__fe_mask_env): Likewise.
58174         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
58175         libm_hidden_proto and add function prototype.
58176         (__fe_mask_env): Add function prototype.
58177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58178         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
58179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58180         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
58181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58182         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
58184 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58186         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
58187         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
58189 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58191         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
58192         of htab_find_slot().
58194 2013-11-11  David S. Miller  <davem@davemloft.net>
58196         [BZ #16150]
58197         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
58198         symbol in the non-vis3 case in static builds.
58199         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
58200         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
58201         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
58202         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
58204 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
58206         [BZ #387]
58207         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
58208         it is empty.
58210 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58212         * benchtests/Makefile: Add bench-strtod.
58213         * benchtests/bench-strtod.c: New file: strtod benchtest
58215 2013-11-11  Andreas Schwab  <schwab@suse.de>
58217         [BZ #16153]
58218         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
58219         terminating NUL in key length.
58221 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58223         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
58224         Add artificial ODP entry for vDSO symbol for PPC64.
58225         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
58226         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
58228 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
58230         [BZ #15374]
58231         * nss/getent.c (services_keys): Recognize services starting with digit.
58233 2013-11-06  David S. Miller  <davem@davemloft.net>
58235         [BZ #15985]
58236         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
58237         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
58239 2013-11-06  Will Newton  <will.newton@linaro.org>
58241         * manual/memory.texi (Malloc Examples): Remove register
58242         keyword from examples.
58244 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
58246         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
58248 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
58250         [BZ #6981]
58251         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
58252         depending on [__GCC_IEC_559 > 0].
58253         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
58254         depending on [__GCC_IEC_559_COMPLEX > 0].
58256 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
58258         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
58259         to iso-639.def.
58261 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
58263         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
58265 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
58267         [BZ #16112]
58268         * malloc/malloc (malloc_info): Do not handle first bin as
58269         special case.
58271 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
58273         * locale/iso-639.def: Add Central Nahuatl (nhn).
58275 2013-11-01  Bruno Haible  <bruno@clisp.org>
58277         [BZ #7003]
58278         * manual/math.texi (BSD Random): Specify range upper bound as
58279         in POSIX.
58281 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
58283         * locale/iso-639.def: Add Meadow Mari (mhr).
58285 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
58287         [BZ #14752], [BZ #15763]
58288         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
58289         Validate name.
58290         * rt/tst_shm.c: Add test for escaping directory.
58292 2013-10-31  Andreas Schwab  <schwab@suse.de>
58294         [BZ #15917]
58295         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
58296         followed by 'x' as part of digit sequence.
58297         * stdio-common/tst-sscanf.c (double_tests2): New tests.
58299 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
58301         [BZ #16037]
58302         * configure.ac: allow GNU Make 4.0 and greater.
58303         * configure: Regenerated.
58305 2013-10-30  Will Newton  <will.newton@linaro.org>
58307         [BZ #16038]
58308         * malloc/hooks.c (memalign_check): Limit alignment to the
58309         maximum representable power of two.
58310         * malloc/malloc.c (__libc_memalign): Likewise.
58311         * malloc/tst-memalign.c (do_test): Add test for very
58312         large alignment values.
58313         * malloc/tst-posix_memalign.c (do_test): Likewise.
58315 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58317         [BZ #11087]
58318         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
58319         (munmap_chunk): Likewise.
58320         (mremap_chunk): Likewise.
58322 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58324         [BZ #15799]
58325         * stdlib/div.c (div): Remove obsolete code.
58326         * stdlib/ldiv.c (ldiv): Likewise.
58327         * stdlib/lldiv.c (lldiv): Likewise.
58329 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58331         [BZ #16071]
58332         * nss/nss_files/files-XXX.c (get_contents_ret): New
58333         enumerator.
58334         (get_contents): New function.
58335         (internal_getent): Use it.  Expand size of LINEBUFLEN.
58337 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
58339         * configure.in: Moved to ...
58340         * configure.ac: ... here. Change reference to configure.in
58341         to configure.ac.
58342         * sysdeps/arm/preconfigure.ac: ... here.
58343         configure.in to configure.ac.
58344         * sysdeps/gnu/configure.in: Moved to ...
58345         * sysdeps/gnu/configure.ac: ... here.
58346         * sysdeps/i386/configure.in: Moved to ...
58347         * sysdeps/i386/configure.ac: ... here.
58348         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
58349         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
58350         * sysdeps/mach/configure.in: Moved to ...
58351         * sysdeps/mach/configure.ac: ... here.
58352         * sysdeps/mach/hurd/configure.in: Moved to ...
58353         * sysdeps/mach/hurd/configure.ac: ... here.
58354         * sysdeps/powerpc/configure.in: Moved to ...
58355         * sysdeps/powerpc/configure.ac: ... here.
58356         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
58357         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
58358         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
58359         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
58360         * sysdeps/s390/s390-32/configure.in: Moved to ...
58361         * sysdeps/s390/s390-32/configure.ac: ... here.
58362         * sysdeps/s390/s390-64/configure.in: Moved to ...
58363         * sysdeps/s390/s390-64/configure.ac: ... here.
58364         * sysdeps/sh/configure.in: Moved to ...
58365         * sysdeps/sh/configure.ac: ... here.
58366         * sysdeps/sparc/configure.in: Moved to ...
58367         * sysdeps/sparc/configure.ac: ... here.
58368         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
58369         * sysdeps/unix/sysv/linux/configure.ac: ... here.
58370         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
58371         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
58372         * sysdeps/x86_64/configure.in: Moved to ...
58373         * sysdeps/x86_64/configure.ac: ... here.
58374         * sysdeps/x86_64/preconfigure.in: Moved to ...
58375         * sysdeps/x86_64/preconfigure.ac: ... here.
58376         * aclocal.m4: Change reference to configure.in to configure.ac.
58377         * config.h.in: Likewise.
58378         * manual/install.texi: Likewise.
58379         * manual/maint.texi: Likewise.
58380         * Makefile: Likewise.
58381         * malloc/Makefile: Likewise.
58382         * nscd/Makefile: Likewise.
58383         * Makeconfig: Change reference to configure.in and
58384         preconfigure.in to configure.ac and preconfigure.ac
58385         respectively.
58386         * INSTALL: Regenerated.
58387         * configure: Likewise.
58388         * sysdeps/gnu/configure: Likewise.
58389         * sysdeps/i386/configure: Likewise.
58390         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
58391         * sysdeps/mach/configure: Likewise.
58392         * sysdeps/mach/hurd/configure: Likewise.
58393         * sysdeps/powerpc/configure: Likewise.
58394         * sysdeps/powerpc/powerpc32/configure: Likewise.
58395         * sysdeps/powerpc/powerpc64/configure: Likewise.
58396         * sysdeps/s390/s390-32/configure: Likewise.
58397         * sysdeps/s390/s390-64/configure: Likewise.
58398         * sysdeps/sh/configure: Likewise.
58399         * sysdeps/sparc/configure: Likewise.
58400         * sysdeps/unix/sysv/linux/configure: Likewise.
58401         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
58402         * sysdeps/x86_64/configure: Likewise.
58403         * sysdeps/x86_64/preconfigure: Likewise.
58405 2013-10-29  Andreas Schwab  <schwab@suse.de>
58407         * stdio-common/Makefile (tst-swscanf-ENV): Define.
58409 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58411         * benchtests/pow-inputs: Add new inputs.
58413         * benchtests/exp-inputs: Add new inputs.
58415         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
58416         conditional check for return value.
58417         (__cos32): Likewise.
58419 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58421         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
58422         to provide a boost for large inputs with word alignment.
58423         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
58424         implementation based on optimized PPC64 strcpy.
58425         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
58426         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
58427         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
58428         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
58430 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58432         [BZ #2801]
58433         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
58435 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58437         [BZ #14876]
58438         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
58439         * time/tst-strptime.c (day_tests): Add testcase.
58441 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58443         [BZ #14029]
58444         * manual/pattern.texi: Acknowledge that fnmatch can fail.
58446 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
58448         [BZ #16074]
58449         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
58450         MAP_FAILED on error.
58452 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58454         [BZ #16072]
58455         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
58456         heap for large requests.
58458 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
58460         [BZ #9954]
58461         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
58462         result if the result has no associated interface.
58463         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
58464         interface for all 127.X.Y.Z addresses.
58466 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
58468         * locale/iso-639.def: Add Ligurian (lij)
58470 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
58472         [BZ #15825]
58473         * sunrpc/rpc_main.c: Document rpcgen -5.
58475 2013-10-19  Michael Stahl  <mstahl@redhat.com>
58477         * elf/rtld.c (do_preload): Print the reason why preloading failed.
58479 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58481         [BZ #10278]
58482         * posix/glob.c: Match only directories when trailing slash is present.
58483         * posix/tst-gnuglob.c (my_opendir): Do not open files.
58484         (main): Add testcase.
58486 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58488         [BZ #15670]
58489         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
58491 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
58493         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
58494         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
58495         AUTH_DES and cindex for FIPS 140-2.
58496         (DES Encryption): Add cindex FIPS 46-3.
58498         * locale/locarchive.h (struct locarhandle): Add fname.
58499         * locale/programs/localedef.c (main): Pass ARGV[remaining]
58500         if an optional argument was specified to --list-archive,
58501         otherwise NULL.
58502         * locale/programs/locarchive.c (show_archive_content): Take new
58503         argument fname and pass it via ah.fname to open_archive.
58504         * locale/programs/localedef.h: Update decl.
58505         (open_archive): If AH->fname is non-null, open that file
58506         rather than the default file name, and don't ignore ENOENT.
58507         (create_archive): Set AH.fname to NULL.
58508         (delete_locales_from_archive): Likewise.
58509         (add_locales_to_archive): Likewise.
58510         * locale/programs/locfile.c (write_all_categories): Likewise.
58512 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
58513             Aldy Hernandez  <aldyh@redhat.com>
58515         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
58516         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
58517         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
58518         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
58519         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
58520         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
58521         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
58522         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
58523         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
58524         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
58525         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
58526         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
58527         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
58528         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
58529         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
58530         Likewise.
58531         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
58532         Likewise.
58533         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
58534         Likewise.
58535         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
58536         Likewise.
58537         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
58538         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
58539         Likewise.
58540         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
58541         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
58542         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
58543         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
58544         Likewise.
58545         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
58546         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
58547         * sysdeps/powerpc/preconfigure: Likewise.
58548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
58549         Likewise.
58550         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
58551         Replace contents of file by #include of <fenv_libc.h>.
58552         * sysdeps/powerpc/soft-fp/sfp-machine.h
58553         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
58554         and <sys/prctl.h>.
58555         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
58556         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
58557         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
58558         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
58559         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
58560         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
58561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
58562         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
58563         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
58564         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
58565         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
58566         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
58567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58568         Allow copysignl PLT reference to be missing.
58570 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
58571             Joseph Myers  <joseph@codesourcery.com
58573         [BZ #15948]
58574         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
58575         single character.
58576         (add_to_tablewc): Assert sequence of wide characters is nonempty.
58578 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58580         * elf/tst-tls-dlinfo.c: Don't include tls.h.
58581         * elf/tst-tls1.c: Likewise.
58582         * elf/tst-tls10.h: Likewise.
58583         * elf/tst-tls14.c: Likewise.
58584         * elf/tst-tls2.c: Likewise.
58585         * elf/tst-tls3.c: Likewise.
58586         * elf/tst-tls4.c: Likewise.
58587         * elf/tst-tls5.c: Likewise.
58588         * elf/tst-tls6.c: Likewise.
58589         * elf/tst-tls7.c: Likewise.
58590         * elf/tst-tls8.c: Likewise.
58591         * elf/tst-tls9.c: Likewise.
58592         * elf/tst-tlsmod1.c: Likewise.
58593         * elf/tst-tlsmod13.c: Likewise.
58594         * elf/tst-tlsmod13a.c: Likewise.
58595         * elf/tst-tlsmod14a.c: Likewise.
58596         * elf/tst-tlsmod16a.c: Likewise.
58597         * elf/tst-tlsmod16b.c: Likewise.
58598         * elf/tst-tlsmod2.c: Likewise.
58599         * elf/tst-tlsmod3.c: Likewise.
58600         * elf/tst-tlsmod4.c: Likewise.
58601         * elf/tst-tlsmod5.c: Likewise.
58602         * elf/tst-tlsmod6.c: Likewise.
58604 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
58606         [BZ #12486]
58607         * malloc/malloc.c: remove checks for statistics.
58609 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
58611         [BZ #15277]
58612         * inet/inet_net.c (inet_network): Detect additional invalid strings.
58613         * inet/tst-network.c: Add testcase.
58615 2013-10-17  Andreas Schwab  <schwab@suse.de>
58617         [BZ #15218]
58618         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
58619         to determine canonical name.
58621 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
58623         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
58624         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
58625         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58626         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58627         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58628         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58629         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58630         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58631         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58632         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58633         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58634         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58635         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58636         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58637         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58638         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58639         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58640         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58641         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
58642         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58643         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58644         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58645         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58646         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
58647         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
58648         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58649         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58650         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
58651         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58652         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
58653         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58654         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58655         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
58656         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58657         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58658         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58659         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58660         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58661         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58662         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58663         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58664         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
58665         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
58666         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58667         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
58668         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58669         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58670         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
58671         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
58672         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58673         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
58674         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58675         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
58676         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
58677         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58678         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
58679         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58680         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58682 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
58684         [BZ #16041]
58685         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
58686         make result into a quiet NaN.
58688 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
58690         * soft-fp/adddf3.c: Fix horizontal whitespace.
58691         * soft-fp/addsf3.c: Likewise.
58692         * soft-fp/addtf3.c: Likewise.
58693         * soft-fp/divdf3.c: Likewise.
58694         * soft-fp/divsf3.c: Likewise.
58695         * soft-fp/divtf3.c: Likewise.
58696         * soft-fp/double.h: Likewise.
58697         * soft-fp/eqdf2.c: Likewise.
58698         * soft-fp/eqsf2.c: Likewise.
58699         * soft-fp/eqtf2.c: Likewise.
58700         * soft-fp/extenddftf2.c: Likewise.
58701         * soft-fp/extended.h: Likewise.
58702         * soft-fp/extendsfdf2.c: Likewise.
58703         * soft-fp/extendsftf2.c: Likewise.
58704         * soft-fp/extendxftf2.c: Likewise.
58705         * soft-fp/fixdfdi.c: Likewise.
58706         * soft-fp/fixdfsi.c: Likewise.
58707         * soft-fp/fixdfti.c: Likewise.
58708         * soft-fp/fixsfdi.c: Likewise.
58709         * soft-fp/fixsfsi.c: Likewise.
58710         * soft-fp/fixsfti.c: Likewise.
58711         * soft-fp/fixtfdi.c: Likewise.
58712         * soft-fp/fixtfsi.c: Likewise.
58713         * soft-fp/fixtfti.c: Likewise.
58714         * soft-fp/fixunsdfdi.c: Likewise.
58715         * soft-fp/fixunsdfsi.c: Likewise.
58716         * soft-fp/fixunsdfti.c: Likewise.
58717         * soft-fp/fixunssfdi.c: Likewise.
58718         * soft-fp/fixunssfsi.c: Likewise.
58719         * soft-fp/fixunssfti.c: Likewise.
58720         * soft-fp/fixunstfdi.c: Likewise.
58721         * soft-fp/fixunstfsi.c: Likewise.
58722         * soft-fp/fixunstfti.c: Likewise.
58723         * soft-fp/floatdidf.c: Likewise.
58724         * soft-fp/floatdisf.c: Likewise.
58725         * soft-fp/floatditf.c: Likewise.
58726         * soft-fp/floatsidf.c: Likewise.
58727         * soft-fp/floatsisf.c: Likewise.
58728         * soft-fp/floatsitf.c: Likewise.
58729         * soft-fp/floattidf.c: Likewise.
58730         * soft-fp/floattisf.c: Likewise.
58731         * soft-fp/floattitf.c: Likewise.
58732         * soft-fp/floatundidf.c: Likewise.
58733         * soft-fp/floatundisf.c: Likewise.
58734         * soft-fp/floatunditf.c: Likewise.
58735         * soft-fp/floatunsidf.c: Likewise.
58736         * soft-fp/floatunsisf.c: Likewise.
58737         * soft-fp/floatunsitf.c: Likewise.
58738         * soft-fp/floatuntidf.c: Likewise.
58739         * soft-fp/floatuntisf.c: Likewise.
58740         * soft-fp/floatuntitf.c: Likewise.
58741         * soft-fp/fmadf4.c: Likewise.
58742         * soft-fp/fmasf4.c: Likewise.
58743         * soft-fp/fmatf4.c: Likewise.
58744         * soft-fp/gedf2.c: Likewise.
58745         * soft-fp/gesf2.c: Likewise.
58746         * soft-fp/getf2.c: Likewise.
58747         * soft-fp/ledf2.c: Likewise.
58748         * soft-fp/lesf2.c: Likewise.
58749         * soft-fp/letf2.c: Likewise.
58750         * soft-fp/muldf3.c: Likewise.
58751         * soft-fp/mulsf3.c: Likewise.
58752         * soft-fp/multf3.c: Likewise.
58753         * soft-fp/negdf2.c: Likewise.
58754         * soft-fp/negsf2.c: Likewise.
58755         * soft-fp/negtf2.c: Likewise.
58756         * soft-fp/op-1.h: Likewise.
58757         * soft-fp/op-2.h: Likewise.
58758         * soft-fp/op-4.h: Likewise.
58759         * soft-fp/op-8.h: Likewise.
58760         * soft-fp/op-common.h: Likewise.
58761         * soft-fp/quad.h: Likewise.
58762         * soft-fp/single.h: Likewise.
58763         * soft-fp/soft-fp.h: Likewise.
58764         * soft-fp/sqrtdf2.c: Likewise.
58765         * soft-fp/sqrtsf2.c: Likewise.
58766         * soft-fp/sqrttf2.c: Likewise.
58767         * soft-fp/subdf3.c: Likewise.
58768         * soft-fp/subsf3.c: Likewise.
58769         * soft-fp/subtf3.c: Likewise.
58770         * soft-fp/truncdfsf2.c: Likewise.
58771         * soft-fp/trunctfdf2.c: Likewise.
58772         * soft-fp/trunctfsf2.c: Likewise.
58773         * soft-fp/trunctfxf2.c: Likewise.
58774         * soft-fp/unorddf2.c: Likewise.
58775         * soft-fp/unordsf2.c: Likewise.
58776         * soft-fp/unordtf2.c: Likewise.
58778 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
58780         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
58781         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
58783 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
58785         * elf/dl-libc.c: Clear initfini list after freeing.
58787 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
58789         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
58790         * soft-fp/addsf3.c: Likewise.
58791         * soft-fp/addtf3.c: Likewise.
58792         * soft-fp/divdf3.c: Likewise.
58793         * soft-fp/divsf3.c: Likewise.
58794         * soft-fp/divtf3.c: Likewise.
58795         * soft-fp/double.h: Likewise.
58796         * soft-fp/eqdf2.c: Likewise.
58797         * soft-fp/eqsf2.c: Likewise.
58798         * soft-fp/eqtf2.c: Likewise.
58799         * soft-fp/extenddftf2.c: Likewise.
58800         * soft-fp/extended.h: Likewise.
58801         * soft-fp/extendsfdf2.c: Likewise.
58802         * soft-fp/extendsftf2.c: Likewise.
58803         * soft-fp/extendxftf2.c: Likewise.
58804         * soft-fp/fixdfdi.c: Likewise.
58805         * soft-fp/fixdfsi.c: Likewise.
58806         * soft-fp/fixdfti.c: Likewise.
58807         * soft-fp/fixsfdi.c: Likewise.
58808         * soft-fp/fixsfsi.c: Likewise.
58809         * soft-fp/fixsfti.c: Likewise.
58810         * soft-fp/fixtfdi.c: Likewise.
58811         * soft-fp/fixtfsi.c: Likewise.
58812         * soft-fp/fixtfti.c: Likewise.
58813         * soft-fp/fixunsdfdi.c: Likewise.
58814         * soft-fp/fixunsdfsi.c: Likewise.
58815         * soft-fp/fixunsdfti.c: Likewise.
58816         * soft-fp/fixunssfdi.c: Likewise.
58817         * soft-fp/fixunssfsi.c: Likewise.
58818         * soft-fp/fixunssfti.c: Likewise.
58819         * soft-fp/fixunstfdi.c: Likewise.
58820         * soft-fp/fixunstfsi.c: Likewise.
58821         * soft-fp/fixunstfti.c: Likewise.
58822         * soft-fp/floatdidf.c: Likewise.
58823         * soft-fp/floatdisf.c: Likewise.
58824         * soft-fp/floatditf.c: Likewise.
58825         * soft-fp/floatsidf.c: Likewise.
58826         * soft-fp/floatsisf.c: Likewise.
58827         * soft-fp/floatsitf.c: Likewise.
58828         * soft-fp/floattidf.c: Likewise.
58829         * soft-fp/floattisf.c: Likewise.
58830         * soft-fp/floattitf.c: Likewise.
58831         * soft-fp/floatundidf.c: Likewise.
58832         * soft-fp/floatundisf.c: Likewise.
58833         * soft-fp/floatunsidf.c: Likewise.
58834         * soft-fp/floatunsisf.c: Likewise.
58835         * soft-fp/floatuntidf.c: Likewise.
58836         * soft-fp/floatuntisf.c: Likewise.
58837         * soft-fp/floatuntitf.c: Likewise.
58838         * soft-fp/fmadf4.c: Likewise.
58839         * soft-fp/fmasf4.c: Likewise.
58840         * soft-fp/fmatf4.c: Likewise.
58841         * soft-fp/gedf2.c: Likewise.
58842         * soft-fp/gesf2.c: Likewise.
58843         * soft-fp/getf2.c: Likewise.
58844         * soft-fp/ledf2.c: Likewise.
58845         * soft-fp/lesf2.c: Likewise.
58846         * soft-fp/letf2.c: Likewise.
58847         * soft-fp/muldf3.c: Likewise.
58848         * soft-fp/mulsf3.c: Likewise.
58849         * soft-fp/multf3.c: Likewise.
58850         * soft-fp/negdf2.c: Likewise.
58851         * soft-fp/negsf2.c: Likewise.
58852         * soft-fp/negtf2.c: Likewise.
58853         * soft-fp/op-1.h: Likewise.
58854         * soft-fp/op-2.h: Likewise.
58855         * soft-fp/op-4.h: Likewise.
58856         * soft-fp/op-8.h: Likewise.
58857         * soft-fp/op-common.h: Likewise.
58858         * soft-fp/quad.h: Likewise.
58859         * soft-fp/single.h: Likewise.
58860         * soft-fp/soft-fp.h: Likewise.
58861         * soft-fp/sqrtdf2.c: Likewise.
58862         * soft-fp/sqrtsf2.c: Likewise.
58863         * soft-fp/sqrttf2.c: Likewise.
58864         * soft-fp/subdf3.c: Likewise.
58865         * soft-fp/subsf3.c: Likewise.
58866         * soft-fp/subtf3.c: Likewise.
58867         * soft-fp/truncdfsf2.c: Likewise.
58868         * soft-fp/trunctfdf2.c: Likewise.
58869         * soft-fp/trunctfsf2.c: Likewise.
58870         * soft-fp/trunctfxf2.c: Likewise.
58871         * soft-fp/unorddf2.c: Likewise.
58872         * soft-fp/unordsf2.c: Likewise.
58873         * soft-fp/unordtf2.c: Likewise.
58875 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
58877         [BZ #15672]
58878         * misc/error.c (error_tail): Fix possible buffer overflow.
58880 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
58882         [BZ #13028]
58883         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
58884         address.
58886 2013-10-14  P. J. McDermott  <pj@pehjota.net>
58888         [BZ #832]
58889         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
58890         testing pipefail option.
58892 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
58894         * soft-fp/double.h: Indent preprocessor directives inside #if.
58895         * soft-fp/extended.h: Likewise.
58896         * soft-fp/op-2.h: Likewise.
58897         * soft-fp/op-4.h: Likewise.
58898         * soft-fp/op-common.h: Likewise.
58899         * soft-fp/quad.h: Likewise.
58900         * soft-fp/single.h: Likewise.
58901         * soft-fp/soft-fp.h: Likewise.
58903 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
58905         * iconv/iconv_prog.c: Fix typos.
58906         * stdio-common/psiginfo-data.h: Likewise.
58908 2013-10-12   Reuben Thomas <rrt@sc3d.org>
58910         [BZ #15764]
58911         * locale/setlocale.c: Fix typo.
58913 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
58915         [BZ #16036]
58916         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
58917         signaling NaN arguments.
58918         * soft-fp/unordsf2.c (__unordsf2): Likewise.
58919         * soft-fp/unordtf2.c (__unordtf2): Likewise.
58921         [BZ #14910]
58922         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
58923         unordered operands.
58924         * soft-fp/gesf2.c (__gesf2): Likewise.
58925         * soft-fp/getf2.c (__getf2): Likewise.
58926         * soft-fp/ledf2.c (__ledf2): Likewise.
58927         * soft-fp/lesf2.c (__lesf2): Likewise.
58928         * soft-fp/letf2.c (__letf2): Likewise.
58930         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
58931         * soft-fp/eqsf2.c (__eqsf2): Likewise.
58932         * soft-fp/eqtf2.c (__eqtf2): Likewise.
58933         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
58934         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
58935         * soft-fp/fixdfti.c (__fixdfti): Likewise.
58936         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
58937         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
58938         * soft-fp/fixsfti.c (__fixsfti): Likewise.
58939         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
58940         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
58941         * soft-fp/fixtfti.c (__fixtfti): Likewise.
58942         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
58943         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
58944         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
58945         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
58946         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
58947         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
58948         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
58949         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
58950         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
58951         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
58952         * soft-fp/floatdisf.c (__floatdisf): Likewise.
58953         * soft-fp/floatsisf.c (__floatsisf): Likewise.
58954         * soft-fp/floattidf.c (__floattidf): Likewise.
58955         * soft-fp/floattisf.c (__floattisf): Likewise.
58956         * soft-fp/floattitf.c (__floattitf): Likewise.
58957         * soft-fp/floatundidf.c (__floatundidf): Likewise.
58958         * soft-fp/floatundisf.c (__floatundisf): Likewise.
58959         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
58960         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
58961         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
58962         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
58963         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
58964         * soft-fp/gesf2.c (__gesf2): Likewise.
58965         * soft-fp/getf2.c (__getf2): Likewise.
58966         * soft-fp/ledf2.c (__ledf2): Likewise.
58967         * soft-fp/lesf2.c (__lesf2): Likewise.
58968         * soft-fp/letf2.c (__letf2): Likewise.
58970         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
58971         Undefine and redefine.
58972         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
58973         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
58974         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
58975         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
58976         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58977         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
58978         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58979         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
58980         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58981         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
58982         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58983         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
58984         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58985         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
58986         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
58988         [BZ #16032]
58989         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
58990         without decrementing exponent if mantissa >= that for the
58991         denominator, not >.
58992         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
58993         denominator, not >.  Decrement exponent in < case instead of
58994         incrementing in >= case.
58995         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
58996         without decrementing exponent if mantissa >= that for the
58997         denominator, not >.
58999         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
59000         computing saturated result for unsigned overflow.
59002 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59003             Jeff Law  <law@redhat.com>
59005         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
59006         (atan2Mp): Add systemtap probe marker.
59007         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
59008         (__ieee754_log): Add systemtap probe marker.
59009         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
59010         (atanMp): Add systemtap probe marker.
59011         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
59012         (tanMp): Add systemtap probe marker.
59013         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
59014         (__slowexp): Add systemtap probe marker.
59015         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
59016         (__slowpow): Add systemtap probe marker.
59017         * manual/probes.texi: Document probes.
59019 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
59021         [BZ #15362]
59022         * libio/fileops.c (_IO_new_file_write): Return count of bytes
59023         written.
59024         (_IO_new_file_xsputn): Don't return EOF if nothing has been
59025         written.
59026         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
59027         written to buffer but not flushed.
59028         * libio/iofwrite_u.c:  Likewise.
59029         * libio/iopadn.c:  Return bytes returned even if EOF was
59030         encountered.
59031         * libio/iowpadn.c:  Likewise.
59032         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
59033         if _IO_padn does not write the whole buffer.
59034         [!COMPILE_WPRINTF] (PAD): Likewise.
59036 2013-10-10  David S. Miller  <davem@davemloft.net>
59038         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
59039         directory block.
59041 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
59043         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
59044         instead of FSF address.
59045         * soft-fp/fixdfti.c: Likewise.
59046         * soft-fp/fixsfti.c: Likewise.
59047         * soft-fp/fixtfti.c: Likewise.
59048         * soft-fp/fixunsdfti.c: Likewise.
59049         * soft-fp/fixunssfti.c: Likewise.
59050         * soft-fp/fixunstfti.c: Likewise.
59051         * soft-fp/floattidf.c: Likewise.
59052         * soft-fp/floattisf.c: Likewise.
59053         * soft-fp/floattitf.c: Likewise.
59054         * soft-fp/floatuntidf.c: Likewise.
59055         * soft-fp/floatuntisf.c: Likewise.
59056         * soft-fp/floatuntitf.c: Likewise.
59057         * soft-fp/trunctfxf2.c: Likewise.
59059         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
59060         * soft-fp/fixdfti.c: Likewise.
59061         * soft-fp/fixsfti.c: Likewise.
59062         * soft-fp/fixtfti.c: Likewise.
59063         * soft-fp/fixunsdfti.c: Likewise.
59064         * soft-fp/fixunssfti.c: Likewise.
59065         * soft-fp/fixunstfti.c: Likewise.
59066         * soft-fp/floattidf.c: Likewise.
59067         * soft-fp/floattisf.c: Likewise.
59068         * soft-fp/floattitf.c: Likewise.
59069         * soft-fp/floatuntidf.c: Likewise.
59070         * soft-fp/floatuntisf.c: Likewise.
59071         * soft-fp/floatuntitf.c: Likewise.
59072         * soft-fp/trunctfxf2.c: Likewise.
59074 2013-10-10  David S. Miller  <davem@davemloft.net>
59076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59078 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
59080         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
59081         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
59082         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
59083         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
59084         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
59085         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
59086         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
59088         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
59089         for NaNs before doing comparisons on argument.
59090         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
59091         Likewise.
59093 2013-10-10  Will Newton  <will.newton@linaro.org>
59095         * malloc/hooks.c (memalign_check): Ensure the value of bytes
59096         passed to _int_memalign does not overflow.
59098 2013-10-10  Torvald Riegel  <triegel@redhat.com>
59100         * scripts/bench.pl: Add include-sources directive.
59101         * benchtests/README: Update documentation.
59103 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
59105         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
59106         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
59107         instead of FP_INIT_ROUNDMODE.
59108         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
59109         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
59111         [BZ #16034]
59112         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
59113         copy class of input value.
59114         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
59115         not handle exceptions.
59116         * soft-fp/negsf2.c (__negsf2): Likewise.
59117         * soft-fp/negtf2.c (__negtf2): Likewise.
59118         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
59120 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
59122         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
59123         semicolon.  From Linux kernel.
59125 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
59127         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
59129 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
59131         [BZ #156]
59132         * manual/socket.texi: Added statement about buffer
59133         for gethostbyname2_r.
59135 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
59137         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
59138         Use .p2align directive instead, throughout.
59139         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59140         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
59141         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
59142         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59143         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59144         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
59145         * sysdeps/x86_64/strchr.S: Likewise.
59146         * sysdeps/x86_64/strrchr.S: Likewise.
59148 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59150         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
59152         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
59154         * sysdeps/generic/math_private.h (__mpsin1): Remove
59155         declaration.
59156         (__mpcos1): Likewise.
59157         (__mpsin): New argument __range_reduce.
59158         (__mpcos): Likewise.
59159         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59160         (slow): Use __mpsin and __mpcos.
59161         (slow1): Likewise.
59162         (slow2): Likewise.
59163         (sloww): Likewise.
59164         (sloww1): Likewise.
59165         (sloww2): Likewise.
59166         (bsloww): Likewise.
59167         (bsloww1): Likewise.
59168         (bsloww2): Likewise.
59169         (cslow2): Likewise.
59170         (csloww): Likewise.
59171         (csloww1): Likewise.
59172         (csloww2): Likewise.
59173         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
59174         range_reduce.  Merge in __mpsin1.
59175         (__mpcos): Likewise.
59176         (__mpsin1): Remove.
59177         (__mpcos1): Likewise.
59179 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
59181         * locale/loadlocale.c (_nl_intern_locale_data): Use
59182         LOCFILE_ALIGNED_P.
59183         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
59184         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
59185         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
59186         obstack data is appropriately aligned.
59187         (obstack_int32_grow_fast): Likewise.
59188         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
59189         * locale/programs/locfile.c (add_locale_uint32): Likewise.
59190         (add_locale_uint32_array): Likewise.
59192 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59194         * benchtests/Makefile: Remove ARGLIST and RET variables.
59195         ($(objpfx)bench-%.c): Pass only function name to the script.
59196         * benchtests/README: Update documentation.
59197         * benchtests/acos-inputs: Add new directives.
59198         * benchtests/acosh-inputs: Likewise.
59199         * benchtests/asin-inputs: Likewise.
59200         * benchtests/asinh-inputs: Likewise.
59201         * benchtests/atan-inputs: Likewise.
59202         * benchtests/atanh-inputs: Likewise.
59203         * benchtests/cos-inputs: Likewise.
59204         * benchtests/cosh-inputs: Likewise.
59205         * benchtests/exp-inputs: Likewise.
59206         * benchtests/log-inputs: Likewise.
59207         * benchtests/pow-inputs: Likewise.
59208         * benchtests/rint-inputs: Likewise.
59209         * benchtests/sin-inputs: Likewise.
59210         * benchtests/sinh-inputs: Likewise.
59211         * benchtests/tan-inputs: Likewise.
59212         * benchtests/tanh-inputs: Likewise.
59213         * scripts/bench.pl: Add support for new directives.
59215 2013-10-07  Alan Modra  <amodra@gmail.com>
59217         * README: Fix careless merge.
59219 2013-10-05  Alan Modra  <amodra@gmail.com>
59221         * NEWS: Mention powerpc64le support and bugs fixed.
59222         * README: Both big-endian and little-endian powerpc64 supported.
59224 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59226         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
59227         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
59228         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
59229         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
59231 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
59233         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
59234         match prototype.
59236 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
59238         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
59239         Move -mhard-float appending from
59240         ports/sysdeps/powerpc/powerpc32/Makefile.
59241         [$(with-fp) = yes] (ASFLAGS): Likewise.
59242         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
59243         * sysdeps/powerpc/nofpu: Move directory from
59244         ports/sysdeps/powerpc/nofpu.
59245         * sysdeps/powerpc/soft-fp: Move directory from
59246         ports/sysdeps/powerpc/soft-fp.
59247         * sysdeps/powerpc/powerpc32/405: Move directory from
59248         ports/sysdeps/powerpc/powerpc32/405.
59249         * sysdeps/powerpc/powerpc32/440: Move directory from
59250         ports/sysdeps/powerpc/powerpc32/440.
59251         * sysdeps/powerpc/powerpc32/464: Move directory from
59252         ports/sysdeps/powerpc/powerpc32/464.
59253         * sysdeps/powerpc/powerpc32/476: Move directory from
59254         ports/sysdeps/powerpc/powerpc32/476.
59255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
59256         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
59257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
59258         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
59259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
59260         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
59261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
59262         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
59263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
59264         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
59265         * README: Update for powerpc-*-linux-gnu software floating point
59266         support in libc.
59268         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
59269         case to powerpc/powerpc32*.
59270         * sysdeps/unix/sysv/linux/configure: Regenerated.
59272         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
59273         (_FPU_MASK_OM): Define as 0x04.
59274         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
59275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
59276         0x00c10080.
59277         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
59278         0x0000003c.
59279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
59281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
59282         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59283         getcontext_e500.
59284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
59285         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59286         setcontext_e500.
59287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
59288         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
59289         and setcontext_e500.
59291 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
59293         * locale/iso-3166.def: Update iso-1366.def and related occurrences
59295 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59297         * manual/threads.texi (Default Thread Attributes): Fix typo.
59299 2013-10-04  Will Newton  <will.newton@linaro.org>
59301         * malloc/Makefile: Add tst-memalign.
59302         * malloc/tst-memalign.c: New file.
59304         * malloc/tst-posix_memalign.c: Add comments.
59305         (do_test): Add comments and call free on all potentially
59306         allocated pointers. Add space after cast.
59308         * malloc/tst-pvalloc.c: Add comments.
59309         (do_test): Add comments and call free on all potentially
59310         allocated pointers. Remove duplicate check for NULL pointer.
59311         Add space after cast.
59313         * malloc/tst-valloc.c: Add comments.
59314         (do_test): Add comments and call free on all potentially
59315         allocated pointers. Remove duplicate check for NULL pointer.
59316         Add space after cast.
59318 2013-10-04  Alan Modra  <amodra@gmail.com>
59320         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59321         Use stdint types in rather than __attribute__((mode())).
59322         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59324 2013-10-04  Alan Modra  <amodra@gmail.com>
59326         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59327         Correct handling of unaligned relocs for little-endian.
59328         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59330 2013-10-04  Alan Modra  <amodra@gmail.com>
59332         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
59333         * configure: Regenerate.
59334         * nptl/shlib-versions: Powerpc*le starts at 2.18.
59335         * shlib-versions: Likewise.
59337 2013-10-04  Alan Modra  <amodra@gmail.com>
59339         * string/tester.c (test_memrchr): Increment reported test cycle.
59341 2013-10-04  Alan Modra  <amodra@gmail.com>
59343         * string/test-memcpy.c (do_one_test): When reporting errors, print
59344         string address and don't overrun end of string.
59346 2013-10-04  Alan Modra  <amodra@gmail.com>
59348         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
59349         insrdi.  Make better use of reg selection to speed exit slightly.
59350         Schedule entry path a little better.  Remove useless "are we done"
59351         checks on entry to main loop.  Handle wrapping around zero address.
59352         Correct main loop count.  Handle single left-over word from main
59353         loop inline rather than by using loop_small.  Remove extra word
59354         case in loop_small caused by wrong loop count.  Add little-endian
59355         support.
59356         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59357         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
59358         cache hint.
59359         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59360         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
59361         support.  Avoid rlwimi.
59362         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
59364 2013-10-04  Alan Modra  <amodra@gmail.com>
59366         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
59367         insrdi.  Formatting.
59368         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
59369         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59370         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
59371         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59372         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59373         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
59375 2013-10-04  Alan Modra  <amodra@gmail.com>
59377         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
59378         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59379         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
59380         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
59381         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59382         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59383         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59384         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59385         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
59386         use of regs.  Use power7 mtocrf.  Tidy function tails.
59388 2013-10-04  Alan Modra  <amodra@gmail.com>
59390         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
59391         Formatting.  Consistently use rXXX register defines or rN defines.
59392         Use early exit labels that avoid restoring unused non-volatile regs.
59393         Make cr field use more consistent with rWORDn compares.  Rename
59394         regs used as shift registers for unaligned loop, using rN defines
59395         for short lifetime/multiple use regs.
59396         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59397         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
59398         addi 1,1,64 to pop stack frame.  Simplify return value code.
59399         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59401 2013-10-04  Alan Modra  <amodra@gmail.com>
59403         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
59404         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
59405         rather than rlwimi.
59406         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
59407         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
59408         little-endian support.  Correct typos.
59409         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
59410         rather than rlwimi.
59411         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
59412         in loop and entry code to keep "and." results.
59413         (strchr): Add little-endian support.  Comment.  Move cntlzd
59414         earlier in tail.
59415         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
59417 2013-10-04  Alan Modra  <amodra@gmail.com>
59419         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
59420         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
59421         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
59422         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
59424 2013-10-04  Alan Modra  <amodra@gmail.com>
59426         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
59427         (rTMP): Define as r11.
59428         (strcmp): Add little-endian support.  Optimise tail.
59429         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
59430         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59431         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59432         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59433         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59434         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59435         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59437 2013-10-04  Alan Modra  <amodra@gmail.com>
59439         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
59440         little-endian support.  Remove unnecessary "are we done" tests.
59441         Handle "s" wrapping around zero and extremely large "size".
59442         Correct main loop count.  Handle single left-over word from main
59443         loop inline rather than by using small_loop.  Correct comments.
59444         Delete "zero" tail, use "end_max" instead.
59445         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
59447 2013-10-04  Alan Modra  <amodra@gmail.com>
59449         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
59450         support.  Don't branch over align.
59451         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
59452         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
59453         support.  Rearrange tmp reg use to suit.  Comment.
59454         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
59456 2013-10-04  Alan Modra  <amodra@gmail.com>
59458         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
59460 2013-10-04  Alan Modra  <amodra@gmail.com>
59462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
59463         conditional form of branch and link when obtaining pc.
59464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
59466 2013-10-04  Alan Modra  <amodra@gmail.com>
59468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
59469         HIWORD/LOWORD.
59470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
59471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
59473 2013-10-04  Alan Modra  <amodra@gmail.com>
59475         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
59476         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
59477         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
59478         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
59479         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59480         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
59481         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
59482         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59483         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
59484         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
59486 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59487             Alistair Popple <alistair@ozlabs.au.ibm.com>
59488             Alan Modra <amodra@gmail.com>
59490         [BZ #15723]
59491         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
59492         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
59493         _dl_hwcap access for little-endian.
59494         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
59495         destroy vmx regs when saving unaligned.
59496         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
59497         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
59498         destroy vmx regs when saving unaligned.
59500 2013-10-04  Alan Modra  <amodra@gmail.com>
59502         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
59503         Don't use a union to pack hi/low value.
59505 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59507         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
59508         for little-endian.
59509         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59510         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
59511         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
59512         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59513         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59515 2013-10-04  Alan Modra  <amodra@gmail.com>
59517         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
59518         constants to usual value for .cst8 section, and remove redundant
59519         high address load.
59520         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
59521         constant for 0x1p52.  Load little-endian words of double from
59522         correct stack offsets.
59524 2013-10-04  Alan Modra  <amodra@gmail.com>
59526         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
59527         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
59528         words of double from correct stack offsets.
59529         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
59530         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
59531         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59532         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59533         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59534         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59535         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59536         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
59537         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
59538         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59539         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59540         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59541         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59542         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59543         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59544         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
59545         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
59547 2013-10-04  Alan Modra  <amodra@gmail.com>
59549         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
59550         64-bit int/double union.
59551         (_FPU_SETCW): Likewise.
59552         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
59553         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
59555 2013-10-04  Alan Modra  <amodra@gmail.com>
59557         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
59558         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
59560 2013-10-04  Alan Modra  <amodra@gmail.com>
59562         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
59563         use vector int constants.
59564         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
59566 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59568         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
59569         array with long long.
59570         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
59571         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
59572         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
59573         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
59574         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
59575         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
59576         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
59577         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
59578         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
59579         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
59580         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
59581         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
59582         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
59584 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59586         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
59587         (__signbit): Likewise.  Correct for little-endian.
59588         (__signbitl): Call __signbit.
59589         (lrint): Correct for little-endian.
59590         (lrintf): Call lrint.
59592 2013-10-04  Alan Modra  <amodra@gmail.com>
59594         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
59595         union 32-bit int array member with 64-bit int array.
59596         (t515, tm256): Double rather than long double.
59597         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
59599 2013-10-04  Alan Modra  <amodra@gmail.com>
59601         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
59602         Delete.
59603         (IEEE854_LONG_DOUBLE_BIAS): Delete.
59604         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
59605         version of math_ldbl.h.
59607 2013-10-04  Alan Modra  <amodra@gmail.com>
59609         [BZ #15734], [BZ #15735]
59610         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
59611         all uses of ieee875 long double macros and unions.  Simplify test
59612         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
59613         ldbl_extract_mantissa value for ix,iy exponents.  Properly
59614         normalize after ldbl_extract_mantissa, and don't add hidden bit
59615         already handled.  Don't treat low word of ieee854 mantissa like
59616         low word of IBM long double and mask off bit when testing for
59617         zero.
59618         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
59619         all uses of ieee875 long double macros and unions.  Simplify tests
59620         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
59621         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
59622         two1022, instead use their values.  Recognise that tests for large
59623         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
59624         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
59625         Rewrite all uses of ieee875 long double macros and unions.  Simplify
59626         test for 0.0L and nan.  Correct negation.
59627         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
59628         ieee875 long double macros and unions.  Correct output for large
59629         magnitude x.  Correct absolute value calculation.
59630         (__erfcl): Likewise.
59631         * math/libm-test.inc: Add tests for errors discovered in IBM long
59632         double versions of fmodl, remainderl, erfl and erfcl.
59634 2013-10-04  Alan Modra  <amodra@gmail.com>
59636         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
59637         all uses of ieee854 long double macros and unions.  Simplify tests
59638         for long doubles that are fully specified by the high double.
59639         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
59640         Likewise.
59641         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
59642         Remove dead code too.
59643         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
59644         (__ieee754_ynl): Likewise.
59645         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
59646         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
59647         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
59648         Remove dead code too.
59649         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
59650         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
59651         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
59652         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
59653         Simplify.
59654         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
59655         Simplify.
59656         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
59657         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
59658         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
59659         Comment on variable precision.
59660         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
59661         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59662         Likewise.
59663         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
59664         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
59665         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
59666         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
59667         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
59669 2013-10-04  Alan Modra  <amodra@gmail.com>
59671         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
59672         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
59673         all uses of ieee854 long double macros and unions.
59674         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
59675         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59676         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
59677         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
59678         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
59679         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59680         Likewise.
59681         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
59682         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59683         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
59684         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59685         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
59686         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
59687         Simplify sign and nan test too.
59688         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
59689         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
59690         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
59691         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
59692         Likewise.
59693         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59694         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
59695         Likewise.
59696         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59697         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
59698         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
59699         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
59700         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
59701         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
59703 2013-10-04  Alan Modra  <amodra@gmail.com>
59705         * stdio-common/printf_size.c (__printf_size): Don't use
59706         union ieee854_long_double in fpnum union.
59707         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
59708         signbit macro to retrieve sign from long double.
59709         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
59710         retrieve sign from long double.
59711         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
59712         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
59713         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
59714         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
59715         * math/test-misc.c (main): Don't use union ieee854_long_double.
59717 2013-10-04  Alan Modra  <amodra@gmail.com>
59719         [BZ #15680]
59720         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
59721         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
59722         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
59723         calculation.  Remove unnecessary test for denormal exponent.
59724         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
59725         Correct handling of denormals.  Avoid undefined shift behaviour.
59726         Correct normalisation of low mantissa when low double is denormal.
59727         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
59728         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
59729         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
59730         Correct normalisation of low mantissa.  Test for overflow of high
59731         mantissa and normalise.
59732         (ldbl_nearbyint): Use more readable constant for two52.
59733         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
59734         (__mpn_construct_long_double): Fix test for overflow of high
59735         mantissa and correct normalisation.  Avoid undefined shift.
59737 2013-10-04  Alan Modra  <amodra@gmail.com>
59739         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
59740         (union ibm_extended_long_double): Define as an array of ieee754_double.
59741         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
59742         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
59743         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
59744         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
59745         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59746         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
59747         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59748         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59749         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59750         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
59751         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59753 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
59755         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
59756         page size instead of calling getpagesize.
59758         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
59759         (LOCFILE_ALIGN_MASK): Likewise.
59760         (LOCFILE_ALIGN_UP): Likewise.
59761         (LOCFILE_ALIGNED_P): Likewise.
59762         * locale/programs/ld-collate.c (collate_output): Use the new
59763         macros instead of __alignof__ (int32_t).
59764         * locale/weight.h (findidx): Likewise.
59766 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
59768         [BZ #431]
59769         * manual/string.texi: Fix strncat and wcsncat.
59771 2013-10-03  Brooks Moses  <bmoses@google.com>
59773         [BZ #15915]
59774         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
59775         * Makerules: ...here, and adjust associated comments.
59777 2013-10-02  Will Newton  <will.newton@linaro.org>
59779         * malloc/Makefile: Add tst-pvalloc.
59780         * malloc/tst-pvalloc.c: New file.
59782 2013-10-02  Will Newton  <will.newton@linaro.org>
59784         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
59785         improve test coverage.
59787 2013-10-02  Will Newton  <will.newton@linaro.org>
59789         * malloc/Makefile: Add tst-posix_memalign.
59790         * malloc/tst-posix_memalign.c: New file.
59792 2013-10-01  Eric Blake  <eblake@redhat.com>
59794         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
59795         Use __THROWNL rather than __THROW on static functions.
59797 2013-09-30  Petr Machata  <pmachata@redhat.com>
59799         * elf/elf.h (R_AARCH64_ABS16): New macro.
59800         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
59801         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
59802         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
59803         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
59804         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
59805         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
59806         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
59807         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
59808         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
59809         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
59810         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
59811         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
59812         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
59813         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
59814         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
59815         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
59816         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
59817         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
59818         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
59819         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
59820         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
59821         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
59822         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
59823         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
59824         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
59825         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
59826         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
59827         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
59828         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
59829         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
59830         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
59831         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
59832         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
59833         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
59834         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
59835         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
59836         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
59837         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
59838         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
59839         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
59840         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
59841         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
59842         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
59843         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
59844         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
59845         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
59846         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
59847         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
59848         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
59849         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
59850         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
59851         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
59852         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
59853         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
59854         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
59855         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
59856         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
59857         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
59858         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
59859         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
59860         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
59861         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
59862         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
59863         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
59864         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
59865         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
59866         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
59867         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
59868         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
59869         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
59870         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
59871         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
59872         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
59873         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
59874         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
59875         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
59876         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
59877         (R_AARCH64_TLSDESC_LDR): Likewise.
59878         (R_AARCH64_TLSDESC_ADD): Likewise.
59879         (R_AARCH64_TLSDESC_CALL): Likewise.
59881 2013-09-30  Andreas Schwab  <schwab@suse.de>
59883         [BZ #15048]
59884         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
59885         the nss database lookup.
59886         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59887         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59889 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
59891         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
59893 2013-09-28  P. J. McDermott  <pj@pehjota.net>
59895         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
59896         ${Bash-specific parameter/pattern/string} parameter expansion.
59897         * sysdeps/unix/make-syscalls.sh: Likewise.
59899 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59901         * sysdeps/sh/stackguard-macros.h: New file.
59903 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
59905         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59906         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
59907         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
59908         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
59909         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59910         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
59912 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59914         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
59915         Fix thread ID register.
59917 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
59919         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
59920         [POSIX || UNIX98]: Require rather than permitting all symbols from
59921         <time.h>.
59922         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
59923         element of struct sched_param.
59924         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
59925         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
59926         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
59927         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
59928         constant.
59930 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
59932         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
59933         argument calculation.
59935 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59937         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
59938         Expect macro.
59939         [POSIX] (pthread_attr_t): Do not require type.
59940         [POSIX] (pthread_cond_t): Likewise.
59941         [POSIX] (pthread_condattr_t): Likewise.
59942         [POSIX] (pthread_key_t): Likewise.
59943         [POSIX] (pthread_mutex_t): Likewise.
59944         [POSIX] (pthread_mutexattr_t): Likewise.
59945         [POSIX] (pthread_once_t): Likewise.
59946         [POSIX] (pthread_t): Likewise.
59947         [POSIX-based standards] (pthread_atfork): Expect function.
59949 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
59950             Richard Sandiford  <richard@codesourcery.com>
59952         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
59953         (swap_endianness_p): New extern variable.
59954         (set_big_endian): New inline function.
59955         (maybe_swap_uint32): Likewise.
59956         (maybe_swap_uint32_array): Likewise.
59957         (maybe_swap_uint32_obstack): Likewise.
59958         * locale/programs/locfile.c: Include <stdbool.h>.
59959         (swap_endianness_p): New variable.
59960         (add_locale_uint32): Call maybe_swap_uint32.
59961         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
59962         (write_locale_data): Call maybe_swap_uint32_array.
59963         * locale/programs/ld-collate.c (obstack_int32_grow): Call
59964         maybe_swap_uint32.
59965         (obstack_int32_grow_fast): Likewise.
59966         (output_weightwc): Call maybe_swap_uint32_obstack.
59967         (collate_output): Likewise.
59968         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
59969         (OPT_LITTLE_ENDIAN): Likewise.
59970         (options): Add --little-endian and --big-endian options.
59971         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
59972         * locale/programs/locarchive.c: Include "locfile.h".
59973         (GET): New macro.
59974         (SET): Likewise.
59975         (INC): Likewise.
59976         (create_archive): Use the new macros to access fields of
59977         structures directly mapped from or written to locale archives.
59978         (oldlocrecentcmp): Likewise.
59979         (enlarge_archive): Likewise.
59980         (insert_name): Likewise.
59981         (add_alias): Likewise.
59982         (add_locale): Likewise.
59983         (delete_locales_from_archive): Likewise.
59984         (show_archive_content): Likewise.
59985         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
59986         locale data.
59988 2013-09-24  Roland McGrath  <roland@hack.frob.com>
59990         * manual/freemanuals.texi: Updated from (newly) canonical copy at
59991         http://www.gnu.org/doc/freemanuals.texi.
59992         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
59994 2013-09-24  Will Newton  <will.newton@linaro.org>
59996         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
59997         macro.
59999 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
60001         * locale/hashval.h (compute_hashval): Interpret bytes of key as
60002         unsigned char.
60004 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
60006         * manual/threads.texi (POSIX Threads): Fix a typo.
60008 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
60010         [BZ #14547]
60011         * string/tst-strcoll-overflow.c: New test case.
60012         * string/Makefile (xtests): Add tst-strcoll-overflow.
60013         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
60014         cache if string sizes may cause integer overflow.
60016         [BZ #14547]
60017         * string/strcoll_l.c (coll_seq): New members rule, idx,
60018         save_idx and back_us.
60019         (get_next_seq_nocache): New function.
60020         (do_compare_nocache): New function.
60021         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
60022         when malloc fails.
60024 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
60026         [BZ #15754]
60027         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
60028         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
60029         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
60031         [BZ #15754]
60032         * elf/Makefile (tests): Add tst-ptrguard1.
60033         (tests-static): Add tst-ptrguard1-static.
60034         (tst-ptrguard1-ARGS): Define.
60035         (tst-ptrguard1-static-ARGS): Define.
60036         * elf/tst-ptrguard1.c: New file.
60037         * elf/tst-ptrguard1-static.c: New file.
60038         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
60039         * sysdeps/i386/stackguard-macros.h: Likewise.
60040         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60041         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60042         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60043         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60044         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60045         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60047 2013-09-23  Hector Marco  <hecmargi@upv.es>
60048             Ismael Ripoll  <iripoll@disca.upv.es>
60049             Carlos O'Donell  <carlos@redhat.com>
60051         [BZ #15754]
60052         * sysdeps/generic/stackguard-macros.h: Define
60053         __pointer_chk_guard_local and POINTER_CHK_GUARD.
60054         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
60055         Define __pointer_chk_guard_local.
60056         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
60057         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
60059 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
60061         [BZ #15859]
60062         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
60064 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
60066         * include/string.h (__ffs): Declare as hidden.
60067         * string/ffs.c (__ffs): Define as hidden.
60068         * sysdeps/i386/ffs.c (__ffs): Likewise.
60069         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
60070         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
60071         * sysdeps/s390/ffs.c (__ffs): Likewise.
60072         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
60074 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
60076         * NEWS: Mention malloc probes.
60078         * malloc/arena.c (new_heap): New memory_heap_new probe.
60079         (grow_heap): New memory_heap_more probe.
60080         (shrink_heap): New memory_heap_less probe.
60081         (heap_trim): New memory_heap_free probe.
60082         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
60083         (systrim): New memory_sbrk_less probe.
60084         * manual/probes.texi: Document them.
60086         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
60087         * manual/probes.texi: Document it.
60089         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
60090         (__libc_realloc): Add memory_realloc_retry probe.
60091         (__libc_memalign): Add memory_memalign_retry probe.
60092         (__libc_valloc): Add memory_valloc_retry probe.
60093         (__libc_pvalloc): Add memory_pvalloc_retry probe.
60094         (__libc_calloc): Add memory_calloc_retry probe.
60095         * manual/probes.texi: Document them.
60097         * malloc/arena.c (get_free_list): Add probe
60098         memory_arena_reuse_free_list.
60099         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
60100         and memory_arena_reuse.
60101         (arena_get2) [!PER_THREAD]: Likewise.
60102         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
60103         memory_arena_reuse_realloc.
60104         * manual/probes.texi: Document them.
60106         * malloc/malloc.c (__libc_free): Add
60107         memory_mallopt_free_dyn_thresholds probe.
60108         (__libc_mallopt): Add multiple memory_mallopt probes.
60109         * manual/probes.texi: Document them.
60111         * malloc/malloc.c: Include stap-probe.h.
60112         (__libc_mallopt): Add memory_mallopt probe.
60113         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
60114         * manual/probes.texi: New.
60115         * manual/Makefile (chapters): Add probes.
60116         * manual/threads.texi: Set next node.
60118 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
60120         [BZ #15963, #13985]
60121         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
60122         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
60123         Add `Chinese' to `nan' entry name.
60125 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60127         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
60128         (POLYNOMIAL): Likewise.
60129         (TAYLOR_SINCOS): Likewise.
60130         (TAYLOR_SLOW): Likewise.
60131         (__sin): Use TAYLOR_SINCOS.
60132         (__cos): Likewise.
60133         (slow): Use TAYLOR_SLOW.
60134         (sloww): Likewise.
60135         (bsloww): Likewise.
60136         (csloww): Likewise.
60138 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60140         * stdlib/strtod_l.c: Fix buffer overrun.
60142 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60144         * benchtests/Makefile (bench): Add sincos.
60145         * benchtests/bench-sincos.c: New file.
60147         * math/libm-test.inc (cos_test_data): New test inputs.
60148         (sin_test_data): Likewise.
60150         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
60151         macro.
60152         (__sin): Use it.
60153         (__cos): Likewise.
60154         (slow1): Likewise.
60155         (slow2): Likewise.
60156         (sloww1): Likewise.
60157         (sloww2): Likewise.
60158         (bsloww1): Likewise.
60159         (bsloww2): Likewise.
60160         (cslow2): Likewise.
60161         (csloww1): Likewise.
60162         (csloww2): Likewise.
60164         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
60165         function.
60166         (__sin): Use it.
60167         (__cos): Likewise.
60169         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
60170         gotos.
60171         (__cos): Likewise.
60173 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
60175         * config.h.in (HAVE_MIPS_NAN2008): New macro.
60176         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
60177         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
60178         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
60179         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
60180         * elf/cache.c (print_entry): Handle the new cache flags.
60182 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
60183             Aldy Hernandez  <aldyh@redhat.com>
60185         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
60186         Change condition to [_SOFT_FLOAT].
60187         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
60188         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
60189         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
60190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
60191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
60192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
60193         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
60194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
60195         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
60196         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
60197         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
60198         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
60199         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
60200         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
60201         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
60202         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
60203         declaration.
60205 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
60207         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
60208         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
60209         (__longjmp): Use LOAD_GP to load saved GPRs.
60210         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
60211         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
60212         (__sigsetjmp): Use SAVE_GP to save GPRs.
60214         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
60215         Do not append -msoft-float.
60216         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
60218 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60220         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
60222 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
60224         [BZ #15966]
60225         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
60226         (_FPU_GETCW): Use initial "__" on variable and field names but not
60227         on macro parameter name.
60228         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
60229         parentheses around reference to macro parameter.
60231 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
60233         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
60234         prototype.
60235         (ctype_startup): Use uint32_t in cast and sizeof for
60236         ctype->charnames.
60238 2013-09-11  Jia Liu  <proljc@gmail.com>
60240         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
60241         __daddr_t_defined.
60242         [__FreeBSD__]: Likewise.
60244 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
60246         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
60247         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
60248         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
60249         (strchr): Remove __strchr_sse42 ifunc selection.
60250         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
60251         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
60253 2013-09-11  Will Newton  <will.newton@linaro.org>
60255         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
60256         parameter to RES. Remove hardcoded 1000 value.
60257         * benchtests/bench-skeleton.c (main): Pass RES parameter
60258         to TIMING_INIT and multiply result by 1000.
60260 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60264 2013-09-11  Andreas Schwab  <schwab@suse.de>
60266         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
60267         if not defined.
60268         (O_TMPFILE) [__USE_GNU]: Define.
60269         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
60270         Define.
60272 2013-09-11  Will Newton  <will.newton@linaro.org>
60274         [BZ #15857]
60275         * malloc/malloc.c (__libc_memalign): Check the value of bytes
60276         does not overflow.
60278 2013-09-11  Will Newton  <will.newton@linaro.org>
60280         [BZ #15856]
60281         * malloc/malloc.c (__libc_valloc): Check the value of bytes
60282         does not overflow.
60284 2013-09-11  Will Newton  <will.newton@linaro.org>
60286         [BZ #15855]
60287         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
60288         does not overflow.
60290 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
60292         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
60293         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60294         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60295         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60296         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60298 2013-09-10  Allan McRae  <allan@archlinux.org>
60300         [BZ #15748]
60301         * manual/arith.texi (Parsing of Floats): Clarify
60302         cross-reference.
60304         [BZ #15849]
60305         * manual/install.texi (Running make install): Mention
60306         --enable-pt-chown.
60307         * INSTALL: Regenerated.
60309 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
60311         * csu/init-first.c (_init): Remove the !SHARED condition around
60312         FPU control word initialization.
60313         * elf/dl-support.c (_dl_fpu_control): New variable.
60314         (_dl_aux_init) <AT_FPUCW>: Initialize it.
60315         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
60316         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
60317         * math/test-fpucw-static.c: New file.
60318         * math/test-fpucw-ieee.c: New file.
60319         * math/test-fpucw-ieee-static.c: New file.
60320         * math/Makefile (tests): Add `test-fpucw-ieee' and
60321         `$(tests-static)'.
60322         (tests-static): New variable.
60323         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
60324         dependency to...
60325         [($(build-shared),yes)]
60326         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
60327         ... this.
60328         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
60329         New dependency.
60331 2013-09-09  Allan McRae  <allan@archlinux.org>
60333         [BZ #15939]
60334         * manual/string.texi (Collation Functions): Fix typo in
60335         strcoll example.
60336         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
60338         [BZ #15893]
60339         * stdlib/isomac.c (get_null_defines): Fix memory leak.
60341         [BZ #15892]
60342         * libio/memstream.c (open_memstream): Fix memory leak.
60343         * libio/wmemstream.c (open_wmemstream): Likewise.
60345         [BZ #15895]
60346         * nscd/netgroupcache.c: Fix nesting of ifdefs.
60348 2013-09-09  Will Newton  <will.newton@linaro.org>
60350         * malloc/Makefile: Add tst-realloc to tests.
60351         * malloc/tst-realloc.c: New file.
60353 2013-09-09  Allan McRae  <allan@archlinux.org>
60355         [BZ #15844]
60356         * COPYING: Update from GNU website to fix FSF address.
60357         * COPYING.LIB: Likewise.
60359 2013-09-06  David S. Miller  <davem@davemloft.net>
60361         * po/zh_TW.po: Update Chinese (traditional) translation from
60362         translation project.
60364 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
60365             Joseph Myers  <joseph@codesourcery.com>
60367         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
60368         "localeinfo.h".
60369         (obstack_chunk_alloc): New macro.
60370         (obstack_chunk_free): Likewise.
60371         (record_offset): New function.
60372         (init_locale_data): Likewise.
60373         (align_locale_data): Likewise.
60374         (add_locale_empty): Likewise.
60375         (add_locale_raw_data): Likewise.
60376         (add_locale_raw_obstack): Likewise.
60377         (add_locale_string): Likewise.
60378         (add_locale_wstring): Likewise.
60379         (add_locale_uint32): Likewise.
60380         (add_locale_uint32_array): Likewise.
60381         (add_locale_char): Likewise.
60382         (start_locale_structure): Likewise.
60383         (end_locale_structure): Likewise.
60384         (start_locale_prelude): Likewise.
60385         (end_locale_prelude): Likewise.
60386         (write_locale_data): Take locale_file structure rather than an
60387         iovec.
60388         * locale/programs/locfile.h: Include "obstack.h".
60389         (struct locale_file): Change to store locale file contents instead
60390         of header.
60391         (init_locale_data): New prototype.
60392         (align_locale_data): Likewise.
60393         (add_locale_empty): Likewise.
60394         (add_locale_raw_data): Likewise.
60395         (add_locale_raw_obstack): Likewise.
60396         (add_locale_string): Likewise.
60397         (add_locale_wstring): Likewise.
60398         (add_locale_uint32): Likewise.
60399         (add_locale_uint32_array): Likewise.
60400         (add_locale_char): Likewise.
60401         (start_locale_structure): Likewise.
60402         (end_locale_structure): Likewise.
60403         (start_locale_prelude): Likewise.
60404         (end_locale_prelude): Likewise.
60405         (write_locale_data): Update prototype.
60406         * locale/programs/3level.h (struct TABLE): Remove result field.
60407         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
60408         Use new locale_file interface.
60409         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
60410         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
60411         * locale/programs/ld-address.c (address_output): Use new
60412         locale_file interface.
60413         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
60414         NO_ADD_LOCALE.
60415         (collate_finish): Don't call collseq_table_finalize.
60416         (collate_output): Use new locale_file interface.
60417         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
60418         in file.
60419         (NO_FINALIZE): Change to NO_ADD_LOCALE.
60420         (TABLE): Move defines earlier in file.
60421         (ELEMENT): Likewise.
60422         (DEFAULT): Likewise.
60423         (wctrans_table_add): Move macro and inline function earlier in
60424         file.
60425         (struct wctype_table): Move type earlier in file.
60426         (add_locale_wctype_table): New static prototype.
60427         (struct locale_ctype_t): Use logical types instead of struct iovec
60428         pointers for members.
60429         (ctype_output): Use new locale_file interface.
60430         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
60431         new locale_file interface.
60432         (allocate_arrays): Update for use of new locale_file interface.
60433         * locale/programs/ld-identification.c (identification_output): Use
60434         new locale_file interface.
60435         * locale/programs/ld-measurement.c (measurement_output): Likewise.
60436         * locale/programs/ld-messages.c (messages_output): Likewise.
60437         * locale/programs/ld-monetary.c (monetary_output): Likewise.
60438         * locale/programs/ld-name.c (name_output): Likewise.
60439         * locale/programs/ld-numeric.c (numeric_output): Likewise.
60440         * locale/programs/ld-paper.c (paper_output): Likewise.
60441         * locale/programs/ld-telephone.c (telephone_output): Likewise.
60442         * locale/programs/ld-time.c (time_output): Likewise.
60444 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60446         * benchtests/Makefile: Add memrchr benchmark.
60447         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
60448         benchmark as memrchr.
60449         * benchtests/bench-memrchr-ifunc.c: New file.
60450         * benchtests/bench-memrchr.c: New file.
60452 2013-09-06   Will Newton  <will.newton@linaro.org>
60454         * benchtests/Makefile (string-bench): Add memcpy.
60456 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
60457             Cong Wang  <amwang@redhat.com>
60459         [BZ #15850]
60460         * sysdeps/unix/sysv/linux/bits/in.h
60461         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
60462         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
60463         before __USE_KERNEL_IPV6_DEFS uses.
60464         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
60465         IPPROTO_BEETPH.
60466         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
60467         sockaddr_in6, or ipv6_mreq.
60469 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60471         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
60472         memory access for final bytes in some large inputs.
60473         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
60475 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60477         * string/test-memrchr.c: New file.
60478         * string/test-memrchr-ifunc.c: New file.
60479         * string/Makefile: Add new memrchr testcase.
60481 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
60483         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
60484         fanotify_init returns EPERM.
60486 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60488         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
60489         errors.
60490         (top level): Treat second token from macro or constant entries for
60491         allowed headers as allowed.
60492         * include/complex.h: Condition internal declarations on
60493         [!_ISOMAC].
60494         * include/fenv.h: Condition include of <stdbool.h> and internal
60495         declarations on [!_ISOMAC].
60497 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
60499         [BZ #15923]
60500         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
60502 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60504         * configure.in (--enable-versioning): Remove configure option.
60505         (libc_cv_asm_symver_directive): Remove configure test.
60506         (libc_cv_ld_version_script_option): Likewise.
60507         (VERSIONING): Remove variable and AC_SUBST.
60508         (DO_VERSIONING): Remove AC_DEFINE.
60509         * configure: Regenerated.
60510         * config.h.in (DO_VERSIONING): Remove macro.
60511         * Makerules [$(versioning) = yes]: Change conditionals to
60512         [$(build-shared) = yes].
60513         * config.make.in (versioning): Remove variable.
60514         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
60515         [$(build-shared) = yes].
60516         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
60517         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
60518         * elf/Makefile [$(versioning) = yes]: Change conditionals to
60519         [$(build-shared) = yes].
60520         * extra-lib.mk [$(versioning) = yes]: Likewise.
60521         * hurd/Makefile [$(versioning) = yes]: Likewise.
60522         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
60523         [SHARED].
60524         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
60525         [SHARED].
60526         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60527         [SHARED && !NO_HIDDEN].
60528         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
60529         [SHARED].
60530         [SHARED && DO_VERSIONING]: Likewise..
60531         * libio/Makefile [$(versioning) = yes]: Change conditionals to
60532         [$(build-shared) = yes].
60533         * manual/install.texi (--disable-versioning): Remove
60534         documentation.
60535         * INSTALL: Regenerated.
60536         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
60537         to [SHARED].
60538         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
60539         [$(build-shared) = yes].
60540         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
60541         * sysdeps/i386/i686/multiarch/strstr-c.c
60542         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60543         [SHARED && !NO_HIDDEN].
60544         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
60545         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
60546         * sysdeps/powerpc/powerpc32/dl-machine.c
60547         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
60548         * sysdeps/powerpc/powerpc32/sysdep.h
60549         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
60550         to [SHARED && PIC && !NO_HIDDEN].
60551         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
60552         conditional to [SHARED].
60554 2013-09-04   Will Newton  <will.newton@linaro.org>
60556         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
60557         * benchtests/bench-string.h: Include bench-timing.h instead
60558         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
60559         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
60560         call to HP_TIMING_DIFF_INIT.
60561         * benchtests/bench-memccpy.c: Use bench-timing.h macros
60562         instead of hp-timing.h macros.
60563         * benchtests/bench-memchr.c: Likewise.
60564         * benchtests/bench-memcmp.c: Likewise.
60565         * benchtests/bench-memcpy.c: Likewise.
60566         * benchtests/bench-memmem.c: Likewise.
60567         * benchtests/bench-memmove.c: Likewise.
60568         * benchtests/bench-memset.c: Likewise.
60569         * benchtests/bench-rawmemchr.c: Likewise.
60570         * benchtests/bench-strcasecmp.c: Likewise.
60571         * benchtests/bench-strcasestr.c: Likewise.
60572         * benchtests/bench-strcat.c: Likewise.
60573         * benchtests/bench-strchr.c: Likewise.
60574         * benchtests/bench-strcmp.c: Likewise.
60575         * benchtests/bench-strcpy.c: Likewise.
60576         * benchtests/bench-strcpy_chk.c: Likewise.
60577         * benchtests/bench-strlen.c: Likewise.
60578         * benchtests/bench-strncasecmp.c: Likewise.
60579         * benchtests/bench-strncat.c: Likewise.
60580         * benchtests/bench-strncmp.c: Likewise.
60581         * benchtests/bench-strncpy.c: Likewise.
60582         * benchtests/bench-strnlen.c: Likewise.
60583         * benchtests/bench-strpbrk.c: Likewise.
60584         * benchtests/bench-strrchr.c: Likewise.
60585         * benchtests/bench-strspn.c: Likewise.
60586         * benchtests/bench-strstr.c: Likewise.
60588 2013-09-04  Will Newton  <will.newton@linaro.org>
60590         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
60592 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
60594         [BZ #15427]
60595         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
60596         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
60597         * math/libm-test.inc (lgamma_test_data): Add more tests.
60598         * sysdeps/i386/fpu/libm-test-ulps: Update.
60599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60601 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
60603         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
60604         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60605         Add ifunc.
60606         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60607         Add strcmp-sse2-unaligned
60608         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
60610 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
60612         * Versions.def (libc): Add GLIBC_2.19.
60614 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
60616         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
60617         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
60619 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
60621         [BZ #14155]
60622         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
60623         intermediate calculations in recurrence.
60624         (__ieee754_ynf): Likewise.
60625         * math/libm-test.inc (jn_test_data): Do not allow spurious
60626         underflow exception.  Add more tests.
60627         (yn_test_data): Add more tests.
60628         * sysdeps/i386/fpu/libm-test-ulps: Update.
60629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60631 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
60633         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
60635 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
60637         * csu/init-first.c: Fix then/than typos.
60638         * locale/programs/ld-collate.c: Likewise.
60639         * locale/programs/linereader.h: Likewise.
60640         * manual/charset.texi: Likewise.
60641         * manual/filesys.texi: Likewise.
60642         * manual/stdio.texi: Likewise.
60643         * manual/string.texi: Likewise.
60644         * stdlib/fmtmsg.c: Likewise.
60645         * sysdeps/i386/stpncpy.S: Likewise.
60646         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60647         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
60648         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60649         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
60651 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
60653         * elf/dl-open.c: Fix typos.
60654         * iconvdata/gbbig5.c: Likewise.
60655         * iconvdata/iso-2022-jp.c: Likewise.
60656         * iconv/gconv_int.h: Likewise.
60657         * iconv/loop.c: Likewise.
60658         * nis/rpcsvc/nis.h: Likewise.
60659         * resolv/ns_name.c: Likewise.
60660         * stdio-common/vfscanf.c: Likewise.
60661         * streams/stropts.h: Likewise.
60662         * sunrpc/rpc_thread.c: Likewise.
60663         * sysdeps/i386/strpbrk.S: Likewise.
60664         * sysdeps/ieee754/k_standard.c: Likewise.
60665         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60666         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60667         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
60668         * sysdeps/mach/hurd/profil.c: Likewise.
60669         * sysdeps/s390/dl-procinfo.h: Likewise.
60670         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
60671         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
60672         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
60673         * sysdeps/x86_64/dl-trampoline.S: Likewise.
60674         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60676 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
60678         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
60679         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
60681 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
60683         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
60684         aix specific files.
60685         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
60686         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
60687         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
60688         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
60689         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
60690         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
60691         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
60692         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
60694 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
60695             Roland McGrath  <roland@hack.frob.com>
60697         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
60698         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
60700 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60702         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
60703         __executable_start symbol instead of _start.
60705 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
60707         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
60708         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
60709         Move macros to...
60710         * sysdeps/gnu/ldsodefs.h: ... this new file.
60712         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
60713         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
60714         instead of ELFOSABI_LINUX.
60716         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
60717         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
60718         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
60719         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
60720         Likewise.
60721         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
60722         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
60723         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
60724         Likewise.
60725         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
60726         (ibm_extended_long_double): Add ieee_nan member.
60727         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
60728         (do_test): New function.
60730         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
60731         TEST_TRUNC.
60732         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
60733         functions, renamed from truncdfsf_test, trunctfsf_test,
60734         trunctfdf_test.
60735         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
60736         functions.
60737         (do_test): Run all these.
60739 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
60741         * argp/argp-help.c: Fix typos.
60742         * argp/argp-parse.c: Likewise.
60743         * debug/backtracesyms.c: Likewise.
60744         * elf/elf.h: Likewise.
60745         * malloc/malloc.c: Likewise.
60746         * nis/nis_print.c: Likewise.
60747         * resolv/res_comp.c: Likewise.
60748         * stdlib/stdlib.h: Likewise.
60749         * sunrpc/clnt_tcp.c: Likewise.
60750         * sunrpc/clnt_udp.c: Likewise.
60751         * sunrpc/clnt_unix.c: Likewise.
60752         * sysdeps/unix/bsd/ptsname.c: Likewise.
60753         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
60754         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
60755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
60756         Likewise.
60757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
60758         Likewise.
60759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
60760         Likewise.
60761         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
60763 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60765         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
60766         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60768 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
60770         [BZ #15897]
60771         * dlfcn/Makefile (tests): Add bug-dl-leaf.
60772         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
60773         ($(objpfx)bug-dl-leaf): New rule.
60774         ($(objpfx)bug-dl-leaf.so): Likewise.
60775         ($(objpfx)bug-dl-leaf.out): Likewise.
60776         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
60777         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
60778         * dlfcn/bug-dl-leaf.c: New test.
60779         * dlfcn/bug-dl-leaf-lib.c: Likewise.
60780         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
60781         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
60782         (dlclose): Likewise.
60783         (dlmopen): Likewise.
60785 2013-08-27  Roland McGrath  <roland@hack.frob.com>
60787         * include/netdb.h [!_ISOMAC]:
60788         Don't include <tls.h>.
60789         (h_errno, __libc_h_errno): Move declaration and macros out of
60790         [_LIBC_REENTRANT].
60792         * include/resolv.h [_RESOLV_H_]:
60793         Don't include <tls.h>.
60794         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
60795         * resolv/res_libc.c: Don't include <tls.h>.
60796         (_res): Use __attribute__ ((nocommon)) in place of
60797         __attribute__ ((section (".bss"))).
60799         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
60800         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
60802         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
60804         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
60805         only under [SIOCGIFCONF && SIOCGIFNETMASK].
60807         * resolv/res_mkquery.c: Include <sys/time.h>.
60809         * inet/ifreq.c: Moved to ...
60810         * sysdeps/unix/ifreq.c: ... here.
60811         * inet/ifreq.c: New file, true stub version.
60813         * socket/sa_len.c: New file.
60814         * socket/Makefile (aux): Add it.
60815         * sysdeps/unix/sysv/linux/Makefile
60816         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
60817         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
60818         and #include <socket/sa_len.c>.
60819         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
60820         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
60822         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
60823         * bits/socket.h: ... here.
60825         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
60826         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
60827         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
60829 2013-08-27  Andreas Schwab  <schwab@suse.de>
60831         [BZ #15736]
60832         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
60833         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
60834         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
60835         * string/test-strcasecmp.c (test_main): Run tests in several
60836         locales.
60837         * string/test-strncasecmp.c (test_main): Likewise.
60839         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
60840         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
60841         to __strcasecmp_nonascii and __strncasecmp_nonascii.
60842         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
60843         (__strncasecmp_ssse3) [PIC]: Likewise.
60845 2013-08-26  Roland McGrath  <roland@hack.frob.com>
60847         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
60849         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
60850         instead of explicitly declaring xdecrypt.
60851         * nis/nss_nis/nis-publickey.c: Likewise.
60853 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60855         [BZ #15890]
60856         * nscd/aicache.c: Include res_hconf.h.
60857         (addhstaiX): Initialize res_hconf.
60859 2013-08-26  Andreas Schwab  <schwab@suse.de>
60861         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
60862         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
60864 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60866         * nscd/aicache.c (addhstaiX): Fix indentation.
60868 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
60870         * configure.ac: Quote $build_pt_chown test.
60871         * configure: Regenerated.
60873 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
60875         [BZ #15532]
60876         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
60877         * math/s_cexpf.c (__cexpf): Likewise.
60878         * math/s_cexpl.c (__cexpl): Likewise.
60879         * math/libm-test.inc (cexp_test_data): Correct expected return
60880         value for NaN + i0.  Add another test.
60882 2013-08-22  David S. Miller  <davem@davemloft.net>
60884         * po/ca.po: Update Catalan translation from translation project.
60885         * po/uk.po: Add Ukrainian translations from translation project.
60887 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
60889         [BZ #15797]
60890         * math/s_fdim.c (__fdim): Check for infinite arguments if result
60891         is infinite, not alongside NaN test.
60892         * math/s_fdimf.c (__fdimf): Likewise.
60893         * math/s_fdiml.c (__fdiml): Likewise.
60894         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
60895         errno is unchanged.
60897 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
60899         * argp/argp-help.c: Fix typos.
60900         * crypt/speeds.c: Likewise.
60901         * csu/check_fds.c: Likewise.
60902         * elf/dl-load.c: Likewise.
60903         * elf/dl-open.c: Likewise.
60904         * elf/reldep3.c: Likewise.
60905         * elf/reldep.c: Likewise.
60906         * elf/sprof.c: Likewise.
60907         * iconv/iconv_charmap.c: Likewise.
60908         * iconv/skeleton.c: Likewise.
60909         * iconv/strtab.c: Likewise.
60910         * io/lockf64.c: Likewise.
60911         * libio/libioP.h: Likewise.
60912         * resolv/gai_notify.c: Likewise.
60913         * resolv/ns_name.c: Likewise.
60914         * resolv/ns_samedomain.c: Likewise.
60915         * resolv/res_send.c: Likewise.
60916         * stdlib/random.c: Likewise.
60917         * sunrpc/rpc/xdr.h: Likewise.
60918         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
60919         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
60920         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
60921         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
60922         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
60923         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
60924         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
60925         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
60926         * sysdeps/mach/hurd/check_fds.c: Likewise.
60927         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
60928         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
60929         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60930         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
60931         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60932         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
60933         * sysdeps/pthread/aio_notify.c: Likewise.
60934         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
60935         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
60936         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
60937         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60938         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60940 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60942         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
60943         version if bit_Slow_SSE4_2 is set.
60944         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60945         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60947 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60949         [BZ #15867]
60950         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
60951         trampoline stack frame information.
60952         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
60953         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
60954         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
60955         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
60956         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
60957         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60958         (_libc_vdso_platform_setup): Initialize the signal trampolines.
60959         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
60960         sa_flags value.
60961         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
60962         interrupting a syscall and set with option SA_SIGINFO.
60964 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60966         [BZ #15531]
60967         * math/s_cproj.c (__cproj): Only return an infinity if one part of
60968         argument is infinite.
60969         * math/s_cprojf.c (__cprojf): Likewise.
60970         * math/s_cprojl.c (__cprojl): Likewise.
60971         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
60972         * math/libm-test.inc (cproj_test_data): Add more tests.
60974         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
60976         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
60977         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
60978         size.  Use __ffs to determine corresponding shift.
60980 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
60981             Roland McGrath  <roland@hack.frob.com>
60983         * Makefile (INSTALL): Remove trailing blank lines from output of
60984         makeinfo.
60986 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60988         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
60989         Align 32 bit compat elf_greg to 8 bytes.
60991 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
60993         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
60995 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60997         * string/strcoll_l.c (coll_seq): New structure.
60998         (get_next_seq_cached): New function.
60999         (get_next_seq): New function.
61000         (do_compare): New function.
61001         (STRCOLL): Use GNU style definition.  Simplify implementation
61002         by using get_next_seq, get_next_seq_cached and do_compare.
61004 2013-08-16  Florian Weimer  <fweimer@redhat.com>
61006         [BZ #14699]
61007         CVE-2013-4237
61008         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
61009         member.
61010         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
61011         member.
61012         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
61013         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
61014         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
61015         conditional.
61016         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
61017         GETDENTS_64BIT_ALIGNED.
61018         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61019         * manual/filesys.texi (Reading/Closing Directory): Document
61020         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
61021         strongly.
61022         * manual/conf.texi (Limits for Files): Add portability note to
61023         NAME_MAX, PATH_MAX.
61024         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
61026 2013-08-13  Andreas Schwab  <schwab@suse.de>
61028         [BZ #15749]
61029         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
61030         of fabs.
61031         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
61032         LDBL_MAX_EXP >= 16384]: Add tests for it.
61034 2013-08-12  David S. Miller  <davem@davemloft.net>
61036         * version.h (RELEASE): Set to "development".
61037         (VERSION): Set to "2.18.90".
61038         * NEWS: Add 2.19 section.
61040 2013-08-03  David S. Miller  <davem@davemloft.net>
61042         * po/ko.po: Update Korean translation from translation project.
61044 2013-08-01  David S. Miller  <davem@davemloft.net>
61046         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
61047         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
61048         Bilka.
61050 2013-07-30  David S. Miller  <davem@davemloft.net>
61052         * po/fr.po: Update French translation from translation project.
61054 2013-07-28  David S. Miller  <davem@davemloft.net>
61056         * po/cs.po: Update Czech translation from translation project.
61058         * po/sv.po: Update Swedish translation from translation project.
61060 2013-07-27  David S. Miller  <davem@davemloft.net>
61062         * po/eo.po: Update Esperanto translation from translation project.
61064         * po/vi.po: Update Vietnamese translation from translation project.
61066         * po/de.po: Update German translation from translation project.
61068 2013-07-26  David S. Miller  <davem@davemloft.net>
61070         * po/bg.po: Update Bulgarian translation from translation project.
61072         * po/nl.po: Update Dutch translation from translation project.
61073         * po/pl.po: Update Polish translation from translation project.
61074         * po/ru.po: Update Russian translation from translation project.
61076 2013-07-24  David S. Miller  <davem@davemloft.net>
61078         * po/libc.pot: Update.
61080 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61082         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
61083         variable page size.
61084         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
61085         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
61086         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
61088 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61090         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
61092 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61093             Andreas Schwab  <schwab@suse.de>
61094             Roland McGrath  <roland@hack.frob.com>
61095             Joseph Myers  <joseph@codesourcery.com>
61096             Carlos O'Donell  <carlos@redhat.com>
61098         [BZ #15755]
61099         * config.h.in: Define HAVE_PT_CHOWN.
61100         * config.make.in (build-pt-chown): New variable.
61101         * configure.in (--enable-pt_chown): New configure option.
61102         * configure: Regenerate.
61103         * login/Makefile: Include Makeconfig.  Build pt_chown only if
61104         build-pt-chown is enabled.
61105         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
61106         pt_chown to fix pty ownership.
61107         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
61108         CLOSE_ALL_FDS.
61109         * manual/install.texi (Configuring and compiling): Mention
61110         --enable-pt_chown. Add @findex for grantpt.
61111         * INSTALL: Regenerate.
61113 2013-07-20  David S. Miller  <davem@davemloft.net>
61115         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
61116         difference between 32-bit and 64-bit.
61118 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
61120         [BZ #15711]
61121         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
61122         Avoid system header dependency with -ffreestanding.
61123         ($(objpfx)bits/syscall%d): Likewise.
61125 2013-07-13  David S. Miller  <davem@davemloft.net>
61127         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
61128         underflows from atanl/atan2l due to bug 15319.
61129         (casinh_test_data): Likewise.
61131 2013-07-07  David S. Miller  <davem@davemloft.net>
61133         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
61135 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
61137         * sysdeps/i386/fpu/libm-test-ulps: Update.
61138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61140 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61142         * configure.in (--enable-lock-elision): Fix message text.
61143         * INSTALL: Regenerate.
61144         * configure: Regenerate.
61146 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61150 2013-07-03  Andreas Jaeger  <aj@suse.de>
61152         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
61153         define.
61154         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
61155         (ptrace_peeksiginfo_args): Add.
61156         (__ptrace_peeksiginfo_flags): Add.
61157         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61158         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61159         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61161 2013-07-03  Allan McRae  <allan@archlinux.org>
61163         * sysdeps/i386/fpu/libm-test-ulps: Update.
61165 2013-07-02  David S. Miller  <davem@davemloft.net>
61167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61169 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
61171         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61173 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
61175         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
61176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61178 2013-07-02  Andi Kleen <ak@linux.intel.com>
61180         * config.h.in (ENABLE_LOCK_ELISION): Add.
61181         * configure.in (--enable-lock-elision): Add option.
61182         * manual/install.texi: Document --enable lock elision.
61183         * configure: Regenerate
61184         * INSTALL: Regenerate.
61186 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
61188         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
61189         SSE4.2 strcasecmp for libc.a.
61190         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
61192 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
61194         [BZ #13304]
61195         * soft-fp/op-common.h (_FP_FMA): New macro.
61196         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
61197         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
61198         (_FP_MUL_MEAT_1_imm): ... here.
61199         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
61200         (_FP_MUL_MEAT_1_wide): ... here.
61201         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
61202         (_FP_MUL_MEAT_1_hard): ... here.
61203         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
61204         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
61205         (_FP_MUL_MEAT_2_wide): ... here.
61206         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
61207         (_FP_MUL_MEAT_2_wide_3mul): ... here.
61208         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
61209         (_FP_MUL_MEAT_2_gmp): ... here.
61210         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
61211         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
61212         (_FP_MUL_MEAT_4_wide): ... here.
61213         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
61214         (_FP_MUL_MEAT_4_gmp): ... here.
61215         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
61216         (_FP_WFRACBITS_DW_S): Likewise.
61217         (_FP_WFRACXBITS_DW_S): Likewise.
61218         (_FP_HIGHBIT_DW_S): Likewise.
61219         (FP_FMA_S): Likewise.
61220         (_FP_FRAC_HIGH_DW_S): Likewise.
61221         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
61222         (_FP_WFRACBITS_DW_D): Likewise.
61223         (_FP_WFRACXBITS_DW_D): Likewise.
61224         (_FP_HIGHBIT_DW_D): Likewise.
61225         (FP_FMA_D): Likewise.
61226         (_FP_FRAC_HIGH_DW_D): Likewise.
61227         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
61228         (_FP_WFRACBITS_DW_E): Likewise.
61229         (_FP_WFRACXBITS_DW_E): Likewise.
61230         (_FP_HIGHBIT_DW_E): Likewise.
61231         (FP_FMA_E): Likewise.
61232         (_FP_FRAC_HIGH_DW_E): Likewise.
61233         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
61234         (_FP_WFRACBITS_DW_Q): Likewise.
61235         (_FP_WFRACXBITS_DW_Q): Likewise.
61236         (_FP_HIGHBIT_DW_Q): Likewise.
61237         (FP_FMA_Q): Likewise.
61238         (_FP_FRAC_HIGH_DW_Q): Likewise.
61239         * soft-fp/fmasf4.c: New file.
61240         * soft-fp/fmadf4.c: Likewise.
61241         * soft-fp/fmatf4.c: Likewise.
61243 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61245         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61246         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
61247         Silvermont.
61248         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
61249         macro.
61250         (index_Slow_SSE4_2): Likewise.
61251         (index_Prefer_PMINUB_for_stringop): Likewise.
61252         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
61253         bit_Slow_SSE4_2 is set.
61254         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61255         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61257 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61259         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
61260         rtld_global._dl_hwcap2.
61261         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
61262         POWER8.
61263         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
61264         POWER8 feature descriptions defined in _dl_hwcap2.
61265         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
61266         string handling for POWER8 feature bits.
61267         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
61268         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
61269         _dl_powerpc_cap_flags.
61270         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
61271         * sysdeps/powerpc/rtld-global-offsets.sym
61272         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
61273         _dl_hwcap2 in the rtld_global_ro structure.
61275 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61277         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
61278         hardware capabilities in support of AT_HWCAP2.
61279         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
61280         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
61281         GLRO(dl_hwcap2).
61282         (_dl_show_auxv): Add support for calling _dl_procinfo to display
61283         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
61284         explicitly the unknown a_type display mechanism is used.
61285         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
61286         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
61287         struct member.
61288         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
61289         to macro prototype for AT_HWCAP2 support.
61290         * sysdeps/i386/dl-procinfo.h: Likewise.
61291         * sysdeps/s390/dl-procinfo.h: Likewise.
61292         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
61293         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
61294         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
61295         return -1 for unknown a_type display fallback.
61296         * sysdeps/sparc/dl-procinfo.h: Likewise.
61297         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
61298         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
61300 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
61302         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
61303         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
61305 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
61307         [BZ #12492]
61308         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
61309         mprotect making __stack_prot writable.
61311 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
61312             Joseph Myers  <joseph@codesourcery.com>
61314         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
61315         as being properly aligned.
61317 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
61319         * dlfcn/modstatic5.c: New file.
61320         * dlfcn/tststatic5.c: New file.
61321         * dlfcn/Makefile (tests): Add tststatic5.
61322         (tests-static): Likewise.
61323         (modules-names): Add modstatic5.
61324         (tststatic5-ENV): New variable.
61325         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
61327         [BZ #15022]
61328         * elf/dl-support.c (_dl_main_map): New variable.
61329         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
61330         (_dl_nns, _dl_load_adds): Set to 1.
61331         (_dl_initial_searchlist): Refer to _dl_main_map.
61332         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
61333         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
61334         call to _dl_get_origin.
61335         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
61336         around call_map.
61337         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
61338         * dlfcn/modstatic3.c: New file.
61339         * dlfcn/tststatic3.c: New file.
61340         * dlfcn/tststatic4.c: New file.
61341         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
61342         (tests-static): Likewise.
61343         (modules-names): Add modstatic3.
61344         (tststatic3-ENV, tststatic4-ENV): New variables.
61345         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
61346         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
61348 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
61350         * configure.in (CC): Require GCC version 4.4 or later.
61351         * configure: Regenerated.
61352         * manual/install.texi (Tools for Compilation): Update GCC version
61353         requirement.
61354         * INSTALL: Regenerated.
61356 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61358         [BZ #15674]
61359         * string/test-memcmp.c (check2): New.
61360         (main): Call check2.
61362         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
61364 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
61366         [BZ #15022]
61367         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
61368         over to...
61369         (dl_open_worker) [!SHARED]: ... here.
61371 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61373         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
61375 2013-06-25  Richard Henderson  <rth@redhat.com>
61377         * locale/programs/locarchive.c: Include <libc-internal.h>
61379 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
61381         * manual/texinfo.tex: Update to version 2013-06-21.17, with
61382         trailing whitespace removed.
61384 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61386         [BZ #10283]
61387         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
61388         * locale/programs/locarchive.c: Include libc-mmap.h.
61389         (prepare_address_space): Take two new outputs (the mmap base and len).
61390         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
61391         values.
61392         (create_archive): Declare new mmap base and len values for
61393         prepare_address_space, and store the result in ah.
61394         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
61395         (enlarge_archive): If ah->mmap_base is not NULL, use that and
61396         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61397         Declare new mmap base and len values for
61398         prepare_address_space, and store the result in new_ah.
61399         (open_archive): Declare new mmap base and len values for
61400         prepare_address_space, and store the result in ah.
61401         (close_archive): If ah->mmap_base is not NULL, use that and
61402         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61403         * sysdeps/generic/libc-mmap.h: New file.
61405 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61407         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
61408         (ALIGN_UP): Likewise.
61409         (PTR_ALIGN_DOWN): Likewise.
61410         (PTR_ALIGN_UP): Likewise.
61412 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61414         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
61415         entry mapped to PPC_PLATFORM_POWER8.
61416         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
61417         POWER8.
61418         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
61419         (_dl_string_platform): Add case for exporting platform position for
61420         POWER8.
61421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
61422         search path to sysdeps/powerpc/powerpc32/power8 directory.
61423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
61424         search path to sysdeps/powerpc/powerpc64/power8 directory.
61425         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
61426         power7 directories.
61427         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
61428         power7 directories.
61430 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61432         * INSTALL: Regenerate.
61434         * nscd/connections.c (nscd_init): Fix comment.
61436 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
61438         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
61440         [BZ #15667]
61441         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
61442         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
61444 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61446         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
61447         DL_DST_REQ_STATIC.
61448         (DL_DST_REQ_STATIC): Remove macro.
61450 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
61452         [BZ #7006]
61453         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
61454         with a shift of 0 bits.
61456 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61458         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
61459         $(tststatic-ENV).
61461 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61463         [BZ #15655]
61464         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
61466 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61468         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
61469         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
61470         accepts -fno-tree-loop-distribute-patterns.
61471         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
61472         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
61473         recursive call.
61474         * string/memset.c (memset): Likewise.
61475         * string/test-memmove.c (simple_memmove): Disable loop transformation
61476         to library calls.
61477         * string/test-memset.c (simple_memset): Likewise.
61478         * benchtests/bench-memmove.c (simple_memmove): Likewise.
61479         * benchtests/bench-memset.c (simple_memset): Likewise.
61480         * configure: Regenerated.
61482 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
61484         * math/test-misc.c (main): Ignore fesetround failure when failures
61485         of subsequent rounding tests would be ignored.
61487         [BZ #15654]
61488         * math/fedisblxcpt.c (fedisableexcept): Return 0.
61489         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
61490         * math/fegetenv.c (__fegetenv): Return 0.
61491         * math/fegetexcept.c (fegetexcept): Return 0.
61492         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
61493         FE_TONEAREST.
61494         * math/feholdexcpt.c (feholdexcept): Return 0.
61495         * math/fesetenv.c (__fesetenv): Return 0.
61496         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
61497         argument FE_TONEAREST.
61498         * math/feupdateenv.c (__feupdateenv): Return 0.
61499         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
61501 2013-06-18  Roland McGrath  <roland@hack.frob.com>
61503         * elf/rtld-Rules (rtld-compile-command.S): New variable.
61504         (rtld-compile-command.s, rtld-compile-command.c): New variables.
61505         ($(objpfx)rtld-%.os rules): Use them.
61507 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61509         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
61510         fields.
61512 2013-06-17  Roland McGrath  <roland@hack.frob.com>
61514         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
61515         length of target pattern, then descending length of dependency pattern.
61516         * configure.in (AWK): Require gawk 3.1.2 or newer.
61517         * manual/install.texi (Tools for Compilation): Say that we do.
61518         * configure: Regenerated.
61520         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
61521         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
61522         * scripts/sysd-rules.awk: ... this new script.
61523         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
61524         than a glob-style pattern.
61526 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
61528         * math/test-misc.c (main): Do not treat incorrectly rounded
61529         conversions as failure unless ROUNDING_TESTS passes.
61531 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
61533         [BZ #15631]
61534         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
61535         restore exception state around main square root computation, then
61536         check for inexactness explicitly.
61538         * math/libm-test.inc (fma_test_data): Add another test.
61540 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61542         * manual/threads.texi (Non-POSIX Extensions): New document
61543         node.  Document pthread_getattr_default_np and
61544         pthread_setattr_default_np.
61546         * Versions.def (libpthread): Add GLIBC_2.18.
61547         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
61548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61549         Likewise.
61550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61551         Likewise.
61552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61553         Likewise.
61554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61555         Likewise.
61556         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
61557         Likewise.
61558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61559         Likewise.
61560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61561         Likewise.
61562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61563         Likewise.
61564         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61565         Likewise.
61567 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61569         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61570         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
61572 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61573             H.J. Lu  <hjl.tools@gmail.com>
61575         [BZ #15627]
61576         * sysdeps/x86_64/rtld-memset.c: Remove file.
61577         * sysdeps/x86_64/rtld-memset.S: New file.
61579 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
61581         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
61582         (test_in_one_mode): Take arguments for whether the rounding mode
61583         is supported for each floating-point type.
61584         (do_test): Pass new arguments to test_in_one_mode using
61585         ROUNDING_TESTS.
61587 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61589         * posix/tst-waitid.c (do_test): Distinguish different instances of
61590         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
61591         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
61592         before entering the kernel for waitpid.
61594 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61596         * NEWS: Fix note on clock function precision.  Text by Roland
61597         McGrath.
61599 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61601         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
61602         it into place only when and if the sanity check passes.
61604 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
61606         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
61607         output for whether conversion result is exact.  Take argument
61608         indicating whether type is IBM long double.
61609         (round_for_all): Change need_exact field to ibm_ld.
61610         * stdlib/tst-strtod-round.c (struct exactness): New type.
61611         (struct test): Change bool ld_ok field to struct exactness exact.
61612         (TEST): Update all definitions for change to field.
61613         (tests): Regenerate array contents.
61614         (test_in_one_mode): Take pointer to new field instead of old ld_ok
61615         field value.  Check for IBM long double here.
61616         (do_test): Update calls to test_in_one_mode.
61618 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61620         [BZ #12515]
61621         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
61622         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
61624 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61626         [BZ #15605]
61627         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
61628         generated by the compiler on loop optimizations.
61629         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
61630         general definitions.
61632 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
61634         * math/bug-nextafter.c: Include <math-tests.h>.
61635         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61636         the relevant type.
61637         * math/bug-nexttoward.c: Include <math-tests.h>.
61638         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61639         the relevant type.
61640         * math/test-misc.c: Include <math-tests.h>.
61641         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61642         the relevant type.
61644 2013-06-12  Andreas Jaeger  <aj@suse.de>
61646         * po/ia.po: Update Interlingua translation from translation
61647         project.
61649 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61651         * include/fenv.h: Include stdbool.h.
61652         (struct rm_ctx): New structure.
61653         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
61654         Define macro.
61655         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
61656         (SET_RESTORE_ROUNDF): Likewise.
61657         (SET_RESTORE_ROUNDL): Likewise.
61658         (SET_RESTORE_ROUND_NOEX): Likewise.
61659         (SET_RESTORE_ROUND_NOEXF): Likewise.
61660         (SET_RESTORE_ROUND_NOEXL): Likewise.
61661         (SET_RESTORE_ROUND_53BIT): Likewise.
61662         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
61663         (libc_feresetround_noexf_ctx): Likewise.
61664         (libc_feresetround_noexl_ctx): Likewise.
61665         (libc_feholdsetround_53bit_ctx): Likewise.
61666         (libc_feresetround_53bit_ctx): Likewise.
61667         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
61668         (libc_feholdexcept_setround_sse_ctx): New function.
61669         (libc_fesetenv_sse_ctx): Likewise.
61670         (libc_feupdateenv_sse_ctx): Likewise.
61671         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
61672         (libc_feholdexcept_setround_387_ctx): Likewise.
61673         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
61674         (libc_feholdsetround_387_prec_ctx): Likewise.
61675         (libc_feholdsetround_387_ctx): Likewise.
61676         (libc_feholdsetround_387_53bit_ctx): Likewise.
61677         (libc_feholdsetround_sse_ctx): Likewise.
61678         (libc_feresetround_sse_ctx): Likewise.
61679         (libc_feresetround_387_ctx): Likewise.
61680         (libc_feupdateenv_387_ctx): Likewise.
61681         (libc_feholdexcept_setroundf_ctx): Define macro.
61682         (libc_fesetenvf_ctx): Likewise.
61683         (libc_feupdateenvf_ctx): Likewise.
61684         (libc_feholdsetroundf_ctx): Likewise.
61685         (libc_feresetroundf_ctx): Likewise.
61686         (libc_feholdexcept_setround_ctx): Likewise.
61687         (libc_fesetenv_ctx): Likewise.
61688         (libc_feupdateenv_ctx): Likewise.
61689         (libc_feholdsetround_ctx): Likewise.
61690         (libc_feresetround_ctx): Likewise.
61691         (libc_feholdexcept_setroundl_ctx): Likewise.
61692         (libc_feupdateenvl_ctx): Likewise.
61693         (libc_feholdsetroundl_ctx): Likewise.
61694         (libc_feresetroundl_ctx): Likewise.
61695         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
61696         (libc_feresetround_53bit_ctx): Likewise.
61698 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61700         * locale/iso-639.def: Convert to UTF-8.
61702 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
61704         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
61705         (EXCEPTION_TESTS_double): Likewise.
61706         (EXCEPTION_TESTS_long_double): Likewise.
61707         (EXCEPTION_TESTS): Likewise.
61708         * math/libm-test.inc (test_exceptions): Only test exceptions if
61709         EXCEPTION_TESTS (FLOAT).
61711 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61713         * benchtests/Makefile (string-bench): Add strcpy_chk and
61714         stpcpy_chk.
61715         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
61716         * benchtests/bench-stpcpy_chk.c: New file.
61717         * benchtests/bench-strcpy_chk-ifunc.c: New file.
61718         * benchtests/bench-strcpy_chk.c: New file.
61719         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
61720         code.
61721         (do_test): Likewise.
61723 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61725         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
61726         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
61727         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
61728         with tabs where appropriate.
61729         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
61730         dl-procinfo.h.
61731         [PPC_PLATFORM_PPC440]: Likewise.
61732         [PPC_PLATFORM_PPC464]: Likewise.
61733         [PPC_PLATFORM_PPC476]: Likewise.
61734         (_dl_string_platform): Add support for detecting ppc405, ppc440,
61735         ppc464, and ppc476 platform strings merging from ports/
61736         dl-procinfo.h.
61738 2013-06-11  Andreas Schwab  <schwab@suse.de>
61740         [BZ #14991]
61741         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
61742         (from_ucs4_idx): Regenerate.
61743         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
61744         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
61745         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
61746         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
61747         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
61748         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
61749         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
61750         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
61751         from FROM_LOOP and TO_LOOP specific macros.
61752         (BODY): Handle combining characters.
61753         * iconvdata/BIG5HKSCS.irreversible: Update.
61754         * iconvdata/BIG5HKSCS.precomposed: New file.
61755         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
61756         characters.
61757         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
61759 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61761         * include/sys/time.h: Fix indentation and add copyright header.
61763         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
61764         (do_test): Likewise.
61765         * string/test-memchr.c (do_one_test): Likewise.
61766         (do_test): Likewise.
61767         * string/test-memcmp.c (do_one_test): Likewise.
61768         (do_test): Likewise.
61769         * string/test-memcpy.c (do_one_test): Likewise.
61770         (do_test): Likewise.
61771         * string/test-memmem.c (do_one_test): Likewise.
61772         (do_test): Likewise.
61773         (do_random_tests): Likewise.
61774         * string/test-memmove.c (do_one_test): Likewise.
61775         (do_test): Likewise.
61776         * string/test-memset.c (do_one_test): Likewise.
61777         (do_test): Likewise.
61778         * string/test-rawmemchr.c (do_one_test): Likewise.
61779         (do_test): Likewise.
61780         * string/test-strcasecmp.c (do_one_test): Likewise.
61781         (do_test): Likewise.
61782         * string/test-strcasestr.c (do_one_test): Likewise.
61783         (do_test): Likewise.
61784         * string/test-strcat.c (do_one_test): Likewise.
61785         (do_test): Likewise.
61786         * string/test-strchr.c (do_one_test): Likewise.
61787         (do_test): Likewise.
61788         * string/test-strcmp.c (do_one_test): Likewise.
61789         (do_test): Likewise.
61790         * string/test-strcpy.c (do_one_test): Likewise.
61791         (do_test): Likewise.
61792         * string/test-string.h: Likewise.
61793         (test_init): Likewise.
61794         * string/test-strlen.c (do_one_test): Likewise.
61795         (do_test): Likewise.
61796         * string/test-strncasecmp.c (do_one_test): Likewise.
61797         (do_test): Likewise.
61798         * string/test-strncat.c (do_one_test): Likewise.
61799         (do_test): Likewise.
61800         * string/test-strncmp.c (do_one_test): Likewise.
61801         (do_test_limit): Likewise.
61802         (do_test): Likewise.
61803         * string/test-strncpy.c (do_one_test): Likewise.
61804         (do_test): Likewise.
61805         * string/test-strnlen.c (do_one_test): Likewise.
61806         (do_test): Likewise.
61807         * string/test-strpbrk.c (do_one_test): Likewise.
61808         (do_test): Likewise.
61809         * string/test-strrchr.c (do_one_test): Likewise.
61810         (do_test): Likewise.
61811         * string/test-strspn.c (do_one_test): Likewise.
61812         (do_test): Likewise.
61813         * string/test-strstr.c (do_one_test): Likewise.
61814         (do_test): Likewise.
61816         * benchtests/Makefile (string-bench): Add string benchmarks.
61817         * benchtests/bench-bcopy-ifunc.c: New file.
61818         * benchtests/bench-bcopy.c: New file.
61819         * benchtests/bench-bzero-ifunc.c: New file.
61820         * benchtests/bench-bzero.c: New file.
61821         * benchtests/bench-memccpy-ifunc.c: New file.
61822         * benchtests/bench-memccpy.c: New file.
61823         * benchtests/bench-memchr-ifunc.c: New file.
61824         * benchtests/bench-memchr.c: New file.
61825         * benchtests/bench-memcmp-ifunc.c: New file.
61826         * benchtests/bench-memcmp.c: New file.
61827         * benchtests/bench-memmem-ifunc.c: New file.
61828         * benchtests/bench-memmem.c: New file.
61829         * benchtests/bench-memmove-ifunc.c: New file.
61830         * benchtests/bench-memmove.c: New file.
61831         * benchtests/bench-mempcpy-ifunc.c: New file.
61832         * benchtests/bench-mempcpy.c: New file.
61833         * benchtests/bench-memset-ifunc.c: New file.
61834         * benchtests/bench-memset.c: New file.
61835         * benchtests/bench-rawmemchr-ifunc.c: New file.
61836         * benchtests/bench-rawmemchr.c: New file.
61837         * benchtests/bench-stpcpy-ifunc.c: New file.
61838         * benchtests/bench-stpcpy.c: New file.
61839         * benchtests/bench-stpncpy-ifunc.c: New file.
61840         * benchtests/bench-stpncpy.c: New file.
61841         * benchtests/bench-strcasecmp-ifunc.c: New file.
61842         * benchtests/bench-strcasecmp.c: New file.
61843         * benchtests/bench-strcasestr-ifunc.c: New file.
61844         * benchtests/bench-strcasestr.c: New file.
61845         * benchtests/bench-strcat-ifunc.c: New file.
61846         * benchtests/bench-strcat.c: New file.
61847         * benchtests/bench-strchr-ifunc.c: New file.
61848         * benchtests/bench-strchr.c: New file.
61849         * benchtests/bench-strchrnul-ifunc.c: New file.
61850         * benchtests/bench-strchrnul.c: New file.
61851         * benchtests/bench-strcmp-ifunc.c: New file.
61852         * benchtests/bench-strcmp.c: New file.
61853         * benchtests/bench-strcpy-ifunc.c: New file.
61854         * benchtests/bench-strcpy.c: New file.
61855         * benchtests/bench-strcspn-ifunc.c: New file.
61856         * benchtests/bench-strcspn.c: New file.
61857         * benchtests/bench-strlen-ifunc.c: New file.
61858         * benchtests/bench-strlen.c: New file.
61859         * benchtests/bench-strncasecmp-ifunc.c: New file.
61860         * benchtests/bench-strncasecmp.c: New file.
61861         * benchtests/bench-strncat-ifunc.c: New file.
61862         * benchtests/bench-strncat.c: New file.
61863         * benchtests/bench-strncmp-ifunc.c: New file.
61864         * benchtests/bench-strncmp.c: New file.
61865         * benchtests/bench-strncpy-ifunc.c: New file.
61866         * benchtests/bench-strncpy.c: New file.
61867         * benchtests/bench-strnlen-ifunc.c: New file.
61868         * benchtests/bench-strnlen.c: New file.
61869         * benchtests/bench-strpbrk-ifunc.c: New file.
61870         * benchtests/bench-strpbrk.c: New file.
61871         * benchtests/bench-strrchr-ifunc.c: New file.
61872         * benchtests/bench-strrchr.c: New file.
61873         * benchtests/bench-strspn-ifunc.c: New file.
61874         * benchtests/bench-strspn.c: New file.
61875         * benchtests/bench-strstr-ifunc.c: New file.
61876         * benchtests/bench-strstr.c: New file.
61878         * benchtests/Makefile: Disable parallel execution of targets.
61879         (string-bench): Add memcpy.
61880         (benchset): New variable to store a list of benchmark sets.
61881         (bench-func): Renamed from bench.
61882         (bench-set): New target.
61883         (bench): Depend on bench-func and bench-set.
61884         * benchtests/README: Add section on benchmark sets.
61885         * benchtests/bench-memcpy-ifunc.c: New file.
61886         * benchtests/bench-memcpy.c: New file.
61887         * benchtests/bench-string.h: New file.
61889 2013-06-11  Andreas Schwab  <schwab@suse.de>
61891         [BZ #15577]
61892         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
61893         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
61894         values in the triple.
61895         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
61896         terminator in the group key.
61898 2013-06-11  Andreas Jaeger  <aj@suse.de>
61900         * po/zh_TW.po: Update Chinese (traditional) translation from
61901         translation project.
61903 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61905         * include/time.h (__clock_gettime): Add libc_hidden_proto.
61906         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
61907         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
61908         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61909         (clock_getcpuclockid): Likewise.
61910         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
61911         Add weak_alias and libc_hidden_def.
61912         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
61913         * rt/clock_gettime.c (clock_gettime): Rename to
61914         __clock_gettime.  Add weak_alias and libc_hidden_def.
61915         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
61916         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
61917         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
61918         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
61919         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
61920         Likewise.
61921         * rt/clock_settime.c (clock_settime): Rename to
61922         __clock_settime.  Add weak_alias and libc_hidden_def.
61923         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
61925 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
61927         * mach/err_boot.sub: Remove trailing whitespace.
61928         * mach/err_ipc.sub: Likewise.
61929         * mach/err_mach.sub: Likewise.
61931         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
61932         (ROUNDING_TESTS_double): Likewise.
61933         (ROUNDING_TESTS_long_double): Likewise.
61934         (ROUNDING_TESTS): Likewise.
61935         * math/libm-test.inc: Include <math-tests.h>.
61936         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
61937         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61938         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61939         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61941 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61943         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
61944         of assigning.
61946 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
61948         * sysdeps/gnu/errlist.awk: Do not generate space at end of
61949         otherwise empty TRANS lines.
61950         * sysdeps/gnu/errlist.c: Regenerated.
61952         * catgets/gencat.c (error_print): Use (void) in function
61953         definition.
61954         * crypt/crypt_util.c (__init_des): Likewise.
61955         * crypt/speeds.c (Stop): Likewise.
61956         (main): Likewise.
61957         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
61958         * inet/ruserpass.c (token): Likewise.
61959         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
61960         * intl/localealias.c (extend_alias_table): Likewise.
61961         * intl/plural-exp.c (init_germanic_plural): Likewise.
61962         * libio/fcloseall.c (__fcloseall): Likewise.
61963         * libio/genops.c (_IO_flush_all): Likewise.
61964         (_IO_flush_all_linebuffered): Likewise.
61965         (_IO_cleanup): Likewise.
61966         (_IO_iter_begin): Likewise.
61967         (_IO_iter_end): Likewise.
61968         (_IO_list_lock): Likewise.
61969         (_IO_list_unlock): Likewise.
61970         (_IO_list_resetlock): Likewise.
61971         * libio/getchar.c (getchar): Likewise.
61972         * libio/getchar_u.c (getchar_unlocked): Likewise.
61973         * libio/getwchar.c (getwchar): Likewise.
61974         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
61975         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
61976         * login/getpt.c (__getpt): Likewise.
61977         * login/tst-utmp.c (main): Likewise.
61978         * malloc/hooks.c (__malloc_check_init): Likewise.
61979         * malloc/malloc.c (__malloc_stats): Likewise.
61980         * malloc/mtrace.c (tr_break): Likewise.
61981         (mtrace): Likewise.
61982         (muntrace): Likewise.
61983         * misc/fstab.c (endfsent): Likewise.
61984         * misc/getclktck.c (__getclktck): Likewise.
61985         * misc/getdtsz.c (__getdtablesize): Likewise.
61986         * misc/gethostid.c (gethostid): Likewise.
61987         * misc/getpagesize.c (__getpagesize): Likewise.
61988         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
61989         (__get_nprocs): Likewise.
61990         (__get_phys_pages): Likewise.
61991         (__get_avphys_pages): Likewise.
61992         * misc/getttyent.c (getttyent): Likewise.
61993         (setttyent): Likewise.
61994         (endttyent): Likewise.
61995         * misc/getusershell.c (getusershell): Likewise.
61996         (endusershell): Likewise.
61997         (setusershell): Likewise.
61998         (initshells): Likewise.
61999         * misc/hsearch.c (__hdestroy): Likewise.
62000         * misc/sync.c (sync): Likewise.
62001         * misc/syslog.c (closelog_internal): Likewise.
62002         (closelog): Likewise.
62003         * misc/ttyslot.c (ttyslot): Likewise.
62004         * misc/vhangup.c (vhangup): Likewise.
62005         * posix/fork.c (__fork): Likewise.
62006         * posix/getegid.c (__getegid): Likewise.
62007         * posix/geteuid.c (__geteuid): Likewise.
62008         * posix/getgid.c (__getgid): Likewise.
62009         * posix/getpid.c (__getpid): Likewise.
62010         * posix/getppid.c (__getppid): Likewise.
62011         * posix/getuid.c (__getuid): Likewise.
62012         * posix/pause.c (pause): Likewise.
62013         * posix/setpgrp.c (setpgrp): Likewise.
62014         * posix/setsid.c (__setsid): Likewise.
62015         * posix/test-vfork.c (noop): Likewise.
62016         * resolv/gethnamaddr.c (_endhtent): Likewise.
62017         (_gethtent): Likewise.
62018         (ht_endhostent): Likewise.
62019         (gethostent): Likewise.
62020         (dns_service): Likewise.
62021         * stdlib/drand48.c (drand48): Likewise.
62022         * stdlib/lrand48.c (lrand48): Likewise.
62023         * stdlib/mrand48.c (mrand48): Likewise.
62024         * stdlib/rand.c (rand): Likewise.
62025         * stdlib/random.c (__random): Likewise.
62026         * stdlib/setenv.c (clearenv): Likewise.
62027         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
62028         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
62029         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
62030         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
62031         (__get_nprocs): Likewise.
62032         (__get_phys_pages): Likewise.
62033         (__get_avphys_pages): Likewise.
62034         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
62035         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
62036         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
62037         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
62038         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
62039         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
62040         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
62041         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
62042         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
62043         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
62044         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
62045         * sysdeps/mach/hurd/sync.c (sync): Likewise.
62046         * sysdeps/posix/clock.c (clock): Likewise.
62047         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
62048         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
62049         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
62050         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
62051         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
62052         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
62053         (__get_nprocs_conf): Likewise.
62054         (__get_phys_pages): Likewise.
62055         (__get_avphys_pages): Likewise.
62056         * time/clock.c (clock): Likewise.
62057         * time/tzset.c (__tzname_max): Likewise.
62059 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
62061         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
62062         (__bswap_32): Do not use "register".
62063         * crypt/crypt.c (_ufc_doit_r): Likewise.
62064         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
62065         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
62066         * gmon/gmon.c (__monstartup): Likewise.
62067         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
62068         * hurd/hurdmalloc.c (more_memory): Likewise.
62069         (malloc): Likewise.
62070         (free): Likewise.
62071         (realloc): Likewise.
62072         (malloc_fork_prepare): Likewise.
62073         (malloc_fork_parent): Likewise.
62074         (malloc_fork_child): Likewise.
62075         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
62076         (_svcauth_des): Likewise.
62077         * inet/inet_lnaof.c (inet_lnaof): Likewise.
62078         * inet/inet_net.c (inet_network): Likewise.
62079         * inet/inet_netof.c (inet_netof): Likewise.
62080         * inet/rcmd.c (__validuser2_sa): Likewise.
62081         * io/fts.c (fts_open): Likewise.
62082         (fts_load): Likewise.
62083         (fts_close): Likewise.
62084         (fts_read): Likewise.
62085         (fts_children): Likewise.
62086         (fts_build): Likewise.
62087         (fts_stat): Likewise.
62088         (fts_sort): Likewise.
62089         (fts_alloc): Likewise.
62090         (fts_lfree): Likewise.
62091         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
62092         (_IO_file_xsgetn): Likewise.
62093         (_IO_file_xsgetn_mmap): Likewise.
62094         * libio/iofopncook.c (_IO_cookie_read): Likewise.
62095         (_IO_cookie_write): Likewise.
62096         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
62097         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
62098         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
62099         * malloc/obstack.c (_obstack_begin): Likewise.
62100         (_obstack_begin_1): Likewise.
62101         (_obstack_newchunk): Likewise.
62102         (_obstack_allocated_p): Likewise.
62103         (obstack_free): Likewise.
62104         (_obstack_memory_used): Likewise.
62105         * misc/getttyent.c (getttynam): Likewise.
62106         (getttyent): Likewise.
62107         (skip): Likewise.
62108         (value): Likewise.
62109         * misc/getusershell.c (initshells): Likewise.
62110         * misc/syslog.c (__vsyslog_chk): Likewise.
62111         * misc/ttyslot.c (ttyslot): Likewise.
62112         * nis/nis_hash.c (__nis_hash): Likewise.
62113         * posix/fnmatch_loop.c (FCT): Likewise.
62114         * posix/getconf.c (print_all): Likewise.
62115         (main): Likewise.
62116         * posix/getopt.c (exchange): Likewise.
62117         * posix/glob.c (globfree): Likewise.
62118         (prefix_array): Likewise.
62119         (__glob_pattern_type): Likewise.
62120         * resolv/arpa/nameser.h (NS_GET16): Likewise.
62121         (NS_GET32): Likewise.
62122         (NS_PUT16): Likewise.
62123         (NS_PUT32): Likewise.
62124         * resolv/gethnamaddr.c (getanswer): Likewise.
62125         (gethostbyname2): Likewise.
62126         (gethostbyaddr): Likewise.
62127         (_gethtent): Likewise.
62128         (_gethtbyname2): Likewise.
62129         (_gethtbyaddr): Likewise.
62130         * resolv/ns_print.c (dst_s_get_int16): Likewise.
62131         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
62132         * resolv/res_init.c (__res_vinit): Likewise.
62133         (net_mask): Likewise.
62134         * resolv/res_mkquery.c (outchar): Likewise.
62135         (PRINT): Likewise.
62136         * stdio-common/printf_fp.c (outchar): Likewise.
62137         (PRINT): Likewise.
62138         * stdio-common/printf_fphex.c (outchar): Likewise.
62139         (PRINT): Likewise.
62140         * stdio-common/printf_size.c (outchar): Likewise.
62141         (PRINT): Likewise.
62142         * stdio-common/test_rdwr.c (main): Likewise.
62143         * stdio-common/tfformat.c (matches): Likewise.
62144         * stdio-common/vfprintf.c (outchar): Likewise.
62145         (printf_unknown): Likewise.
62146         (buffered_vfprintf): Likewise.
62147         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
62148         * stdio-common/xbug.c (AppendToBuffer): Likewise.
62149         (ReadFile): Likewise.
62150         * stdlib/qsort.c (SWAP): Likewise.
62151         (_quicksort): Likewise.
62152         * stdlib/setenv.c (__add_to_environ): Likewise.
62153         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
62154         * stdlib/strtol_l.c (__strtol_l): Likewise.
62155         * stdlib/tst-strtod.c (main): Likewise.
62156         * stdlib/tst-strtol.c (main): Likewise.
62157         * stdlib/tst-strtoll.c (main): Likewise.
62158         * string/bits/string2.h (__strcmp_cc): Likewise.
62159         (__strcmp_cg): Likewise.
62160         (__strcspn_c1): Likewise.
62161         (__strcspn_c2): Likewise.
62162         (__strcspn_c3): Likewise.
62163         (__strspn_c1): Likewise.
62164         (__strspn_c2): Likewise.
62165         (__strspn_c3): Likewise.
62166         (__strsep_1c): Likewise.
62167         (__strsep_2c): Likewise.
62168         (__strsep_3c): Likewise.
62169         * string/memccpy.c (__memccpy): Likewise.
62170         * string/stpcpy.c (__stpcpy): Likewise.
62171         * string/strcmp.c (strcmp): Likewise.
62172         * string/strrchr.c (strrchr): Likewise.
62173         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
62174         Likewise.
62175         * sysdeps/mach/hurd/getcwd.c
62176         (_hurd_canonicalize_directory_name_internal): Likewise.
62177         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
62178         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
62179         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
62180         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
62181         Likewise, in both definitions.
62182         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
62183         definitions.
62184         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
62185         64] (__bswap_64): Likewise.
62186         * time/test_time.c (main): Likewise.
62187         * time/tzfile.c (__tzfile_read): Likewise.
62188         (__tzfile_compute): Likewise.
62189         * time/tzset.c (__tzset_parse_tz): Likewise.
62190         (tzset_internal): Likewise.
62191         (compute_change): Likewise.
62192         * wcsmbs/wcscat.c (__wcscat): Likewise.
62193         * wcsmbs/wcschr.c (wcschr): Likewise.
62194         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
62195         * wcsmbs/wcscspn.c (wcscspn): Likewise.
62196         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
62197         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
62198         * wcsmbs/wcsspn.c (wcsspn): Likewise.
62199         * wcsmbs/wcsstr.c (wcsstr): Likewise.
62200         * wcsmbs/wmemchr.c (wmemchr): Likewise.
62201         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
62202         * wcsmbs/wmemset.c (wmemset): Likewise.
62204 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
62206         * scripts/config.guess: Update to version 2013-05-16.
62207         * scripts/config.sub: Update to version 2013-04-24.
62208         * scripts/install-sh: Update to version 2011-11-20.07.
62209         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
62210         * scripts/move-if-change: Update to version 2012-01-06 07:23.
62212 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
62214         * debug/fgetws_u_chk.c: Fix leading whitespaces.
62215         * elf/sln.c: Likewise.
62216         * hurd/hurd/ioctl.h: Likewise.
62217         * hurd/hurdmalloc.c: Likewise.
62218         * hurd/xattr.c: Likewise.
62219         * include/shlib-compat.h: Likewise.
62220         * inet/ruserpass.c: Likewise.
62221         * libio/iofgets_u.c: Likewise.
62222         * libio/iofgetws_u.c: Likewise.
62223         * locale/programs/ld-identification.c: Likewise.
62224         * locale/programs/ld-time.c: Likewise.
62225         * mach/msg-destroy.c: Likewise.
62226         * nss/nss_files/files-netgrp.c: Likewise.
62227         * resolv/res_data.c: Likewise.
62228         * soft-fp/op-1.h: Likewise.
62229         * soft-fp/op-2.h: Likewise.
62230         * soft-fp/op-4.h: Likewise.
62231         * soft-fp/op-common.h: Likewise.
62232         * stdio-common/printf_fphex.c: Likewise.
62233         * stdlib/strtod_l.c: Likewise.
62234         * sunrpc/rpc/clnt.h: Likewise.
62235         * sysdeps/generic/framestate.c: Likewise.
62236         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62237         * sysdeps/i386/bsd-setjmp.S: Likewise.
62238         * sysdeps/i386/__longjmp.S: Likewise.
62239         * sysdeps/i386/setjmp.S: Likewise.
62240         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62241         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62242         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62243         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62244         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62245         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62246         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62247         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62248         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62249         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62250         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62251         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62252         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62253         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62254         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62255         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62256         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62257         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
62258         * sysdeps/ieee754/support.c: Likewise.
62259         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62260         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
62261         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
62262         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
62263         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
62264         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
62265         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
62266         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
62267         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
62268         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
62269         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
62270         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
62271         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
62272         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
62273         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
62274         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
62275         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
62278 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
62280         * posix/transbug.c: Remove executable mode.
62282 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
62284         * crypt/speeds.c: Remove trailing whitespace.
62285         * dlfcn/default.c: Likewise.
62286         * elf/ifuncdep2.c: Likewise.
62287         * elf/ifuncmain1.c: Likewise.
62288         * elf/ifuncmain1vis.c: Likewise.
62289         * elf/testobj.h: Likewise.
62290         * elf/tst-stackguard1.c: Likewise.
62291         * gmon/sys/gmon.h: Likewise.
62292         * hurd/hurdmsg.c: Likewise.
62293         * hurd/new-fd.c: Likewise.
62294         * hurd/ports-get.c: Likewise.
62295         * iconvdata/ibm1008_420.c: Likewise.
62296         * inet/tst-getni1.c: Likewise.
62297         * inet/tst-getni2.c: Likewise.
62298         * libio/ioungetc.c: Likewise.
62299         * libio/wfiledoalloc.c: Likewise.
62300         * manual/libm-err-tab.pl: Likewise.
62301         * math/w_dremf.c: Likewise.
62302         * misc/ftruncate.c: Likewise.
62303         * posix/bug-glob2.c: Likewise.
62304         * posix/tst-pcre.c: Likewise.
62305         * posix/wait4.c: Likewise.
62306         * resolv/README: Likewise.
62307         * resolv/res_debug.h: Likewise.
62308         * resolv/tst-inet_ntop.c: Likewise.
62309         * setjmp/bug269-setjmp.c: Likewise.
62310         * soft-fp/extended.h: Likewise.
62311         * soft-fp/op-1.h: Likewise.
62312         * soft-fp/op-2.h: Likewise.
62313         * soft-fp/op-4.h: Likewise.
62314         * soft-fp/op-8.h: Likewise.
62315         * soft-fp/testit.c: Likewise.
62316         * stdio-common/bug16.c: Likewise.
62317         * stdlib/random.c: Likewise.
62318         * sunrpc/rpcsvc/rquota.x: Likewise.
62319         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
62320         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62321         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62322         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62323         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62324         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62325         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62326         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62327         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62328         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62329         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62330         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62331         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62332         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62333         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62334         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62335         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62336         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62337         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62338         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62339         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62340         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62341         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
62342         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62343         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62344         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62345         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62346         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
62347         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62348         * sysdeps/ieee754/s_lib_version.c: Likewise.
62349         * sysdeps/mach/hurd/check_fds.c: Likewise.
62350         * sysdeps/mach/hurd/getsockname.c: Likewise.
62351         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
62352         * sysdeps/mach/hurd/recvfrom.c: Likewise.
62353         * sysdeps/powerpc/bits/link.h: Likewise.
62354         * sysdeps/powerpc/dl-procinfo.c: Likewise.
62355         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
62356         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
62357         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
62358         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62359         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62360         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
62361         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62362         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
62363         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62364         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
62365         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62366         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
62367         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62368         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62369         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62370         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62371         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62372         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62373         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62374         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62375         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
62376         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62377         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62378         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
62379         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62380         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62381         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62382         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62383         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62384         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62385         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62386         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62387         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62388         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
62389         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62390         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
62391         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62392         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
62393         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
62394         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
62395         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
62396         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
62397         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
62398         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62399         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
62400         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
62401         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62402         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
62403         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
62404         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62405         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62406         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62407         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62408         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
62409         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
62410         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
62411         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62412         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
62413         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
62414         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
62415         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
62416         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
62417         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62418         * sysdeps/powerpc/sysdep.h: Likewise.
62419         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62420         * sysdeps/s390/s390-64/sub_n.S: Likewise.
62421         * sysdeps/sh/dl-trampoline.S: Likewise.
62422         * sysdeps/sh/memset.S: Likewise.
62423         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
62424         * sysdeps/sh/strlen.S: Likewise.
62425         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
62426         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
62427         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
62428         * sysdeps/sparc/sparc32/rem.S: Likewise.
62429         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
62430         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
62431         * sysdeps/sparc/sparc32/strchr.S: Likewise.
62432         * sysdeps/sparc/sparc32/udiv.S: Likewise.
62433         * sysdeps/sparc/sparc32/urem.S: Likewise.
62434         * sysdeps/sparc/sparc64/add_n.S: Likewise.
62435         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62436         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
62437         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
62438         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
62439         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
62440         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
62441         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
62442         * sysdeps/unix/bsd/times.c: Likewise.
62443         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
62444         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
62445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
62446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
62447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
62448         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
62449         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
62450         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
62451         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
62452         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
62453         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
62454         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62455         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
62456         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62457         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62458         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
62459         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62460         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
62461         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
62462         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
62463         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
62464         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
62465         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62466         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
62467         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
62468         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
62469         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
62470         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62471         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
62472         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
62473         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
62474         * sysdeps/x86_64/strcspn.S: Likewise.
62476 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62478         * locale/C-translit.h: Revert #include <stdint.h> because this is a
62479         generated file.  Regenerate properly from gen-translit.pl.
62480         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
62481         locale/C-translit.h.
62483 2013-06-05  Andreas Schwab  <schwab@suse.de>
62485         [BZ #15100]
62486         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
62487         week as 6 instead of -1.
62488         * time/tst-strptime.c (day_tests): Add test case.
62490 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62492         * sysdeps/generic/math_private.h
62493         (libc_feholdexcept_setround_53bit): Replace with
62494         libc_feholdsetround_53bit.
62495         (libc_feupdateenv_53bit): Replace with
62496         libc_feresetround_53bit.
62497         (SET_RESTORE_ROUND_53BIT): Adjust.
62499 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62501         * string/test-strchrnul.c: Add copyright header.
62503         * posix/tst-getaddrinfo4.c: Increase test timeout.
62505 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
62507         [BZ #15536]
62508         * math/libm-test.inc (MAX_EXP): Remove
62509         (MIN_EXP): Define.
62510         (ulp): Use MIN_EXP - MANT_DIG.
62511         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
62513 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
62515         * po/be.po: Revert last change.
62516         * po/zh_CN.po: Likewise.
62517         * po/header.pot: Likewise.
62519 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
62521         * Makefile ($(common-objpfx)linkobj/libc.so): Define
62522         link-libc-deps to empty as target-specific variable.
62523         * Makerules (link-libc-args): New variable.
62524         (libc-for-link): Likewise.
62525         (link-libc-deps): Likewise.
62526         (lib%.so): Depend on $(link-libc-deps).  Link with
62527         $(link-libc-args).
62528         (build-module): Link with $(link-libc-args).
62529         (build-module-asneeded): Likewise.
62530         (build-module-helper-objlist): Filter out $(link-libc-deps) from
62531         list of objects.
62532         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
62533         target-specific variable.
62534         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
62535         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
62536         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
62537         libc.
62538         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
62539         libc and ld.so.
62540         ($(objpfx)libpcprofile.so): Likewise.
62541         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
62542         libc_nonshared.a.
62543         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
62544         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
62545         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
62546         $(link-libc-deps).
62547         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
62548         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
62549         * login/Makefile ($(objpfx)libutil.so): Likewise.
62550         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
62551         * math/Makefile ($(objpfx)libm.so): Likewise.
62552         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
62553         $(objpfx)libnsl.so): Define libc-for-link as target-specific
62554         variable instead of depending directly on libc.
62555         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
62556         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
62557         $(link-libc-deps).
62558         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
62559         libc.
62560         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
62561         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
62562         ($(objpfx)libanl.so): Likewise.
62563         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
62564         ld.so.
62565         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
62566         $(link-libc-deps).
62567         * sysdeps/i386/fpu/Makefile: Remove file.
62568         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
62569         ($(objpfx)libm.so): Remove dependency on ld.so.
62571 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
62573         [BZ # 15553]
62574         * nis/yp_xdr.c (XDRMAXNAME): Define.
62575         (XDRMAXRECORD): Define.
62576         (xdr_domainname): Use XDRMAXNAME.
62577         (xdr_mapname): Likewise.
62578         (xdr_peername): Likewise.
62579         (xdr_keydat): Use XDRMAXRECORD.
62580         (xdr_valdat): Likewise.
62582 2013-05-30  Jeff Law  <law@redhat.com>
62584         [BZ #14256]
62585         * manual/errno.texi (ESTALE): Update to account for more than
62586         just NFS file systems.
62587         * sysdeps/gnu/errlist.c: Regenerated.
62589 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62591         [BZ #15465]
62592         * elf/Makefile (tests): Add tst-null-argv.
62593         (modules-names):  Add tst-null-argv-lib.
62594         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
62595         (tst-null-argv-ENV): Set environment for tst-null-argv.
62596         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
62597         (RTLD_PROGNAME): New macro.
62598         * elf/tst-null-argv.c: New test case.
62599         * elf/tst-null-argv-lib.c: Library for test case.
62600         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
62601         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
62602         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
62603         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
62604         * elf/dl-init.c (call_init): Likewise.
62605         (_dl_init): Likewise.
62606         * elf/dl-load.c (print_search_path): Likewise.
62607         (_dl_map_object): Likewise.
62608         * elf/dl-lookup.c (do_lookup_x): Likewise.
62609         (add_dependency): Likewise.
62610         (_dl_lookup_symbol_x): Likewise.
62611         (_dl_debug_bindings): Likewise.
62612         * elf/dl-open.c (_dl_show_scope): Likewise.
62613         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
62614         * elf/dl-version.c (match_symbol): Likewise.
62615         (_dl_check_map_versions): Likewise.
62616         * elf/rtld.c (dl_main): Likewise.
62617         (print_unresolved): Use RTLD_PROGNAME.
62618         (print_missing_version): Likewise.
62619         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
62620         (elf_machine_rela): Likewise.
62621         * sysdeps/powerpc/powerpc32/dl-machine.c
62622         (__process_machine_rela): Likewise.
62623         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62624         Likewise.
62625         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62626         Likewise.
62627         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
62628         Likewise.
62629         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
62630         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
62631         Likewise.
62632         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
62633         Likewise.
62634         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
62636 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
62638         * po/be.po: Add descriptive title.
62639         * po/zh_CN.po: Likewise.
62640         * po/header.pot: Likewise.
62642 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
62644         * locale/programs/locarchive.c (create_archive): Inlucde fname in
62645         error message.
62646         (enlarge_archive): Likewise.
62648 2013-05-28  Ben North  <ben@redfrontdoor.org>
62650         * manual/arith.texi (frexp): It is the magnitude of the return
62651         value which lies in [0.5, 1), not the return value itself.
62653 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62657 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
62659         * stdio-common/bug26.c (main): Correct fscanf template.
62661         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
62662         declare _dl_skip_args.
62664         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
62665         Don't declare.
62667         * manual/platform.texi: Add missing @end deftypefun.
62669 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
62671         [BZ #15529]
62672         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
62673         bit of mantissa of 2^16382.
62674         * math/libm-test.inc (hypot_test_data): Add more tests.
62676         * math/libm-test.inc: Add drem and pow10 to list of tested
62677         functions.
62678         (pow10_test): New function.
62679         (drem_test): Likewise.
62680         (drem_test_tonearest): Likewise.
62681         (drem_test_towardzero): Likewise.
62682         (drem_test_downward): Likewise.
62683         (drem_test_upward): Likewise.
62684         (main): Call the new functions.
62686         * math/libm-test.inc (finite_test_data): Remove.
62687         (finite_test): Run tests from isfinite_test_data.
62688         (gamma_test_data): Remove.
62689         (gamma_test): Run tests from lgamma_test_data.
62690         * sysdeps/i386/fpu/libm-test-ulps: Update.
62691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62693 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62695         * manual/platform.texi: Add PowerPC PPR function set documentation.
62696         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
62697         implementation.
62699 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
62701         * math/libm-test.inc (MAX_EXP): Define.
62702         (ULPDIFF): Define.
62703         (ulp): New function.
62704         (check_float_internal): Use ULPDIFF.
62705         (cpow_test): Disable failing test.
62706         (check_ulp): Test ulp() implementation.
62707         (main): Call check_ulp before starting tests.
62709 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
62711         * math/gen-libm-test.pl (generate_testfile): Do not handle
62712         START_DATA and END_DATA.
62713         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
62714         END_DATA.
62715         (acos_tonearest_test_data): Likewise.
62716         (acos_towardzero_test_data): Likewise.
62717         (acos_downward_test_data): Likewise.
62718         (acos_upward_test_data): Likewise.
62719         (acosh_test_data): Likewise.
62720         (asin_test_data): Likewise.
62721         (asin_tonearest_test_data): Likewise.
62722         (asin_towardzero_test_data): Likewise.
62723         (asin_downward_test_data): Likewise.
62724         (asin_upward_test_data): Likewise.
62725         (asinh_test_data): Likewise.
62726         (atan_test_data): Likewise.
62727         (atanh_test_data): Likewise.
62728         (atan2_test_data): Likewise.
62729         (cabs_test_data): Likewise.
62730         (cacos_test_data): Likewise.
62731         (cacosh_test_data): Likewise.
62732         (carg_test_data): Likewise.
62733         (casin_test_data): Likewise.
62734         (casinh_test_data): Likewise.
62735         (catan_test_data): Likewise.
62736         (catanh_test_data): Likewise.
62737         (cbrt_test_data): Likewise.
62738         (ccos_test_data): Likewise.
62739         (ccosh_test_data): Likewise.
62740         (ceil_test_data): Likewise.
62741         (cexp_test_data): Likewise.
62742         (cimag_test_data): Likewise.
62743         (clog_test_data): Likewise.
62744         (clog10_test_data): Likewise.
62745         (conj_test_data): Likewise.
62746         (copysign_test_data): Likewise.
62747         (cos_test_data): Likewise.
62748         (cos_tonearest_test_data): Likewise.
62749         (cos_towardzero_test_data): Likewise.
62750         (cos_downward_test_data): Likewise.
62751         (cos_upward_test_data): Likewise.
62752         (cosh_test_data): Likewise.
62753         (cosh_tonearest_test_data): Likewise.
62754         (cosh_towardzero_test_data): Likewise.
62755         (cosh_downward_test_data): Likewise.
62756         (cosh_upward_test_data): Likewise.
62757         (cpow_test_data): Likewise.
62758         (cproj_test_data): Likewise.
62759         (creal_test_data): Likewise.
62760         (csin_test_data): Likewise.
62761         (csinh_test_data): Likewise.
62762         (csqrt_test_data): Likewise.
62763         (ctan_test_data): Likewise.
62764         (ctan_tonearest_test_data): Likewise.
62765         (ctan_towardzero_test_data): Likewise.
62766         (ctan_downward_test_data): Likewise.
62767         (ctan_upward_test_data): Likewise.
62768         (ctanh_test_data): Likewise.
62769         (ctanh_tonearest_test_data): Likewise.
62770         (ctanh_towardzero_test_data): Likewise.
62771         (ctanh_downward_test_data): Likewise.
62772         (ctanh_upward_test_data): Likewise.
62773         (erf_test_data): Likewise.
62774         (erfc_test_data): Likewise.
62775         (exp_test_data): Likewise.
62776         (exp_tonearest_test_data): Likewise.
62777         (exp_towardzero_test_data): Likewise.
62778         (exp_downward_test_data): Likewise.
62779         (exp_upward_test_data): Likewise.
62780         (exp10_test_data): Likewise.
62781         (exp2_test_data): Likewise.
62782         (expm1_test_data): Likewise.
62783         (fabs_test_data): Likewise.
62784         (fdim_test_data): Likewise.
62785         (finite_test_data): Likewise.
62786         (floor_test_data): Likewise.
62787         (fma_test_data): Likewise.
62788         (fma_towardzero_test_data): Likewise.
62789         (fma_downward_test_data): Likewise.
62790         (fma_upward_test_data): Likewise.
62791         (fmax_test_data): Likewise.
62792         (fmin_test_data): Likewise.
62793         (fmod_test_data): Likewise.
62794         (fpclassify_test_data): Likewise.
62795         (frexp_test_data): Likewise.
62796         (gamma_test_data): Likewise.
62797         (hypot_test_data): Likewise.
62798         (ilogb_test_data): Likewise.
62799         (isfinite_test_data): Likewise.
62800         (isgreater_test_data): Likewise.
62801         (isgreaterequal_test_data): Likewise.
62802         (isinf_test_data): Likewise.
62803         (isless_test_data): Likewise.
62804         (islessequal_test_data): Likewise.
62805         (islessgreater_test_data): Likewise.
62806         (isnan_test_data): Likewise.
62807         (isnormal_test_data): Likewise.
62808         (issignaling_test_data): Likewise.
62809         (isunordered_test_data): Likewise.
62810         (j0_test_data): Likewise.
62811         (j1_test_data): Likewise.
62812         (jn_test_data): Likewise.
62813         (ldexp_test_data): Likewise.
62814         (lgamma_test_data): Likewise.
62815         (lrint_test_data): Likewise.
62816         (lrint_tonearest_test_data): Likewise.
62817         (lrint_towardzero_test_data): Likewise.
62818         (lrint_downward_test_data): Likewise.
62819         (lrint_upward_test_data): Likewise.
62820         (llrint_test_data): Likewise.
62821         (llrint_tonearest_test_data): Likewise.
62822         (llrint_towardzero_test_data): Likewise.
62823         (llrint_downward_test_data): Likewise.
62824         (llrint_upward_test_data): Likewise.
62825         (log_test_data): Likewise.
62826         (log10_test_data): Likewise.
62827         (log1p_test_data): Likewise.
62828         (log2_test_data): Likewise.
62829         (logb_test_data): Likewise.
62830         (logb_downward_test_data): Likewise.
62831         (lround_test_data): Likewise.
62832         (llround_test_data): Likewise.
62833         (modf_test_data): Likewise.
62834         (nearbyint_test_data): Likewise.
62835         (nextafter_test_data): Likewise.
62836         (nexttoward_test_data): Likewise.
62837         (pow_test_data): Likewise.
62838         (pow_tonearest_test_data): Likewise.
62839         (pow_towardzero_test_data): Likewise.
62840         (pow_downward_test_data): Likewise.
62841         (pow_upward_test_data): Likewise.
62842         (remainder_test_data): Likewise.
62843         (remainder_tonearest_test_data): Likewise.
62844         (remainder_towardzero_test_data): Likewise.
62845         (remainder_downward_test_data): Likewise.
62846         (remainder_upward_test_data): Likewise.
62847         (remquo_test_data): Likewise.
62848         (rint_test_data): Likewise.
62849         (rint_tonearest_test_data): Likewise.
62850         (rint_towardzero_test_data): Likewise.
62851         (rint_downward_test_data): Likewise.
62852         (rint_upward_test_data): Likewise.
62853         (round_test_data): Likewise.
62854         (scalb_test_data): Likewise.
62855         (scalbn_test_data): Likewise.
62856         (scalbln_test_data): Likewise.
62857         (signbit_test_data): Likewise.
62858         (sin_test_data): Likewise.
62859         (sin_tonearest_test_data): Likewise.
62860         (sin_towardzero_test_data): Likewise.
62861         (sin_downward_test_data): Likewise.
62862         (sin_upward_test_data): Likewise.
62863         (sincos_test_data): Likewise.
62864         (sinh_test_data): Likewise.
62865         (sinh_tonearest_test_data): Likewise.
62866         (sinh_towardzero_test_data): Likewise.
62867         (sinh_downward_test_data): Likewise.
62868         (sinh_upward_test_data): Likewise.
62869         (sqrt_test_data): Likewise.
62870         (tan_test_data): Likewise.
62871         (tan_tonearest_test_data): Likewise.
62872         (tan_towardzero_test_data): Likewise.
62873         (tan_downward_test_data): Likewise.
62874         (tan_upward_test_data): Likewise.
62875         (tanh_test_data): Likewise.
62876         (tgamma_test_data): Likewise.
62877         (trunc_test_data): Likewise.
62878         (y0_test_data): Likewise.
62879         (y1_test_data): Likewise.
62880         (yn_test_data): Likewise.
62881         (significand_test_data): Likewise.
62883         * math/gen-libm-test.pl (@functions): Remove variable.
62884         (generate_testfile): Don't handle START and END lines.
62885         * math/libm-test.inc (START): New macro.
62886         (END): Likewise.
62887         (END_COMPLEX): Likewise.
62888         (acos_test): Use END macro without arguments.
62889         (acos_test_tonearest): Likewise.
62890         (acos_test_towardzero): Likewise.
62891         (acos_test_downward): Likewise.
62892         (acos_test_upward): Likewise.
62893         (acosh_test): Likewise.
62894         (asin_test): Likewise.
62895         (asin_test_tonearest): Likewise.
62896         (asin_test_towardzero): Likewise.
62897         (asin_test_downward): Likewise.
62898         (asin_test_upward): Likewise.
62899         (asinh_test): Likewise.
62900         (atan_test): Likewise.
62901         (atanh_test): Likewise.
62902         (atan2_test): Likewise.
62903         (cabs_test): Likewise.
62904         (cacos_test): Use END_COMPLEX macro without arguments.
62905         (cacosh_test): Likewise.
62906         (carg_test): Use END macro without arguments.
62907         (casin_test): Use END_COMPLEX macro without arguments.
62908         (casinh_test): Likewise.
62909         (catan_test): Likewise.
62910         (catanh_test): Likewise.
62911         (cbrt_test): Use END macro without arguments.
62912         (ccos_test): Use END_COMPLEX macro without arguments.
62913         (ccosh_test): Likewise.
62914         (ceil_test): Use END macro without arguments.
62915         (cexp_test): Use END_COMPLEX macro without arguments.
62916         (cimag_test): Use END macro without arguments.
62917         (clog_test): Use END_COMPLEX macro without arguments.
62918         (clog10_test): Likewise.
62919         (conj_test): Likewise.
62920         (copysign_test): Use END macro without arguments.
62921         (cos_test): Likewise.
62922         (cos_test_tonearest): Likewise.
62923         (cos_test_towardzero): Likewise.
62924         (cos_test_downward): Likewise.
62925         (cos_test_upward): Likewise.
62926         (cosh_test): Likewise.
62927         (cosh_test_tonearest): Likewise.
62928         (cosh_test_towardzero): Likewise.
62929         (cosh_test_downward): Likewise.
62930         (cosh_test_upward): Likewise.
62931         (cpow_test): Use END_COMPLEX macro without arguments.
62932         (cproj_test): Likewise.
62933         (creal_test): Use END macro without arguments.
62934         (csin_test): Use END_COMPLEX macro without arguments.
62935         (csinh_test): Likewise.
62936         (csqrt_test): Likewise.
62937         (ctan_test): Likewise.
62938         (ctan_test_tonearest): Likewise.
62939         (ctan_test_towardzero): Likewise.
62940         (ctan_test_downward): Likewise.
62941         (ctan_test_upward): Likewise.
62942         (ctanh_test): Likewise.
62943         (ctanh_test_tonearest): Likewise.
62944         (ctanh_test_towardzero): Likewise.
62945         (ctanh_test_downward): Likewise.
62946         (ctanh_test_upward): Likewise.
62947         (erf_test): Use END macro without arguments.
62948         (erfc_test): Likewise.
62949         (exp_test): Likewise.
62950         (exp_test_tonearest): Likewise.
62951         (exp_test_towardzero): Likewise.
62952         (exp_test_downward): Likewise.
62953         (exp_test_upward): Likewise.
62954         (exp10_test): Likewise.
62955         (exp2_test): Likewise.
62956         (expm1_test): Likewise.
62957         (fabs_test): Likewise.
62958         (fdim_test): Likewise.
62959         (finite_test): Likewise.
62960         (floor_test): Likewise.
62961         (fma_test): Likewise.
62962         (fma_test_towardzero): Likewise.
62963         (fma_test_downward): Likewise.
62964         (fma_test_upward): Likewise.
62965         (fmax_test): Likewise.
62966         (fmin_test): Likewise.
62967         (fmod_test): Likewise.
62968         (fpclassify_test): Likewise.
62969         (frexp_test): Likewise.
62970         (gamma_test): Likewise.
62971         (hypot_test): Likewise.
62972         (ilogb_test): Likewise.
62973         (isfinite_test): Likewise.
62974         (isgreater_test): Likewise.
62975         (isgreaterequal_test): Likewise.
62976         (isinf_test): Likewise.
62977         (isless_test): Likewise.
62978         (islessequal_test): Likewise.
62979         (islessgreater_test): Likewise.
62980         (isnan_test): Likewise.
62981         (isnormal_test): Likewise.
62982         (issignaling_test): Likewise.
62983         (isunordered_test): Likewise.
62984         (j0_test): Likewise.
62985         (j1_test): Likewise.
62986         (jn_test): Likewise.
62987         (ldexp_test): Likewise.
62988         (lgamma_test): Likewise.
62989         (lrint_test): Likewise.
62990         (lrint_test_tonearest): Likewise.
62991         (lrint_test_towardzero): Likewise.
62992         (lrint_test_downward): Likewise.
62993         (lrint_test_upward): Likewise.
62994         (llrint_test): Likewise.
62995         (llrint_test_tonearest): Likewise.
62996         (llrint_test_towardzero): Likewise.
62997         (llrint_test_downward): Likewise.
62998         (llrint_test_upward): Likewise.
62999         (log_test): Likewise.
63000         (log10_test): Likewise.
63001         (log1p_test): Likewise.
63002         (log2_test): Likewise.
63003         (logb_test): Likewise.
63004         (logb_test_downward): Likewise.
63005         (lround_test): Likewise.
63006         (llround_test): Likewise.
63007         (modf_test): Likewise.
63008         (nearbyint_test): Likewise.
63009         (nextafter_test): Likewise.
63010         (nexttoward_test): Likewise.
63011         (pow_test): Likewise.
63012         (pow_test_tonearest): Likewise.
63013         (pow_test_towardzero): Likewise.
63014         (pow_test_downward): Likewise.
63015         (pow_test_upward): Likewise.
63016         (remainder_test): Likewise.
63017         (remainder_test_tonearest): Likewise.
63018         (remainder_test_towardzero): Likewise.
63019         (remainder_test_downward): Likewise.
63020         (remainder_test_upward): Likewise.
63021         (remquo_test): Likewise.
63022         (rint_test): Likewise.
63023         (rint_test_tonearest): Likewise.
63024         (rint_test_towardzero): Likewise.
63025         (rint_test_downward): Likewise.
63026         (rint_test_upward): Likewise.
63027         (round_test): Likewise.
63028         (scalb_test): Likewise.
63029         (scalbn_test): Likewise.
63030         (scalbln_test): Likewise.
63031         (signbit_test): Likewise.
63032         (sin_test): Likewise.
63033         (sin_test_tonearest): Likewise.
63034         (sin_test_towardzero): Likewise.
63035         (sin_test_downward): Likewise.
63036         (sin_test_upward): Likewise.
63037         (sincos_test): Likewise.
63038         (sinh_test): Likewise.
63039         (sinh_test_tonearest): Likewise.
63040         (sinh_test_towardzero): Likewise.
63041         (sinh_test_downward): Likewise.
63042         (sinh_test_upward): Likewise.
63043         (sqrt_test): Likewise.
63044         (tan_test): Likewise.
63045         (tan_test_tonearest): Likewise.
63046         (tan_test_towardzero): Likewise.
63047         (tan_test_downward): Likewise.
63048         (tan_test_upward): Likewise.
63049         (tanh_test): Likewise.
63050         (tgamma_test): Likewise.
63051         (trunc_test): Likewise.
63052         (y0_test): Likewise.
63053         (y1_test): Likewise.
63054         (yn_test): Likewise.
63055         (significand_test): Likewise.
63057 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
63059         [BZ #15381]
63060         * libio/genops.c (_IO_no_init): Initialize wide struct info.
63062 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
63064         [BZ #14894]
63065         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
63066         __ppc_mdoio and __ppc_mdoom.
63067         * manual/platform.texi: Document new functions __ppc_yield,
63068         __ppc_mdoio and __ppc_mdoom.
63070 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
63072         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
63073         (main): Mention "tls" pseudo-hwcap is legacy.
63074         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
63076 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
63078         * math/gen-libm-test.pl (parse_args): Output only string of
63079         arguments as text for test name, not full call or descriptions of
63080         tests for extra outputs.
63081         (generate_testfile): Do not pass function name to parse_args.
63082         Generate this_func variable from START.
63083         * math/libm-test.inc (struct test_f_f_data): Rename test_name
63084         field to arg_str.
63085         (struct test_ff_f_data): Likewise.
63086         (test_ff_f_data_nexttoward): Likewise.
63087         (struct test_fi_f_data): Likewise.
63088         (struct test_fl_f_data): Likewise.
63089         (struct test_if_f_data): Likewise.
63090         (struct test_fff_f_data): Likewise.
63091         (struct test_c_f_data): Likewise.
63092         (struct test_f_f1_data): Likewise.  Remove field extra_name.
63093         (struct test_fF_f1_data): Likewise.
63094         (struct test_ffI_f1_data): Likewise.
63095         (struct test_c_c_data): Rename test_name field to arg_str.
63096         (struct test_cc_c_data): Likewise.
63097         (struct test_f_i_data): Likewise.
63098         (struct test_ff_i_data): Likewise.
63099         (struct test_f_l_data): Likewise.
63100         (struct test_f_L_data): Likewise.
63101         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
63102         and extra2_name.
63103         (COMMON_TEST_SETUP): New macro.
63104         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
63105         (COMMON_TEST_CLEANUP): Likewise.
63106         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
63107         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
63108         macros.
63109         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
63110         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
63111         macros.
63112         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
63113         (RUN_TEST_fff_f): Take argument string.  Call new setup and
63114         cleanup macros.
63115         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
63116         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
63117         macros.
63118         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
63119         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
63120         macros.
63121         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63122         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
63123         cleanup macros.
63124         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63125         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
63126         cleanup macros.
63127         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63128         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
63129         cleanup macros.
63130         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63131         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
63132         macros.
63133         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
63134         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
63135         macros.
63136         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
63137         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
63138         macros.
63139         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
63140         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
63141         cleanup macros.
63142         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
63143         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
63144         cleanup macros.
63145         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
63146         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
63147         macros.
63148         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
63149         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
63150         cleanup macros.
63151         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
63152         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
63153         macros.
63154         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
63155         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
63156         macros.
63157         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
63158         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
63159         cleanup macros.
63160         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
63162 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
63164         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
63165         to _sifields.sigfault.
63166         (si_addr_lsb): Define new macro.
63167         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63168         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63169         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
63171 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
63173         [BZ #15441]
63174         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
63175         returns -1.
63176         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
63177         null return -1.
63178         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
63179         loading the domain.
63181 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
63183         * math/gen-libm-test.pl (parse_args): Do not include expected
63184         result in test name.
63185         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
63186         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63187         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63188         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63189         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63192 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63194         * benchtests/Makefile: Sort function entries.
63196         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
63197         tanh, asinh, acosh, atanh.
63198         * benchtests/acos-inputs: New file.
63199         * benchtests/acosh-inputs: New file.
63200         * benchtests/asin-inputs: New file.
63201         * benchtests/asinh-inputs: New file.
63202         * benchtests/atanh-inputs: New file.
63203         * benchtests/cosh-inputs: New file.
63204         * benchtests/log-inputs: New file.
63205         * benchtests/sinh-inputs: New file.
63206         * benchtests/tanh-inputs: New file.
63208 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
63210         [BZ #15339]
63211         * posix/tst-getaddrinfo4.c: New test.
63212         * posix/Makefile (tests): Add it.
63214 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63216         [BZ #15339]
63217         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
63218         when no services were used.
63219         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
63220         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
63222 2013-05-21  Andreas Schwab  <schwab@suse.de>
63224         [BZ #15014]
63225         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
63226         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
63227         successful.
63228         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
63229         redundant variable declarations and reallocation of buffer when
63230         parsing as IPv6 address.  Always set NSS status when called from
63231         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
63232         buffer too small.  Correct computation of needed size.
63233         * nss/Makefile (tests): Add test-digits-dots.
63234         * nss/test-digits-dots.c: New test.
63236 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63238         * benchtests/Makefile: Remove instructions for adding
63239         benchmark tests.
63240         * benchtests/README: New file to explain how to execute and
63241         enhance the benchmark tests.
63243 2013-05-21  Andreas Schwab  <schwab@suse.de>
63245         [BZ #15493]
63246         * setjmp/Makefile (tests): Add tst-sigsetjmp.
63247         * setjmp/tst-sigsetjmp.c: New test.
63249 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
63251         * sysdeps/x86_64/memset.S (memset): New implementation.
63252         (__bzero): Likewise.
63253         (__memset_tail): New function.
63255 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
63257         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
63258         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
63259         __memcpy_sse2_unaligned ifunc selection.
63260         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63261         Add memcpy-sse2-unaligned.S.
63262         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63263         Add: __memcpy_sse2_unaligned.
63265 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
63267         [BZ #15490]
63268         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63269         math_force_eval before restoring floating-point envrionment.
63270         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
63271         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
63272         Likewise.
63273         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
63274         <math_private.h>.
63275         (__nearbyintl): Use math_force_eval before restoring
63276         floating-point environment.
63277         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
63279         * math/gen-libm-test.pl (special_functions): Remove.
63280         (parse_args): Don't handle TEST_extra.  Handle functions with no
63281         return value.
63282         * math/libm-test.inc (struct test_sincos_data): Replace with
63283         struct test_fFF_11_data.
63284         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
63285         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
63286         (sincos_test_data): Change element type to struct
63287         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
63288         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
63289         RUN_TEST_LOOP_sincos.
63290         * math/README.libm-test: Don't mention special handling of
63291         individual functions.
63292         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
63293         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63294         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63295         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63296         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63299         * math/gen-libm-test.pl (get_variable): Remove function.
63300         (parse_args): Don't show pointer parameters to call in test
63301         names.  Use "extra output N" in test names for extra outputs
63302         rather than naming variables.
63304 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
63306         [BZ #15488]
63307         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
63308         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
63309         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
63310         double tests.
63311         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
63312         disable.
63313         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
63314         check_long_double.
63316         * math/gen-libm-test.pl (@tests): Remove variable.
63317         ($count): Likewise.
63318         (new_test): Remove function.
63319         (show_exceptions): New function.
63320         (special_functions): Use show_exceptions instead of new_test.
63321         (parse_args): Likewise.
63322         (generate_testfile): Pass only function name in generated call to
63323         print_max_error or print_complex_max_error.
63324         (get_ulps): Do not handle complex tests specially.
63325         (output_test): Rename to ...
63326         (get_all_ulps_for_test): ... this.  Return a string rather than
63327         printing to a file.  Require ulps to be present.
63328         (output_ulps): Generate arrays rather than #defines.
63329         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
63330         (struct ulp_data): New type.
63331         (BUILD_COMPLEX_ULP): Remove macro.
63332         (compare_ulp_data): New function.
63333         (find_ulps): Likewise.
63334         (find_test_ulps): Likewise.
63335         (find_function_ulps): Likewise.
63336         (find_complex_function_ulps): Likewise.
63337         (print_max_error): Determine allowed ulps using
63338         find_function_ulps.
63339         (print_complex_max_error): Determine allowed ulps using
63340         find_complex_function_ulps.
63341         (check_float_internal): Determine max ulps using find_test_ulps.
63342         (check_float): Do not take max_ulp parameter.  Update call to
63343         check_float_internal.
63344         (check_complex): Likewise.
63345         (check_int): Do not take max_ulp parameter.
63346         (check_long): Likewise.
63347         (check_bool): Likewise.
63348         (check_longlong): Likewise.
63349         (struct test_f_f_data): Remove max_ulp field.
63350         (struct test_ff_f_data): Likewise.
63351         (struct test_ff_f_data_nexttoward): Likewise.
63352         (struct test_fi_f_data): Likewise.
63353         (struct test_fl_f_data): Likewise.
63354         (struct test_if_f_data): Likewise.
63355         (struct test_fff_f_data): Likewise.
63356         (struct test_c_f_data): Likewise.
63357         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
63358         (struct test_fF_f1_data): Likewise.
63359         (struct test_ffI_f1_data): Likewise.
63360         (struct test_c_c_data): Remove max_ulp field.
63361         (struct test_cc_c_data): Likewise.
63362         (struct test_f_i_data): Likewise.
63363         (struct test_ff_i_data): Likewise.
63364         (struct test_f_l_data): Likewise.
63365         (struct test_f_L_data): Likewise.
63366         (struct test_sincos_data): Likewise.
63367         (RUN_TEST_f_f): Do not handle ulps.
63368         (RUN_TEST_LOOP_f_f): Likewise.
63369         (RUN_TEST_2_f): Likewise.
63370         (RUN_TEST_LOOP_2_f): Likewise.
63371         (RUN_TEST_fff_f): Likewise.
63372         (RUN_TEST_LOOP_fff_f): Likewise.
63373         (RUN_TEST_c_f): Likewise.
63374         (RUN_TEST_LOOP_c_f): Likewise.
63375         (RUN_TEST_f_f1): Likewise.
63376         (RUN_TEST_LOOP_f_f1): Likewise.
63377         (RUN_TEST_fF_f1): Likewise.
63378         (RUN_TEST_LOOP_fF_f1): Likewise.
63379         (RUN_TEST_fI_f1): Likewise.
63380         (RUN_TEST_LOOP_fI_f1): Likewise.
63381         (RUN_TEST_ffI_f1): Likewise.
63382         (RUN_TEST_LOOP_ffI_f1): Likewise.
63383         (RUN_TEST_c_c): Likewise.
63384         (RUN_TEST_LOOP_c_c): Likewise.
63385         (RUN_TEST_cc_c): Likewise.
63386         (RUN_TEST_LOOP_cc_c): Likewise.
63387         (RUN_TEST_f_i): Likewise.
63388         (RUN_TEST_LOOP_f_i): Likewise.
63389         (RUN_TEST_f_i_tg): Likewise.
63390         (RUN_TEST_LOOP_f_i_tg): Likewise.
63391         (RUN_TEST_ff_i_tg): Likewise.
63392         (RUN_TEST_LOOP_ff_i_tg): Likewise.
63393         (RUN_TEST_f_b): Likewise.
63394         (RUN_TEST_LOOP_f_b): Likewise.
63395         (RUN_TEST_f_b_tg): Likewise.
63396         (RUN_TEST_LOOP_f_b_tg): Likewise.
63397         (RUN_TEST_f_l): Likewise.
63398         (RUN_TEST_LOOP_f_l): Likewise.
63399         (RUN_TEST_f_L): Likewise.
63400         (RUN_TEST_LOOP_f_L): Likewise.
63401         (RUN_TEST_sincos): Likewise.
63402         (RUN_TEST_LOOP_sincos): Likewise.
63404 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
63406         [BZ #15480]
63407         [BZ #15485]
63408         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
63409         main case of finite arguments, set rounding mode to FE_TONEAREST
63410         and discard exceptions.
63411         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
63412         exceptions.
63413         (remainder_tonearest_test_data): New variable.
63414         (remainder_test_tonearest): New function.
63415         (remainder_towardzero_test_data): New variable.
63416         (remainder_test_towardzero): New function.
63417         (remainder_downward_test_data): New variable.
63418         (remainder_test_downward): New function.
63419         (remainder_upward_test_data): New variable.
63420         (remainder_test_upward): New function.
63421         (main): Call the new test functions.
63423         * math/libm-test.inc (struct test_f_f1_data): Remove field
63424         extra_init.
63425         (struct test_fF_f1_data): Likewise.
63426         (struct test_ffI_f1_data): Likewise.
63427         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
63428         based on value of EXTRA_EXPECTED.
63429         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63430         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
63431         EXTRA_VAR based on value of EXTRA_EXPECTED.
63432         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63433         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
63434         EXTRA_VAR based on value of EXTRA_EXPECTED.
63435         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63436         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
63437         EXTRA_VAR based on value of EXTRA_EXPECTED.
63438         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63439         * math/gen-libm-test.pl (parse_args): Don't output initializers
63440         for extra output values.
63442         * math/libm-test.inc (check_int): Expect result to be exactly
63443         equal to expected value and do not handle ulps.
63444         (check_long): Likewise.
63445         (check_longlong): Likewise.
63447         * math/libm-test.inc (ceil_test_data): Test for "inexact"
63448         exceptions.
63449         (cimag_test_data): Likewise.
63450         (conj_test_data): Likewise.
63451         (copysign_test_data): Likewise.
63452         (cproj_test_data): Likewise.
63453         (creal_test_data): Likewise.
63454         (fabs_test_data): Likewise.
63455         (fdim_test_data): Likewise.
63456         (finite_test_data): Likewise.
63457         (floor_test_data): Likewise.
63458         (fmax_test_data): Likewise.
63459         (fmin_test_data): Likewise.
63460         (fmod_test_data): Likewise.
63461         (fpclassify_test_data): Likewise.
63462         (frexp_test_data): Likewise.
63463         (ilogb_test_data): Likewise.
63464         (isfinite_test_data): Likewise.
63465         (isgreater_test_data): Likewise.
63466         (isgreaterequal_test_data): Likewise.
63467         (isinf_test_data): Likewise.
63468         (isless_test_data): Likewise.
63469         (islessequal_test_data): Likewise.
63470         (islessgreater_test_data): Likewise.
63471         (isnan_test_data): Likewise.
63472         (isnormal_test_data): Likewise.
63473         (issignaling_test_data): Likewise.
63474         (isunordered_test_data): Likewise.
63475         (ldexp_test_data): Likewise.
63476         (lrint_test_data): Likewise.
63477         (lrint_test_data) [TEST_FLOAT]: Disable one test.
63478         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
63479         (lrint_tonearest_test_data): Test for "inexact" exceptions.
63480         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63481         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
63482         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63483         test input.
63484         (lrint_towardzero_test_data): Test for "inexact" exceptions.
63485         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63486         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
63487         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
63488         that test input.
63489         (lrint_downward_test_data): Test for "inexact" exceptions.
63490         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63491         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
63492         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63493         test input.
63494         (lrint_upward_test_data): Test for "inexact" exceptions.
63495         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
63496         test input.
63497         (llrint_test_data): Test for "inexact" exceptions.
63498         (llrint_test_data) [TEST_FLOAT]: Disable one test.
63499         (llrint_tonearest_test_data): Test for "inexact" exceptions.
63500         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63501         (llrint_towardzero_test_data): Test for "inexact" exceptions.
63502         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63503         (llrint_downward_test_data): Test for "inexact" exceptions.
63504         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63505         (llrint_upward_test_data): Test for "inexact" exceptions.
63506         (logb_test_data): Likewise.
63507         (logb_downward_test_data): Likewise.
63508         (nextafter_test_data): Likewise.
63509         (nexttoward_test_data): Likewise.
63510         (remainder_test_data): Likewise.
63511         (remquo_test_data): Likewise.
63512         (scalbn_test_data): Likewise.
63513         (scalbln_test_data): Likewise.
63514         (signbit_test_data): Likewise.
63515         (sqrt_test_data): Likewise.
63516         (significand_test_data): Likewise.
63518 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63520         [BZ #15424]
63521         * benchtests/bench-modf.c (struct args): Mark arg0 as
63522         volatile.
63523         * scripts/bench.pl: Mark members of struct args as volatile.
63525 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63527         [BZ # 15497]
63528         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
63529         negative infinity on POWER6 or lower.
63530         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
63532 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
63534         [BZ #15442]
63535         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
63536         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
63537         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
63538         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
63539         (_FP_SETQNAN): New macro.
63540         (_FP_SETQNAN_SEMIRAW): Likewise.
63541         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
63542         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
63543         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
63544         (FP_EXTEND): Use _FP_FRAC_SNANP.
63545         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
63546         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
63547         into account.
63548         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63549         New macro.
63550         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63551         Likewise.
63553 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63555         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
63556         with DIVIDE_BY_ZERO_EXCEPTION.
63557         (gamma_test_data): Likewise.
63558         (lgamma_test_data): Likewise.
63559         (log_test_data): Likewise.
63560         (log10_test_data): Likewise.
63561         (log2_test_data): Likewise.
63562         (tgamma_test_data): Likewise.
63564         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
63565         (acos_test_tonearest): Likewise.
63566         (acos_test_towardzero): Likewise.
63567         (acos_test_downward): Likewise.
63568         (acos_test_upward): Likewise.
63569         (acosh_test): Likewise.
63570         (asin_test): Likewise.
63571         (asin_test_tonearest): Likewise.
63572         (asin_test_towardzero): Likewise.
63573         (asin_test_downward): Likewise.
63574         (asin_test_upward): Likewise.
63575         (asinh_test): Likewise.
63576         (atan_test): Likewise.
63577         (atanh_test): Likewise.
63578         (atan2_test): Likewise.
63579         (cabs_test): Likewise.
63580         (cacos_test): Likewise.
63581         (cacosh_test): Likewise.
63582         (casin_test): Likewise.
63583         (casinh_test): Likewise.
63584         (catan_test): Likewise.
63585         (catanh_test): Likewise.
63586         (cbrt_test): Likewise.
63587         (ccos_test): Likewise.
63588         (ccosh_test): Likewise.
63589         (cexp_test): Likewise.
63590         (clog_test): Likewise.
63591         (clog10_test): Likewise.
63592         (cos_test): Likewise.
63593         (cos_test_tonearest): Likewise.
63594         (cos_test_towardzero): Likewise.
63595         (cos_test_downward): Likewise.
63596         (cos_test_upward): Likewise.
63597         (cosh_test): Likewise.
63598         (cosh_test_tonearest): Likewise.
63599         (cosh_test_towardzero): Likewise.
63600         (cosh_test_downward): Likewise.
63601         (cosh_test_upward): Likewise.
63602         (cpow_test): Likewise.
63603         (csin_test): Likewise.
63604         (csinh_test): Likewise.
63605         (csqrt_test): Likewise.
63606         (ctan_test): Likewise.
63607         (ctan_test_tonearest): Likewise.
63608         (ctan_test_towardzero): Likewise.
63609         (ctan_test_downward): Likewise.
63610         (ctan_test_upward): Likewise.
63611         (ctanh_test): Likewise.
63612         (ctanh_test_tonearest): Likewise.
63613         (ctanh_test_towardzero): Likewise.
63614         (ctanh_test_downward): Likewise.
63615         (ctanh_test_upward): Likewise.
63616         (erf_test): Likewise.
63617         (erfc_test): Likewise.
63618         (exp_test): Likewise.
63619         (exp_test_tonearest): Likewise.
63620         (exp_test_towardzero): Likewise.
63621         (exp_test_downward): Likewise.
63622         (exp_test_upward): Likewise.
63623         (exp10_test): Likewise.
63624         (exp2_test): Likewise.
63625         (expm1_test): Likewise.
63626         (fmod_test): Likewise.
63627         (gamma_test): Likewise.
63628         (hypot_test): Likewise.
63629         (j0_test): Likewise.
63630         (j1_test): Likewise.
63631         (jn_test): Likewise.
63632         (lgamma_test): Likewise.
63633         (log_test): Likewise.
63634         (log10_test): Likewise.
63635         (log1p_test): Likewise.
63636         (log2_test): Likewise.
63637         (logb_test_downward): Likewise.
63638         (pow_test): Likewise.
63639         (pow_test_tonearest): Likewise.
63640         (pow_test_towardzero): Likewise.
63641         (pow_test_downward): Likewise.
63642         (pow_test_upward): Likewise.
63643         (remainder_test): Likewise.
63644         (remquo_test): Likewise.
63645         (sin_test): Likewise.
63646         (sin_test_tonearest): Likewise.
63647         (sin_test_towardzero): Likewise.
63648         (sin_test_downward): Likewise.
63649         (sin_test_upward): Likewise.
63650         (sincos_test): Likewise.
63651         (sinh_test): Likewise.
63652         (sinh_test_tonearest): Likewise.
63653         (sinh_test_towardzero): Likewise.
63654         (sinh_test_downward): Likewise.
63655         (sinh_test_upward): Likewise.
63656         (sqrt_test): Likewise.
63657         (tan_test): Likewise.
63658         (tan_test_tonearest): Likewise.
63659         (tan_test_towardzero): Likewise.
63660         (tan_test_downward): Likewise.
63661         (tan_test_upward): Likewise.
63662         (tanh_test): Likewise.
63663         (tgamma_test): Likewise.
63664         (y0_test): Likewise.
63665         (y1_test): Likewise.
63666         (yn_test): Likewise.
63668         * math/gen-libm-test.pl (adjust_arg): Remove function.
63669         (special_function): Remove argument $in_func.  Only handle
63670         generating output for tables of tests, not inside functions.
63671         (parse_args): Likewise.
63672         (generate_testfile): Remove variable $in_func.  Update call to
63673         parse_args.
63674         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
63675         (MINUS_ZERO_INIT): Rename macro to minus_zero.
63676         (PLUS_INFTY_INIT): Rename macro to plus_infty.
63677         (MINUS_INFTY_INIT): Rename macro to minus_infty.
63678         (QNAN_VALUE_INIT): Rename macro to qnan_value.
63679         (MAX_VALUE_INIT): Rename macro to max_value.
63680         (MIN_VALUE_INIT): Rename macro to min_value.
63681         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
63682         (plus_zero): Remove variable.
63683         (minus_zero): Likewise.
63684         (plus_infty): Likewise.
63685         (minus_infty): Likewise.
63686         (qnan_value): Likewise.
63687         (max_value): Likewise.
63688         (min_value): Likewise.
63689         (min_subnorm_value): Likewise.
63691 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63693         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
63694         uint64_t or uint32_t usage.
63695         * crypt/sha256-block.c: Likewise.
63696         * crypt/sha256-crypt.c: Likewise.
63697         * crypt/sha256.c: Likewise.
63698         * crypt/sha512-block.c: Likewise.
63699         * crypt/sha512-crypt.c: Likewise.
63700         * crypt/sha512.c: Likewise.
63701         * debug/backtrace-tst.c: Likewise.
63702         * debug/pcprofiledump.c: Likewise.
63703         * elf/cache.c: Likewise.
63704         * elf/dl-cache.c: Likewise.
63705         * elf/dl-misc.c: Likewise.
63706         * elf/dl-profile.c: Likewise.
63707         * elf/dl-support.c: Likewise.
63708         * elf/ldconfig.c: Likewise.
63709         * elf/sprof.c: Likewise.
63710         * iconv/dummy-repertoire.c: Likewise.
63711         * iconv/iconv_charmap.c: Likewise.
63712         * iconv/skeleton.c: Likewise.
63713         * iconvdata/8bit-generic.c: Likewise.
63714         * iconvdata/cp737.h: Likewise.
63715         * iconvdata/cp775.h: Likewise.
63716         * iconvdata/ibm1008.h: Likewise.
63717         * iconvdata/ibm1025.h: Likewise.
63718         * iconvdata/ibm1046.h: Likewise.
63719         * iconvdata/ibm1097.h: Likewise.
63720         * iconvdata/ibm1112.h: Likewise.
63721         * iconvdata/ibm1122.h: Likewise.
63722         * iconvdata/ibm1123.h: Likewise.
63723         * iconvdata/ibm1124.h: Likewise.
63724         * iconvdata/ibm1129.h: Likewise.
63725         * iconvdata/ibm1130.h: Likewise.
63726         * iconvdata/ibm1132.h: Likewise.
63727         * iconvdata/ibm1133.h: Likewise.
63728         * iconvdata/ibm1137.h: Likewise.
63729         * iconvdata/ibm1140.h: Likewise.
63730         * iconvdata/ibm1141.h: Likewise.
63731         * iconvdata/ibm1142.h: Likewise.
63732         * iconvdata/ibm1143.h: Likewise.
63733         * iconvdata/ibm1144.h: Likewise.
63734         * iconvdata/ibm1145.h: Likewise.
63735         * iconvdata/ibm1146.h: Likewise.
63736         * iconvdata/ibm1147.h: Likewise.
63737         * iconvdata/ibm1148.h: Likewise.
63738         * iconvdata/ibm1149.h: Likewise.
63739         * iconvdata/ibm1153.h: Likewise.
63740         * iconvdata/ibm1154.h: Likewise.
63741         * iconvdata/ibm1155.h: Likewise.
63742         * iconvdata/ibm1156.h: Likewise.
63743         * iconvdata/ibm1157.h: Likewise.
63744         * iconvdata/ibm1158.h: Likewise.
63745         * iconvdata/ibm1160.h: Likewise.
63746         * iconvdata/ibm1161.h: Likewise.
63747         * iconvdata/ibm1162.h: Likewise.
63748         * iconvdata/ibm1163.h: Likewise.
63749         * iconvdata/ibm1164.h: Likewise.
63750         * iconvdata/ibm1166.h: Likewise.
63751         * iconvdata/ibm1167.h: Likewise.
63752         * iconvdata/ibm12712.h: Likewise.
63753         * iconvdata/ibm1390.h: Likewise.
63754         * iconvdata/ibm1399.h: Likewise.
63755         * iconvdata/ibm16804.h: Likewise.
63756         * iconvdata/ibm4517.h: Likewise.
63757         * iconvdata/ibm4899.h: Likewise.
63758         * iconvdata/ibm4909.h: Likewise.
63759         * iconvdata/ibm4971.h: Likewise.
63760         * iconvdata/ibm5347.h: Likewise.
63761         * iconvdata/ibm803.h: Likewise.
63762         * iconvdata/ibm856.h: Likewise.
63763         * iconvdata/ibm901.h: Likewise.
63764         * iconvdata/ibm902.h: Likewise.
63765         * iconvdata/ibm9030.h: Likewise.
63766         * iconvdata/ibm9066.h: Likewise.
63767         * iconvdata/ibm921.h: Likewise.
63768         * iconvdata/ibm922.h: Likewise.
63769         * iconvdata/ibm9448.h: Likewise.
63770         * iconvdata/isiri-3342.h: Likewise.
63771         * iconvdata/jis0201.h: Likewise.
63772         * include/link.h: Likewise.
63773         * include/netdb.h: Likewise.
63774         * inet/check_native.c: Likewise.
63775         * inet/check_pf.c: Likewise.
63776         * inet/getipv4sourcefilter.c: Likewise.
63777         * inet/getnameinfo.c: Likewise.
63778         * inet/getsourcefilter.c: Likewise.
63779         * inet/htonl.c: Likewise.
63780         * inet/setipv4sourcefilter.c: Likewise.
63781         * inet/setsourcefilter.c: Likewise.
63782         * inet/test-inet6_opt.c: Likewise.
63783         * inet/tst-network.c: Likewise.
63784         * locale/C-collate.c: Likewise.
63785         * locale/C-ctype.c: Likewise.
63786         * locale/C-time.c: Likewise.
63787         * locale/C-translit.h: Likewise.
63788         * locale/loadarchive.c: Likewise.
63789         * locale/programs/3level.h: Likewise.
63790         * locale/programs/charmap.c: Likewise.
63791         * locale/programs/charmap.h: Likewise.
63792         * locale/programs/ld-address.c: Likewise.
63793         * locale/programs/ld-collate.c: Likewise.
63794         * locale/programs/ld-ctype.c: Likewise.
63795         * locale/programs/ld-identification.c: Likewise.
63796         * locale/programs/ld-measurement.c: Likewise.
63797         * locale/programs/ld-messages.c: Likewise.
63798         * locale/programs/ld-monetary.c: Likewise.
63799         * locale/programs/ld-name.c: Likewise.
63800         * locale/programs/ld-numeric.c: Likewise.
63801         * locale/programs/ld-paper.c: Likewise.
63802         * locale/programs/ld-telephone.c: Likewise.
63803         * locale/programs/ld-time.c: Likewise.
63804         * locale/programs/linereader.c: Likewise.
63805         * locale/programs/locale.c: Likewise.
63806         * locale/programs/locarchive.c: Likewise.
63807         * locale/programs/locfile.h: Likewise.
63808         * locale/programs/repertoire.c: Likewise.
63809         * locale/programs/simple-hash.c: Likewise.
63810         * locale/programs/simple-hash.h: Likewise.
63811         * malloc/memusage.c: Likewise.
63812         * malloc/memusagestat.c: Likewise.
63813         * nis/nis_defaults.c: Likewise.
63814         * nis/nis_hash.c: Likewise.
63815         * nis/nis_print.c: Likewise.
63816         * nis/nis_xdr.c: Likewise.
63817         * nscd/connections.c: Likewise.
63818         * nscd/hstcache.c: Likewise.
63819         * nscd/nscd_gethst_r.c: Likewise.
63820         * nscd/nscd_getserv_r.c: Likewise.
63821         * nscd/nscd_helper.c: Likewise.
63822         * nscd/servicescache.c: Likewise.
63823         * nss/makedb.c: Likewise.
63824         * nss/nss_db/db-XXX.c: Likewise.
63825         * nss/nss_db/db-initgroups.c: Likewise.
63826         * nss/nss_db/db-netgrp.c: Likewise.
63827         * nss/nss_files/files-network.c: Likewise.
63828         * nss/nss_files/files-parse.c: Likewise.
63829         * posix/bug-regex5.c: Likewise.
63830         * posix/fnmatch_loop.c: Likewise.
63831         * posix/regcomp.c: Likewise.
63832         * posix/regexec.c: Likewise.
63833         * posix/tst-rfc3484-2.c: Likewise.
63834         * posix/tst-rfc3484-3.c: Likewise.
63835         * posix/tst-rfc3484.c: Likewise.
63836         * resolv/nss_dns/dns-canon.c: Likewise.
63837         * resolv/nss_dns/dns-network.c: Likewise.
63838         * resolv/res_init.c: Likewise.
63839         * resolv/res_mkquery.c: Likewise.
63840         * resolv/tst-aton.c: Likewise.
63841         * stdlib/cxa_atexit.c: Likewise.
63842         * stdlib/cxa_finalize.c: Likewise.
63843         * stdlib/gen-fpioconst.c: Likewise.
63844         * stdlib/strtol_l.c: Likewise.
63845         * string/tst-endian.c: Likewise.
63846         * sunrpc/auth_des.c: Likewise.
63847         * sunrpc/clnt_udp.c: Likewise.
63848         * sunrpc/rtime.c: Likewise.
63849         * sunrpc/svcauth_des.c: Likewise.
63850         * sunrpc/xdr.c: Likewise.
63851         * sunrpc/xdr_intXX_t.c: Likewise.
63852         * sunrpc/xdr_rec.c: Likewise.
63853         * sysdeps/generic/ldconfig.h: Likewise.
63854         * sysdeps/generic/ldsodefs.h: Likewise.
63855         * sysdeps/generic/memusage.h: Likewise.
63856         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63857         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
63858         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
63859         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63860         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63861         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63862         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63863         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63864         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63865         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63866         * sysdeps/posix/getaddrinfo.c: Likewise.
63867         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63868         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63869         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
63870         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63871         * sysdeps/powerpc/test-gettimebase.c: Likewise.
63872         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
63873         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
63874         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
63875         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
63876         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
63877         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63878         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63879         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
63880         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
63881         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
63882         * sysdeps/x86_64/dl-tls.h: Likewise.
63883         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
63884         * time/alt_digit.c: Likewise.
63885         * time/era.c: Likewise.
63886         * wcsmbs/tst-c16c32-1.c: Likewise.
63888 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63890         * math/libm-test.inc (struct test_sincos_data): New type.
63891         (RUN_TEST_LOOP_sincos): New macro.
63892         (sincos_test_data): New variable.
63893         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
63895 2013-05-16  Richard Henderson  <rth@redhat.com>
63897         * math/atest-exp2.c (LIMB64): New macro.
63898         (CONSTSZ): New macro.
63899         (mp_exp1, mp_exp_m1, mp_log2): New variables.
63900         (hexdig): Move ...
63901         (print_mpn_fp): ... to function scope.
63902         (read_mpn_hex): Remove.
63903         (get_log2): Remove.
63904         (exp2_mpn): Use mp_log2.
63905         (main): Use mp_exp1.
63907 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63909         * math/libm-test.inc: Remove comment about not testing "inexact"
63910         exceptions.
63911         (INEXACT_EXCEPTION): New macro.
63912         (NO_INEXACT_EXCEPTION): Likewise.
63913         (INVALID_EXCEPTION_OK): Update value.
63914         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63915         (OVERFLOW_EXCEPTION_OK): Likewise.
63916         (UNDERFLOW_EXCEPTION_OK): Likewise.
63917         (IGNORE_ZERO_INF_SIGN): Likewise.
63918         (ERRNO_UNCHANGED): Likewise.
63919         (ERRNO_EDOM): Likewise.
63920         (ERRNO_ERANGE): Likewise.
63921         (test_exceptions): Handle testing "inexact" exceptions.
63922         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
63923         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
63924         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
63925         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
63926         INEXACT_EXCEPTION.
63927         (rint_towardzero_test_data): Likewise.
63928         (rint_downward_test_data): Likewise.
63929         (rint_upward_test_data): Likewise.
63931         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
63932         with OVERFLOW_EXCEPTION.
63933         (exp10_test_data): Likewise.
63934         (exp2_test_data): Likewise.
63935         (expm1_test_data): Likewise.
63936         (lgamma_test_data): Likewise.
63937         (pow_test_data): Likewise.
63938         (tgamma_test_data): Likewise.
63939         (yn_test_data): Remove duplicate test of overflow.
63941         * math/libm-test.inc (struct test_cc_c_data): New type.
63942         (RUN_TEST_LOOP_cc_c): New macro.
63943         (cpow_test_data): New variable.
63944         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
63946         * math/libm-test.inc (struct test_f_L_data): New type.
63947         (RUN_TEST_LOOP_f_L): New macro.
63948         (llrint_test_data): New variable.
63949         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
63950         (llrint_tonearest_test_data): New variable.
63951         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
63952         (llrint_towardzero_test_data): New variable.
63953         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
63954         (llrint_downward_test_data): New variable.
63955         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
63956         (llrint_upward_test_data): New variable.
63957         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
63958         (llround_test_data): New variable.
63959         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
63961 2013-05-13  Peter Collingbourne  <pcc@google.com>
63963         * math/atest-exp2.c (get_log2): Remove const attribute.
63965 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
63967         * math/libm-test.inc (struct test_f_l_data): New type.
63968         (RUN_TEST_LOOP_f_l): New macro.
63969         (lrint_test_data): New variable.
63970         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
63971         (lrint_tonearest_test_data): New variable.
63972         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
63973         (lrint_towardzero_test_data): New variable.
63974         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
63975         (lrint_downward_test_data): New variable.
63976         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
63977         (lrint_upward_test_data): New variable.
63978         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
63979         (lround_test_data): New variable.
63980         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
63982 2013-05-15  Peter Collingbourne  <pcc@google.com>
63984         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
63985         (EXTRACT_WORDS64) Use where appropriate.
63986         (INSERT_WORDS64) Likewise.
63988         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
63989         constraints with x constraints.
63990         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
63992         * malloc/obstack.c (_obstack_compat): Add initializer.
63994 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
63996         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
63997         si_trapno and add si_addr_lsb to _sifields.sigfault.
63998         (si_trapno): Remove macro.
63999         (si_addr_lsb): Define new macro.
64000         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64002 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
64004         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
64005         instead of TEST_f_l.
64006         (llrint_test_tonearest): Likewise.
64007         (llrint_test_towardzero): Likewise.
64008         (llrint_test_downward): Likewise.
64009         (llrint_test_upward): Likewise.
64010         (llround_test): Likewise.
64012         * math/libm-test.inc (struct test_f_i_data): Add comment.
64013         (RUN_TEST_LOOP_f_b): New macro.
64014         (RUN_TEST_LOOP_f_b_tg): Likewise.
64015         (finite_test_data): New variable.
64016         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
64017         (isfinite_test_data): New variable.
64018         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64019         (isinf_test_data): New variable.
64020         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64021         (isnan_test_data): New variable.
64022         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64023         (isnormal_test_data): New variable.
64024         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64025         (issignaling_test_data): New variable.
64026         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64027         (signbit_test_data): New variable.
64028         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64030         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
64031         with INVALID_EXCEPTION.
64032         (acosh_test_data): Likewise.
64033         (asin_test_data): Likewise.
64034         (atanh_test_data): Likewise.
64035         (fmod_test_data): Likewise.
64036         (log_test_data): Likewise.
64037         (log10_test_data): Likewise.
64038         (log2_test_data): Likewise.
64039         (pow_test_data): Likewise.
64040         (sqrt_test_data): Likewise.
64041         (y0_test_data): Likewise.
64042         (y1_test_data): Likewise.
64043         (yn_test_data): Likewise.
64045         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
64046         function contents.
64048         * math/libm-test.inc (struct test_ff_i_data): New type.
64049         (RUN_TEST_LOOP_ff_i_tg): New macro.
64050         (isgreater_test_data): New variable.
64051         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64052         (isgreaterequal_test_data): New variable.
64053         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64054         (isless_test_data): New variable.
64055         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64056         (islessequal_test_data): New variable.
64057         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64058         (islessgreater_test_data): New variable.
64059         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64060         (isunordered_test_data): New variable.
64061         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64063 2013-05-14  David S. Miller  <davem@davemloft.net>
64065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64067 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
64069         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
64071         * math/libm-test.inc (struct test_fF_f1_data): Change type of
64072         extra_test to int.
64073         (struct test_f_i_data): Change type of max_ulp to int.
64075         * math/libm-test.inc (test_ffI_f1_data): New type.
64076         (RUN_TEST_LOOP_ffI_f1): New macro.
64077         (remquo_test_data): New variable.
64078         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
64080         * setjmp/tst-setjmp-fp.c: New file.
64081         * setjmp/Makefile (tests): Add tst-setjmp-fp.
64082         (link-libm): New variable.
64083         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
64085         * math/libm-test.inc (struct test_f_i_data): New type.
64086         (RUN_TEST_LOOP_f_i): New macro.
64087         (RUN_TEST_LOOP_f_i_tg): Likewise.
64088         (fpclassify_test_data): New variable.
64089         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
64090         (ilogb_test_data): New variable.
64091         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
64093         * math/libm-test.inc (scalbln_test): Correct function name in END
64094         call.
64096         * math/libm-test.inc (struct test_f_f1_data): Add comment.
64097         (RUN_TEST_LOOP_fI_f1): New macro.
64098         (frexp_test_data): New variable.
64099         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
64101         * math/libm-test.inc (struct test_fF_f1_data): New type.
64102         (RUN_TEST_LOOP_fF_f1): New macro.
64103         (modf_test_data): New variable.
64104         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
64106         * math/libm-test.inc (struct test_f_f1_data): New type.
64107         (RUN_TEST_LOOP_f_f1): New macro.
64108         (gamma_test_data): New variable.
64109         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
64110         (lgamma_test_data): New variable.
64111         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
64113 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
64115         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
64116         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
64117         (main): Comment "tls" pseudo-hwcap.
64119 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
64121         * math/libm-test.inc (struct test_fl_f_data): New type.
64122         (RUN_TEST_LOOP_fl_f): New variable.
64123         (scalbln_test_data): New variable.
64124         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
64126         * math/libm-test.inc (struct test_fi_f_data): New type.
64127         (RUN_TEST_LOOP_fi_f): New macro.
64128         (ldexp_test_data): New variable.
64129         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
64130         (scalbn_test_data): New variable.
64131         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
64133         * math/libm-test.inc (struct test_c_f_data): New type.
64134         (RUN_TEST_LOOP_c_f): New macro.
64135         (cabs_test_data): New variable.
64136         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
64137         (carg_test_data): New variable.
64138         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
64139         (cimag_test_data): New variable.
64140         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
64141         (creal_test_data): New variable.
64142         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
64144         * math/libm-test.inc (struct test_if_f_data): New type.
64145         (RUN_TEST_LOOP_if_f): New macro.
64146         (jn_test_data): New variable.
64147         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
64148         (yn_test_data): New variable.
64149         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
64151         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
64153 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64155         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
64156         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
64158 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64160         * benchtests/Makefile (CPPFLAGS-nonlib): Add
64161         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
64162         (bench-deps): Add bench-timing.h.
64163         * benchtests-bench-skeleton.c: Include bench-timing.h.
64164         (main): Use TIMING_* macros instead of clock_gettime.
64165         * benchtests/bench-timing.h: New file.
64167         [BZ #14582]
64168         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
64169         Renamed from _LIB_VERSION.
64170         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
64172 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
64174         * math/libm-test.inc (struct test_fff_f_data): New type.
64175         (RUN_TEST_LOOP_fff_f): New macro.
64176         (fma_test_data): New variable.
64177         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
64178         (fma_towardzero_test_data): New variable.
64179         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
64180         (fma_downward_test_data): New variable.
64181         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
64182         (fma_upward_test_data): New variable.
64183         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
64185         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
64186         (struct test_c_c_data): New type.
64187         (RUN_TEST_LOOP_c_c): New macro.
64188         (cacos_test_data): New variable.
64189         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
64190         (cacosh_test_data): New variable.
64191         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
64192         (casin_test_data): New variable.
64193         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
64194         (casinh_test_data): New variable.
64195         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
64196         (catan_test_data): New variable.
64197         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
64198         (catanh_test_data): New variable.
64199         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
64200         (ccos_test_data): New variable.
64201         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
64202         (ccosh_test_data): New variable.
64203         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
64204         (cexp_test_data): New variable.
64205         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
64206         (clog_test_data): New variable.
64207         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
64208         (clog10_test_data): New variable.
64209         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
64210         (conj_test_data): New variable.
64211         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
64212         (cproj_test_data): New variable.
64213         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
64214         (csin_test_data): New variable.
64215         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
64216         (csinh_test_data): New variable.
64217         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
64218         (csqrt_test_data): New variable.
64219         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
64220         (ctan_test_data): New variable.
64221         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
64222         (ctan_tonearest_test_data): New variable.
64223         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
64224         (ctan_towardzero_test_data): New variable.
64225         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
64226         (ctan_downward_test_data): New variable.
64227         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64228         (ctan_upward_test_data): New variable.
64229         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
64230         (ctanh_test_data): New variable.
64231         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
64232         (ctanh_tonearest_test_data): New variable.
64233         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
64234         (ctanh_towardzero_test_data): New variable.
64235         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
64236         (ctanh_downward_test_data): New variable.
64237         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64238         (ctanh_upward_test_data): New variable.
64239         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
64240         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
64241         of BUILD_COMPLEX.
64243         * math/libm-test.inc (struct test_ff_f_data): New type.
64244         (struct test_ff_f_data_nexttoward): Likewise.
64245         (RUN_TEST_LOOP_2_f): New macro.
64246         (RUN_TEST_LOOP_ff_f): Likewise.
64247         (atan2_test_data): New variable.
64248         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
64249         (copysign_test_data): New variable.
64250         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
64251         (fdim_test_data): New variable.
64252         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
64253         (fmax_test_data): New variable.
64254         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
64255         (fmin_test_data): New variable.
64256         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
64257         (fmod_test_data): New variable.
64258         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
64259         (hypot_test_data): New variable.
64260         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
64261         (nextafter_test_data): New variable.
64262         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
64263         (nexttoward_test_data): New variable.
64264         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
64265         (pow_test_data): New variable.
64266         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
64267         (pow_tonearest_test_data): New variable.
64268         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
64269         (pow_towardzero_test_data): New variable.
64270         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
64271         (pow_downward_test_data): New variable.
64272         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
64273         (pow_upward_test_data): New variable.
64274         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
64275         (remainder_test_data): New variable.
64276         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
64277         (scalb_test_data): New variable.
64278         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
64279         * sysdeps/i386/fpu/libm-test-ulps: Update.
64281 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
64283         * math/libm-test.inc (fma_test): Use max_value instead of local
64284         variable fltmax.
64285         (nextafter_test): Likewise.
64287         * math/libm-test.inc (acos_towardzero_test_data): New variable.
64288         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64289         (acos_downward_test_data): New variable.
64290         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64291         (acos_upward_test_data): New variable.
64292         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64293         (acosh_test_data): New variable.
64294         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
64295         (asin_test_data): New variable.
64296         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
64297         (asin_tonearest_test_data): New variable.
64298         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64299         (asin_towardzero_test_data): New variable.
64300         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64301         (asin_downward_test_data): New variable.
64302         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64303         (asin_upward_test_data): New variable.
64304         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64305         (asinh_test_data): New variable.
64306         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
64307         (atan_test_data): New variable.
64308         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
64309         (atanh_test_data): New variable.
64310         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
64311         (cbrt_test_data): New variable.
64312         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
64313         (ceil_test_data): New variable.
64314         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
64315         (cos_test_data): New variable.
64316         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
64317         (cos_tonearest_test_data): New variable.
64318         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64319         (cos_towardzero_test_data): New variable.
64320         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64321         (cos_downward_test_data): New variable.
64322         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64323         (cos_upward_test_data): New variable.
64324         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64325         (cosh_test_data): New variable.
64326         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
64327         (cosh_tonearest_test_data): New variable.
64328         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64329         (cosh_towardzero_test_data): New variable.
64330         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64331         (cosh_downward_test_data): New variable.
64332         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64333         (cosh_upward_test_data): New variable.
64334         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64335         (erf_test_data): New variable.
64336         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
64337         (erfc_test_data): New variable.
64338         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
64339         (exp_test_data): New variable.
64340         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
64341         (exp_tonearest_test_data): New variable.
64342         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64343         (exp_towardzero_test_data): New variable.
64344         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64345         (exp_downward_test_data): New variable.
64346         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64347         (exp_upward_test_data): New variable.
64348         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64349         (exp10_test_data): New variable.
64350         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
64351         (exp2_test_data): New variable.
64352         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
64353         (expm1_test_data): New variable.
64354         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
64355         (fabs_test_data): New variable.
64356         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
64357         (floor_test_data): New variable.
64358         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
64359         (j0_test_data): New variable.
64360         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
64361         (j1_test_data): New variable.
64362         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
64363         (log_test_data): New variable.
64364         (log_test): Run tests with RUN_TEST_LOOP_f_f.
64365         (log10_test_data): New variable.
64366         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
64367         (log1p_test_data): New variable.
64368         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
64369         (log2_test_data): New variable.
64370         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
64371         (logb_test_data): New variable.
64372         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
64373         (logb_downward_test_data): New variable.
64374         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64375         (nearbyint_test_data): New variable.
64376         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
64377         (rint_test_data): New variable.
64378         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
64379         (rint_tonearest_test_data): New variable.
64380         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64381         (rint_towardzero_test_data): New variable.
64382         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64383         (rint_downward_test_data): New variable.
64384         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64385         (rint_upward_test_data): New variable.
64386         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64387         (round_test_data): New variable.
64388         (round_test): Run tests with RUN_TEST_LOOP_f_f.
64389         (sin_test_data): New variable.
64390         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
64391         (sin_tonearest_test_data): New variable.
64392         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64393         (sin_towardzero_test_data): New variable.
64394         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64395         (sin_downward_test_data): New variable.
64396         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64397         (sin_upward_test_data): New variable.
64398         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64399         (sinh_test_data): New variable.
64400         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
64401         (sinh_tonearest_test_data): New variable.
64402         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64403         (sinh_towardzero_test_data): New variable.
64404         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64405         (sinh_downward_test_data): New variable.
64406         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64407         (sinh_upward_test_data): New variable.
64408         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64409         (sqrt_test_data): New variable.
64410         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
64411         (tan_test_data): New variable.
64412         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
64413         (tan_tonearest_test_data): New variable.
64414         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64415         (tan_towardzero_test_data): New variable.
64416         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64417         (tan_downward_test_data): New variable.
64418         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64419         (tan_upward_test_data): New variable.
64420         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64421         (tanh_test_data): New variable.
64422         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
64423         (tgamma_test_data): New variable.
64424         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
64425         (trunc_test_data): New variable.
64426         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
64427         (y0_test_data): New variable.
64428         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
64429         (y1_test_data): New variable.
64430         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
64431         (significand_test_data): New variable.
64432         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
64434 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
64436         [BZ #12387]
64437         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
64439 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64441         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
64443 2013-05-10  Andreas Jaeger  <aj@suse.de>
64445         [BZ #15448]
64446         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
64447         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
64449 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64451         * math/gen-libm-test.pl (adjust_arg): New function.
64452         (special_functions): Handle generating output in both functions
64453         and arrays.
64454         (parse_args): Likewise.
64455         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
64456         $in_func argument to parse_args.
64457         * math/libm-test.inc (struct test_f_f_data): New type.
64458         (IF_ROUND_INIT_): New macro.
64459         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
64460         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64461         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64462         (IF_ROUND_INIT_FE_UPWARD): Likewise.
64463         (ROUND_RESTORE_): Likewise.
64464         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
64465         (ROUND_RESTORE_FE_TONEAREST): Likewise.
64466         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
64467         (ROUND_RESTORE_FE_UPWARD): Likewise.
64468         (RUN_TEST_LOOP_f_f): New macro.
64469         (acos_test_data): New variable.
64470         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
64471         (acos_tonearest_test_data): New variable.
64472         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64474 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64476         * benchtests/bench-skeleton.c (startup): Fix coding style.
64478 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64480         [BZ #6809]
64481         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
64482         negative infinity argument.
64483         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
64484         negative infinity argument.
64485         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
64486         negative infinity argument.
64487         * math/libm-test.inc (tgamma_test): Expect errno to be set for
64488         domain errors.
64490 2013-05-10  Florian Weimer  <fweimer@redhat.com>
64492         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
64493         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
64494         * iconv/iconv_prog.c (main): Likewise.
64495         * locale/programs/charmap-dir.c (charmap_readdir)
64496         (fopen_uncompressed): Likewise.
64497         * locale/programs/locfile.c (siblings_uncached)
64498         (write_locale_data): Use lstat64 instead of lstat.
64499         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
64500         stat.
64502 2013-05-10  Andreas Jaeger  <aj@suse.de>
64504         [BZ #15395]
64505         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
64506         localization.
64507         Include <locale.h>.
64509 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
64511         * elf/dl-close.c (_dl_close_worker): Add comments.
64513 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
64515         [BZ #15359]
64516         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
64517         high part of pi/2.
64518         (__ieee754_rem_pio2l): Update comments.
64520         [BZ #15429]
64521         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
64522         high part of pi/2.
64523         (__ieee754_rem_pio2l): Update comments.
64525         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
64526         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
64528         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
64529         M_PI_4l.
64531         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
64532         (M_PI_34_LOG10El): Likewise.
64533         (M_PI2_LOG10El): Likewise.
64534         (M_PI4_LOG10El): Likewise.
64535         (M_PI_LOG10El): Likewise.
64537 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64541 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
64543         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
64544         (MINUS_ZERO_INIT): Likewise.
64545         (PLUS_INFTY_INIT): Likewise.
64546         (MINUS_INFTY_INIT): Likewise.
64547         (QNAN_VALUE_INIT): Likewise.
64548         (MAX_VALUE_INIT): Likewise.
64549         (MIN_VALUE_INIT): Likewise.
64550         (MIN_SUBNORM_VALUE_INIT): Likewise.
64551         (plus_zero): Initialize with PLUS_ZERO_INIT.
64552         (minus_zero): Initialize with MINUS_ZERO_INIT.
64553         (plus_infty): Initialize with PLUS_INFTY_INIT.
64554         (minus_infty): Initialize with MINUS_INFTY_INIT.
64555         (qnan_value): Initialize with QNAN_VALUE_INIT.
64556         (max_value): Initialize with MAX_VALUE_INIT.
64557         (min_value): Initialize with MIN_VALUE_INIT.
64558         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
64560         * math/libm-test.inc (RUN_TEST_if_f): New macro.
64561         (jn_test): Use TEST_if_f instead of TEST_ff_f.
64562         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
64563         (yn_test): Use TEST_if_f instead of TEST_ff_f.
64565         * math/libm-test.inc (RUN_TEST_f_f): New macro.
64566         (RUN_TEST_2_f): Likewise.
64567         (RUN_TEST_ff_f): Likewise.
64568         (RUN_TEST_fi_f): Likewise.
64569         (RUN_TEST_fl_f): Likewise.
64570         (RUN_TEST_fff_f): Likewise.
64571         (RUN_TEST_c_f): Likewise.
64572         (RUN_TEST_f_f1): Likewise.
64573         (RUN_TEST_fF_f1): Likewise.
64574         (RUN_TEST_fI_f1): Likewise.
64575         (RUN_TEST_ffI_f1): Likewise.
64576         (RUN_TEST_c_c): Likewise.
64577         (RUN_TEST_cc_c): Likewise.
64578         (RUN_TEST_f_i): Likewise.
64579         (RUN_TEST_f_i_tg): Likewise.
64580         (RUN_TEST_ff_i_tg): Likewise.
64581         (RUN_TEST_f_b): Likewise.
64582         (RUN_TEST_f_b_tg): Likewise.
64583         (RUN_TEST_f_l): Likewise.
64584         (RUN_TEST_f_L): Likewise.
64585         (RUN_TEST_sincos): Likewise.
64586         * math/gen-libm-test.pl (new_test): Take new argument to indicate
64587         whether to show exceptions.  Do not include ");\n" in return
64588         value.
64589         (special_functions): Output call to RUN_TEST_sincos instead of
64590         check_float calls.  Update calls to new_test.
64591         (parse_args): Output call to single RUN_TEST_* macro instead of
64592         check_* calls and other assignments.  Update calls to new_test.
64594         [BZ #2546]
64595         [BZ #2560]
64596         [BZ #5159]
64597         [BZ #15426]
64598         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
64599         input to result for tgamma overflow.
64600         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
64601         (gamma_coeff): New variable.
64602         (NCOEFF): New macro.
64603         (gamma_positive): New function.
64604         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
64605         underflow here.  Use gamma_positive instead of exp (lgamma) for
64606         other arguments.
64607         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
64608         (gamma_coeff): New variable.
64609         (NCOEFF): New macro.
64610         (gammaf_positive): New function.
64611         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
64612         underflow here.  Use gamma_positive instead of exp (lgamma) for
64613         other arguments.
64614         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
64615         (gamma_coeff): New variable.
64616         (NCOEFF): New macro.
64617         (gammal_positive): New function.
64618         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
64619         underflow here.  Use gamma_positive instead of exp (lgamma) for
64620         other arguments.
64621         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
64622         (gamma_coeff): New variable.
64623         (NCOEFF): New macro.
64624         (gammal_positive): New function.
64625         (__ieee754_gammal_r): Handle positive infinity, overflow and
64626         underflow here.  Handle NaN the same as positive infinity.  Remove
64627         check x < 0xffffffff for negative integers.  Use gamma_positive
64628         instead of exp (lgamma) for other arguments.
64629         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
64630         (gamma_coeff): New variable.
64631         (NCOEFF): New macro.
64632         (gammal_positive): New function.
64633         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
64634         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
64635         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
64636         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
64637         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
64638         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
64639         * sysdeps/generic/math_private.h (__gamma_productf): New
64640         prototype.
64641         (__gamma_product): Likewise.
64642         (__gamma_productl): Likewise.
64643         * math/Makefile (libm-calls): Add gamma_product.
64644         * math/libm-test.inc (tgamma_test): Add more tests.
64645         * sysdeps/i386/fpu/libm-test-ulps: Update.
64646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64648 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
64650         * benchtests/bench-skeleton.c (main): Preheat CPU.
64652 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
64654         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
64656 2013-05-07  Roland McGrath  <roland@hack.frob.com>
64658         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
64659         and _dl_skip_args_internal.
64661 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
64663         * manual/message.texi (Message Translation): Talk about users.
64664         Message to key mapping impacts design.
64666 2013-05-06  Roland McGrath  <roland@hack.frob.com>
64668         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
64670         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
64672         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
64673         * sysdeps/wordsize-64/glob64.c: ... here.
64675         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
64676         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
64677         New macros.
64679         * debug/getlogin_r_chk.c: Moved to ...
64680         * login/getlogin_r_chk.c: ... here.
64681         * debug/Makefile (routines): Move getlogin_r_chk to ...
64682         * login/Makefile (routines): ... here.
64683         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
64684         * login/Versions (libc: GLIBC_2.4): ... here.
64686         * io/poll.c (__poll): Renamed from poll.
64687         Add libc_hidden_def.
64688         (poll): Define as weak alias.
64690         * debug/ptsname_r_chk.c: Moved to ...
64691         * login/ptsname_r_chk.c: ... here.
64692         * debug/Makefile (routines): Move ptsname_r_chk to ...
64693         * login/Makefile (routines): ... here.
64694         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
64695         * login/Versions (libc: GLIBC_2.4): ... here.
64697         * posix/getlogin.c: Moved to ...
64698         * login/getlogin.c: ... here.
64699         * posix/getlogin_r.c: Moved to ...
64700         * login/getlogin_r.c: ... here.
64701         * posix/getlogin_r.c: Moved to ...
64702         * login/getlogin_r.c: ... here.
64703         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
64704         * login/Makefile (routines): ... here.
64705         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
64706         * login/Versions (libc: GLIBC_2.0): ... here.
64708         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
64709         (setrlimit): Define as weak alias.
64711         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
64712         Call __ names for open, ftruncate, and close.
64713         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
64714         (truncate): Define as weak alias.
64716 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
64718         * math/gen-libm-test.pl (parse_args): Initialize x before each
64719         test of frexp, modf and remquo.
64721         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
64722         test signgam value.
64724 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64726         [BZ #15418]
64727         [BZ #15419]
64728         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
64729         internal tests.
64730         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64732 2013-05-06  Roland McGrath  <roland@hack.frob.com>
64734         * elf/dl-writev.h: New file.
64735         * elf/dl-misc.c: Include it.
64736         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
64737         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
64739 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
64741         * math/libm-test.inc (noXFails): Remove variable.
64742         (noXPasses): Likewise.
64743         (BUILD_COMPLEX_INT): Remove macro.
64744         (print_screen): Remove xfail argument.
64745         (print_screen_max_error): Likewise.
64746         (update_stats): Likewise.
64747         (print_max_error): Likewise.  Update calls to other affected
64748         functions.
64749         (print_complex_max_error): Likewise.
64750         (test_single_exception): Update calls to print_screen.
64751         (test_single_errno): Likewise.
64752         (check_float_internal): Remove xfail argument.  Update calls to
64753         other affected functions.
64754         (check_float): Likewise.
64755         (check_complex): Likewise.
64756         (check_int): Likewise.
64757         (check_long): Likewise.
64758         (check_bool): Likewise.
64759         (check_longlong): Likewise.
64760         (main): Don't print noXFails and noXPasses.
64761         * math/gen-libm-test.pl (top level): Don't mention expected
64762         failure handling in comment.
64763         (new_test): Don't handle expected failures.
64764         (parse_args): Don't mention expected failure handling in comment.
64765         (generate_testfile): Don't handle expected failures.
64766         (parse_ulps): Likewise.
64767         (print_ulps_file): Likewise.
64768         (get_failure): Remove function.
64769         (output_test): Don't handle expected failures.
64770         * make/README.libm-test: Don't mention expected failure handling.
64772         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
64773         (minus_zero): Likewise.
64774         (plus_infty): Likewise.
64775         (minus_infty): Likewise.
64776         (qnan_value): Likewise.
64777         (max_value): Likewise.
64778         (min_value): Likewise.
64779         (min_subnorm_value): Likewise.
64780         (initialize): Do not initialize those variables dynamically.
64782 2013-05-03  Roland McGrath  <roland@hack.frob.com>
64784         * io/open.c (__open_2): Moved to ...
64785         * io/open_2.c: ... this new file.
64786         * io/open64.c (__open64_2): Moved to ...
64787         * io/open64_2.c: ... this new file.
64788         * io/openat.c (__openat_2): Moved to ...
64789         * io/openat_2.c: ... this new file.
64790         * io/openat64.c (__openat64_2): Moved to ...
64791         * io/openat64_2.c: ... this new file.
64792         * io/Makefile (routines): Add them.
64793         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
64794         * sysdeps/unix/sysv/linux/open_2.c: File removed.
64795         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
64796         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
64797         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
64798         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
64799         (__openat64): Add hidden_ver.
64800         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
64801         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
64803         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
64804         Separately conditionalize setting of GLRO(dl_sysinfo) so
64805         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
64806         as well, but the actual setting is only under [NEED_DL_SYSINFO].
64808 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64810         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
64811         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
64812         definition.
64813         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
64814         * sysdeps/unix/sysv/linux/powerpc/init-first.c
64815         (_libc_vdso_platform_setup): Add __vdso_time initialization.
64816         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
64817         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
64819 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
64821         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
64822         test signgam value.
64824         * math/libm-test.inc (hypot_test): Do not use
64825         IGNORE_ZERO_INF_SIGN.
64827 2013-05-03  Andreas Jaeger  <aj@suse.de>
64829         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
64830         Linux 3.9.
64831         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
64832         (PF_MAX): Adjust for VSOCK change.
64834 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64838 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
64840         [BZ #15264]
64841         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
64842         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
64843         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
64845 2013-05-02  David S. Miller  <davem@davemloft.net>
64847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64849 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
64851         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
64853 2013-05-01  Roland McGrath  <roland@hack.frob.com>
64855         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
64857 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
64859         [BZ #14952]
64860         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
64861         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
64862         Use __attribute__ ((__gnu_inline__)).
64863         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
64864         Don't use __attribute__ ((__gnu_inline__)).
64866 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
64868         [BZ #15423]
64869         * math/s_catan.c (__catan): Handle small real or imaginary part of
64870         input specially to avoid spurious underflow.
64871         * math/s_catanf.c (__catanf): Likewise.
64872         * math/s_catanh.c (__catanh): Likewise.
64873         * math/s_catanhf.c (__catanhf): Likewise.
64874         * math/s_catanhl.c (__catanhl): Likewise.
64875         * math/s_catanl.c (__catanl): Likewise.
64876         * math/libm-test.inc (catan_test): Add more tests.
64877         (catanh_test): Likewise.
64878         * sysdeps/i386/fpu/libm-test-ulps: Update.
64879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64881 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64885 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
64887         [BZ #15416]
64888         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
64889         accurately for denominator in atan2.
64890         * math/s_catanf.c (__catanf): Likewise.
64891         * math/s_catanh.c (__catanh): Likewise.
64892         * math/s_catanhf.c (__catanhf): Likewise.
64893         * math/s_catanhl.c (__catanhl): Likewise.
64894         * math/s_catanl.c (__catanl): Likewise.
64895         * math/libm-test.inc (catan_test): Add more tests.
64896         (catanh_test): Likewise.
64897         * sysdeps/i386/fpu/libm-test-ulps: Update.
64898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64900 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64902         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
64904         * benchtests/Makefile (bench): Remove slow benchmarks.
64905         * benchtests/atan-inputs: Add slow benchmark inputs.
64906         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
64907         (BENCH_FUNC): Accept variant offset.
64908         (VARIANT): Define.
64909         * benchtests/bench-skeleton.c (main): Run benchmark for each
64910         variant.
64911         * benchtests/cos-inputs: Add slow benchmark inputs.
64912         * benchtests/exp-inputs: Likewise.
64913         * benchtests/pow-inputs: Likewise.
64914         * benchtests/sin-inputs: Likewise.
64915         * benchtests/slowatan-inputs: Remove.
64916         * benchtests/slowatan.c: Remove.
64917         * benchtests/slowcos-inputs: Remove.
64918         * benchtests/slowcos.c: Remove.
64919         * benchtests/slowexp-inputs: Remove.
64920         * benchtests/slowexp.c: Remove.
64921         * benchtests/slowpow-inputs: Remove.
64922         * benchtests/slowpow.c: Remove.
64923         * benchtests/slowsin-inputs: Remove.
64924         * benchtests/slowsin.c: Remove.
64925         * benchtests/slowtan-inputs: Remove.
64926         * benchtests/slowtan.c: Remove.
64927         * benchtests/tan-inputs: Add slow benchmark inputs.
64928         * scripts/bench.pl: Parse comments and directives.
64930         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
64931         in CPPFLAGS.
64932         ($(objpfx)bench-%.c): Remove *-ITER.
64933         * benchtests/bench-modf.c: Remove definition of ITER.
64934         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
64935         (main): Loop for DURATION seconds instead of fixed number of
64936         iterations.
64937         * scripts/bench.pl: Don't expect iterations in parameters.
64939 2013-04-29  Roland McGrath  <roland@hack.frob.com>
64941         * io/fchdir.c (__fchdir): Renamed from fchdir.
64942         (fchdir): Define as weak alias.
64944 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
64946         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
64947         (ERRNO_EDOM): Likewise.
64948         (ERRNO_ERANGE): Likewise.
64949         (noErrnoTests): New variable.
64950         (init_max_error): Set errno to 0.
64951         (test_single_errno): New function.
64952         (test_errno): Likewise.
64953         (check_float_internal): Call test_errno.  Set errno to 0.
64954         (check_complex): Refer to errno tests in comment.
64955         (check_int): Call test_errno.  Set errno to 0.
64956         (check_long): Likewise.
64957         (check_bool): Likewise.
64958         (check_longlong): Likewise.
64959         (cos_test): Use ERRNO_* flags for errno tests instead of
64960         check_int.
64961         (expm1_test): Likewise.
64962         (fmod_test): Likewise.
64963         (ilogb_test): Likewise.
64964         (lgamma_test): Likewise.
64965         (pow_test): Likewise.
64966         (remainder_test): Likewise.
64967         (sin_test): Likewise.
64968         (tan_test): Likewise.
64969         (yn_test): Likewise.
64970         (initialize): Set errno to 0.
64971         (main): Print number of errno tests.
64972         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
64974 2013-04-29  Andreas Jaeger  <aj@suse.de>
64976         [BZ #15084]
64977         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
64978         and RES_USEVC.
64980         [BZ #15085]
64981         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
64982         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
64983         unimplemented.
64985         [BZ #15380]
64986         * stdlib/random.c (__initstate): Return NULL if
64987         __initstate fails.
64989         [BZ #15086]
64990         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
64991         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
64992         RES_SNGLKUPREOP.
64994 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64998 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
65000         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
65001         of individual tests.
65002         (casin_test): Likewise.
65003         (casinh_test): Likewise.
65005 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
65007         [BZ #15409]
65008         * math/s_catan.c (__catan): Handle arguments with large real or
65009         imaginary part separately without squaring.
65010         * math/s_catanf.c (__catanf): Likewise.
65011         * math/s_catanh.c (__catanh): Likewise.
65012         * math/s_catanhf.c (__catanhf): Likewise.
65013         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
65014         and redefine.
65015         (__catanhl): Handle arguments with large real or imaginary part
65016         separately without squaring.
65017         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
65018         and redefine.
65019         (__catanl): Handle arguments with large real or imaginary part
65020         separately without squaring.
65021         * math/libm-test.inc (catan_test): Add more tests.
65022         (catanh_test): Likewise.
65023         * sysdeps/i386/fpu/libm-test-ulps: Update.
65024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65026 2013-04-27  Andreas Jaeger  <aj@suse.de>
65028         [BZ #15007]
65029         * stdlib/stdlib.h: Update guards for qecvt.
65030         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
65031         <stdlib.h>.
65033 2013-04-27  Allan McRae  <allan@archlinux.org>
65035         * sysdeps/i386/fpu/libm-test-ulps: Update.
65037 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
65039         [BZ #15406]
65040         * math/s_catan.c: Include <float.h>.
65041         (__catan): Ensure underflow exception occurs for underflowed
65042         result.
65043         * math/s_catanf.c: Include <float.h>.
65044         (__catanf): Ensure underflow exception occurs for underflowed
65045         result.
65046         * math/s_catanh.c: Include <float.h>.
65047         (__catanh): Ensure underflow exception occurs for underflowed
65048         result.
65049         * math/s_catanhf.c: Include <float.h>.
65050         (__catanhf): Ensure underflow exception occurs for underflowed
65051         result.
65052         * math/s_catanhl.c: Include <float.h>.
65053         (__catanhl): Ensure underflow exception occurs for underflowed
65054         result.
65055         * math/s_catanl.c: Include <float.h>.
65056         (__catanl): Ensure underflow exception occurs for underflowed
65057         result.
65058         * math/libm-test.inc (catan_test): Add more tests.
65059         (catanh_test): Likewise.
65061         [BZ #15405]
65062         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
65063         underflowed result.
65064         * math/s_ccoshf.c (__ccoshf): Likewise.
65065         * math/s_ccoshl.c (__ccoshl): Likewise.
65066         * math/s_csin.c (__csin): Likewise.
65067         * math/s_csinf.c (__csinf): Likewise.
65068         * math/s_csinh.c (__csinh): Likewise.
65069         * math/s_csinhf.c (__csinhf): Likewise.
65070         * math/s_csinhl.c (__csinhl): Likewise.
65071         * math/s_csinl.c (__csinl): Likewise.
65072         * math/libm-test.inc (ccos_test): Add more tests.
65073         (ccosh_test): Likewise.
65074         (csin_test): Likewise.
65075         (csinh_test): Likewise.
65077 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65079         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
65080         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
65081         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
65082         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
65083         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
65084         powerpc/power5+/fpu folders.
65085         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
65088 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
65090         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65092 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
65094         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
65095         additions to variable.
65096         [$(config-machine) = x86_64] (modules-names): Likewise.
65097         ($(objpfx)tst-audit3): Remove dependency.
65098         ($(objpfx)tst-audit3.out): Likewise.
65099         ($(objpfx)tst-audit4): Likewise.
65100         ($(objpfx)tst-audit4.out): Likewise.
65101         ($(objpfx)tst-audit5): Likewise.
65102         ($(objpfx)tst-audit5.out): Likewise.
65103         ($(objpfx)tst-audit6): Likewise.
65104         ($(objpfx)tst-audit6.out): Likewise.
65105         ($(objpfx)tst-audit7): Likewise.
65106         ($(objpfx)tst-audit7.out): Likewise.
65107         (tst-audit3-ENV): Remove variable.
65108         (tst-audit4-ENV): Likewise.
65109         (tst-audit5-ENV): Likewise.
65110         (tst-audit6-ENV): Likewise.
65111         (tst-audit7-ENV): Likewise.
65112         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
65113         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
65114         addition to variable.
65115         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
65116         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
65117         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
65118         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
65119         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
65120         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
65121         tst-audit3, tst-audit4 and tst-audit5.
65122         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
65123         tst-audit6 and tst-audit7.
65124         [$(subdir) = elf] (modules-names): Add audit modules for those
65125         tests.
65126         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
65127         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
65128         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
65129         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
65130         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
65131         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
65132         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
65133         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
65134         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
65135         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
65136         [$(subdir) = elf] (tst-audit3-ENV): New variable.
65137         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
65138         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
65139         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
65140         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
65141         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
65142         Likewise.
65143         [$(subdir) = elf && $(config-cflags-avx) = yes]
65144         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
65145         [$(subdir) = elf && $(config-cflags-avx) = yes]
65146         (CFLAGS-tst-auditmod4a.c): Likewise.
65147         [$(subdir) = elf && $(config-cflags-avx) = yes]
65148         (CFLAGS-tst-auditmod4b.c): Likewise.
65149         [$(subdir) = elf && $(config-cflags-avx) = yes]
65150         (CFLAGS-tst-auditmod6b.c): Likewise.
65151         [$(subdir) = elf && $(config-cflags-avx) = yes]
65152         (CFLAGS-tst-auditmod6c.c): Likewise.
65153         [$(subdir) = elf && $(config-cflags-avx) = yes]
65154         (CFLAGS-tst-auditmod7b.c): Likewise.
65155         * elf/tst-audit3.c: Move to ...
65156         * sysdeps/x86_64/tst-audit3.c: ... here.
65157         * elf/tst-audit4.c: Move to ...
65158         * sysdeps/x86_64/tst-audit4.c: ... here.
65159         * elf/tst-audit5.c: Move to ...
65160         * sysdeps/x86_64/tst-audit5.c: ... here.
65161         * elf/tst-audit6.c: Move to ...
65162         * sysdeps/x86_64/tst-audit6.c: ... here.
65163         * elf/tst-audit7.c: Move to ...
65164         * sysdeps/x86_64/tst-audit7.c: ... here.
65165         * elf/tst-auditmod3a.c: Move to ...
65166         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
65167         * elf/tst-auditmod3b.c: Move to ...
65168         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
65169         * elf/tst-auditmod4a.c: Move to ...
65170         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
65171         * elf/tst-auditmod4b.c: Move to ...
65172         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
65173         * elf/tst-auditmod5a.c: Move to ...
65174         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
65175         * elf/tst-auditmod5b.c: Move to ...
65176         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
65177         * elf/tst-auditmod6a.c: Move to ...
65178         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
65179         * elf/tst-auditmod6b.c: Move to ...
65180         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
65181         * elf/tst-auditmod6c.c: Move to ...
65182         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
65183         * elf/tst-auditmod7a.c: Move to ...
65184         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
65185         * elf/tst-auditmod7b.c: Move to ...
65186         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
65188 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
65190         [BZ #15366]
65191         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
65192         define unconditionally.
65193         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
65194         define unconditionally.
65195         (INT8_C, INT16_C, etc.): Likewise.
65197 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
65199         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
65200         __ehdr_start with hidden visibility.
65202         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
65204 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
65206         * math/libm-test.inc (cos_test): Use accurate hex constants.
65207         (sincost_test): Likewise.
65209 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
65211         * math/libm-test.inc (catan_test): Add more tests.
65212         (catanh_test): Likewise.
65214         * math/s_catanf.c (__catanf): Use suffixed floating-point
65215         constants.
65216         * math/s_catanhf.c (__catanhf): Likewise.
65217         * math/s_catanhl.c (__catanhl): Likewise.
65218         * math/s_catanl.c (__catanl): Likewise.
65220         [BZ #15394]
65221         * math/s_catan.c (__catan): Calculate imaginary part of result
65222         with log1p not log unless computing log of number close to 0.
65223         * math/s_catanf.c (__catanf): Likewise.
65224         * math/s_catanl.c (__catanl): Likewise.
65225         * math/s_catanh.c (__catanh): Calculate real part of result with
65226         log1p not log unless computing log of number close to 0.
65227         * math/s_catanhf.c (__catanhf): Likewise.
65228         * math/s_catanhl.c (__catanhl): Likewise.
65229         * math/libm-test.inc (catan_test): Add more tests.
65230         (catanh_test): Likewise.
65231         * sysdeps/i386/fpu/libm-test-ulps: Update.
65232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65234 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
65236         * benchtests/Makefile: Mention files in which fast and slow
65237         paths of math functions are implemented.
65239 2013-04-23  Roland McGrath  <roland@hack.frob.com>
65241         * sysdeps/posix/timespec_get.c: New file.
65243 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65245         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
65246         POWER.
65247         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
65248         for POWER.
65249         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
65250         powerpc/power5/fpu folders.
65251         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
65252         * benchtests/Makefile: Add modf testcase.
65253         * benchtests/bench-modf.c: New file: Benchmark test for mo
65255 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
65257         [BZ #14888]
65258         * time/Makefile (tests): Add tst-strptime-whitespace.
65259         * time/strptime_l.c (get_number): Use ISSPACE.
65260         (__strptime_internal): Likewise.
65261         * time/tst-strptime-whitespace.c: New test case.
65263 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
65265         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
65266         member.
65267         (_nss_files_init): Set it here.
65269 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
65271         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
65272         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
65273         unsigned.
65275 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
65277         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
65279 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65281         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
65282         size just once.
65284 2013-04-21  David S. Miller  <davem@davemloft.net>
65286         * po/ru.po: Update Russion translation from translation project.
65288 2013-04-17  Adam Conrad  <adconrad@0c3.net>
65290         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
65291         and setfsgid.
65293 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
65295         * configure.in: Remove i386 configure warning. Remove i386 case.
65296         * configure: Regenerate.
65297         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
65298         Add example to error message.
65299         * sysdeps/i386/configure: Regenerate.
65301 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65303         * benchtests/Makefile (bench): Add cos, tan, slowcos and
65304         slowtan.
65305         * benchtests/cos-inputs: New file.
65306         * benchtests/slowcos-inputs: New file.
65307         * benchtests/slowcos.c: New file.
65308         * benchtests/slowtan-inputs: New file.
65309         * benchtests/slowtan.c: New file.
65310         * benchtests/tan-inputs: New file.
65312 2013-04-16  Roland McGrath  <roland@hack.frob.com>
65314         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
65315         considered kosher.
65317 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65319         * benchtests/Makefile: Include cppflags-iterator.mk to add
65320         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
65322         * Makefile.in (bench-clean): New target.
65323         * benchtests/Makefile (bench-clean): Likewise.
65325 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
65327         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
65329 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
65331         * stdio-common/tstdiomisc.c: Fix coding-style violation.
65333 2013-04-15  Andreas Schwab  <schwab@suse.de>
65335         * nscd/grpcache.c (cache_addgr): Properly check for short write.
65336         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65337         * nscd/pwdcache.c (cache_addpw): Likewise.
65338         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
65339         more than recsize.
65341 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65343         * benchtests/Makefile (bench): Write all output to
65344         bench-out.tmp together.
65346 2013-04-15  Andreas Schwab  <schwab@suse.de>
65348         * nscd/nscd.c (main): Don't fork again after closing files.
65350 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65352         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
65354         * benchtests/Rules (bench-deps): Collect dependencies into a
65355         single variable.  Add Makefile to dependencies.
65356         ($(objpfx)bench-%.c): Depend on bench-deps.
65358 2013-04-12  Roland McGrath  <roland@hack.frob.com>
65359             Xavier Roche  <roche+kml2@exalead.com>
65361         [BZ #15361]
65362         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
65363         just that it's a file descriptor.
65364         * manual/llio.texi (Synchronizing AIO Operations): Update description
65365         for EBADF error from aio_fsync.
65367 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
65369         * Rules (bench): Move target definition...
65370         * benchtests/Makefile: ... here.
65372 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
65374         * math/libm-test.inc (cos_test): Fix PI/2 test.
65375         (sincos_test): Likewise.
65376         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
65377         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
65379 2013-04-11  Andreas Schwab  <schwab@suse.de>
65381         [BZ #13988]
65382         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
65383         accept exponent character only when digits were seen.
65384         * stdio-common/Makefile (tests): Add bug26.
65385         * stdio-common/bug26.c: New file.
65387         [BZ #14293]
65388         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
65389         non-freeable.
65391 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65393         * Makeconfig (rtld-prefix): Define built linker prefix.
65394         * Rules (run-bench): Use it.
65395         * math/Makefile (run-regen-ulps): Likewise.
65397         * Rules (bench): Remove eval.
65399 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65400             Roland McGrath  <roland@hack.frob.com>
65401             Ondrej Bilka  <neleai@seznam.cz>
65403         [BZ #15346]
65404         * time/getdate.c: Include ctype.h and alloca.h.
65405         (__getdate_r): Trim leading and trailing spaces of input.
65406         * time/tst-getdate.c (tests): Add tests with leading and
65407         trailing spaces.
65409 2013-04-08  Roland McGrath  <roland@hack.frob.com>
65411         [BZ #14280]
65412         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
65413         when computing value.
65415 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65417         * math/README.libm-test (How can I generate "libm-test-ulps"?):
65418         Use testrun.sh to run libm tests.
65420         [BZ #15309]
65421         * elf/dl-open.c (dl_open_worker): memset all of seen array.
65423 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
65425         [BZ #15264]
65426         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
65428 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65430         * Makefile.in (regen-ulps): New target.
65431         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
65432         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
65433         [ifneq (no,$(PERL)] (regen-ulps): New target.
65434         [ifeq (no,$(PERL)] (regen-ulps): New target.
65435         * math/libm-test.inc (ulps_file_name): Define.
65436         (output_dir): New variable.
65437         (options): Add "output-dir" option.
65438         (parse_opt): Handle 'o' case.
65439         (main): If output_dir is non-NULL use it as a prefix
65440         otherwise use "".
65441         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
65443 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65445         [BZ #10060, #10062]
65446         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
65447         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
65448         fail configure if __sync_val_compare_and_swap is not inlined.
65449         * sysdeps/i386/configure: Regenerate.
65450         * configure.in: Build for i686 when configured for i386.
65451         * configure: Regenerate.
65452         * README: Remove i386 reference.
65454 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65456         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
65457         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65459 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65461         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
65462         (lmsnanval): New variables.
65463         (F): Add conversion tests.
65464         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
65465         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
65467         * stdio-common/tstdiomisc.c (F): Properly collect individual
65468         tests' results.
65470         [BZ #14686, #15336]
65471         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
65472         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
65473         Instead, use input NaN values or generate a qNaN by arithmetic
65474         operation.  Also fix bugs to comply with the standard.
65475         * math/libm-test.inc (remainder_test): Add more tests.
65477         [BZ #15335, #15342]
65478         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
65479         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
65480         input NaN values or generate a qNaN by arithmetic operation.
65482         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
65483         unreachable code.
65485         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
65486         definitions.
65488 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
65490         [BZ #14478]
65491         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
65492         underflowed result.
65493         * math/s_cexpf.c (__cexpf): Likewise.
65494         * math/s_cexpl.c (__cexpl): Likewise.
65495         * math/libm-test.inc (cexp_test): Add more tests.
65497 2013-04-03  Andreas Schwab  <schwab@suse.de>
65499         [BZ #15330]
65500         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
65501         order arrays from heap if bigger than alloca cutoff.
65503 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
65505         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
65506         (SNAN_TESTS_double): Refer to GCC PR56831.
65507         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
65508         GCC PR56828.
65510 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65512         * Rules (bench): Move bench.out after the run is complete.
65514         * Rules (bench): Echo currently running benchmark.
65516         * benchtests/Makefile (bench): Add atan and slowatan.
65517         * benchtests/atan-inputs: New file.
65518         * benchtests/slowatan-inputs: New file.
65519         * benchtests/slowatan.c: New file.
65521         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
65522         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
65523         its value.
65525         [BZ #15305]
65526         * sysdeps/unix/sysv/linux/kernel-features.h
65527         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
65528         __ASSUME_XFS_RESTRICTED_CHOWN.
65529         * sysdeps/unix/sysv/linux/pathconf.c
65530         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
65531         Save and restore errno.
65533 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
65535         [BZ #15327]
65536         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
65537         arguments using __kernel_casinh.
65538         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
65539         arguments using __kernel_casinhf.
65540         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
65541         arguments using __kernel_casinhl.
65542         * math/libm-test.inc (cacosh_test): Add more tests.
65543         * sysdeps/i386/fpu/libm-test-ulps: Update.
65544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65546 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65548         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
65549         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
65551         * bench/Makefile (bench): Add sin and slowsin.
65552         * benchtests/sin-inputs: New file.
65553         * benchtests/slowsin-inputs: New file.
65554         * benchtests/slowsin.c: New file.
65556         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
65557         (bench): Add slowexp and slowpow.
65558         (exp-ITER): Increase iterations.
65559         (pow-ITER): Likewise.
65560         * benchtests/exp-inputs: Change input.
65561         * benchtests/pow-inputs: Likewise.
65562         * benchtests/slowexp-inputs: New file.
65563         * benchtests/slowexp.c: New file.
65564         * benchtests/slowpow-inputs: New file.
65565         * benchtests/slowpow.c: New file.
65567 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65569         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
65570         instructions.
65571         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65572         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
65573         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
65574         * benchtests/Makefile: Add rint benchtest.
65575         * benchtests/rint-inputs: Input for rint benchtest.
65577 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65579         * Versions.def (libm): Add GLIBC_2.18.
65580         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
65581         hidden libm prototypes.
65582         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
65583         * math/Makefile (libm-calls): Add s_issignaling.
65584         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
65585         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
65586         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
65587         declaration.
65588         * math/math.h [__USE_GNU] (issignaling): New macro.
65589         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
65590         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
65591         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
65592         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
65593         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
65594         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
65595         * manual/arith.texi (issignaling): New section.
65596         * manual/libm-err-tab.pl (@all_functions): Update comment.
65597         * math/gen-libm-test.pl (parse_args): Apply special handling for
65598         issignaling.
65599         * math/libm-test.inc (print_float, issignaling_test): New
65600         functions.
65601         (check_float_internal): Add issignaling checks.
65602         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
65603         default definition.
65604         * sysdeps/powerpc/math-tests.h: New file.
65605         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
65606         tests.
65607         * math/test-snan.c (TEST_FUNC): Likewise.
65609 2013-03-30  David S. Miller  <davem@davemloft.net>
65611         * po/de.po: Update from translation team.
65613 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
65615         [BZ #10357]
65616         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65617         imaginary part less than 1.0 and real part less than 0.5
65618         specially.
65619         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65620         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65621         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
65622         (cacos_test): Add more tests.
65623         (casin_test): Likewise.
65624         (casinh_test): Likewise.
65625         * sysdeps/i386/fpu/libm-test-ulps: Update.
65626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65628 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65630         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
65631         ONE with its value.
65633         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
65634         (__pow_mp): Replace ONE and MONE with their values.
65635         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65636         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
65637         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65638         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
65639         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65640         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65642         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
65644         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
65645         (__pow_mp): Replace ZERO and MZERO with their values.
65646         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65647         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65648         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65649         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65650         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65651         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
65652         (__sqr): Likewise.
65654         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
65656         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
65658 2013-03-28  Roland McGrath  <roland@hack.frob.com>
65660         * include/stdlib.h [!SHARED] (__call_tls_dtors):
65661         Declare with __attribute__ ((weak)).
65662         * stdlib/exit.c (__libc_atexit) [!SHARED]:
65663         Call __call_tls_dtors only if it's not NULL.
65665 2013-03-28  Roland McGrath  <roland@hack.frob.com>
65667         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
65668         didn't do it already, then set _dl_phdr and _dl_phnum based on the
65669         magic __ehdr_start linker symbol if it's defined.
65670         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
65671         them up here if it was already done.
65673         * elf/dl-support.c (_dl_phdr): Make pointer to const.
65674         (_dl_aux_init): Use const in cast when setting it.
65675         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
65676         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
65677         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
65679         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
65680         Declare them here.
65681         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
65682         * csu/libc-tls.c: Nor here.
65683         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
65685         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
65686         (__libc_message): Never call vsyslog.
65688 2013-03-28  Alan Modra  <amodra@gmail.com>
65690         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
65691         Define as empty.
65692         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
65693         Likewise.
65695 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65697         [BZ #15214]
65698         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
65699         underflow.
65700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65702 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65704         [BZ #15304]
65705         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
65706         Don't add gid passed as argument.
65708         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
65710 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
65712         [BZ #15307]
65713         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65714         imaginary part between 1.0 and 1.5 and real part less than 0.5
65715         specially.
65716         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65717         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65718         * math/libm-test.inc (cacos_test): Add more tests.
65719         (casin_test): Likewise.
65720         (casinh_test): Likewise.
65721         * sysdeps/i386/fpu/libm-test-ulps: Update.
65722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65724 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65726         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
65727         constants.
65728         (norm): Likewise.
65729         (denorm): Likewise.
65730         (__dbl_mp): Likewise.
65731         (add_magnitudes): Likewise.
65732         (sub_magnitudes): Likewise.
65733         (__add): Likewise.
65734         (__sub): Likewise.
65735         (__mul): Likewise.
65736         (__sqr): Likewise.
65737         (__inv): Likewise.
65738         (__dvd): Likewise.
65740         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
65741         commented code.
65742         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
65743         (__dubcos): Likewise.
65744         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
65745         (__ieee754_acos): Likewise.
65746         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65747         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
65748         (__exp1): Likewise.
65749         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65750         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65751         (log1): Likewise.
65752         (my_log2): Likewise.
65753         (checkint): Likewise.
65754         * sysdeps/ieee754/dbl-64/e_remainder.c
65755         (__ieee754_remainder): Likewise.
65756         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65757         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
65758         (bsloww): Likewise.
65759         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65761         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
65762         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
65763         MANTISSA_STORE_T to store computations on mantissa.  Use
65764         macros for rounding and division.
65765         (denorm): Likewise.
65766         (__dbl_mp): Likewise.
65767         (add_magnitudes): Likewise.
65768         (sub_magnitudes): Likewise.
65769         (__mul): Likewise.
65770         (__sqr): Likewise.
65771         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
65772         powers of two in terms of TWOPOW macro.
65773         (mp_no): Make type of mantissa as MANTISSA_T.
65774         [!RADIXI]: Define RADIXI.
65775         [!TWO52]: Define TWO52.
65776         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
65778 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65780         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
65781         llroundl symbol when building for PPC32.
65783 2013-03-24  Mark H Weaver  <mhw@netris.org>
65785         * manual/arith.texi (Normalization Functions): Fix prototypes for
65786         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
65788 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65790         [BZ #13889]
65791         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
65792         high value to check if expl overflow.
65793         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
65794         to check for underflow and overflow.
65795         * math/libm-test.inc: Add exp test.
65797 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
65799         [BZ #11120]
65800         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
65801         with NOT_IN_libc.
65803 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65805         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
65806         symbol.
65808 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
65810         * math/gen-libm-test.pl (parse_args, special_functions): Properly
65811         wrap blocks consisting of several statements.
65813         * sysdeps/generic/math-tests.h: New file.
65814         * sysdeps/i386/fpu/math-tests.h: Likewise.
65815         * math/test-snan.c: Include it.
65816         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
65818 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
65820         [BZ #15285]
65821         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
65822         (__ieee754_j0l): Do not improve calculations using cos of twice
65823         input for inputs above LDBL_MAX / 2.0L.
65824         (__ieee754_y0l): Likewise.
65825         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
65826         (__ieee754_j1l): Do not improve calculations using cos of twice
65827         input for inputs above LDBL_MAX / 2.0L.
65828         (__ieee754_y1l): Likewise.
65829         * math/libm-test.inc (j0_test): Add another test.
65830         (j1_test): Likewise.
65831         (y0_test): Likewise.
65832         (y1_test): Likewise.
65833         * sysdeps/i386/fpu/libm-test-ulps: Update.
65835 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65837         * Rules ($(objpfx)bench-%.c): Include code from a C source
65838         file.
65840 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
65842         [BZ #15287]
65843         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65844         imaginary part 1.0 and real part less than 0.5 specially.
65845         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65846         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65847         * math/libm-test.inc (cacos_test): Add more tests.
65848         (casin_test): Likewise.
65849         (casinh_test): Likewise.
65850         * sysdeps/i386/fpu/libm-test-ulps: Update.
65851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65853 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65855         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
65856         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
65858 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
65860         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
65861         * config.make.in (config-cflags-sse4): Remove variable.
65862         (config-cflags-avx): Likewise.
65863         (config-cflags-sse2avx): Likewise.
65864         (config-cflags-novzeroupper): Likewise.
65865         (config-asflags-i686): Likewise.
65866         (have-mfma4): Likewise.
65867         (have-as-vis3): Likewise.
65868         (MIG): Likewise.
65869         * configure.in (MIG): Do not AC_SUBST.
65870         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
65871         (libc_cv_cc_sse4): Do not AC_SUBST.
65872         (libc_cv_cc_avx): Likewise.
65873         (libc_cv_cc_sse2avx): Likewise.
65874         (libc_cv_cc_novzeroupper): Likewise.
65875         (libc_cv_cc_fma4): Likewise.
65876         (libc_cv_as_i686): Likewise.
65877         (libc_cv_sparc_as_vis3): Likewise.
65878         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
65879         LIBC_CONFIG_VAR.
65880         (config-asflags-i686): Likewise.
65881         (config-cflags-avx): Likewise.
65882         (config-cflags-sse2avx): Likewise.
65883         (have-mfma4): Likewise.
65884         (config-cflags-novzeroupper): Likewise.
65885         * sysdeps/mach/configure.in (MIG): Likewise.
65886         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
65887         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
65888         LIBC_CONFIG_VAR.
65889         (config-cflags-avx): Likewise.
65890         (config-cflags-sse2avx): Likewise.
65891         (have-mfma4): Likewise.
65892         (config-cflags-novzeroupper): Likewise.
65893         * configure: Regenerated.
65894         * sysdeps/i386/configure: Likewise.
65895         * sysdeps/mach/configure: Likewise.
65896         * sysdeps/sparc/configure: Likewise.
65897         * sysdeps/x86_64/configure: Likewise.
65899 2013-03-20  Roland McGrath  <roland@hack.frob.com>
65901         [BZ #14812]
65902         * locale/programs/localedef.c (options): Put N_ translation marker
65903         on argument names, not just descriptions.
65905 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65907         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
65909 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
65911         [BZ #14176]
65912         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
65914 2013-03-19  Roland McGrath  <roland@hack.frob.com>
65916         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
65917         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
65918         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
65919         [!BEFORE_ABORT] (before_abort): New function.
65920         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
65921         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
65922         (writev_for_fatal): New function.
65923         (WRITEV_FOR_FATAL): New macro; call that.
65924         (backtrace_and_maps): New function.
65925         (BEFORE_ABORT): New macro; call that.
65926         (struct str_list): Type removed.
65927         (__libc_message, __libc_fatal): Functions removed.
65928         Include <sysdeps/posix/libc_fatal.c> instead.
65930 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
65932         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
65933         constants.
65934         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
65935         double constants.
65937 2013-03-19  Andreas Schwab  <schwab@suse.de>
65939         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
65940         * sysdeps/gnu/configure: Regenerate.
65942         * configure.in: Substitute libc_cv_rtlddir.
65943         * configure: Regenerate.
65944         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
65945         * Makeconfig (rtlddir, inst_rtlddir): New variables.
65946         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
65947         * elf/Makefile (install-others, CFLAGS-interp.c)
65948         (ldso_install, common-ldd-rewrite): Likewise.
65949         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
65950         $(inst_slibdir)/$(rtld-installed-name).
65951         * scripts/rellns-sh: Add -p option.
65952         * Makerules (make-shlib-link): Use rellns-sh to get relative name
65953         for source.
65955 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65957         * manual/nptl.texi: Renamed to ...
65958         * manual/threads.texi: ... this.
65959         * manual/Makefile (chapters): Update.
65961 2013-03-18  Roland McGrath  <roland@hack.frob.com>
65963         [BZ #14812]
65964         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
65965         on argument names, not just descriptions.
65966         * malloc/memusagestat.c (options): Likewise.
65967         * nss/getent.c (options): Likewise.
65969 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
65971         [BZ #14812]
65972         * iconv/iconv_prog.c (options): Put N_ translation marker
65973         on argument names, not just descriptions.
65974         * iconv/iconvconfig.c (options): Likewise.
65976 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
65978         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
65979         implementation which is faster on all x86_64 architectures.
65980         Tested on AMD, Intel Nehalem, SNB, IVB.
65981         * sysdeps/x86_64/strnlen.S: Likewise.
65983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65984         Remove all multiarch strlen and strnlen versions.
65985         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
65986         Remove strlen and strnlen related parts.
65988         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
65989         Inline strlen part.
65990         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
65992         * sysdeps/x86_64/multiarch/strlen.S: Remove.
65993         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
65994         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
65995         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
65996         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65997         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
65999 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
66001         * manual/memory.texi (Malloc Tunable Parameters):
66002         Sort parameters alphabetically. Add comments for missing entries.
66004 2013-03-17  David S. Miller  <davem@davemloft.net>
66006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66008 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
66010         [BZ #15283]
66011         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
66012         for arguments at most half maximum finite value.
66013         * math/libm-test.inc (j0_test): Add more tests.
66014         (j1_test): Likewise.
66015         (y0_test): Likewise.
66016         (y1_test): Likewise.
66017         * sysdeps/i386/fpu/libm-test-ulps: Update.
66018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66020         [BZ #14155]
66021         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
66022         1 / x and functions P and Q for arguments above 0x1p256L.
66023         (__ieee754_y0l): Likewise.
66024         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
66025         (__ieee754_y1l): Likewise.
66026         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
66027         (j1_test): Likewise.
66028         (y0_test): Likewise.
66029         (y1_test): Likewise.
66031 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
66033         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
66034         variable.
66036 2013-03-15  Roland McGrath  <roland@hack.frob.com>
66038         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
66039         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
66040         zero since it's initialized to EXEC_PAGESIZE.
66042         * sysdeps/unix/sysv/linux/ldsodefs.h
66043         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
66044         * sysdeps/generic/ldsodefs.h: ... here.
66046 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
66048         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
66050         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
66051         math/test-snan.c.
66052         * math/test-snan.c: Renamed from
66053         sysdeps/powerpc/fpu/test-powerpc-snan.c.
66054         * math/Makefile (tests): Add test-snan.
66055         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
66056         test-powerpc-snan.
66058         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
66059         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
66060         functions.
66061         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
66062         __builtin_nan family of functions.
66063         * math/libm-test.inc (initialize): Initialize qnan_value with
66064         __builtin_nan family of functions.
66065         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
66066         Remove variables.
66067         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
66068         Remove functions.
66069         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
66070         storage class.  Initialize qNaN_var and sNaN_var with
66071         __builtin_nan and __builtin_nans families of functions,
66072         respectively.
66074         * math/libm-test.inc (acosh_test): Also test with qNaN input.
66075         (sqrt_test): Remove duplicate test with qNaN input.
66076         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
66077         (round_test, signbit_test, significand_test): Note missing +/-Inf
66078         as well as qNaN tests.
66080         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
66081         qNaN_var.  Fix a few strings, too.
66082         * math/libm-test.inc (nan_value): Rename to qnan_value.
66083         * math/gen-libm-test.pl (%beautify): Adjust to that.
66084         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
66085         * math/test-misc.c (main): Likewise.
66086         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
66087         to __qnan_bytes, and __qnan_union, respectively.
66088         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
66089         Likewise.
66090         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
66091         and lqnanval, respectively.
66092         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
66093         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
66094         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
66095         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
66097         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
66098         * math/test-misc.c (main) [__x86_64__]: Enable test for long
66099         doubles.
66101         * math/test-misc.c (main): Fix copy'n'pastos.
66102         * misc/tst-efgcvt.c (special): Likewise.
66104         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
66105         Remove declarations.
66107 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66109         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
66110         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
66111         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
66112         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
66114 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66116         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
66117         macro to return vdso values correctly in IFUNC implementations.
66118         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
66119         Optimization by using IFUNC.
66121 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66122             Richard Henderson  <rth@redhat.com>
66123             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66125         * Makefile.in (bench): New target.
66126         * NEWS: Mention the benchmark framework.
66127         * Rules (bench): Likewise.
66128         (binaries-bench): Generate binaries for functions to
66129         benchmark.
66130         * benchtests/Makefile: New makefile for benchmark tests.
66131         * benchtests/bench-skeleton.c: New skeleton file for benchmark
66132         programs.
66133         * benchtests/exp-inputs: New input file for EXP function.
66134         * benchtests/pow-inputs: New input file for POW function.
66135         * scripts/bench.pl: New script to generate source files for
66136         benchmark programs.
66138 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66140         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66141         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
66142         computations on mantissa.  Use macros for rounding and
66143         division.
66144         (denorm): Likewise.
66145         (__dbl_mp): Likewise.
66146         (add_magnitudes): Likewise.
66147         (sub_magnitudes): Likewise.
66148         (__mul): Likewise.
66149         (__sqr): Likewise.
66150         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
66151         powers of two in terms of TWOPOW macro.
66152         (mp_no): Make type of mantissa as MANTISSA_T.
66153         [!RADIXI]: Define RADIXI.
66154         [!TWO52]: Define TWO52.
66155         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66157         * manual/nptl.texi (cindex): Modify threads to pthreads.
66159 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
66161         * sysdeps/x86_64/preconfigure: Regenerated.
66163 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
66165         [BZ #14155]
66166         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
66167         0x1p28 and above.
66168         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
66169         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
66170         0x1p28 and above.
66171         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
66172         * math/libm-test.inc (j0_test): Do not allow one spurious
66173         underflow exception.
66174         (y1_test): Likewise.
66176 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66178         * manual/Makefile (chapters): Add nptl.
66179         * manual/debug.texi (Debugging Support): Add link to Threads
66180         chapter.
66181         * manual/nptl.texi: New file.
66183         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
66185 2013-03-14  Petr Baudis  <pasky@ucw.cz>
66187         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
66188         for non-NULL pointer before the memory validity test. Pointed
66189         out by Holger Brunck <holger.brunck@keymile.com>.
66191 2013-03-13  Andreas Schwab  <schwab@suse.de>
66193         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
66194         instead of .os.
66196 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
66198         * timezone/zic.c: Update from tzcode 2013b.
66200 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
66202         * manual/install.texi (Configuring and compiling):
66203         Mention i686 and i586.
66204         * INSTALL: Regenerate.
66206 2013-03-12  Roland McGrath  <roland@hack.frob.com>
66208         * sysdeps/init_array/elf-init.c: New file.
66209         * csu/elf-init.c
66210         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
66211         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
66213         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
66214         __gmon_start__ as global, but as static with a .preinit_array pointer.
66215         * sysdeps/init_array/gmon-start.c: New file.  Use that.
66216         * sysdeps/init_array/crti.S: New file, empty except for comments.
66217         * sysdeps/init_array/crtn.S: Likewise.
66219 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
66221         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
66222         definining bcopy.
66223         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66224         Remove Prefer_SSE_for_memop.
66225         * sysdeps/x86_64/multiarch/init-arch.h: Remove
66226         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
66227         HAS_PREFER_SSE_FOR_MEMOP.
66228         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
66229         memset-x86-64.
66230         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66231         Remove bzero, memset ifunc support.
66232         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
66233         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
66234         * sysdeps/x86_64/multiarch/memset.S: Likewise.
66235         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
66237 2013-03-11  Andreas Schwab  <schwab@suse.de>
66239         [BZ #15234]
66240         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
66241         by SHLIB_COMPAT.
66242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
66243         (GLIBC_2.16): Remove pthread_atfork.
66245 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
66247         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
66248         (ptestcases.h): Likewise.
66250 2013-03-08  Roland McGrath  <roland@hack.frob.com>
66252         * Makeconfig ($(common-objpfx)config.status): Depend on
66253         sysdeps/*/preconfigure{,.in} too.
66255 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
66257         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
66258         (__free_hook): Use void * instead of __malloc_ptr_t.
66259         (__malloc_hook): Likewise.
66260         (__realloc_hook): Likewise.
66261         (__memalign_hook): Likewise.
66262         (__after_morecore_hook): Likewise.
66263         * malloc/arena.c (save_malloc_hook): Likewise.
66264         (save_free_hook): Likewise.
66265         * malloc/hooks.c (malloc_hook_ini): Likewise.
66266         (realloc_hook_ini): Likewise.
66267         (memalign_hook_ini): Likewise.
66268         * malloc/malloc.c (malloc_hook_ini): Likewise.
66269         (realloc_hook_ini): Likewise.
66270         (memalign_hook_ini): Likewise.
66271         (__free_hook): Likewise.
66272         (__malloc_hook): Likewise.
66273         (__realloc_hook): Likewise.
66274         (__memalign_hook): Likewise.
66275         (__libc_malloc): Likewise.
66276         (__libc_free): Likewise.
66277         (__libc_realloc): Likewise.
66278         (__libc_memalign): Likewise.
66279         (__libc_valloc): Likewise.
66280         (__libc_pvalloc): Likewise.
66281         (__libc_calloc): Likewise.
66282         (__posix_memalign): Likewise.
66283         * malloc/morecore.c (__sbrk): Likewise.
66284         (__default_morecore): Likewise.
66286         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
66288         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
66289         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
66290         __malloc_ptrdiff_t.
66292         * malloc/malloc.h (__malloc_size_t): Remove macro.
66293         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
66294         __malloc_size_t.
66295         (old_memalign_hook): Likewise.
66296         (old_realloc_hook): Likewise.
66297         (struct hdr): Likewise.
66298         (flood): Likewise.
66299         (mallochook): Likewise.
66300         (memalignhook): Likewise.
66301         (reallochook): Likewise.
66302         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
66303         (tr_old_realloc_hook): Likewise.
66304         (tr_old_memalign_hook): Likewise.
66305         (tr_mallochook): Likewise.
66306         (tr_reallochook): Likewise.
66307         (tr_memalignhook): Likewise.
66309 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66311         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
66312         default_ldbl_pack and using as default implementation.
66313         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
66314         implementation.
66315         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
66316         redundant definition.
66317         (ldbl_insert_mantissa): Likewise.
66318         (ldbl_canonicalize): Likewise.
66319         (ldbl_nearbyint): Likewise.
66320         (ldbl_pack): Rename to ldbl_pack_ppc.
66321         (ldbl_unpack): Rename to ldbl_unpack_ppc.
66322         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
66323         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
66325 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
66328         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
66329         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
66330         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
66331         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
66332         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
66333         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
66334         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
66336 2013-03-07  Andreas Jaeger  <aj@suse.de>
66338         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66339         bits/mman-linux.h.
66341 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66343         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
66344         Include mpa.h and declare __MPEXP.
66345         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
66346         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66347         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66348         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
66349         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66350         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66351         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
66353         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
66354         (__slowpow): Use long double EXPL and LOGL functions to
66355         compute POW.
66356         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66357         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66358         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
66359         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66360         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66361         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
66363         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
66364         intermediate variable to calculate exponent.
66365         (__sqr): Likewise.
66366         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66367         Likewise.
66368         (__sqr): Likewise.
66370         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
66371         [!NO__SQR]: Define __sqr.
66372         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
66373         and NO__SQR.  Remove all code except __mul and __sqr.  Include
66374         sysdeps/ieee754/dbl-64/mpa.c.
66375         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66377         [BZ #12723]
66378         * posix/Makefile (tests): Add tst-pathconf.
66379         * posix/tst-pathconf.c: New test case.
66380         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
66381         _PC_PIPE_BUF.
66382         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
66384 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
66386         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
66388 2013-03-06  Andreas Jaeger  <aj@suse.de>
66390         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
66391         definition via __MAP_ANONYMOUS.
66393         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
66394         it's not part of Linux headers.
66396         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
66397         (MAP_HUGE_MASK): Define.
66399         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66400         Define.
66401         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66402         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66403         Define.
66404         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66405         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66406         Define.
66407         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66408         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
66409         Define.
66410         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66412         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
66413         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
66414         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
66415         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
66416         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
66417         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
66419         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
66420         Handle f2fs.
66422         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66423         Handle f2fs and efivarfs.
66425         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
66426         f2fs.
66428         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
66429         (EFIVARFS_MAGIC): Add.
66430         (F2FS_LINK_MAX): Add.
66432 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66434         * stdio-common/vfprintf.c: Replace __builtin_expect with
66435         __glibc_unlikely.
66437 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
66439         [BZ #13550]
66440         * sysdeps/generic/bp-sym.h: Remove file.
66441         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
66442         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
66443         <bp-sym.h> and <bp-asm.h>.
66444         (__longjmp): Don't use BP_SYM.
66445         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
66446         and <bp-asm.h>.
66447         (memcpy): Don't use BP_SYM.
66448         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
66449         <bp-sym.h> and <bp-asm.h>.
66450         (memcpy): Don't use BP_SYM.
66451         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
66452         <bp-asm.h>.
66453         (memcpy): Don't use BP_SYM.
66454         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
66455         <bp-asm.h>.
66456         (memset): Don't use BP_SYM.
66457         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66458         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66459         (__bzero): Don't use BP_SYM.
66460         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66461         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66462         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
66463         <bp-sym.h> and <bp-asm.h>.
66464         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66465         pointers.
66466         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
66467         <bp-sym.h> and <bp-asm.h>.
66468         (memcpy): Don't use BP_SYM.
66469         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
66470         <bp-sym.h> and <bp-asm.h>.
66471         (memset): Don't use BP_SYM.
66472         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66473         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66474         (__bzero): Don't use BP_SYM.
66475         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66476         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66477         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
66478         <bp-sym.h> and <bp-asm.h>.
66479         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66480         pointers.
66481         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
66482         <bp-sym.h> and <bp-asm.h>.
66483         (memcpy): Don't use BP_SYM.
66484         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
66485         <bp-sym.h> and <bp-asm.h>.
66486         (memset): Don't use BP_SYM.
66487         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66488         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66489         (__bzero): Don't use BP_SYM.
66490         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66491         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66492         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
66493         <bp-sym.h> and <bp-asm.h>.
66494         (__memchr): Don't use BP_SYM.
66495         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
66496         <bp-sym.h> and <bp-asm.h>.
66497         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66498         pointers.
66499         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
66500         <bp-sym.h> and <bp-asm.h>.
66501         (memcpy): Don't use BP_SYM.
66502         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
66503         <bp-sym.h> and <bp-asm.h>.
66504         (__mempcpy): Don't use BP_SYM.
66505         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
66506         <bp-sym.h> and <bp-asm.h>.
66507         (__memrchr): Don't use BP_SYM.
66508         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
66509         <bp-sym.h> and <bp-asm.h>.
66510         (memset): Don't use BP_SYM.
66511         (__bzero): Likewise.
66512         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
66513         <bp-sym.h> and <bp-asm.h>.
66514         (__rawmemchr): Don't use BP_SYM.
66515         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
66516         <bp-sym.h> and <bp-asm.h>.
66517         (__STRCMP): Don't use BP_SYM.
66518         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
66519         <bp-sym.h> and <bp-asm.h>.
66520         (strchr): Don't use BP_SYM.
66521         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
66522         <bp-sym.h> and <bp-asm.h>.
66523         (__strchrnul): Don't use BP_SYM.
66524         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
66525         <bp-sym.h> and <bp-asm.h>.
66526         (strlen): Don't use BP_SYM.
66527         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
66528         <bp-sym.h> and <bp-asm.h>.
66529         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66530         pointers.
66531         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
66532         <bp-sym.h> and <bp-asm.h>.
66533         (__strnlen): Don't use BP_SYM.
66534         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
66535         <bp-sym.h> and <bp-asm.h>.
66536         (__GI__setjmp): Don't use BP_SYM.
66537         (_setjmp): Likewise.
66538         (__sigsetjmp): Likewise.
66539         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
66540         (L(start_addresses)): Don't use BP_SYM.
66541         (_start): Likewise.
66542         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
66543         <bp-asm.h>.
66544         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
66545         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
66546         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66547         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66548         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
66549         <bp-asm.h>.
66550         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
66551         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
66552         about bounded pointers.
66553         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66554         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66555         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
66556         <bp-asm.h>.
66557         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66558         about bounded pointers.  Remove GKM FIXME comments.
66559         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66560         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
66561         <bp-asm.h>.
66562         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
66563         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
66564         Remove GKM FIXME comments.
66565         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66566         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66567         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
66568         <bp-asm.h>.
66569         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66570         about bounded pointers.  Remove GKM FIXME comment.
66571         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
66572         and <bp-asm.h>.
66573         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66574         pointers.
66575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
66576         <bp-sym.h> and <bp-asm.h>.
66577         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
66579         <bp-sym.h> and <bp-asm.h>.
66580         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
66581         comment.
66583 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66585         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
66586         call free(NULL).
66588 2013-03-05  David S. Miller  <davem@davemloft.net>
66590         * po/es.po: Update from translation team.
66592 2013-03-05  Andreas Jaeger  <aj@suse.de>
66594         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
66595         <bits/mman-linux.h>.
66596         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66597         is fine.
66598         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
66599         <bits/mman-linux.h> to end of file.
66600         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66601         is fine.
66602         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
66603         <bits/mman-linux.h> to end of file.
66604         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66605         is fine.
66606         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
66607         <bits/mman-linux.h> to end of file.
66609         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
66610         (MCL_CURRENT, MCL_FUTURE): Define here.
66612 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66614         [BZ #15232]
66615         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
66616         attribute_hidden.
66617         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66619 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66621         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
66622         fourth parameter needed for rt_sigprocmask syscall.
66623         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
66624         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
66625         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
66626         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
66627         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
66628         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
66630 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
66632         [BZ #13550]
66633         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
66634         comment about bounded pointers.
66635         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
66636         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
66638 2013-03-04  Andreas Jaeger  <aj@suse.de>
66640         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
66641         common definitions.
66643         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
66644         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
66645         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
66646         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66647         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
66648         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66650 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66652         [BZ #15055]
66653         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
66654         __ieee754_sqrl instead of __sqrl.
66656 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
66658         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
66659         * sysdeps/powerpc/fpu_control.h: ... here.
66660         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
66661         * sysdeps/powerpc/bits/fenvinline.h: ... here.
66662         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
66663         * sysdeps/powerpc/bits/mathinline.h: ... here.
66665 2013-03-01  Roland McGrath  <roland@hack.frob.com>
66667         * elf/dl-hwcaps.c (_dl_important_hwcaps):
66668         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
66669         to just [NEED_DL_SYSINFO_DSO].
66670         * elf/dl-support.c: Likewise.
66671         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
66672         * elf/rtld.c (dl_main): Likewise.
66673         * elf/setup-vdso.h (setup_vdso): Likewise.
66674         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
66675         * sysdeps/unix/sysv/linux/dl-sysdep.c
66676         (_dl_discover_osversion): Likewise.
66678 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
66680         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
66681         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
66683 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
66685         * NEWS: Mention libm performance improvements and non-x86 PI
66686         futex support.
66688         * csu/libc-start.c (__pthread_initialize_minimal): Change
66689         function arguments.
66690         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
66692 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
66694         [BZ #13550]
66695         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
66696         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
66697         <bp-sym.h> and <bp-asm.h>.
66698         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66699         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
66700         and <bp-asm.h>.
66701         (memcpy): Don't use BP_SYM.
66702         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
66703         <bp-asm.h>.
66704         (__mpn_add_n): Don't use BP_SYM.
66705         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
66706         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
66707         and <bp-asm.h>.
66708         (__mpn_addmul_1): Don't use BP_SYM.
66709         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66710         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
66711         <bp-sym.h>.
66712         (_setjmp): Don't use BP_SYM.
66713         (__novmx_setjmp): Likewise.
66714         (__GI__setjmp): Likewise.
66715         (__vmx_setjmp): Likewise.
66716         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
66717         <bp-sym.h>.
66718         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
66719         (__bzero): Don't use BP_SYM.
66720         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66721         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66722         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
66723         <bp-sym.h> and <bp-asm.h>.
66724         (memcpy): Don't use BP_SYM.
66725         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
66726         <bp-sym.h> and <bp-asm.h>.
66727         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66728         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
66729         <bp-sym.h> and <bp-asm.h>.
66730         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
66731         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
66732         <bp-asm.h>.
66733         (__mpn_lshift): Don't use BP_SYM.
66734         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66735         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
66736         <bp-asm.h>.
66737         (memset): Don't use BP_SYM.
66738         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66739         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66740         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
66741         <bp-asm.h>.
66742         (__mpn_mul_1): Don't use BP_SYM.
66743         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66744         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
66745         <bp-sym.h> and <bp-asm.h>.
66746         (memcmp): Don't use BP_SYM.
66747         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
66748         <bp-sym.h> and <bp-asm.h>.
66749         (memcpy): Don't use BP_SYM.
66750         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
66751         <bp-sym.h> and <bp-asm.h>.
66752         (memset): Don't use BP_SYM.
66753         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
66754         <bp-sym.h> and <bp-asm.h>.
66755         (strncmp): Don't use BP_SYM.
66756         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
66757         <bp-sym.h> and <bp-asm.h>.
66758         (memcpy): Don't use BP_SYM.
66759         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
66760         <bp-sym.h> and <bp-asm.h>.
66761         (memset): Don't use BP_SYM.
66762         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
66763         <bp-sym.h> and <bp-asm.h>.
66764         (__memchr): Don't use BP_SYM.
66765         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
66766         <bp-sym.h> and <bp-asm.h>.
66767         (memcmp): Don't use BP_SYM.
66768         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
66769         <bp-sym.h> and <bp-asm.h>.
66770         (memcpy): Don't use BP_SYM.
66771         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
66772         <bp-sym.h> and <bp-asm.h>.
66773         (__mempcpy): Don't use BP_SYM.
66774         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
66775         <bp-sym.h> and <bp-asm.h>.
66776         (__memrchr): Don't use BP_SYM.
66777         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
66778         <bp-sym.h> and <bp-asm.h>.
66779         (memset): Don't use BP_SYM.
66780         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
66781         <bp-sym.h> and <bp-asm.h>.
66782         (__rawmemchr): Don't use BP_SYM.
66783         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
66784         <bp-sym.h> and <bp-asm.h>.
66785         (__STRCMP): Don't use BP_SYM.
66786         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
66787         <bp-sym.h> and <bp-asm.h>.
66788         (strchr): Don't use BP_SYM.
66789         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
66790         <bp-sym.h> and <bp-asm.h>.
66791         (__strchrnul): Don't use BP_SYM.
66792         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
66793         <bp-sym.h> and <bp-asm.h>.
66794         (strlen): Don't use BP_SYM.
66795         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
66796         <bp-sym.h> and <bp-asm.h>.
66797         (strncmp): Don't use BP_SYM.
66798         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
66799         <bp-sym.h> and <bp-asm.h>.
66800         (__strnlen): Don't use BP_SYM.
66801         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
66802         <bp-asm.h>.
66803         (__mpn_rshift): Don't use BP_SYM.
66804         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
66805         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
66806         <bp-sym.h> and <bp-asm.h>.
66807         (__sigsetjmp): Don't use BP_SYM.
66808         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
66809         (L(start_addresses)): Don't use BP_SYM.
66810         (_start): Likewise.
66811         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
66812         <bp-asm.h>.
66813         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
66814         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66815         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66816         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
66817         <bp-asm.h>.
66818         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
66819         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66820         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66821         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
66822         <bp-asm.h>.
66823         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
66824         comments.
66825         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66826         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
66827         <bp-asm.h>.
66828         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
66829         FIXME comments.
66830         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66831         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66832         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
66833         <bp-asm.h>.
66834         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
66835         comment.
66836         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
66837         and <bp-asm.h>.
66838         (strncmp): Don't use BP_SYM,
66839         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
66840         <bp-asm.h>.
66841         (__mpn_sub_n): Don't use BP_SYM.
66842         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
66843         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
66844         and <bp-asm.h>.
66845         (__mpn_submul_1): Don't use BP_SYM.
66846         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
66847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
66848         <bp-sym.h> and <bp-asm.h>.
66849         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
66851         <bp-sym.h> and <bp-asm.h>.
66852         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
66853         comment.
66855 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66857         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
66858         Use ZK to minimize writes to Z.
66859         (sub_magnitudes): Simplify code a bit.
66860         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
66861         Use ZK to minimize writes to Z.
66862         (sub_magnitudes): Simplify code a bit.
66864 2013-02-27  Roland McGrath  <roland@hack.frob.com>
66866         * csu/gmon-start.c: Add special exception to license text.
66868 2013-02-27  Richard Henderson  <rth@redhat.com>
66870         * scripts/config.guess: Update from config.git.
66871         * scripts/config.sub: Likewise.
66873 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66875         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
66877         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
66879         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
66881         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
66883         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
66885 2013-02-26  Roland McGrath  <roland@hack.frob.com>
66887         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
66888         [$(build-shared = yes].
66890 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66892         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
66893         (__mul): Reduce iterations for calculating mantissa.
66895         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
66896         MPTWO.
66897         (__mpranred): Likewise.
66899         [BZ #15160]
66900         * malloc/memusagestat.c (main): Draw graphs for heap and stack
66901         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
66903 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
66905         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
66906         Define __attribute__.
66908 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66910         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
66911         unused.
66912         * posix/regex_internal.h (__attribute): Remove.
66913         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
66914         (re_string_context_at): Likewise.
66915         (bitset_not): Use __attribute__ and mark function as possibly
66916         unused.
66917         (bitset_merge): Likewise.
66918         (bitset_mask): Likewise.
66919         (re_string_char_size_at): Likewise.
66920         (re_string_wchar_at): Likewise.
66921         (re_string_elem_size_at): Likewise.
66923 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66925         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
66926         code.
66927         (cc32): Likewise.
66929         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
66930         (__acr): Likewise.
66931         (__cpy): Likewise.
66932         (norm): Likewise.
66933         (denorm): Likewise.
66934         (__dbl_mp): Likewise.
66935         (add_magnitudes): Likewise.
66936         (sub_magnitudes): Likewise.
66937         (__mul): Likewise.
66938         (__inv): Likewise.
66940         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
66941         style.
66943         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
66944         style.
66946         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
66947         code.
66949         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
66950         up changes with default code.
66951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
66952         Likewise.
66954 2013-02-24  Allan McRae  <allan@archlinux.org>
66956         * manual/socket.texi (The Internet Namespace): Order menu items
66957         to match that in the file.
66959         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
66960         node listing of the info page menu.
66962 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
66964         [BZ #13550]
66965         * sysdeps/i386/bp-asm.h: Remove file.
66966         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
66967         (PARMS): Do not use macros from bp-asm.h.
66968         (S1): Likewise.
66969         (S2): Likewise.
66970         (SIZE): Likewise.
66971         (__mpn_add_n): Do not use BP_SYM
66972         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
66973         "bp-asm.h".
66974         (PARMS): Do not use macros from bp-asm.h.
66975         (S1): Likewise.
66976         (SIZE): Likewise.
66977         (__mpn_addmul_1): Do not use BP_SYM
66978         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
66979         "bp-asm.h".
66980         (PARMS): Do not use macros from bp-asm.h.
66981         (SIGMSK): Likewise.
66982         (_setjmp): Likewise.  Do not use BP_SYM.
66983         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
66984         "bp-asm.h".
66985         (PARMS): Do not use macros from bp-asm.h.
66986         (SIGMSK): Likewise.
66987         (setjmp): Likewise.  Do not use BP_SYM.
66988         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
66989         "bp-asm.h".
66990         (PARMS): Do not use macros from bp-asm.h.
66991         (__frexp): Do not use BP_SYM.
66992         (frexp): Likewise.
66993         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
66994         "bp-asm.h".
66995         (PARMS): Do not use macros from bp-asm.h.
66996         (__frexpf): Do not use BP_SYM.
66997         (frexpf): Likewise.
66998         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
66999         "bp-asm.h".
67000         (PARMS): Do not use macros from bp-asm.h.
67001         (__frexpl): Do not use BP_SYM.
67002         (frexpl): Likewise.
67003         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
67004         "bp-asm.h".
67005         (PARMS): Do not use macros from bp-asm.h.
67006         (__remquo): Do not use BP_SYM.
67007         (remquo): Likewise.
67008         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
67009         "bp-asm.h".
67010         (PARMS): Do not use macros from bp-asm.h.
67011         (__remquof): Do not use BP_SYM.
67012         (remquof): Likewise.
67013         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
67014         "bp-asm.h".
67015         (PARMS): Do not use macros from bp-asm.h.
67016         (__remquol): Do not use BP_SYM.
67017         (remquol): Likewise.
67018         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
67019         "bp-asm.h".
67020         (PARMS): Do not use macros from bp-asm.h.
67021         (DEST): Likewise.
67022         (SRC): Likewise.
67023         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
67024         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
67025         "bp-asm.h".
67026         (PARMS): Do not use macros from bp-asm.h.
67027         (strlen): Do not use BP_SYM.
67028         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
67029         "bp-asm.h".
67030         (PARMS): Do not use macros from bp-asm.h.
67031         (S1): Likewise.
67032         (S2): Likewise.
67033         (SIZE): Likewise.
67034         (__mpn_add_n): Do not use BP_SYM.
67035         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
67036         "bp-asm.h".
67037         (PARMS): Do not use macros from bp-asm.h.
67038         (S1): Likewise.
67039         (SIZE): Likewise.
67040         (__mpn_addmul_1): Do not use BP_SYM.
67041         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
67042         weak_alias.
67043         (bzero): Likewise.
67044         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
67045         "bp-asm.h".
67046         (PARMS): Do not use macros from bp-asm.h.
67047         (S): Likewise.
67048         (SIZE): Likewise.
67049         (__mpn_lshift): Do not use BP_SYM.
67050         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
67051         "bp-asm.h".
67052         (PARMS): Do not use macros from bp-asm.h.
67053         (DEST): Likewise.
67054         (SRC): Likewise.
67055         (LEN): Likewise.
67056         (memcpy): Likewise.  Do not use BP_SYM.
67057         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
67058         libc_hidden_def and weak_alias.
67059         (mempcpy): Do not use BP_SYM in weak_alias.
67060         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
67061         "bp-asm.h".
67062         (PARMS): Do not use macros from bp-asm.h.
67063         (DEST): Likewise.
67064         (LEN): Likewise.
67065         [!BZERO_P] (CHR): Likewise.
67066         (memset): Likewise.  Do not use BP_SYM.
67067         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
67068         "bp-asm.h".
67069         (PARMS): Do not use macros from bp-asm.h.
67070         (S1): Likewise.
67071         (SIZE): Likewise.
67072         (__mpn_mul_1): Do not use BP_SYM.
67073         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
67074         "bp-asm.h".
67075         (PARMS): Do not use macros from bp-asm.h.
67076         (S): Likewise.
67077         (SIZE): Likewise.
67078         (__mpn_rshift): Do not use BP_SYM.
67079         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
67080         "bp-asm.h".
67081         (PARMS): Do not use macros from bp-asm.h.
67082         (STR): Likewise.
67083         (CHR): Likewise.
67084         (strchr): Likewise.  Do not use BP_SYM.
67085         (index): Do not use BP_SYM in weak_alias.
67086         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
67087         "bp-asm.h".
67088         (PARMS): Do not use macros from bp-asm.h.
67089         (DEST): Likewise.
67090         (SRC): Likewise.
67091         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
67092         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
67093         "bp-asm.h".
67094         (PARMS): Do not use macros from bp-asm.h.
67095         (strlen): Do not use BP_SYM.
67096         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
67097         "bp-asm.h".
67098         (PARMS): Do not use macros from bp-asm.h.
67099         (S1): Likewise.
67100         (S2): Likewise.
67101         (SIZE): Likewise.
67102         (__mpn_sub_n): Do not use BP_SYM.
67103         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
67104         "bp-asm.h".
67105         (PARMS): Do not use macros from bp-asm.h.
67106         (S1): Likewise.
67107         (SIZE): Likewise.
67108         (__mpn_submul_1): Do not use BP_SYM.
67109         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
67110         "bp-asm.h".
67111         (PARMS): Do not use macros from bp-asm.h.
67112         (S1): Likewise.
67113         (S2): Likewise.
67114         (SIZE): Likewise.
67115         (__mpn_add_n): Do not use BP_SYM.
67116         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
67117         weak_alias.
67118         (bzero): Likewise.
67119         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
67120         "bp-asm.h".
67121         (PARMS): Do not use macros from bp-asm.h.
67122         (BLK2): Likewise.
67123         (LEN): Likewise.
67124         (memcmp): Do not use BP_SYM.
67125         (bcmp): Do not use BP_SYM in weak_alias.
67126         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
67127         "bp-asm.h".
67128         (PARMS): Do not use macros from bp-asm.h.
67129         (DEST): Likewise.
67130         (SRC): Likewise.
67131         (LEN): Likewise.
67132         (memcpy): Likewise.  Do not use BP_SYM.
67133         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
67134         "bp-asm.h".
67135         (PARMS): Do not use macros from bp-asm.h.
67136         (DEST): Likewise.
67137         (SRC): Likewise.
67138         (LEN): Likewise.
67139         (memmove): Likewise.  Do not use BP_SYM.
67140         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
67141         "bp-asm.h".
67142         (PARMS): Do not use macros from bp-asm.h.
67143         (DEST): Likewise.
67144         (SRC): Likewise.
67145         (LEN): Likewise.
67146         (__mempcpy): Likewise.  Do not use BP_SYM.
67147         (mempcpy): Do not use BP_SYM in weak_alias.
67148         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
67149         "bp-asm.h".
67150         (PARMS): Do not use macros from bp-asm.h.
67151         (DEST): Likewise.
67152         (LEN): Likewise.
67153         [!BZERO_P] (CHR): Likewise.
67154         (memset): Likewise.  Do not use BP_SYM.
67155         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
67156         "bp-asm.h".
67157         (PARMS): Do not use macros from bp-asm.h.
67158         (STR2): Likewise.
67159         (strcmp): Do not use BP_SYM.
67160         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
67161         "bp-asm.h".
67162         (PARMS): Do not use macros from bp-asm.h.
67163         (STR): Likewise.
67164         (DELIM): Likewise.
67165         [USE_AS_STRTOK_R] (SAVE): Likewise.
67166         (FUNCTION): Likewise.  Do not use BP_SYM.
67167         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
67168         aliases.
67169         (strtok_r): Likewise.
67170         (__GI___strtok_r): Likewise.
67171         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
67172         (PARMS): Do not use macros from bp-asm.h.
67173         (S): Likewise.
67174         (SIZE): Likewise.
67175         (__mpn_lshift): Do not use BP_SYM.
67176         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67177         (PARMS): Do not use macros from bp-asm.h.
67178         (STR): Likewise.
67179         (CHR): Likewise.
67180         (__memchr): Do not use BP_SYM.
67181         (memchr): Do not use BP_SYM in weak_alias.
67182         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67183         (PARMS): Do not use macros from bp-asm.h.
67184         (BLK2): Likewise.
67185         (LEN): Likewise.
67186         (memcmp): Do not use BP_SYM.
67187         (bcmp): Do not use BP_SYM in weak_alias.
67188         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
67189         (PARMS): Do not use macros from bp-asm.h.
67190         (S1): Likewise.
67191         (SIZE): Likewise.
67192         (__mpn_mul_1): Do not use BP_SYM.
67193         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
67194         "bp-asm.h".
67195         (PARMS): Do not use macros from bp-asm.h.
67196         (STR): Likewise.
67197         (CHR): Likewise.
67198         (__rawmemchr): Do not use BP_SYM.
67199         (rawmemchr): Do not use BP_SYM in weak_alias.
67200         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
67201         (PARMS): Do not use macros from bp-asm.h.
67202         (S): Likewise.
67203         (SIZE): Likewise.
67204         (__mpn_rshift): Do not use BP_SYM.
67205         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67206         (PARMS): Do not use macros from bp-asm.h.
67207         (SIGMSK): Likewise.
67208         (__sigsetjmp): Likewise.  Do not use BP_SYM.
67209         * sysdeps/i386/start.S: Do not include "bp-sym.h".
67210         (_start): Do not use BP_SYM.
67211         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
67212         (PARMS): Do not use macros from bp-asm.h.
67213         (DEST): Likewise.
67214         (SRC): Likewise.
67215         (__stpcpy): Likewise.  Do not use BP_SYM.
67216         (stpcpy): Do not use BP_SYM in weak_alias.
67217         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
67218         "bp-asm.h".
67219         (PARMS): Do not use macros from bp-asm.h.
67220         (DEST): Likewise.
67221         (SRC): Likewise.
67222         (LEN): Likewise.
67223         (__stpncpy): Likewise.  Do not use BP_SYM.
67224         (stpncpy): Do not use BP_SYM in weak_alias.
67225         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67226         (PARMS): Do not use macros from bp-asm.h.
67227         (STR): Likewise.
67228         (CHR): Likewise.
67229         (strchr): Likewise.  Do not use BP_SYM.
67230         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
67231         "bp-asm.h".
67232         (PARMS): Do not use macros from bp-asm.h.
67233         (STR): Likewise.
67234         (CHR): Likewise.
67235         (__strchrnul): Likewise.  Do not use BP_SYM.
67236         (strchrnul): Do not use BP_SYM in weak_alias.
67237         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
67238         "bp-asm.h".
67239         (PARMS): Do not use macros from bp-asm.h.
67240         (STOP): Likewise.
67241         (strcspn): Do not use BP_SYM.
67242         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
67243         "bp-asm.h".
67244         (PARMS): Do not use macros from bp-asm.h.
67245         (STR): Likewise.
67246         (STOP): Likewise.
67247         (strpbrk): Likewise.  Do not use BP_SYM.
67248         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
67249         "bp-asm.h".
67250         (PARMS): Do not use macros from bp-asm.h.
67251         (STR): Likewise.
67252         (CHR): Likewise.
67253         (strrchr): Likewise.  Do not use BP_SYM.
67254         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
67255         (PARMS): Do not use macros from bp-asm.h.
67256         (SKIP): Likewise.
67257         (strspn): Do not use BP_SYM.
67258         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
67259         (PARMS): Do not use macros from bp-asm.h.
67260         (STR): Likewise.
67261         (DELIM): Likewise.
67262         (SAVE): Likewise.
67263         (FUNCTION): Likewise.  Do not use BP_SYM.
67264         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
67265         aliases.
67266         (strtok_r): Likewise.
67267         (__GI___strtok_r): Likewise.
67268         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
67269         (PARMS): Do not use macros from bp-asm.h.
67270         (S1): Likewise.
67271         (S2): Likewise.
67272         (SIZE): Likewise.
67273         (__mpn_sub_n): Do not use BP_SYM.
67274         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
67275         "bp-asm.h".
67276         (PARMS): Do not use macros from bp-asm.h.
67277         (S1): Likewise.
67278         (SIZE): Likewise.
67279         (__mpn_submul_1): Do not use BP_SYM.
67280         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
67281         <bp-sym.h>.
67282         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
67283         and <bp-asm.h>.
67284         (PARMS): Do not use macros from bp-asm.h.
67285         (FLAGS): Likewise.
67286         (PTID): Likewise.
67287         (TLS): Likewise.
67288         (CTID): Likewise.
67289         (__clone): Do not use BP_SYM.
67290         (clone): Do not use BP_SYM in weak_alias.
67291         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
67292         and <bp-asm.h>.
67293         (PARMS): Do not use macros from bp-asm.h.
67294         (LEN): Likewise.
67295         (__mmap64): Do not use BP_SYM.
67296         (mmap64): Do not use BP_SYM in weak_alias.
67297         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67298         <bp-sym.h> and <bp-asm.h>.
67299         (PARMS): Do not use macros from bp-asm.h.
67300         (__posix_fadvise64_l64): Do not use BP_SYM.
67301         * sysdeps/unix/sysv/linux/i386/semtimedop.S
67302         (PARMS): Do not use macros from bp-asm.h.
67303         (NSOPS): Likewise.
67304         (semtimedop): Do not use BP_SYM.
67305         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
67306         and <bp-asm.h>.
67308 2013-02-21  Allan McRae  <allan@archlinux.org>
67310         * manual/message.texi (Charset conversion in gettext):
67311         Move @end statement to beginning of line.
67313 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67315         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
67316         static.
67317         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
67318         Likewise.
67320         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
67321         (denorm): Likewise.
67322         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
67323         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
67325 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67327         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
67328         tail-call to the resolved function if pltexit isn't needed.
67330 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67332         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
67333         or Y being zero as being unlikely.
67334         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67335         Likewise.
67337 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
67339         * manual/nss.texi (System Databases and Name Service Switch):
67340         Remove frobnicate @pxref.
67342 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67344         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67345         __attribute__ ((unused)) to __attribute__ ((__unused__)).
67347 2013-02-20  Petr Machata  <pmachata@redhat.com>
67349         * elf/elf.h (R_ARM_TARGET1): New macro.
67350         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
67351         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
67352         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
67353         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
67354         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
67355         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
67356         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
67357         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
67358         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
67359         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
67360         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
67361         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
67362         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
67363         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
67364         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
67365         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
67366         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
67367         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
67368         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
67369         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
67370         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
67371         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
67372         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
67373         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
67374         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
67375         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
67376         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
67377         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
67378         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
67379         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
67380         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
67381         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
67382         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
67383         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
67384         (R_ARM_THM_GOT_BREL12): Likewise.
67385         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
67386         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
67387         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
67388         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
67389         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
67390         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
67391         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
67392         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
67393         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
67395 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67397         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67398         __attribute_used__ to __attribute__ ((unused)).
67400 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67402         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
67403         powerpc mpa.c.
67404         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
67405         comment formatting.
67406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
67408 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
67410         [BZ #13550]
67411         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
67412         Remove macro.
67413         (ENTER): Remove both macro definitions.
67414         (LEAVE): Likewise.
67415         (CHECK_BOUNDS_LOW): Likewise.
67416         (CHECK_BOUNDS_HIGH): Likewise.
67417         (CHECK_BOUNDS_BOTH): Likewise.
67418         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
67419         (RETURN_BOUNDED_POINTER): Likewise.
67420         (RETURN_NULL_BOUNDED_POINTER): Likewise.
67421         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
67422         (POP_ERRNO_LOCATION_RETURN): Likewise.
67423         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
67424         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67425         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
67426         macros.
67427         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67428         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
67429         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
67430         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
67431         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
67432         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
67433         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
67434         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
67435         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
67436         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
67437         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
67438         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
67439         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67440         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
67441         removed macros.
67442         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67443         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
67444         macros.
67445         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67446         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
67447         * sysdeps/i386/i586/memset.S (memset): Likewise.
67448         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
67449         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67450         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
67451         macros.
67452         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67453         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
67454         Change uses of L(2) to L(out).
67455         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
67456         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
67457         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
67458         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67459         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
67460         removed macros.
67461         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67462         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
67463         macros.
67464         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67465         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
67466         (RETURN): Do not use macro LEAVE.
67467         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
67468         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
67469         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
67470         * sysdeps/i386/i686/memset.S (memset): Likewise.
67471         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
67472         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
67473         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67474         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
67475         Likewise.
67476         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67477         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
67478         L(1_2) and L(1_3) into L(1).
67479         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67480         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
67481         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67482         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
67483         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67484         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
67485         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
67486         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67487         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
67488         macros.
67489         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
67490         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67491         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
67492         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
67493         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
67494         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67495         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
67496         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
67497         * sysdeps/i386/strcspn.S (strcspn): Likewise.
67498         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
67499         * sysdeps/i386/strrchr.S (strrchr): Likewise.
67500         * sysdeps/i386/strspn.S (strspn): Likewise.
67501         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
67502         conditional code.
67503         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67504         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
67505         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67506         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
67507         L(1_3) into L(1_1).
67508         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
67509         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67510         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
67511         macros.
67512         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67514 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
67516         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
67517         macro.
67519 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67521         * math/atest-exp.c (exp_mpn): Remove ROUND.
67522         * math/atest-exp2.c (exp_mpn): Likewise.
67523         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
67525         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
67526         * stdlib/tst-tls-atexit-lib.c: Likewise.
67527         * stdlib/tst-tls-atexit.c: Likewise.
67529 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67531         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
67532         and __attribute_alloc_size__.
67534 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67536         * include/programs/xmalloc.h: Change __attribute_alloc_size to
67537         __attribute_alloc_size__.
67538         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
67539         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
67541 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67543         * include/programs/xmalloc.h: New file.
67544         * catgets/gencat.c: Include it.
67545         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
67546         * elf/pldd.c: Likewise.
67547         * iconv/iconv_charmap.c: Likewise.
67548         * iconv/iconvconfig.c: Likewise.
67549         * iconv/strtab.c: Likewise.
67550         * locale/programs/locale.c: Likewise.
67551         * locale/programs/localedef.h: Likewise.
67552         * locale/programs/simple-hash.c: Likewise.
67553         * nscd/nscd.h: Likewise.
67554         * nss/makedb.c: Likewise.
67555         * sysdeps/generic/ldconfig.h: Likewise.
67557 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67559         * Versions.def: Add GLIBC_2.18.
67560         * include/link.h (struct link_map): New member l_tls_dtor_count.
67561         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
67562         (__call_tls_dtors): Likewise.
67563         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
67564         __cxa_thread_atexit_impl.
67565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67566         Likewise.
67567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67568         Likewise.
67569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
67570         Likewise.
67571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
67572         Likewise.
67573         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
67575         Likewise.
67576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
67577         Likewise.
67578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67580         Likewise.
67581         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
67582         (tests): Add test case tst-tls-atexit.
67583         (modules-names): Add shared library for tst-tls-atexit.
67584         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
67585         (GLIBC_PRIVATE): Add __call_tls_dtors.
67586         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
67587         for libstdc++.
67588         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
67589         * stdlib/tst-tls-atexit.c: New test case.
67590         * stdlib/tst-tls-atexit-lib.c: New test case.
67592         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
67594         * elf/Versions (ld): Add _dl_find_dso_for_object.
67595         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
67596         * elf/dl-open.c (_dl_find_dso_for_object): New function.
67597         (dl_open_worker): Use _dl_find_dso_for_object.
67598         * elf/dl-sym.c (do_sym): Likewise.
67599         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
67601 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67603         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
67604         Syntactic changes only.
67605         (_dl_runtime_profile): Do a tail-call to the resolved function.
67607 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
67609         [BZ #13550]
67610         * sysdeps/x86_64/bp-asm.h: Remove file.
67611         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
67612         <bp-sym.h> and <bp-asm.h>.
67613         (__clone): Do not use BP_SYM.
67614         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
67615         <bp-sym.h> and <bp-asm.h>.
67616         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67617         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
67618         "bp-asm.h".
67619         (_setjmp): Do not use BP_SYM.
67620         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
67621         "bp-asm.h".
67622         (setjmp): Do not use BP_SYM.
67623         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
67624         libc_hidden_def.
67625         (mempcpy): Do not use BP_SYM in weak_alias.
67626         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
67627         "bp-asm.h".
67628         (strchr): Do not use BP_SYM.
67629         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
67630         "bp-asm.h".
67631         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
67632         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
67633         (_start): Do not use BP_SYM.
67634         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
67635         "bp-asm.h".
67636         (strcat): Do not use BP_SYM.
67637         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
67638         "bp-asm.h".
67639         (STRCMP): Do not use BP_SYM.
67640         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
67641         "bp-asm.h".
67642         (STRCPY): Do not use BP_SYM.
67643         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
67644         "bp-asm.h".
67645         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
67646         "bp-asm.h".
67647         (FUNCTION): Do not use BP_SYM.
67648         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
67649         weak_alias.
67650         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
67652 2013-02-17  Andreas Jaeger  <aj@suse.de>
67654         * time/Versions: Sort entries.
67655         * string/Versions: Likewise.
67656         * resolv/Versions: Likewise.
67657         * posix/Versions: Likewise.
67658         * iconv/Versions: Likewise.
67659         * elf/Versions: Likewise.
67660         * wcsmbs/Versions: Likewise.
67662 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67664         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
67665         loop termination condition.
67667         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
67668         variable to calculate EZ.
67669         (__sqr): Likewise.
67671         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
67672         the lower precision input.
67674 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
67676         [BZ #13550]
67677         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
67678         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
67679         (run-via-rtld-prefix): Do not handle %-bp tests.
67680         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
67681         (all-object-suffixes): Remove .ob.
67682         (bppfx): Remove variable.
67683         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
67684         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
67685         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
67686         [$(build-bounded) = yes] (libtype.ob): Likewise.
67687         * Makerules (elide-routines.ob): Remove variable.
67688         (do-tests-clean): Do not handle *-bp.out.
67689         (common-mostlyclean): Do not handle *-bp and *-bp.out.
67690         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
67691         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
67692         (tests): Do not include $(tests-bp.out).
67693         (xtests): Do not include $(xtests-bp.out).
67694         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
67695         [$(build-bounded) = yes] ($(addprefix
67696         $(objpfx),$(binaries-bounded))): Remove rule.
67697         ($(objpfx)%-bp.out): Remove rule.
67698         * config.make.in (build-bounded): Remove variable.
67699         * crypt/Makefile [$(build-bounded) = yes]
67700         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
67701         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
67702         append to variable.
67703         [$(build-bounded) = yes] (install-lib): Likewise.
67704         [$(build-bounded) = yes] (generated): Likewise.
67705         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
67706         Remove rule.
67707         * intl/Makefile [$(build-bounded) = yes]
67708         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
67709         * math/Makefile [$(build-bounded) = yes]
67710         ($(tests:%=$(objpfx)%-bp): Likewise.
67711         * misc/Makefile [$(build-bounded) = yes]
67712         ($(objpfx)tst-tsearch-bp): Likewise.
67713         * nptl/Makeconfig (bounded-thread-library): Remove variable.
67714         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
67715         Remove dependency.
67716         * string/Makefile (o-objects.ob): Remove variable.
67717         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
67718         (CFLAGS-.ob): Remove variable.
67719         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
67720         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
67721         both definitions of variable.
67722         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
67723         (ASFLAGS-.ob): Remove variable.
67725 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
67727         [BZ #13550]
67728         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
67729         Remove __BOUNDED_POINTERS__ from condition.
67730         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
67731         * string/bits/string2.h [!__NO_STRING_INLINES &&
67732         !__BOUNDED_POINTERS__]: Likewise.
67733         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
67734         Likewise.
67735         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
67736         Remove conditional code.
67737         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
67738         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
67739         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
67740         condition.
67742         [BZ #13550]
67743         * csu/libc-start.c: Do not include <bp-sym.h>.
67744         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
67745         * elf/dl-open.c: Do not include <bp-sym.h>.
67746         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
67747         * math/fegetenv.c: Do not include <bp-sym.h>.
67748         (fegetenv): Do not use BP_SYM in versioned symbols.
67749         * nptl/sysdeps/pthread/bits/libc-lockP.h
67750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
67751         <bp-sym.h>.
67752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67753         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
67754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67755         (__pthread_mutex_destroy): Likewise.
67756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67757         (__pthread_mutex_lock): Likewise.
67758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67759         (__pthread_mutex_trylock): Likewise.
67760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67761         (__pthread_mutex_unlock): Likewise.
67762         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67763         (__pthread_mutexattr_init): Likewise.
67764         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67765         (__pthread_mutexattr_destroy): Likewise.
67766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67767         (__pthread_mutexattr_settype): Likewise.
67768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67769         (__pthread_rwlock_init): Likewise.
67770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67771         (__pthread_rwlock_destroy): Likewise.
67772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67773         (__pthread_rwlock_rdlock): Likewise.
67774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67775         (__pthread_rwlock_tryrdlock): Likewise.
67776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67777         (__pthread_rwlock_wrlock): Likewise.
67778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67779         (__pthread_rwlock_trywrlock): Likewise.
67780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67781         (__pthread_rwlock_unlock): Likewise.
67782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67783         (__pthread_key_create): Likewise.
67784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67785         (__pthread_setspecific): Likewise.
67786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67787         (__pthread_getspecific): Likewise.
67788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
67789         Likewise.
67790         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67791         (_pthread_cleanup_push_defer): Likewise.
67792         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67793         (_pthread_cleanup_pop_restore): Likewise.
67794         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
67795         (pthread_setcancelstate): Likewise.
67796         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
67797         <bp-sym.h>.
67798         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
67799         (memchr): Do not use BP_SYM in weak_alias.
67800         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
67801         (fegetenv): Do not use BP_SYM in versioned symbols.
67802         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
67803         (fesetenv): Do not use BP_SYM in versioned symbols.
67804         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
67805         (feupdateenv): Do not use BP_SYM in versioned symbols.
67806         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
67807         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
67808         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
67809         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
67810         (open64): Do not use BP_SYM in weak_alias.
67811         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
67812         (fegetenv): Do not use BP_SYM in versioned symbols.
67813         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
67814         (fesetenv): Do not use BP_SYM in versioned symbols.
67815         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
67816         (feupdateenv): Do not use BP_SYM in versioned symbols.
67817         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
67818         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
67819         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
67820         (feraiseexcept): Do not use BP_SYM in versioned symbols.
67821         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
67822         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
67823         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
67824         <bp-sym.h>.
67825         (__libc_start_main): Do not use BP_SYM.
67827 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67829         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
67830         redundant return line.
67831         (norm): Likewise.
67832         (denorm): Likewise.
67833         (dbl_mp): Likewise.
67834         (sub_magnitudes): Likewise.
67835         (__add): Likewise.
67836         (__sub): Likewise.
67837         (__mul): Likewise.
67838         (__inv): Likewise.
67839         (__dvd): Likewise.
67840         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
67841         (norm): Likewise.
67842         (denorm): Likewise.
67843         (dbl_mp): Likewise.
67844         (sub_magnitudes): Likewise.
67845         (__add): Likewise.
67846         (__sub): Likewise.
67847         (__mul): Likewise.
67848         (__inv): Likewise.
67849         (__dvd): Likewise.
67851         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
67852         instead of __mul.
67853         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67854         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
67855         (cc32): Likewise.
67857         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
67858         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
67859         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
67860         of __mul for squares.
67861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
67862         function
67863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
67864         Likewise.
67865         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
67866         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67868 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
67870         [BZ #13550]
67871         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
67872         code.
67873         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
67874         prototype or function definition.  Rename ubp_* variables and
67875         parameters.  Remove argv definitions conditional on
67876         [__BOUNDED_POINTERS__].
67877         * debug/backtrace.c (__backtrace): Do not use __unbounded.
67878         * elf/dl-runtime.c (_dl_fixup): Likewise.
67879         * include/set-hooks.h (RUN_HOOK): Likewise.
67880         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
67881         definition.
67882         * string/strcpy.c (strcpy): Do not use __unbounded.
67883         * sysdeps/generic/frame.h (struct layout): Likewise.
67884         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
67885         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
67886         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
67887         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
67888         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
67889         (__backtrace): Likewise.
67890         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
67891         use __ptrvalue.
67892         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
67893         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
67894         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
67895         Likewise.
67896         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
67897         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
67898         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
67899         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
67900         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
67901         Do not use __unbounded.
67902         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
67903         Rename __unboundedrlimits parameter to rlimits in prototype.
67904         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
67905         Do not use __unbounded.
67906         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
67907         not use __ptrvalue.
67908         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
67909         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
67910         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
67911         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
67912         __ptrvalue or __unbounded.
67913         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
67914         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
67915         use __unbounded.
67916         (__new_msgctl): Do not use __ptrvalue.
67917         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
67918         __unbounded.
67919         (__libc_msgrcv): Do not use __ptrvalue.
67920         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
67921         startup_info): Do not use __unbounded.
67922         (__libc_start_main): Likewise.  Rename ubp_* variables and
67923         parameters.  Remove argv definitions conditional on
67924         [__BOUNDED_POINTERS__].
67925         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
67926         __ptrvalue.
67927         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
67928         use __unbounded.
67929         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
67930         or __ptrvalue.
67931         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
67932         use __unbounded.
67933         (__new_shmctl): Do not use __ptrvalue.
67934         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
67935         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
67936         Likewise.
67937         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
67938         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
67939         (__libc_sigaction): Likewise.
67940         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
67941         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
67942         Likewise.
67943         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
67945 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
67947         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
67949         * string/mempcpy.c: Implement by calling memcpy.
67951 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67953         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
67955         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
67956         evaluation.
67958         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
67959         values in the mantissa.
67961         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
67962         minimize writes to Z.
67963         (sub_magnitudes): Simplify code a bit.
67965 2013-02-12  Roland McGrath  <roland@hack.frob.com>
67967         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
67968         from the message.  The linker prefixes all warnings with that already.
67970 2013-02-12  Andreas Schwab  <schwab@suse.de>
67972         [BZ #15078]
67973         * posix/regexec.c (extend_buffers): Add parameter min_len.
67974         (check_matching): Pass minimum needed length.
67975         (clean_state_log_if_needed): Likewise.
67976         (get_subexp): Likewise.
67977         * posix/Makefile (tests): Add bug-regex34.
67978         (bug-regex34-ENV): Define.
67979         * posix/bug-regex34.c: New file.
67981         [BZ #11561]
67982         * posix/regcomp.c (parse_bracket_exp): When looking up collating
67983         elements compare against the byte sequence of it, not its name.
67984         * posix/Makefile (tests): Add bug-regex35.
67985         (bug-regex35-ENV): Define.
67986         * posix/bug-regex35.c: New file.
67988 2013-02-11  Tom de Vries  <tom@codesourcery.com>
67990         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
67991         comment.
67992         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
67993         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
67994         (CHECK_EOL): Add undef.
67996 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
67998         * bits/stdlib-bsearch.h: New file.
67999         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
68000         * stdlib/stdlib.h: Likewise.
68002 2013-02-11  Roland McGrath  <roland@hack.frob.com>
68004         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
68005         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
68006         declaration.
68007         * manual/search.texi (Array Search Function): Add missing const in
68008         lfind prototype.
68009         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
68010         declaration to use rlim_t.
68011         (Basic Scheduling Functions): Remove erroneous const from
68012         sched_getparam prototype.  Remove erroneous * from
68013         sched_get_priority_max and sched_get_priority_min prototypes.
68014         (Resource Usage): Fix summary @comment on vtimes to refer to
68015         sys/vtimes.h rather than vtimes.h.
68016         Add missing *s in vtimes prototype.
68017         (Limits on Resources): Fix ulimit prototype to return long int.
68018         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
68019         prototypes to use long int rather than double.
68020         (BSD Random): Fix initstate and setstate to use char *, not void *.
68021         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
68022         prototype to make second argument 'struct aiocb64 *const[]'.
68023         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
68024         (Status of AIO Operations): Remove erroneous const in aio_return and
68025         aio_return64 prototypes.
68026         (Synchronizing I/O): Fix sync prototype to return void.
68027         * manual/startup.texi (Suboptions): Remove an erroneous const in
68028         getsubopt prototype.
68029         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
68030         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
68031         use size_t rather than int.
68032         (Scanning All Users): Likewise for getpwent_r.
68033         (Setting Groups): Add missing const to setgroups prototype.
68034         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
68035         * manual/socket.texi (Host Names): Fix gethostbyaddr and
68036         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
68037         'const void *' rather than 'const char *'.
68038         (Host Address Functions): Likewise for inet_ntop.
68039         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
68040         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
68041         ssize_t for return value.
68042         (Sending Data): Likewise for send, sendto, sendmsg.
68043         (Socket Option Functions): Add a missing const in setsockopt prototype.
68044         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
68045         use wchar_t for the argument.
68046         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
68047         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
68048         take no arguments.
68049         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
68050         double/float/long double for second argument.
68051         Fix return types of significand, significandf, significandl.
68052         * manual/filesys.texi (Setting Permissions): Use mode_t for second
68053         argument in fchmod prototype.
68054         (File Owner): Use uid_t and gid_t in fchown prototype.
68055         (File Times): Add const to utimes, futimes, and lutimes prototypes.
68056         (Making Special Files): Use mode_t and dev_t in mknod prototype.
68057         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
68058         use 'const struct dirent **' as argument types to CMP function pointer
68059         argument.
68060         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
68061         (File Times): Fix summary magic @comment for struct utimbuf and utime
68062         to refer to utime.h, not time.h.
68063         * manual/string.texi (Argz Functions): Add missing const in
68064         argz_extract and argz_next prototypes.
68065         (Finding Tokens in a String): Likewise for basename.
68066         (String/Array Comparison): Fix typo in wcscasecmp prototype.
68067         (Copying and Concatenation): Fix typo in wmemmove prototype.
68068         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
68069         (Signal Stack): Remove erroneous const in sigstack prototype.
68070         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
68071         prototype.
68072         (Simple Calendar Time): Likewise for stime.
68073         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
68074         prototype.
68075         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
68076         say sys/sysctl.h instead.
68077         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
68078         and vsyslog prototypes.
68080 2013-02-11  Tom de Vries  <tom@codesourcery.com>
68082         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
68083         Remove.
68085 2013-02-11  Roland McGrath  <roland@hack.frob.com>
68087         * misc/sys/mman.h: Fix typo in mremap comment.
68089 2013-02-08  Roland McGrath  <roland@hack.frob.com>
68091         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
68092         the '\0' terminator.
68094 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
68096         [BZ #13550]
68097         * debug/segfault.c: Don't include <bp-checks.h>.
68098         * sysdeps/generic/bp-checks.h: Remove file.
68099         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
68100         (__GETDENTS): Don't use CHECK_N.
68101         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
68102         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
68103         (__getgroups): Don't use CHECK_N.
68104         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
68105         (setgroups): Don't use CHECK_N.
68106         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
68107         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
68108         (__libc_msgrcv): Don't use CHECK_N.
68109         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
68110         (__libc_msgsnd): Don't use CHECK_N.
68111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
68112         <bp-checks.h>.
68113         (__libc_pread): Don't use CHECK_N.
68114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
68115         include <bp-checks.h>.
68116         (__libc_pread64): Don't use CHECK_N.
68117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
68118         include <bp-checks.h>.
68119         (__libc_pwrite): Don't use CHECK_N.
68120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
68121         include <bp-checks.h>.
68122         (__libc_pwrite64): Don't use CHECK_N.
68123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
68124         <bp-checks.h>.
68125         (__libc_pread): Don't use CHECK_N.
68126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
68127         include <bp-checks.h>.
68128         (__libc_pread64): Don't use CHECK_N.
68129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
68130         include <bp-checks.h>.
68131         (__libc_pwrite): Don't use CHECK_N.
68132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
68133         include <bp-checks.h>.
68134         (__libc_pwrite64): Don't use CHECK_N.
68135         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
68136         (do_pread): Don't use CHECK_N.
68137         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
68138         (do_pread64): Don't use CHECK_N.
68139         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
68140         (do_pwrite): Don't use CHECK_N.
68141         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
68142         (do_pwrite64): Don't use CHECK_N.
68143         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
68144         (__libc_readv): Don't use CHECK_N.
68145         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
68146         (semop): Don't use CHECK_N.
68147         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
68148         <bp-checks.h>.
68149         (semtimedop): Don't use CHECK_N.
68150         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
68151         (__libc_pread): Don't use CHECK_N.
68152         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
68153         <bp-checks.h>.
68154         (__libc_pread64): Don't use CHECK_N.
68155         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
68156         <bp-checks.h>.
68157         (__libc_pwrite): Don't use CHECK_N.
68158         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
68159         <bp-checks.h>.
68160         (__libc_pwrite64): Don't use CHECK_N.
68161         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
68162         <bp-checks.h>.
68163         (__libc_msgrcv): Don't use CHECK_N.
68164         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
68165         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
68166         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
68167         (__libc_writev): Don't use CHECK_N.
68169 2013-02-08  Roland McGrath  <roland@hack.frob.com>
68171         * string/strcpy.c: Removed unused variable.
68173         * Makeconfig (+sysdep-includes): Define with := rather than =.
68174         Use an existing include/ subdir of each sysdeps dir before it.
68176 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68178         * nscd/connection.c (register_traced_file): Comment function.
68179         [HAVE_INOTIFY] (union __inev): Define.
68180         [HAVE_INOTIFY] (inotify_check_files): New function.
68181         [HAVE_INOTIFY] (clear_db_cache): Likewise.
68182         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
68183         clear_db_cache.
68184         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
68186 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68188         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
68189         loaded if not already and that a failure is permanent.
68191 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68193         [BZ #15006]
68194         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
68195         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
68197 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
68199         [BZ #13550]
68200         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
68201         (CHECK_1_NULL_OK): Likewise.
68202         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
68203         (__fxstat): Do not use CHECK_1.
68204         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
68205         <bp-checks.h>.
68206         (___fxstat64): Do not use CHECK_1.
68207         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
68208         <bp-checks.h>.
68209         (__fxstatat): Do not use CHECK_1.
68210         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
68211         <bp-checks.h>.
68212         (__fxstatat64): Do not use CHECK_1.
68213         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
68214         <bp-checks.h>.
68215         (__fxstat): Do not use CHECK_1.
68216         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
68217         <bp-checks.h>.
68218         (__fxstatat): Do not use CHECK_1.
68219         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
68220         <bp-checks.h>.
68221         (__getresgid): Do not use CHECK_1.
68222         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
68223         <bp-checks.h>.
68224         (__getresuid): Do not use CHECK_1.
68225         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
68226         <bp-checks.h>.
68227         (__lxstat): Do not use CHECK_1.
68228         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
68229         <bp-checks.h>.
68230         (__old_msgctl): Do not use CHECK_1.
68231         (__new_msgctl): Likewise.
68232         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
68233         <bp-checks.h>.
68234         (__new_setrlimit): Do not use CHECK_1.
68235         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
68236         <bp-checks.h>.
68237         (__old_shmctl): Do not use CHECK_1.
68238         (__new_shmctl): Likewise.
68239         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
68240         <bp-checks.h>.
68241         (__xstat): Do not use CHECK_1.
68242         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
68243         (__lxstat): Do not use CHECK_1.
68244         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
68245         <bp-checks.h>.
68246         (___lxstat64): Do not use CHECK_1.
68247         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
68248         (__old_msgctl): Do not use CHECK_1.
68249         (__new_msgctl): Likewise.
68250         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
68251         <bp-checks.h>.
68252         (__gettimeofday): Do not use CHECK_1.
68253         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
68254         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
68255         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
68256         <bp-checks.h>.
68257         (__gettimeofday): Do not use CHECK_1.
68258         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
68259         (__old_shmctl): Do not use CHECK_1_NULL_OK.
68260         (__new_shmctl): Do not use CHECK_1.
68261         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
68262         <bp-checks.h>.
68263         (do_sigtimedwait): Do not use CHECK_1.
68264         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
68265         <bp-checks.h>.
68266         (do_sigwaitinfo): Do not use CHECK_1.
68267         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
68268         <bp-checks.h>.
68269         (msgctl): Do not use CHECK_1.
68270         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
68271         <bp-checks.h>.
68272         (shmctl): Do not use CHECK_1.
68273         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
68274         (ustat): Do not use CHECK_1.
68275         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
68276         <bp-checks.h>.
68277         (__fxstat): Do not use CHECK_1.
68278         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
68279         <bp-checks.h>.
68280         (__fxstatat): Do not use CHECK_1.
68281         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
68282         <bp-checks.h>.
68283         (__lxstat): Do not use CHECK_1.
68284         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
68285         <bp-checks.h>.
68286         (__xstat): Do not use CHECK_1.
68287         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
68288         (__xstat): Do not use CHECK_1.
68289         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
68290         (___xstat64): Do not use CHECK_1.
68292         [BZ #13550]
68293         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
68294         definitions.
68295         (CHECK_BOUNDS_HIGH): Likewise.
68296         * string/strcpy.c: Do not include <bp-checks.h>.
68297         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
68299 2013-02-07  Roland McGrath  <roland@hack.frob.com>
68301         * nscd/nscd-client.h (__nscd_drop_map_ref):
68302         Add __attribute__ ((unused)).
68303         * nis/nss-nisplus.h (niserr2nss): Likewise.
68305         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
68306         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
68308         * csu/libc-tls.c (init_static_tls, init_slotinfo):
68309         Remove inline keyword.
68310         * include/rounding-mode.h (round_away): Likewise.
68311         * libio/wfileops.c (adjust_wide_data): Likewise.
68312         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
68313         (__m128i_strloadu_tolower): Likewise.
68314         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
68315         (__m128i_strloadu_tolower): Likewise.
68316         * time/mktime.c (ydhms_diff): Likewise.
68317         * locale/elem-hash.h (elem_hash): Likewise.
68318         * locale/setlocale.c (setdata): Likewise.
68319         * posix/regex_internal.h (re_string_char_size_at): Likewise.
68320         (re_string_wchar_at): Likewise.
68321         (bitset_not, bitset_merge, bitset_mask): Likewise.
68322         [!(__GNUC__ > 3)] (inline): Remove macro.
68323         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
68324         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
68325         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
68326         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
68327         * string/memcmp.c (memcmp_bytes): Likewise.
68328         * locale/programs/locarchive.c (compute_hashval): Likewise.
68329         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
68330         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
68331         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
68332         * nss/getent.c (print_rpc, print_protocols): Likewise.
68333         (print_passwd, print_group, print_aliases): Likewise.
68334         * nis/nss-nisplus.h (niserr2nss): Likewise.
68335         * nscd/connections.c (restart_p): Likewise.
68336         Change return type to bool.
68338 2013-02-05  Roland McGrath  <roland@hack.frob.com>
68340         * Makeconfig (all-Depend-files): Add existing
68341         $(sorted-subdirs:=/Depend) files.
68342         (all-subdirs): Remove nss.
68343         * sysdeps/unix/inet/Subdirs: Add it here instead.
68344         * hesiod/Depend: New file.
68346         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
68347         instead of calling alloca.
68349         * io/lseek.c (__lseek): Rename to __libc_lseek.
68350         Define __lseek as an alias.
68352         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
68354 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
68356         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
68357         else clause and remove check for non-standard endianness.
68359 2013-02-04  David S. Miller  <davem@davemloft.net>
68361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68363 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
68365         [BZ #13550]
68366         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
68367         (__ubp_memchr): Remove prototype.
68368         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
68369         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68370         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
68371         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68372         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
68373         Remove alias.
68374         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
68375         (__ubp_memchr): Likewise.
68376         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
68377         (__ubp_memchr): Likewise.
68378         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
68379         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
68380         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
68381         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
68382         CHECK_STRING.
68383         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
68384         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
68385         (__getcwd): Do not use CHECK_STRING.
68386         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
68387         <bp-checks.h>.
68388         (__real_chown): Do not use CHECK_STRING.
68389         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
68390         <bp-checks.h>.
68391         (fchownat): Do not use CHECK_STRING.
68392         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
68393         CHECK_STRING.
68394         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
68395         <bp-checks.h>.
68396         (__lchown): Do not use CHECK_STRING.
68397         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68398         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68399         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68400         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
68401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
68402         include <bp-checks.h>.
68403         (truncate64): Do not use CHECK_STRING.
68404         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
68405         <bp-checks.h>.
68406         (__real_chown): Do not use CHECK_STRING.
68407         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
68408         <bp-checks.h>.
68409         (__lchown): Do not use CHECK_STRING.
68410         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
68411         <bp-checks.h>.
68412         (__chown): Do not use CHECK_STRING.
68413         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
68414         <bp-checks.h>.
68415         (truncate64): Do not use CHECK_STRING.
68416         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
68417         Likewise.
68418         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
68419         (__xmknod): Do not use CHECK_STRING.
68420         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
68421         <bp-checks.h>.
68422         (__xmknodat): Do not use CHECK_STRING.
68423         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68424         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
68426 2013-02-04  Andreas Schwab  <schwab@suse.de>
68428         [BZ #14142]
68429         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
68430         * include/netdb.h: Likewise for h_errno.
68431         * elf/tst-stackguard1.c: Include <tls.h>.
68433 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
68435         * elf/link.h (struct link_map): Extend the l_addr comment.
68436         * include/link.h (struct link_map): Likewise.
68438 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
68440         [BZ #13550]
68441         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
68442         (BOUNDED_1): Remove macro.
68443         * debug/backtrace.c: Don't include <bp-checks.h>.
68444         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
68445         (__backtrace): Likewise.
68446         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
68447         <bp-checks.h>.
68448         (__backtrace): Don't use BOUNDED_1.
68449         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
68450         <bp-checks.h>.
68451         (__backtrace): Don't use BOUNDED_1.
68452         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
68453         (__backtrace): Don't use BOUNDED_1.
68454         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
68455         (shmat): Don't use BOUNDED_N.
68457 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
68459         [BZ #13550]
68460         * sysdeps/generic/bp-start.h: Remove file.
68461         * csu/libc-start.c: Don't include <bp-start.h>.
68462         (LIBC_START_MAIN): Set up __environ directly instead of using
68463         INIT_ARGV_and_ENVIRON.
68464         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
68465         <bp-start.h>.
68467         [BZ #13550]
68468         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
68469         definitions.
68470         (CHECK_FCNTL): Likewise.
68471         (CHECK_N_PAGES): Likewise.
68473         [BZ #13550]
68474         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
68475         definitions.
68476         (CHECK_SIGSET_NULL_OK): Likewise.
68477         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
68478         <bp-checks.h>.
68479         (sigpending): Don't use CHECK_SIGSET.
68480         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
68481         <bp-checks.h>.
68482         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68483         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
68484         <bp-checks.h>.
68485         (do_sigsuspend): Don't use CHECK_SIGSET.
68486         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
68487         use CHECK_SIGSET.
68488         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
68489         (do_sigwait): Don't use CHECK_SIGSET.
68490         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
68491         use CHECK_SIGSET.
68492         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
68493         include <bp-checks.h>.
68494         (sigpending): Don't use CHECK_SIGSET.
68495         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
68496         include <bp-checks.h>.
68497         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68498         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
68499         <bp-checks.h>.
68500         (sigpending): Don't use CHECK_SIGSET.
68501         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
68502         <bp-checks.h>.
68503         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68505         [BZ #13550]
68506         * sysdeps/generic/bp-semctl.h: Remove file.
68507         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
68508         <bp-checks.h> and <bp-semctl.h>.
68509         (__old_semctl): Don't use CHECK_SEMCTL.
68510         (__new_semctl): Likewise.
68511         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
68512         and <bp-semctl.h>.
68513         (__old_semctl): Don't use CHECK_SEMCTL.
68514         (__new_semctl): Likewise.
68515         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
68516         <bp-checks.h> and <bp-semctl.h>.
68517         (__old_semctl): Don't use CHECK_SEMCTL.
68518         (__new_semctl): Likewise.
68519         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
68520         <bp-checks.h> and <bp-semctl.h>.
68521         (semctl): Don't use CHECK_SEMCTL.
68523         [BZ #13550]
68524         * Makerules (elide-bp-thunks): Remove variable.
68525         (elide-routines.oS): Don't use $(elide-bp-thunks).
68526         (elide-routines.os): Likewise.
68527         (elide-routines.o): Likewise.
68528         (elide-routines.op): Likewise.
68529         (elide-routines.og): Likewise.
68530         (objects): Don't use $(bp-thunks).
68531         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
68532         include.
68533         (common-generated): Do not add s-proto-bp.d.
68534         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
68535         (int): Likewise.
68536         (typ): Likewise.
68537         Do not generate makefile rules for bounded-pointer thunks.
68538         * sysdeps/generic/bp-thunks.h: Remove file.
68539         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
68540         * sysdeps/unix/s-proto-bp.S: Likewise.
68542         [BZ #15062]
68543         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
68544         parts of result separately when argument is not close to line from
68545         -i to i and one part of argument is small.
68546         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68547         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68548         * math/libm-test.inc (cacos_test): Add more tests.
68549         (casin_test): Likewise.
68550         (casinh_test): Likewise.
68551         * sysdeps/i386/fpu/libm-test-ulps: Update.
68552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68554 2013-01-31  David S. Miller  <davem@davemloft.net>
68556         * po/de.po: Update from translation team.
68558 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
68560         * time/tzfile.c: Include stdint.h for SIZE_MAX.
68562 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
68564         * configure.in (_AC_PROG_CC_C89): New definition.
68565         * configure: Regenerate.
68567         * configure.in (AC_PROG_CPP): New definition.
68568         * configure: Regenerate.
68570 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68572         * debug/tst-backtrace.h: New file.
68573         * debug/tst-backtrace2.c: Include tst-backtrace.h.
68574         (ret): Remove variable.
68575         (x): Likewise.
68576         (FAIL): Remove macro.
68577         (NO_INLINE): Likewise.
68578         (fn1): Use match function instead of strstr.
68579         * debug/tst-backtrace3.c: Include tst-backtrace.h.
68580         (ret): Remove variable.
68581         (x): Likewise.
68582         (FAIL): Remove macro.
68583         (NO_INLINE): Likewise.
68584         (fn): Use match function instead of strstr.
68585         * debug/tst-backtrace4.c: Include tst-backtrace.h.
68586         (ret): Remove variable.
68587         (x): Likewise.
68588         (FAIL): Remove macro.
68589         (NO_INLINE): Likewise.
68590         (handle_signal): Use match function instead of strstr.
68591         * debug/tst-backtrace5.c: Include tst-backtrace.h.
68592         (ret): Remove variable.
68593         (x): Likewise.
68594         (FAIL): Remove macro.
68595         (NO_INLINE): Likewise.
68596         (handle_signal): Use match function instead of strstr.
68598 2013-01-23  Roland McGrath  <roland@hack.frob.com>
68600         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
68602 2013-01-23  David S. Miller  <davem@davemloft.net>
68604         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
68605         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
68606         argument of CAS if possible.
68607         * sysdeps/sparc/sparc64/bits/atomic.h
68608         (__arch_compare_and_exchange_val_32_acq): Likewise.
68609         (__arch_compare_and_exchange_val_64_acq): Likewise.
68611 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
68613         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
68614         * sysdeps/posix/ulimit.c: ... this.
68615         Include <limits.h>.
68616         * sysdeps/unix/bsd/ulimit.c: Remove file.
68618 2013-01-23  Adam Conrad  <adconrad@0c3.net>
68620         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
68621         (LDFLAGS-tst-array5): Likewise.
68623 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68625         [BZ #15036]
68626         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
68627         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
68628         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
68629         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
68631 2013-01-21  David S. Miller  <davem@davemloft.net>
68633         * sysdeps/sparc/backtrace.c: New file.
68634         * sysdeps/sparc/sparc32/backtrace.h: New file.
68635         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
68636         * sysdeps/sparc/sparc64/backtrace.h: New file.
68637         * sysdeps/sparc/sparc64/backtrace.c: Delete.
68638         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
68639         -funwind-tables.
68641 2013-01-21  Andreas Schwab  <schwab@suse.de>
68643         [BZ #15020]
68644         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
68645         closed its stdout.
68647 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
68649         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
68650         "mpa2.h".
68651         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68653 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
68654             Mark Mitchell  <mark@codesourcery.com>
68655             Tom de Vries  <tom@codesourcery.com>
68656             Paul Pluzhnikov  <ppluzhnikov@google.com>
68658         * debug/tst-backtrace2.c: New file.
68659         * debug/tst-backtrace3.c: Likewise.
68660         * debug/tst-backtrace4.c: Likewise.
68661         * debug/tst-backtrace5.c: Likewise.
68662         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
68663         (CFLAGS-tst-backtrace3.c): Likewise.
68664         (CFLAGS-tst-backtrace4.c): Likewise.
68665         (CFLAGS-tst-backtrace5.c): Likewise.
68666         (LDFLAGS-tst-backtrace2): Likewise.
68667         (LDFLAGS-tst-backtrace3): Likewise.
68668         (LDFLAGS-tst-backtrace4): Likewise.
68669         (LDFLAGS-tst-backtrace5): Likewise.
68670         (tests): Add new tests tst-backtrace2, tst-backtrace3,
68671         tst-backtrace4 and tst-backtrace5.
68673 2013-01-18  Anton Blanchard  <anton@samba.org>
68674             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68676         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
68677         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
68678         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
68679         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
68680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
68681         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
68682         "+r" and remove output regs list as redundant.  Add explicit inline
68683         asm to specify register of return val to work around compiler codegen
68684         bug.  Remove (int) cast on return value.  Add return type parameter to
68685         use in macro so that this macro does not truncate return value for
68686         64-bit values.
68687         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
68688         pass to INTERNAL_VSYSCALL_NCS.
68689         (INLINE_VSYSCALL): Add 'long int' as return type to
68690         INTERNAL_VSYSCALL_NCS macro invocation.
68691         (INTERNAL_VSYSCALL): Add 'long int' as return type to
68692         INTERNAL_VSYSCALL_NCS macro invocation.
68693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68695 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68697         [BZ #14496]
68698         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
68699         Fix application of SIMD FP exception mask.
68701         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
68702         mp_no from a power of two.
68703         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
68704         __mpexp_twomm1.  Use __pow_mp.
68706         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
68707         multiplication.
68709 2013-01-17  David S. Miller  <davem@davemloft.net>
68711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68713 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
68715         [BZ #15023]
68716         * include/complex.h: Condition contents on [!_COMPLEX_H].
68717         (__kernel_casinhf): New prototype.
68718         (__kernel_casinh): Likewise.
68719         (__kernel_casinhl): Likewise.
68720         * math/Makefile (libm_calls): Add k_casinh.
68721         * math/k_casinh.c: New file.
68722         * math/k_casinhf.c: Likewise.
68723         * math/k_casinhl.c: Likewise.
68724         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
68725         finite nonzero arguments.
68726         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
68727         finite nonzero arguments.
68728         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
68729         finite nonzero arguments.
68730         * math/s_casinh.c: Do not include <float.h>.
68731         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
68732         * math/s_casinhf.c: Do not include <float.h>.
68733         (__casinhf): Move code for finite nonzero arguments to
68734         k_casinhf.c.
68735         * math/s_casinhl.c: Do not include <float.h>.
68736         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
68737         redefine.
68738         (__casinhl): Move code for finite nonzero arguments to
68739         k_casinhl.c.
68740         * math/libm-test.inc (cacos_test): Add more tests.
68741         * sysdeps/i386/fpu/libm-test-ulps: Update.
68742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68744 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
68746         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
68747         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
68748         [!HAVE_MREMAP]: Remove [defined linux] case.
68749         * malloc/arena.c: Do not include <malloc-sysdep.h>.
68751 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
68753         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
68755 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
68757         * elf/elf.h (R_386_SIZE32): New relocation.
68758         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
68759         R_386_SIZE32.
68760         (elf_machine_rela): Likewise.
68761         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68762         R_X86_64_SIZE64 and R_X86_64_SIZE32.
68764 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
68766         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
68767         (FP_FAST_FMA): Do not define.
68768         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
68769         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
68770         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
68771         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
68772         !_SOFT_FLOAT]: Likewise.
68773         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
68774         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
68775         value.
68776         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
68777         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
68778         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
68779         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
68780         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
68781         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
68782         file.
68784 2013-01-16  Andreas Schwab  <schwab@suse.de>
68786         [BZ #14327]
68787         * include/stdlib.h (__mktemp): Add declaration.
68788         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
68789         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
68791 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68793         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
68794         definitions.
68795         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
68796         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
68797         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
68798         definitions here.
68799         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
68800         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
68801         definitions.
68802         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
68803         and ONE.
68804         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
68805         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
68806         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
68807         definitions.
68808         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
68809         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
68810         definitions.
68811         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
68813         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
68815 2013-01-15  David S. Miller  <davem@davemloft.net>
68817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68818         trunc{,f} to libm-sysdep_routes.
68819         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
68821         file.
68822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
68823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
68824         file.
68825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
68826         file.
68827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
68828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
68829         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
68830         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
68831         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
68832         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
68833         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
68834         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
68836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68837         nearbyint{,f} to libm-sysdep_routes.
68838         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
68840         New file.
68841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
68842         file.
68843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
68844         New file.
68845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
68846         file.
68847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
68848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
68849         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
68850         file.
68851         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
68852         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
68853         file.
68854         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
68855         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
68856         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
68858         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
68859         libc_feholdexcept and libc_fesetenv.
68861 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
68863         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
68865 2013-01-14  David S. Miller  <davem@davemloft.net>
68867         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
68868         (SPARC_ASM_VIS2_IFUNC): Likewise.
68869         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
68870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
68871         use of 'siam' instruction.
68872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
68873         Likewise.
68874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
68875         Likewise.
68876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
68877         Likewise.
68878         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
68879         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
68880         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
68881         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
68882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
68883         file.
68884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
68885         file.
68886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
68887         file.
68888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
68889         file.
68890         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
68891         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
68892         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
68893         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
68894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
68895         new VIS2 routines.
68896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68899         Likewise.
68900         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68901         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68902         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68903         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
68905         routines to libm-sysdep_routines.
68906         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
68908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
68909         fdim/fdimf to libm-sysdep_routines.
68910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
68911         file.
68912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
68913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
68914         file.
68915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
68916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
68917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
68918         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
68919         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
68920         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
68921         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
68923 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68925         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
68926         to optimize copies.
68928         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
68929         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
68930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68932         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
68933         local variable MPTWO.
68934         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
68935         Likewise.
68937 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68939         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
68940         GLOB_NOESCAPE.
68942 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68944         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
68946 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
68948         * manual/pattern.texi (glob_t): Document gl_flags.
68949         (glob64_t): Likewise.
68951 2013-01-11  David S. Miller  <davem@davemloft.net>
68953         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
68954         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
68955         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
68956         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
68957         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
68958         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
68959         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
68960         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
68961         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
68962         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
68963         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
68964         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
68965         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
68967         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
68968         sparc V9 rather than using V8 code.
68969         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
68970         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
68972         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68973         Move to...
68974         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
68975         Here.
68977 2013-01-11  Roland McGrath  <roland@hack.frob.com>
68979         [BZ #14941]
68980         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
68981         not in the main loop.
68982         * configure: Regenerated.
68984 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
68986         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
68987         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
68988         to just #else.
68989         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
68990         [!__GLIBC_HAVE_LONG_LONG] case.
68991         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
68992         condition to just #else.
68993         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
68994         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
68995         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
68996         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
68997         unconditional.
68998         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
68999         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
69000         #elif condition to just #else.
69001         * sysdeps/unix/sysv/linux/sys/sysmacros.h
69002         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
69003         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
69004         #elif condition to just #else.
69006 2013-01-11  Steve Ellcey  <sellcey@mips.com>
69008         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
69009         (EF_MIPS_ARCH_64): Fix value.
69010         (EF_MIPS_ARCH_32R2): New.
69011         (EF_MIPS_ARCH_64R2): New.
69013 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
69015         * Makeconfig (+link-pie-before-libc): New.
69016         (+link-pie-after-libc): Likewise.
69017         (+link-pie-tests): Likewise.
69018         (+link-pie): Rewritten.
69019         (link-before-libc): Remove $(config-LDFLAGS).
69020         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
69021         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
69022         (config-LDFLAGS): Renamed to ...
69023         (rtld-LDFLAGS): This.
69024         (rtld-tests-LDFLAGS): New macro.
69025         (link-libc-rpath-link): Likewise.
69026         (link-libc-tests-rpath-link): Likewise.
69027         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
69028         (link-libc): Prepand $(link-libc-rpath-link).
69029         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
69030         (test-program-prefix): New macro.
69031         (test-via-rtld-prefix): Likewise.
69032         (test-program-cmd): Likewise.
69033         (host-test-program-cmd): Likewise.
69034         * Makefile ($(common-objpfx)testrun.sh): Replace
69035         $(run-program-prefix) with $(test-program-prefix).
69036         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
69037         $(rtld-LDFLAGS).
69038         ($(common-objpfx)shlib.lds): Likewise.
69039         (build-module-helper): Likewise.
69040         ($(common-objpfx)format.lds): Likewise.
69041         * Rules (binaries-pie-tests): New.
69042         (binaries-pie-notests): Likewise.
69043         (binaries-pie): Rewritten.
69044         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
69045         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
69046         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
69047         (make-test-out): Replace $(host-built-program-cmd) with
69048         $(host-test-program-cmd).
69049         * config.make.in (build-hardcoded-path-in-tests): New variable.
69050         * configure.in (--enable-hardcoded-path-in-tests): New configure
69051         option.
69052         (hardcoded_path_in_tests): New AC_SUBST.
69053         * configure: Regenerated.
69054         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
69055         $(built-program-cmd) with $(test-program-cmd).
69056         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
69057         (test_program_cmd): This.
69058         * elf/Makefile ($(objpfx)order.out): Run test with
69059         $(test-program-prefix).
69060         ($(objpfx)order2.out): Likewise.
69061         ($(objpfx)tst-initorder.out): Likewise.
69062         ($(objpfx)tst-initorder2.out): Likewise.
69063         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
69064         $(test-program-cmd).
69065         ($(objpfx)tst-array1-static.out): Likewise.
69066         ($(objpfx)tst-array2.out): Likewise.
69067         ($(objpfx)tst-array3.out): Likewise.
69068         ($(objpfx)tst-array4.out): Likewise.
69069         ($(objpfx)tst-array5.out): Likewise.
69070         ($(objpfx)tst-array5-static.out): Likewise.
69071         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
69072         $(test-program-cmd).
69073         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
69074         $(run-program-prefix) with $(test-program-prefix).
69075         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
69076         (test_program_prefix): This.
69077         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
69078         $(run-program-prefix) with $(test-program-prefix).
69079         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
69080         (test_program_prefix): This.
69081         * iconvdata/tst-tables.sh: Likewise.
69082         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
69083         $(run-program-prefix) with $(test-program-prefix).
69084         ($(objpfx)tst-translit.out): Likewise.
69085         ($(objpfx)tst-gettext2.out): Likewise.
69086         ($(objpfx)tst-gettext4.out): Likewise.
69087         ($(objpfx)tst-gettext6.out): Likewise.
69088         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
69089         (test_program_prefix): This.
69090         * intl/tst-gettext2.sh: Likewise.
69091         * intl/tst-gettext4.sh  Likewise.
69092         * intl/tst-gettext6.sh: Likewise.
69093         * intl/tst-translit.sh: Likewise.
69094         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
69095         with $(test-program-cmd).
69096         * libio/Makefile ($(objpfx)test-freopen.out): Replace
69097         $(run-program-prefix) with $(test-program-prefix).
69098         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
69099         (test_program_prefix): This.
69100         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
69101         $(run-program-prefix) with $(test-program-prefix).
69102         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
69103         (test_program_prefix): This.
69104         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
69105         * posix/Makefile ($(objpfx)globtest.out): Replace
69106         $(run-via-rtld-prefix) and $(test-wrapper) with
69107         $(test-program-prefix) and $(test-via-rtld-prefix).
69108         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
69109         $(test-program-prefix).
69110         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
69111         $(host-test-program-cmd).
69112         (tst-spawn-ARGS): Likewise.
69113         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
69114         $(test-program-prefix).
69115         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
69116         (test_via_rtld_prefix): This.
69117         (test_wrapper): Renamed to ...
69118         (test_program_prefix): This.
69119         (run_program_prefix): Replaced by test_program_prefix.
69120         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
69121         (test_program_prefix): This.
69122         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
69123         with $(host-test-program-cmd).
69124         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
69125         $(run-program-prefix) with $(test-program-prefix).
69126         ($(objpfx)tst-printf.out): Likewise.
69127         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
69128         $(test-program-cmd).
69129         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
69130         (test_program_prefix): This.
69131         * stdio-common/tst-unbputc.sh: Likewise.
69132         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
69133         $(run-program-prefix) with $(test-program-prefix).
69134         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
69135         (test_program_prefix): This.
69136         * string/Makefile ($(objpfx)tst-svc.out):  Replace
69137         $(built-program-cmd) with $(test-program-cmd).
69139 2013-01-11  Andreas Jaeger  <aj@suse.de>
69141         [BZ #15003]
69142         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
69143         value. Sync with Linux 3.7.
69145 2013-01-10  David S. Miller  <davem@davemloft.net>
69147         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
69148         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69149         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69151 2013-01-10  Roland McGrath  <roland@hack.frob.com>
69153         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
69154         never set.
69155         * configure: Regenerated.
69157 2013-01-10  David S. Miller  <davem@davemloft.net>
69159         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
69160         sparc V9 rather than using V8 code.
69161         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69162         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69164 2013-01-10  Roland McGrath  <roland@hack.frob.com>
69166         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
69167         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
69168         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
69169         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
69170         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
69171         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
69172         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
69173         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
69174         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
69175         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
69176         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
69177         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
69178         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
69179         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
69180         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
69181         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
69182         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
69183         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
69184         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
69185         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
69186         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
69187         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
69188         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
69189         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
69190         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
69191         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
69192         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
69194 2013-01-10  David S. Miller  <davem@davemloft.net>
69196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69198 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
69200         * posix/Makefile (tests-static): New variable.
69201         (tests): Add $(tests-static).
69202         (tst-exec-static-ARGS): New variable.
69203         (tst-spawn-static-ARGS): Likewise.
69204         * posix/tst-exec-static.c: New file.
69205         * posix/tst-spawn-static.c: Likewise.
69206         * posix/tst-exec.c: Support run directly.
69207         * posix/tst-spawn.c: Likewise.
69209 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
69211         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
69212         long.
69213         * math/bits/mathcalls.h (llrint): Likewise.
69214         (llround): Likewise.
69215         * stdlib/stdlib.h (struct drand48_data): Likewise.
69216         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
69217         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
69218         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
69219         Likewise.
69220         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
69221         Likewise.
69222         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
69223         (elf_greg_t): Likewise.
69224         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
69225         (__jmp_buf): Likewise.
69226         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
69227         definitions.
69228         (llrint): Likewise, for all definitions.
69229         (llrintl): Likewise.
69231         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
69232         Remove [__GNUC__] condition.
69233         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
69234         condition to just [__USE_ISOC99].
69235         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
69237 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
69239         [BZ #14200]
69240         * sysdeps/unix/sysv/linux/x86/bits/environments.h
69241         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
69242         defined.
69243         (_POSIX_V6_ILP32_OFF32): Likewise.
69244         (_XBS5_ILP32_OFF32): Likewise.
69245         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
69246         (__ILP32_OFFBIG_LDFLAGS): Likewise.
69248 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69250         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
69252         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
69253         doubles __mpexp_twomm1.  Adjust usage.
69254         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
69255         Remove.
69257 2013-01-10  Andreas Schwab  <schwab@suse.de>
69259         [BZ #14964]
69260         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
69261         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
69263 2013-01-09  David S. Miller  <davem@davemloft.net>
69265         [BZ #15003]
69266         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
69267         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
69268         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
69269         (TCP_FASTOPEN): Define.
69270         (tcp_repair_opt): New structure.
69271         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
69272         enum values.
69273         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
69274         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
69275         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
69276         (tcp_cookie_transactions): New structure.
69278 2013-01-09  Anton Blanchard  <anton@samba.org>
69280         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
69281         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
69282         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
69283         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
69285 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
69287         * include/features.h (__USE_ANSI): Remove.
69289 2013-01-09  Roland McGrath  <roland@hack.frob.com>
69291         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
69293         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
69295 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
69297         * sysdeps/s390/fpu/libm-test-ulps: Update.
69299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69301         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
69302         (__acr): Likewise.
69303         (__cpy): Likewise.
69304         (norm): Likewise.
69305         (denorm): Likewise.
69306         (__mp_dbl): Likewise.
69307         (__dbl_mp): Likewise.
69308         (add_magnitudes): Likewise.
69309         (sub_magnitudes): Likewise.
69310         (__add): Likewise.
69311         (__sub): Likewise.
69312         (__mul): Likewise.
69313         (__inv): Likewise.
69314         (__dvd): Likewise.
69315         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
69316         (__acr): Likewise.
69317         (__cpy): Likewise.
69318         (norm): Likewise.
69319         (denorm): Likewise.
69320         (__mp_dbl): Likewise.
69321         (__dbl_mp): Likewise.
69322         (add_magnitudes): Likewise.
69323         (sub_magnitudes): Likewise.
69324         (__add): Likewise.
69325         (__sub): Likewise.
69326         (__mul): Likewise.
69327         (__inv): Likewise.
69328         (__dvd): Likewise.
69329         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
69330         (__acr): Likewise.
69331         (__cpy): Likewise.
69332         (norm): Likewise.
69333         (denorm): Likewise.
69334         (__mp_dbl): Likewise.
69335         (__dbl_mp): Likewise.
69336         (add_magnitudes): Likewise.
69337         (sub_magnitudes): Likewise.
69338         (__add): Likewise.
69339         (__sub): Likewise.
69340         (__mul): Likewise.
69341         (__inv): Likewise.
69342         (__dvd): Likewise.
69344 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
69346         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
69347         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
69348         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
69349         2 && __USE_EXTERN_INLINES]: Likewise.
69351 2013-01-08  Andreas Jaeger  <aj@suse.de>
69353         [BZ #14985]
69354         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
69355         Remove.
69356         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69357         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69359 2013-01-07  Anton Blanchard  <anton@samba.org>
69361         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
69362         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
69363         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
69364         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
69365         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
69366         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69367         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
69368         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69369         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69370         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69371         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69372         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69373         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69374         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
69375         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
69376         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69377         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69378         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
69379         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
69380         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
69381         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
69382         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
69383         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69384         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
69385         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
69386         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
69387         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69388         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
69389         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
69390         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69391         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
69392         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69393         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69394         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
69395         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
69396         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69397         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
69398         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69399         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
69400         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
69401         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
69402         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69403         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
69405 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
69407         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
69408         (__MALLOC_PMT): Likewise.
69409         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
69410         [__GNUC__], only on [_LIBC].
69411         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69412         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
69413         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69414         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
69415         forward declaration.
69416         (realloc_hook_ini): Likewise.
69417         (memalign_hook_ini): Likewise.
69418         (__libc_memalign): Do not use __MALLOC_PMT in variable
69419         declaration.
69420         (__libc_valloc): Likewise.
69421         (__libc_pvalloc): Likewise.
69422         (__libc_calloc): Likewise.
69423         (__posix_memalign): Likewise.
69425         [BZ #14996]
69426         * math/s_casinh.c: Include <float.h>.
69427         (__casinh): Do not do computation with squaring and square root
69428         for large arguments.
69429         * math/s_casinhf.c: Include <float.h>.
69430         (__casinhf): Do not do computation with squaring and square root
69431         for large arguments.
69432         * math/s_casinhl.c: Include <float.h>.
69433         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
69434         (__casinhl): Do not do computation with squaring and square root
69435         for large arguments.
69436         * math/libm-test.inc (casin_test): Add more tests.
69437         (casinh_test): Likewise.
69438         * sysdeps/i386/fpu/libm-test-ulps: Update.
69439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69441 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
69443         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
69444         (__x86_64_raw_data_cache_size): Likewise.
69445         (__x86_64_data_cache_size_half): Likewise.
69446         (__x86_64_raw_data_cache_size_half): Likewise.
69447         (__x86_64_shared_cache_size): Likewise.
69448         (__x86_64_raw_shared_cache_size): Likewise.
69449         (__x86_64_shared_cache_size_half): Likewise.
69450         (__x86_64_raw_shared_cache_size_half): Likewise.
69451         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
69452         to ...
69453         (__x86_data_cache_size): This.
69454         (__x86_64_raw_data_cache_size): Renamed to ...
69455         (__x86_raw_data_cache_size): This.
69456         (__x86_64_data_cache_size_half): Renamed to ...
69457         (__x86_data_cache_size_half): This.
69458         (__x86_64_raw_data_cache_size_half): Renamed to ...
69459         (__x86_raw_data_cache_size_half): This.
69460         (__x86_64_shared_cache_size): Renamed to ...
69461         (__x86_shared_cache_size): This.
69462         (__x86_64_raw_shared_cache_size): Renamed to ...
69463         (__x86_raw_shared_cache_size): This.
69464         (__x86_64_shared_cache_size_half): Renamed to ...
69465         (__x86_shared_cache_size_half): This.
69466         (__x86_64_raw_shared_cache_size_half): Renamed to ...
69467         (__x86_raw_shared_cache_size_half): This.
69468         * sysdeps/x86_64/memcpy.S: Updated.
69469         * sysdeps/x86_64/memset.S: Likewise.
69470         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
69471         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69472         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69474 2013-01-04  David S. Miller  <davem@davemloft.net>
69476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69478 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
69480         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
69481         1 to avoid redefinition warning.
69482         (__USE_GNU): Don't define.
69483         (init_signaling_nan): Protoize.
69485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69487 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69489         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
69490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
69491         (__cpymn): Likewise.
69492         (norm): Remove commented code.
69493         (denorm): Likewise.
69494         (__mp_dbl): Likewise.
69495         (__inv): Likewise.
69496         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
69497         (__cpymn): Likewise.
69498         (norm): Remove commented code.
69499         (denorm): Likewise.
69500         (__mp_dbl): Likewise.
69501         (__inv): Likewise.
69503         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
69504         mp_no value for 1.0 and 2.0.
69505         (norm): Use RADIXI instead of radixi.d.
69506         (denorm): Likewise.
69507         (__mul): Use 0.0 instead of zero.d.
69508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
69509         mp_no value for 1.0 and 2.0.
69510         (norm): Use RADIXI instead of radixi.d.
69511         (denorm): Likewise.
69512         (__mul): Use 0.0 instead of zero.d.
69514 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
69516         [BZ #14994]
69517         * math/s_casinh.c (__casinh): Reduce finite argument to first
69518         quadrant then set signs of results at the end.
69519         * math/s_casinhf.c (__casinhf): Likewise.
69520         * math/s_casinhl.c (__casinhl): Likewise.
69521         * math/libm-test.inc (casin_test): Add more tests.
69522         (casinh_test): Likewise.
69523         * sysdeps/i386/fpu/libm-test-ulps: Update.
69524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69526 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69528         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
69530         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
69532         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
69533         declarations.
69534         (denorm): Likewise.
69535         (__mp_dbl): Likewise.
69536         (__inv): Likewise.
69538         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
69539         and adjust the header comment.
69541         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
69542         variable name from declaration.
69544 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
69546         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69547         Initialize COMMON_CPUID_INDEX_7 element.
69548         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
69549         (CPUID_RTM): Likewise.
69550         (HAS_RTM): Likewise.
69551         (COMMON_CPUID_INDEX_7): New enum.
69553 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
69555         [BZ #14981]
69556         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
69557         size is zero, record memory as freed.
69559 2013-01-03  Andreas Jaeger  <aj@suse.de>
69561         * po/ia.po: Add new Interlingua translation.
69563 2012-01-03  Allan McRae  <allan@archlinux.org>
69565         * locale/programs/localedef.c: Fix description of '--posix' flag.
69567 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
69569         * NEWS: Update dates in second copyright notice.
69570         * README: Update copyright dates in example.
69571         * manual/libc.texinfo: Update copyright dates.
69572         * scripts/test-installation.pl: Update copyright date in --version
69573         output.
69575         * hurd/ctty-input.c: Fix copyright notice formatting.
69576         * hurd/ctty-output.c: Likewise.
69577         * hurd/dtable.c: Likewise.
69578         * hurd/hurd-raise.c: Likewise.
69579         * hurd/hurdprio.c: Likewise.
69580         * hurd/msgportdemux.c: Likewise.
69581         * misc/sys/file.h: Likewise.
69582         * misc/sys/ioctl.h: Likewise.
69583         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
69584         * sysdeps/mach/hurd/chdir.c: Likewise.
69585         * sysdeps/mach/hurd/fchdir.c: Likewise.
69586         * sysdeps/mach/hurd/rename.c: Likewise.
69587         * sysdeps/mach/hurd/rmdir.c: Likewise.
69588         * sysdeps/mach/hurd/seekdir.c: Likewise.
69589         * sysdeps/mach/hurd/setsid.c: Likewise.
69590         * sysdeps/posix/wait3.c: Likewise.
69592         * All files with FSF copyright notices: Update copyright dates
69593         using scripts/update-copyrights.
69594         * intl/plural.c: Regenerated.
69595         * locale/programs/charmap-kw.h: Likewise.
69596         * locale/programs/locfile-kw.h: Likewise.
69598 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
69600         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
69601         four values.
69603         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
69604         calculation loop and add branch prediction.
69606         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
69607         check access beyond bounds of m1np.
69609         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69610         MPTWO.
69611         (__inv): Remove local variable MPTWO to use the global
69612         constant.
69613         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
69614         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69615         variable MPTWO.
69616         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
69617         MP3HALFS static const.
69619 2013-01-01  David S. Miller  <davem@davemloft.net>
69621         * po/ca.po: Update from translation team.
69623 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
69625         * scripts/update-copyrights: New file.
69626         * Makeconfig: Reformat copyright notice.
69627         * ctype/ctype.h: Likewise.
69628         * debug/swprintf_chk.c: Likewise.
69629         * elf/dl-cache.c: Likewise.
69630         * elf/dl-debug.c: Likewise.
69631         * elf/dl-object.c: Likewise.
69632         * grp/initgroups.c: Likewise.
69633         * hurd/Makefile: Likewise.
69634         * hurd/hurd/signal.h: Likewise.
69635         * hurd/hurdfault.c: Likewise.
69636         * hurd/hurdioctl.c: Likewise.
69637         * hurd/hurdlookup.c: Likewise.
69638         * hurd/intr-msg.c: Likewise.
69639         * iconv/gconv_open.c: Likewise.
69640         * libio/swprintf.c: Likewise.
69641         * locale/lc-ctype.c: Likewise.
69642         * locale/nl_langinfo.c: Likewise.
69643         * mach/Machrules: Likewise.
69644         * mach/Makefile: Likewise.
69645         * malloc/obstack.h: Likewise.
69646         * manual/Makefile: Likewise.
69647         * manual/tsort.awk: Likewise.
69648         * misc/bits/stab.def: Likewise.
69649         * nis/nis_print_group_entry.c: Likewise.
69650         * nis/nis_table.c: Likewise.
69651         * nis/nss_compat/compat-pwd.c: Likewise.
69652         * nis/nss_compat/compat-spwd.c: Likewise.
69653         * po/Makefile: Likewise.
69654         * posix/fnmatch.c: Likewise.
69655         * posix/regex.h: Likewise.
69656         * resolv/Makefile: Likewise.
69657         * resolv/nss_dns/dns-network.c: Likewise.
69658         * resolv/res_hconf.c: Likewise.
69659         * scripts/gen-sorted.awk: Likewise.
69660         * soft-fp/soft-fp.h: Likewise.
69661         * stdio-common/printf.h: Likewise.
69662         * stdlib/monetary.h: Likewise.
69663         * stdlib/random.c: Likewise.
69664         * stdlib/random_r.c: Likewise.
69665         * sysdeps/generic/Makefile: Likewise.
69666         * sysdeps/gnu/Makefile: Likewise.
69667         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69668         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69669         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69670         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69671         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69672         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69673         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69674         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69675         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69676         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69677         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69678         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69679         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69680         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69681         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
69682         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69683         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69684         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69685         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69686         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69687         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69688         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69689         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69690         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
69691         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
69692         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
69693         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
69694         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
69695         * sysdeps/mach/hurd/errnos.awk: Likewise.
69696         * sysdeps/mach/hurd/fork.c: Likewise.
69697         * sysdeps/mach/hurd/getcwd.c: Likewise.
69698         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
69699         * sysdeps/mach/hurd/mmap.c: Likewise.
69700         * sysdeps/mach/hurd/utimes.c: Likewise.
69701         * sysdeps/mach/hurd/xmknod.c: Likewise.
69702         * sysdeps/posix/profil.c: Likewise.
69703         * sysdeps/posix/readdir_r.c: Likewise.
69704         * sysdeps/powerpc/bits/mathdef.h: Likewise.
69705         * sysdeps/powerpc/bits/setjmp.h: Likewise.
69706         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
69707         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69708         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69709         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69710         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69711         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69712         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69713         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69714         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69715         * sysdeps/pthread/lio_listio.c: Likewise.
69716         * sysdeps/sparc/dl-procinfo.h: Likewise.
69717         * sysdeps/unix/i386/sysdep.S: Likewise.
69718         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
69719         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
69720         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
69721         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
69722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69723         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
69724         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
69725         * sysdeps/unix/sysv/linux/speed.c: Likewise.
69726         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
69727         * sysdeps/wordsize-32/divdi3.c: Likewise.
69728         * time/sys/time.h: Likewise.
69729         * wcsmbs/Makefile: Likewise.
69731 2013-01-01  David S. Miller  <davem@davemloft.net>
69733         * po/fr.po: Update from translation team.
69735         * catgets/gencat.c: Update copyright year.
69736         * csu/version.c: Likewise.
69737         * debug/catchsegv.sh: Likewise.
69738         * debug/pcprofiledump.c: Likewise.
69739         * debug/xtrace.sh: Likewise.
69740         * elf/ldconfig.c: Likewise.
69741         * elf/ldd.bash.in: Likewise.
69742         * elf/pldd.c: Likewise.
69743         * elf/sotruss.ksh: Likewise.
69744         * elf/sprof.c: Likewise.
69745         * iconv/iconv_prog.c: Likewise.
69746         * iconv/iconvconfig.c: Likewise.
69747         * locale/programs/locale.c: Likewise.
69748         * locale/programs/localedef.c: Likewise.
69749         * login/programs/pt_chown.c: Likewise.
69750         * malloc/memusage.sh: Likewise.
69751         * malloc/memusagestat.c: Likewise.
69752         * malloc/mtrace.pl: Likewise.
69753         * nscd/nscd.c: Likewise.
69754         * nss/getent.c: Likewise.
69755         * nss/makedb.c: Likewise.
69756         * posix/getconf.c: Likewise.
69758 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69760         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
69761         numbers.
69763 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
69765         * math/bits/mathcalls.h (modf): Use __nonnull.
69767 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
69769         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
69770         (split): Use macro CN instead of the bare value.
69771         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
69772         could be used.
69773         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
69774         instead of the bare value.
69775         (power1): Likewise.
69777 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69779         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
69780         __ATAN_TWOM.
69781         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69783         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
69784         their values.
69785         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
69786         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69787         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
69788         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
69790 2012-12-28  Andreas Jaeger  <aj@suse.de>
69792         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
69793         values are from Linux 3.7.
69795         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
69796         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
69798 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69800         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
69801         TRUE case.
69803         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
69804         (norm): Likewise.
69805         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
69806         variables with preprocessor constants.
69807         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69808         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69809         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69811 2012-12-27  Bruno Haible  <bruno@clisp.org>
69813         [BZ #14317]
69814         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
69815         only if needed.
69817 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69819         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
69820         and use variable directly.
69821         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
69823         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69824         MPONE.
69825         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
69826         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69827         variable MPONE.
69828         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69829         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69830         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
69831         include directive.  Remove local variable MPONE.
69832         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
69833         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
69834         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69836 2012-12-25  David S. Miller  <davem@davemloft.net>
69838         * version.h (RELEASE): Set to "development".
69839         (VERSION): Set to "2.17.90".
69840         * NEWS: Add 2.18 section.
69842 2012-12-21  David S. Miller  <davem@davemloft.net>
69844         * po/hr.po: Update from translation team.
69846 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69848         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
69850 2012-12-19  Steve Ellcey  <sellcey@mips.com>
69852         * NEWS:  Mention new memcpy for MIPS.
69854 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69856         * manual/contrib.texi (Contributors): Spelling correction.
69858 2012-12-15  David S. Miller  <davem@davemloft.net>
69860         * po/ru.po: Update from translation team.
69862 2012-12-13  David S. Miller  <davem@davemloft.net>
69864         * NEWS: Mention IFUNC testsuite enhancements.
69866         * po/pl.po: Update from translation team.
69867         * po/bg.po: Likewise.
69869         * manual/contrib.texi (Contributors): Update entries for Hongjiu
69870         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
69872 2012-12-11  David S. Miller  <davem@davemloft.net>
69874         * po/sv.po: Update from translation team.
69876         * po/vi.po: Update from translation team.
69878         * po/cs.po: Update from translation team.
69880         * po/de.po: Update from translation team.
69881         * po/eo.po: Likewise.
69882         * po/nl.po: Likewise.
69884 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
69886         [BZ #14246]
69887         * manual/argp.texi (Argp Helper Functions): Move node to follow
69888         Argp Parsing State.
69890         [BZ #14872]
69891         * manual/conf.texi (Limits on File System Capacity): Mention if
69892         terminating null is included in the max size.
69894 2012-12-10  Andreas Jaeger  <aj@suse.de>
69896         * po/cs.po: Update from translation team.
69898 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69900         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
69901         void pointer and cast to uintptr_t.
69902         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
69903         path.
69904         * sysdeps/s390/s390-64/memcpy.S: Likewise.
69905         * sysdeps/s390/s390-64/memset.S: Likewise.
69907 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
69909         [BZ #14833]
69910         * menual/message.texi (Message Translation): Fix typos.
69911         (Helper programs for gettext): Likewise.
69913 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
69915         [BZ #14898]
69916         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
69917         Change to -1.
69919 2012-12-07  David S. Miller  <davem@davemloft.net>
69921         * po/libc.pot: Update.
69923 2012-12-07  Richard Henderson  <rth@redhat.com>
69925         [BZ #10114]
69926         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
69927         normal/normal case to before the switch.
69928         (_FP_DIV): Likewise.
69930 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
69931             Mike Frysinger  <vapier@gentoo.org>
69933         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
69934         check for __NR_fadvise64_64.
69936 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
69938         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
69939         0, not just to plain "0" as a statement.
69940         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
69941         with cw.
69943 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
69945         * NEWS: Use sourceware.org in Bugzilla URL.
69947 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
69949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
69950         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
69952         * stdio-common/tst-put-error.c (do_test): Add newline to the
69953         padded test to ensure flush.
69955 2012-12-05  Jeff Law  <law@redhat.com>
69957         * sunrpc/etc.rpc (fedfs_admin): Add entry.
69959 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
69961         * README: Don't refer to ports add-on as distributed separately.
69962         Mention AArch64 in list of systems supported in the ports add-on.
69964         * LICENSES: Add more non-FSF copyright and license notices.
69966         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
69967         ((unused)).
69969         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
69971         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
69972         10000 as width of padded output.
69974 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69976         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
69978         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
69979         variable LX with __attribute__ ((unused)).
69980         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
69981         Likewise.
69982         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
69983         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69984         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
69985         with __attribute__ ((unused)).
69987 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
69989         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
69991 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
69993         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
69994         (CFLAGS-nldbl-acos.c): New variable.
69995         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
69996         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
69997         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
69998         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
69999         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
70000         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
70001         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
70002         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
70003         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
70004         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
70005         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
70006         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
70007         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
70008         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
70009         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
70010         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
70011         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
70012         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
70013         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
70014         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
70015         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
70016         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
70017         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
70018         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
70019         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
70020         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
70021         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
70022         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
70023         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
70024         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
70025         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
70026         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
70027         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
70028         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
70029         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
70030         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
70031         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
70032         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
70033         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
70034         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
70035         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
70036         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
70037         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
70038         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
70039         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
70040         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
70041         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
70042         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
70043         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
70044         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
70045         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
70046         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
70047         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
70048         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
70049         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
70050         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
70051         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
70052         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
70053         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
70054         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
70055         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
70056         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
70057         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
70058         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
70059         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
70060         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
70061         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
70062         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
70063         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
70064         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
70065         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
70066         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
70067         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
70068         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
70069         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
70070         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
70071         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
70072         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
70073         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
70074         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
70075         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
70076         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
70077         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
70078         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
70079         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
70080         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
70081         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
70082         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
70083         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
70084         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
70085         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
70086         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
70087         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
70088         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
70089         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
70090         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
70091         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
70093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70094         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
70096         [BZ #14914]
70097         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
70098         whole low double instead of just low 47 bits when splitting values
70099         into two parts.
70101 2012-12-03  Allan McRae  <allan@archlinux.org>
70103         * manual/stdio.texi (Predefined Printf Handlers): Remove
70104         @hsep and @vsep usage.
70106 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
70108         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
70109         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
70111 2012-12-03  Jeff Law  <law@redhat.com>
70113         * time/sys/time.h (settimeofday): Do not mark TV argument
70114         as __nonnull.
70116 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
70118         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
70119         when currently writing and seek to current position when not.
70120         * libio/Makefile (tests): Remove bug-fclose1.
70121         * libio/bug-fclose1.c: Delete.
70123 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
70125         * manual/arith.texi (feenableexcept): Fix typo.
70126         (fedisableexcept): Likewise.
70128 2012-11-30  Roland McGrath  <roland@hack.frob.com>
70130         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
70131         second, differently-typed declaration, rather than a cast.
70133 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70135         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
70136         * include/rpc/svc.h: ... here.
70138 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
70140         [BZ #13013]
70141         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
70142         depending n and resplen2 to catch cases where answer
70143         equals answerp2.
70145 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
70147         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
70148         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
70150 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
70152         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
70154 2012-11-29  Roland McGrath  <roland@hack.frob.com>
70156         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
70158 2012-11-28  Jeff Law  <law@redhat.com>
70160         [BZ #13761]
70161         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
70162         dataset_temporary.  Track alloca usage into alloca_used.
70163         If dataset is large allocate and release it via malloc/free.
70165 2012-06-04  Florian Weimer  <fweimer@redhat.com>
70167         [BZ #14197]
70168         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
70170 2012-11-28  David S. Miller  <davem@davemloft.net>
70172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70174 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
70176         [BZ #14803]
70177         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
70178         of pi/2 rounded to nearest to 64 bits.
70179         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
70180         nearest to 64 bits.
70181         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
70182         bits.
70184 2012-11-28  Jeff Law <law@redhat.com>
70185             Martin Osvald <mosvald@redhat.com>
70187         [BZ #14889]
70188         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
70189         * sunrpc/svc.c: Include time.h.
70190         (__svc_accept_failed): New function.
70191         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
70192         any reason other than EINTR, call __svc_accept_failed.
70193         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
70194         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
70196 2012-11-28  Andreas Schwab  <schwab@suse.de>
70198         * scripts/abilist.awk: Also handle indirect functions in .opd
70199         section.
70201 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
70203         [BZ #13881]
70204         * sysdeps/x86/fpu/powl_helper.c: New file.
70205         * sysdeps/x86/fpu/Makefile: Likewise.
70206         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
70207         (p3): New object.
70208         (__ieee754_powl): Use __powl_helper for finite arguments except
70209         integer exponents below 8.
70210         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
70211         (p3): New object.
70212         (__ieee754_powl): Use __powl_helper for finite arguments except
70213         integer exponents below 8.
70214         * math/libm-test.inc (pow_test): Add more tests and enable some
70215         previously disabled tests.
70216         * sysdeps/i386/fpu/libm-test-ulps: Update.
70217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70219 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70220             Carlos O'Donell  <carlos_odonell@mentor.com>
70222         * nss/makedb.c (is_prime): Assert that input is odd and greater
70223         than 4.  Note that fact in a comment too.
70224         (next_prime): Add 4 to input.
70226 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70228         [BZ #11741]
70229         * libio/Makefile (tests): Add test case tst-fwrite-error.
70230         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
70231         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
70232         * libio/tst-fwrite-error.c: New test case.
70234 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
70236         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
70237         before casting to void *.
70238         * include/libc-internal.h (__pointer_type): New macro.
70239         (__integer_if_pointer_type_sub): Likewise.
70240         (__integer_if_pointer_type): Likewise.
70241         (cast_to_integer): Likewise.
70242         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
70243         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
70244         before casting to atomic64_t.
70245         (atomic_exchange_acq): Likewise.
70246         (__arch_exchange_and_add_body): Likewise.
70247         (__arch_add_body): Likewise.
70248         (atomic_add_negative): Likewise.
70249         (atomic_add_zero): Likewise.
70251 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
70253         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
70254         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
70255         (add_fdes): Likewise.
70256         (linear_search_fdes): Likewise.
70257         (binary_search_unencoded_fdes): Likewise.
70259 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
70261         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
70263 2012-11-24  Adam Conrad  <adconrad@0c3.net>
70265         * configure.in: Autodetect C++ header directories.
70266         * configure: Regenerated.
70268 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
70270         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
70272 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
70274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70276 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
70278         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
70279         LDBL_MANT_DIG == 106]: Disable some tests.
70280         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70281         Likewise.
70282         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70283         Likewise.
70285         [BZ #14871]
70286         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
70287         input for small inputs.  Return +/- pi/2 for large inputs.
70288         * math/libm-test.inc (atan_test): Add more tests.
70290         * sysdeps/generic/unwind-dw2-fde-glibc.c
70291         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
70292         __attribute__ ((unused)).
70294         [BZ #14645]
70295         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
70296         x * y if x and y are nonzero and z is zero.
70298         [BZ #14811]
70299         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
70300         nonzero exponents with absolute value below 0x1p-117 to +/-
70301         0x1p-117.
70303         [BZ #14869]
70304         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
70305         up arguments below 2**-450, not just those below 2**-500.
70306         * math/libm-test.inc (hypot_test): Add another test.
70308         [BZ #14868]
70309         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
70310         Return a+b for ratio over 2**120, not 2**60.
70311         * math/libm-test.inc (hypot_test): Add another test.
70313         * math/libm-test.inc (clog_test): Use
70314         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
70315         (clog10_test): Likewise.
70317         [BZ #6778]
70318         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
70320 2012-11-22  Andreas Schwab  <schwab@suse.de>
70322         * sysdeps/i386/fpu/libm-test-ulps: Update.
70324 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
70326         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
70327         printf output with newline.
70329 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
70331         [BZ #14865]
70332         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
70333         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
70334         -z nodlopen, -z initfirst and -z execstack support.
70335         * configure: Regenerated.
70337         * elf/elf.h (DF_1_NODIRECT): New macro.
70338         (DF_1_IGNMULDEF): Likewise.
70339         (DF_1_NOKSYMS): Likewise.
70340         (DF_1_NOHDR): Likewise.
70341         (DF_1_EDITED): Likewise.
70342         (DF_1_NORELOC): Likewise.
70343         (DF_1_SYMINTPOSE): Likewise.
70344         (DF_1_GLOBAUDIT): Likewise.
70345         (DF_1_SINGLETON): Likewise.
70346         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
70347         DT_1_SUPPORTED_MASK bits.
70348         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
70350 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
70352         * sysdeps/unix/make-syscalls.sh: Document prefixes.
70354 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
70356         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
70357         macro.
70359         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
70360         (sendmmsg): Move declarations...
70361         * socket/sys/socket.h: ... here.
70362         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
70363         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
70364         include it from...
70365         * socket/recvmmsg.c: ... this new file.
70366         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
70367         (sendmmsg): Rename to __sendmmsg, create weak alias and make
70368         definition of __sendmmsg hidden.
70369         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
70370         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
70371         Move ENOSYS stub into and include it from...
70372         * socket/sendmmsg.c: ... this new file.
70373         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
70374         (sysdep_routines): Move recvmmsg and sendmmsg...
70375         * socket/Makefile (routines): ... here.
70376         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
70377         (GLIBC_PRIVATE): Add __sendmmsg.
70378         * include/sys/socket.h (__sendmmsg): Add declarations.
70379         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
70380         sendmmsg.
70382 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
70384         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
70385         variable I1 with __attribute__ ((unused)).
70386         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70388 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70390         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
70391         DUMMY variables with __attribute__ ((unused)).
70393         * bits/byteswap.h: Include <bits/types.h>.
70394         (__bswap_64): Use __uint64_t instead of unsigned long long int.
70396 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70398         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
70399         string_t.  Do not manually set errno.
70400         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
70401         length with __strnlen.  Make sure to both set errno and return it on
70402         failure.
70404 2012-11-19  David S. Miller  <davem@davemloft.net>
70406         With help from Joseph Myers.
70407         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
70408         very large arguments properly.
70409         * math/libm-test.inc (atan_test): New tests.
70410         (atan2_test): New tests.
70411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70412         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70414 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70416         [BZ #14856]
70417         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
70418         Define to 3.
70420         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
70421         [POSIX] (EADDRNOTAVAIL): Likewise.
70422         [POSIX] (EAFNOSUPPORT): Likewise.
70423         [POSIX] (EALREADY): Likewise.
70424         [POSIX] (ECONNABORTED): Likewise.
70425         [POSIX] (ECONNREFUSED): Likewise.
70426         [POSIX] (ECONNRESET): Likewise.
70427         [POSIX] (EDESTADDRREQ): Likewise.
70428         [POSIX] (EDQUOT): Likewise.
70429         [POSIX] (EHOSTUNREACH): Likewise.
70430         [POSIX] (EIDRM): Likewise.
70431         [POSIX] (EISCONN): Likewise.
70432         [POSIX] (ELOOP): Likewise.
70433         [POSIX] (EMULTIHOP): Likewise.
70434         [POSIX] (ENETDOWN): Likewise.
70435         [POSIX] (ENETUNREACH): Likewise.
70436         [POSIX] (ENOBUFS): Likewise.
70437         [POSIX] (ENODATA): Likewise.
70438         [POSIX] (ENOLINK): Likewise.
70439         [POSIX] (ENOMSG): Likewise.
70440         [POSIX] (ENOPROTOOPT): Likewise.
70441         [POSIX] (ENOSR): Likewise.
70442         [POSIX] (ENOSTR): Likewise.
70443         [POSIX] (ENOTCONN): Likewise.
70444         [POSIX] (ENOTSOCK): Likewise.
70445         [POSIX] (EOPNOTSUPP): Likewise.
70446         [POSIX] (EOVERFLOW): Likewise.
70447         [POSIX] (EPROTO): Likewise.
70448         [POSIX] (EPROTONOSUPPORT): Likewise.
70449         [POSIX] (EPROTOTYPE): Likewise.
70450         [POSIX] (ESTALE): Likewise.
70451         [POSIX] (ETIME): Likewise.
70452         [POSIX] (ETXTBSY): Likewise.
70453         [POSIX] (EWOULDBLOCK): Likewise.
70454         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
70455         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
70456         [POSIX] (SEEK_CUR): Likewise.
70457         [POSIX] (SEEK_END): Likewise.
70458         [POSIX || UNIX98] (mode_t): Do not require.
70459         [POSIX] (off_t): Likewise.
70460         [POSIX] (pid_t): Likewise.
70461         [POSIX] (sys/stat.h): Do not allow header.
70462         [POSIX] (unistd.h): Likewise.
70463         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
70464         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
70465         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
70466         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
70467         require.
70468         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
70469         sigevent): Specify elements.
70470         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
70471         entry.
70472         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
70473         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
70475         * conform/data/cpio.h-data [POSIX]: Disable whole file.
70476         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
70477         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
70478         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
70479         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
70480         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
70481         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
70482         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
70483         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
70484         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
70485         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
70486         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
70487         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
70488         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
70489         Likewise.
70490         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
70491         Likewise.
70492         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
70493         Likewise.
70494         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
70495         Likewise.
70496         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
70497         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
70498         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
70499         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
70500         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
70501         Specify lower bound on value.
70502         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
70503         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
70504         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
70505         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
70506         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
70507         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
70508         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
70509         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
70510         value.
70511         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
70512         as optional.
70513         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
70514         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
70515         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
70516         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
70517         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
70518         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
70519         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
70520         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
70521         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
70522         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
70523         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
70524         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
70525         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
70526         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
70527         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
70528         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
70529         entry.
70530         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
70531         optional.
70532         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
70533         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
70534         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
70535         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
70536         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
70537         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
70538         Likewise.
70539         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
70540         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
70541         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
70542         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
70543         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
70544         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
70545         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
70546         as optional.
70547         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
70548         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
70549         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
70550         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
70551         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
70552         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
70553         specify as optional.
70554         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
70555         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
70556         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
70557         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
70558         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
70559         [XPG3] (NL_LANGMAX): Likewise.
70560         [POSIX || XPG3] (NL_MSGMAX): Likewise.
70561         [POSIX || XPG3] (NL_NMAX): Likewise.
70562         [POSIX || XPG3] (NL_SETMAX): Likewise.
70563         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
70564         [XPG3] (NZERO): Likewise.
70565         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
70566         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
70567         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
70568         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
70569         (REG_ERANGE): Expect.
70570         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
70571         optional-constant.
70572         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
70573         Use (void) in prototype.
70574         [POSIX] (*_t): Allow.
70575         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
70576         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
70577         (WRDE_BADVAL): Expect.
70579         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
70580         expect.
70581         [XPG3 || XPG4] (O_RSYNC): Likewise.
70582         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
70583         Likewise.
70584         [XPG3 || XPG4] (pthread_sigmask): Likewise.
70585         [XPG3 || XPG4] (sigqueue): Likewise.
70586         [XPG3 || XPG4] (sigtimedwait): Likewise.
70587         [XPG3 || XPG4] (sigwaitinfo): Likewise.
70588         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
70589         [XPG3 || XPG4] (vsnprintf): Likewise.
70590         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
70591         Likewise.
70592         [XPG3 || XPG4] (blksize_t): Likewise.
70593         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
70594         Likewise.
70595         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
70596         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
70597         [XPG3 || XPG4] (struct itimerspec): Likewise.
70598         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
70599         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
70600         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
70601         [XPG3 || XPG4] (clockid_t): Likewise.
70602         [XPG3 || XPG4] (timer_t): Likewise.
70603         [XPG3 || XPG4] (clock_getres): Likewise.
70604         [XPG3 || XPG4] (clock_gettime): Likewise.
70605         [XPG3 || XPG4] (clock_settime): Likewise.
70606         [XPG3 || XPG4] (nanosleep): Likewise.
70607         [XPG3 || XPG4] (timer_create): Likewise.
70608         [XPG3 || XPG4] (timer_delete): Likewise.
70609         [XPG3 || XPG4] (timer_gettime): Likewise.
70610         [XPG3 || XPG4] (timer_getoverrun): Likewise.
70611         [XPG3 || XPG4] (timer_settime): Likewise.
70612         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
70613         [XPG3 || XPG4] (getlogin_r): Likewise.
70614         [XPG3 || XPG4] (pread): Likewise.
70615         [XPG3 || XPG4] (pthread_atfork): Likewise.
70616         [XPG3 || XPG4] (pwrite): Likewise.
70618         [BZ #14835]
70619         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
70620         <bits/siginfo.h>.
70622 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70624         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
70625         finalizing MALLSTREAM.
70627         * sysdeps/mach/hurd/syncfs.c: New file.
70629 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70631         [BZ #14719]
70632         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
70633         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
70634         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
70635         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
70636         (_nss_dns_gethostbyname4_r): Likewise.
70637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
70638         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
70640 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
70642         [BZ #13763]
70643         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
70645 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
70647         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
70648         * elf/cache.c (print_entry): Print ",AArch64" for
70649         FLAG_AARCH64_LIB64
70651         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
70652         * elf/cache.c (print_entry): Print ",hard-float" for
70653         FLAG_ARM_LIBHF.
70655 2012-11-18  David S. Miller  <davem@davemloft.net>
70657         With help from Joseph Myers.
70658         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
70659         cutoff to 2**-13.
70660         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
70661         cutoff to 2**-25.
70662         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
70663         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
70664         small.
70665         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
70666         * math/libm-test.inc (y0_test): New tests.
70667         (y1_test): New tests.
70668         * sysdeps/i386/fpu/libm-test-ulps: Update.
70669         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70672 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
70674         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
70675         64-bit targets.
70676         * configure: Regenerated.
70678 2012-11-17  David S. Miller  <davem@davemloft.net>
70680         [BZ #14811]
70681         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
70682         nonzero exponents with absolute value below 0x1p-128 to +/-
70683         0x1p-128.
70685 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
70687         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
70689         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
70691         * posix/getconf-speclist.c: New file.
70692         * posix/posix-envs.def: Likewise.
70693         * posix/confstr.c (START_ENV_GROUP): New macro.
70694         (END_ENV_GROUP): Likewise.
70695         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
70696         (KNOWN_PRESENT_ENV_STRING): Likewise.
70697         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
70698         (UNKNOWN_ENVIRONMENT): Likewise.
70699         (confstr): Include posix-envs.def instead of handling
70700         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
70701         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
70702         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
70703         (END_ENV_GROUP): Likewise.
70704         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
70705         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
70706         (UNKNOWN_ENVIRONMENT): Likewise.
70707         (__sysconf): Include posix-envs.def instead of handling associated
70708         cases directly here.
70709         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
70710         preprocessing getconf-speclist.c rather than running getconf or
70711         generating empty file.
70713 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
70715         * scripts/check-local-headers.sh: Ignore 'mach' headers.
70717 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
70719         [BZ #14672]
70720         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
70722 2012-11-16  David S. Miller  <davem@davemloft.net>
70724         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
70725         smaller than LDBL_EPSILON/2.0L, just return xm1.
70727 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
70729         * elf/tst-array1.c (init): Set constructor priority to 1000.
70730         (fini): Set destructor priority to 1000.
70731         * elf/tst-array2dep.c: Likewise.
70733 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70735         [BZ #11741]
70736         * libio/fileops.c (_IO_new_file_write): Correctly return error.
70737         (_IO_new_file_xsputn): Also return EOF if none of the input
70738         data was written when overflow failed.
70739         * libio/iopadn.c (_IO_padn): Likewise.
70740         * libio/iowpadn.c (_IO_wpadn): Likewise.
70741         * stdio-common/tst-put-error.c: Add copyright notice.
70742         (do_test): Add case for printing padded string.
70743         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
70744         _IO_padn returned error.
70745         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
70746         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
70747         return EOF.
70749 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70751         * libio/libioP.h: Add comment note that the references to C++
70752         bits are now obsolete.
70754 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70756         * math/libm-test.inc (check_complex): Use asprintf.
70758 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
70760         * debug/pcprofiledump.c (print_version): Update copyright year.
70761         * malloc/memusagestat.c (print_version): Likewise.
70763 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
70765         [BZ #14831]
70766         * elf/Makefile (tests): Add tst-audit8.
70767         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
70768         ($(objpfx)tst-audit8.out): New target.
70769         (tst-audit8-ENV): New variable.
70770         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
70771         audit if l_reloc_result is NULL.
70772         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
70773         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
70774         * elf/tst-audit8.c: New file.
70776 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70778         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
70779         * misc/Makefile (CFLAGS-select.c): Define.
70780         * posix/Makefile (CFLAGS-pause.c): Define.
70782 2012-11-13  David S. Miller  <davem@davemloft.net>
70784         * crypt/Makefile: Move test targets after toplevel Rules
70785         inclusion.  Grab any necessary sysdep routines when linking.
70786         * crypt/md5.c (md5_process_block): Remove define, we will always
70787         name it __md5_process_block.
70788         (md5_finish_ctx): Update md5_process_block call.
70789         (md5_stream): Likewise.
70790         (md5_process_bytes): Likewise.
70791         (md5_process_block): Rename to __md5_process_block and move to ...
70792         * crypt/md5-block.c: ... here.
70793         * crypt/sha256.c (sha256_process_block): Move to ...
70794         * crypt/sha256-block.c: ... here.
70795         * crypt/sha512.c (sha512_process_block): Move to ...
70796         * crypt/sha512-block.c: ... here.
70797         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
70798         path.
70799         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
70800         * sysdeps/sparc/sparc64/multiarch/Makefile
70801         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
70802         crypt subdir.
70803         (localedef-aux): Add md5 crypto assembler when in locale subdir.
70804         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
70805         multiarch changes.
70806         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
70807         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
70808         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
70809         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
70810         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
70811         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
70812         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
70813         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
70814         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
70815         file.
70816         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
70817         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
70818         file.
70819         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
70821 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
70823         * timezone/tzselect.ksh: Update from tzcode git revision
70824         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
70825         * timezone/zdump.c: Likewise.
70826         * timezone/zic.c: Likewise.
70827         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
70828         in TZVERSION setting, not $(PKGVERSION).
70829         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
70830         REPORT_BUGS_TO settings.
70832         [BZ #14838]
70833         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
70834         macro.
70836 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70838         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
70839         detection to immediately after _FP_ROUND().
70840         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
70841         bits are 0.
70843 2012-11-11  David S. Miller  <davem@davemloft.net>
70845         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
70846         inttypes.h
70847         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
70848         __close rather than their public counterparts.
70850 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
70852         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
70853         file.
70854         [UNIX98] (sem_timedwait): Do not expect.
70855         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
70856         [XPG4 || UNIX98] (sockatmark): Do not expect.
70857         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
70858         (clock_getcpuclockid): Do not expect.
70859         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
70860         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
70861         Do not expect.
70862         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
70863         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
70864         [UNIX98] (vwscanf): Likewise.
70865         [UNIX98] (vswscanf): Likewise.
70867 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
70869         * timezone/version.h: Remove file.
70870         * timezone/README: Do not refer to version.h.
70871         * timezone/Makefile ($(objpfx)zic.o): New dependency on
70872         $(objpfx)version.h.
70873         ($(objpfx)zdump.o): Likewise.
70874         ($(objpfx)version.h): New target.
70876         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
70877         2012i.
70878         * timezone/README: Don't mention modification to tzselect.ksh.
70879         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
70880         work on unmodified tzselect.ksh.  Substitute version numbers in
70881         tzselect.ksh.
70883         * Makefile (format-me): Remove.
70884         (INSTALL): Adjust indentation.  Use commands directly instead of
70885         using $(format-me).
70887         * aclocal.m4 (ACX_PKGVERSION): New macro.
70888         (ACX_BUGURL): Likewise.
70889         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
70890         (PKGVERSION): New AC_DEFINE_UNQUOTED.
70891         (REPORT_BUGS_TO): Likewise.
70892         * configure: Regenerated.
70893         * config.h.in (PKGVERSION): New macro.
70894         (REPORT_BUGS_TO): Likewise.
70895         * config.make.in (PKGVERSION): New variable.
70896         (PKGVERSION_TEXI): Likewise.
70897         (REPORT_BUGS_TO): Likewise.
70898         (REPORT_BUGS_TEXI): Likewise.
70899         * Makefile (format-me): Use -I$(common-objpfx)manual.
70900         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
70901         ($(common-objpfx)manual/%): New target.
70902         (manual/%): Remove target.
70903         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
70904         (print_version): Use PKGVERSION.
70905         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
70906         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
70907         and REPORT_BUGS_TO.
70908         ($(objpfx)xtrace): Likewise.
70909         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
70910         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
70911         (print_version): Use PKGVERSION.
70912         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
70913         (do_version): Use PKGVERSION.
70914         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
70915         REPORT_BUGS_TO.
70916         (common-ldd-rewrite): Likewise.
70917         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
70918         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
70919         (print_version): Use PKGVERSION.
70920         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
70921         * elf/pldd.c (argp_program_bug_address): Remove variable.
70922         (more_help): New function.
70923         (argp): Use more_help.
70924         (print_version): Use PKGVERSION.
70925         * elf/sln.c (main): Use PKGVERSION.
70926         (usage): Use REPORT_BUGS_TO.
70927         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
70928         (top level): Use PKGVERSION.
70929         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
70930         (print_version): Use PKGVERSION.
70931         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
70932         (print_version): Use PKGVERSION.
70933         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
70934         (print_version): Use PKGVERSION.
70935         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
70936         (print_version): Use PKGVERSION.
70937         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
70938         (print_version): Use PKGVERSION.
70939         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
70940         (print_version): Use PKGVERSION.
70941         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
70942         and BUGURL.
70943         ($(objpfx)memusage): Likewise.
70944         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
70945         (do_version): Use PKGVERSION.
70946         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
70947         (print_version): Use PKGVERSION.
70948         * malloc/mtrace.pl ($PACKAGE): Remove variable.
70949         ($PKGVERSION): New variable.
70950         ($REPORT_BUGS_TO): Likewise.
70951         (usage): Use $REPORT_BUGS_TO.
70952         (top level): Use $PKGVERSION.
70953         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
70954         ($(objpfx)pkgvers.texi): New rule.
70955         ($(objpfx)stamp-pkgvers): Likewise.
70956         * manual/install.texi: Include pkgvers.texi.
70957         (--with-pkgversion): Document new configure option.
70958         (--with-bugurl): Likewise.
70959         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
70960         than necessarily for this particular distribution.  Use
70961         REPORT_BUGS_TO for where to report bugs.
70962         * INSTALL: Regenerated.
70963         * manual/libc.texinfo: Include pkgvers.texi.
70964         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
70965         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
70966         (print_version): Use PKGVERSION.
70967         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
70968         (print_version): Use PKGVERSION.
70969         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
70970         (print_version): Use PKGVERSION.
70971         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
70972         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
70973         macro.
70974         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
70975         (print_version): Use PKGVERSION.
70976         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
70977         (print_version): Use PKGVERSION.
70978         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
70979         and PKGVERSION.
70981         * timezone/checktab.awk: Update from tzcode 2012i.
70982         * timezone/ialloc.c: Likewise.
70983         * timezone/private.h: Likewise.
70984         * timezone/scheck.c: Likewise.
70985         * timezone/tzfile.h: Likewise.
70986         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
70987         (TZVERSION): Hardcode tzcode version number.
70988         * timezone/zdump.c: Update from tzcode 2012i.
70989         * timezone/zic.c: Likewise.
70990         * timezone/version.h: New file.
70991         * timezone/README: Describe version.h.  Update upstream location.
70993         [BZ #14824]
70994         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
70995         (mktemp): Enable declaration.
70996         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
70997         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
70998         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
70999         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
71000         Likewise.
71001         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
71002         Likewise.
71003         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
71004         Likewise.
71005         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
71006         Likewise.
71007         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
71008         Likewise.
71009         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
71010         Likewise.
71012         [BZ #14821]
71013         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
71014         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
71015         for copies of such integer values.
71016         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71017         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71019 2012-11-09  Andreas Jaeger  <aj@suse.de>
71021         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
71022         definitions and declarations that are provided by
71023         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
71025 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71027         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
71028         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
71029         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
71030         definition.
71032 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71034         * elf/elf.h: Update comment before AArch64 relocations.
71036 2012-11-07  David S. Miller  <davem@davemloft.net>
71038         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
71039         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71040         (__start_context): Declare.
71041         (__makecontext_ret): Delete.
71042         (__makecontext): Hook up __start_context instead of
71043         __makecontext_ret.
71044         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
71045         (sysdep_routines): Add __start_context when in stdlib.
71047 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71049         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
71050         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
71051         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
71052         hardcoded "nm".
71053         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
71054         (READELF): New variable.  Use it instead of hardcoded "readelf".
71056 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71058         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
71059         * sysdeps/x86/Makefile: Here.
71060         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
71061         * sysdeps/x86/tst-xmmymm.sh: This.
71063 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71065         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
71066         expectations.
71067         [UNIX98] (pthread_barrier_t): Do not expect.
71068         [UNIX98] (pthread_barrierattr_t): Likewise.
71069         [UNIX98] (pthread_spinlock_t): Likewise.
71070         [UNIX98] (pthread_barrier_destroy): Likewise.
71071         [UNIX98] (pthread_barrier_init): Likewise.
71072         [UNIX98] (pthread_barrier_wait): Likewise.
71073         [UNIX98] (pthread_barrierattr_destroy): Likewise.
71074         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
71075         [UNIX98] (pthread_barrierattr_init): Likewise.
71076         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
71077         [UNIX98] (pthread_getcpuclockid): Likewise.
71078         [UNIX98] (pthread_mutex_timedlock): Likewise.
71079         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
71080         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
71081         [UNIX98] (pthread_sigmask): Likewise.
71082         [UNIX98] (pthread_spin_destroy): Likewise.
71083         [UNIX98] (pthread_spin_init): Likewise.
71084         [UNIX98] (pthread_spin_lock): Likewise.
71085         [UNIX98] (pthread_spin_trylock): Likewise.
71086         [UNIX98] (pthread_spin_unlock): Likewise.
71087         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
71088         Do not expect.
71089         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
71090         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
71091         [XPG3 || XPG4] (pthread_cond_t): Likewise.
71092         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
71093         [XPG3 || XPG4] (pthread_key_t): Likewise.
71094         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
71095         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
71096         [XPG3 || XPG4] (pthread_once_t): Likewise.
71097         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
71098         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
71099         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
71100         [XPG3 || XPG4] (pthread_t): Likewise.
71102         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
71103         not expect.
71104         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
71106         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
71107         Change function return type to int.
71109         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
71110         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
71111         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
71112         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
71113         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
71114         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
71115         [!POSIX] (posix_madvise): Likewise.
71116         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
71117         && !UNIX98].
71118         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
71119         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
71120         (mode_t): Likewise.
71121         (posix_mem_offset): Likewise.
71122         (posix_typed_mem_get_info): Likewise.
71123         (posix_typed_mem_open): Likewise.
71125         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
71126         Change condition to [XOPEN2K8].
71128         * conform/conformtest.pl: Preprocess allow-header data with -x c
71129         instead of from stdin.
71130         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
71131         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
71132         [C99-based standards] (cerfc): Likewise.
71133         [C99-based standards] (cexp2): Likewise.
71134         [C99-based standards] (cexpm1): Likewise.
71135         [C99-based standards] (clog10): Likewise.
71136         [C99-based standards] (clog1p): Likewise.
71137         [C99-based standards] (clog2): Likewise.
71138         [C99-based standards] (clgamma): Likewise.
71139         [C99-based standards] (ctgamma): Likewise.
71140         [C99-based standards] (cerff): Likewise.
71141         [C99-based standards] (cerfcf): Likewise.
71142         [C99-based standards] (cexp2f): Likewise.
71143         [C99-based standards] (cexpm1f): Likewise.
71144         [C99-based standards] (clog10f): Likewise.
71145         [C99-based standards] (clog1pf): Likewise.
71146         [C99-based standards] (clog2f): Likewise.
71147         [C99-based standards] (clgammaf): Likewise.
71148         [C99-based standards] (ctgammaf): Likewise.
71149         [C99-based standards] (cerfl): Likewise.
71150         [C99-based standards] (cerfcl): Likewise.
71151         [C99-based standards] (cexp2l): Likewise.
71152         [C99-based standards] (cexpm1l): Likewise.
71153         [C99-based standards] (clog10l): Likewise.
71154         [C99-based standards] (clog1pl): Likewise.
71155         [C99-based standards] (clog2l): Likewise.
71156         [C99-based standards] (clgammal): Likewise.
71157         [C99-based standards] (ctgammal): Likewise.
71158         * conform/data/inttypes.h-data [C99-based standards]: Include
71159         stdint.h-data.  Remove all expectations for stdint.h contents.
71160         [C99-based standards] (PRI*): Do not allow.
71161         [C99-based standards] (SCN*): Likewise.
71162         [C99-based standards] (*_t): Likewise.
71163         [C99-based-standards] (PRId8): Expect macro.
71164         [C99-based-standards] (PRIi8): Likewise.
71165         [C99-based-standards] (PRIo8): Likewise.
71166         [C99-based-standards] (PRIu8): Likewise.
71167         [C99-based-standards] (PRIx8): Likewise.
71168         [C99-based-standards] (PRIX8): Likewise.
71169         [C99-based-standards] (SCNd8): Likewise.
71170         [C99-based-standards] (SCNi8): Likewise.
71171         [C99-based-standards] (SCNo8): Likewise.
71172         [C99-based-standards] (SCNu8): Likewise.
71173         [C99-based-standards] (SCNx8): Likewise.
71174         [C99-based-standards] (PRIdLEAST8): Likewise.
71175         [C99-based-standards] (PRIiLEAST8): Likewise.
71176         [C99-based-standards] (PRIoLEAST8): Likewise.
71177         [C99-based-standards] (PRIuLEAST8): Likewise.
71178         [C99-based-standards] (PRIxLEAST8): Likewise.
71179         [C99-based-standards] (PRIXLEAST8): Likewise.
71180         [C99-based-standards] (SCNdLEAST8): Likewise.
71181         [C99-based-standards] (SCNiLEAST8): Likewise.
71182         [C99-based-standards] (SCNoLEAST8): Likewise.
71183         [C99-based-standards] (SCNuLEAST8): Likewise.
71184         [C99-based-standards] (SCNxLEAST8): Likewise.
71185         [C99-based-standards] (PRIdFAST8): Likewise.
71186         [C99-based-standards] (PRIiFAST8): Likewise.
71187         [C99-based-standards] (PRIoFAST8): Likewise.
71188         [C99-based-standards] (PRIuFAST8): Likewise.
71189         [C99-based-standards] (PRIxFAST8): Likewise.
71190         [C99-based-standards] (PRIXFAST8): Likewise.
71191         [C99-based-standards] (SCNdFAST8): Likewise.
71192         [C99-based-standards] (SCNiFAST8): Likewise.
71193         [C99-based-standards] (SCNoFAST8): Likewise.
71194         [C99-based-standards] (SCNuFAST8): Likewise.
71195         [C99-based-standards] (SCNxFAST8): Likewise.
71196         [C99-based-standards] (PRId16): Likewise.
71197         [C99-based-standards] (PRIi16): Likewise.
71198         [C99-based-standards] (PRIo16): Likewise.
71199         [C99-based-standards] (PRIu16): Likewise.
71200         [C99-based-standards] (PRIx16): Likewise.
71201         [C99-based-standards] (PRIX16): Likewise.
71202         [C99-based-standards] (SCNd16): Likewise.
71203         [C99-based-standards] (SCNi16): Likewise.
71204         [C99-based-standards] (SCNo16): Likewise.
71205         [C99-based-standards] (SCNu16): Likewise.
71206         [C99-based-standards] (SCNx16): Likewise.
71207         [C99-based-standards] (PRIdLEAST16): Likewise.
71208         [C99-based-standards] (PRIiLEAST16): Likewise.
71209         [C99-based-standards] (PRIoLEAST16): Likewise.
71210         [C99-based-standards] (PRIuLEAST16): Likewise.
71211         [C99-based-standards] (PRIxLEAST16): Likewise.
71212         [C99-based-standards] (PRIXLEAST16): Likewise.
71213         [C99-based-standards] (SCNdLEAST16): Likewise.
71214         [C99-based-standards] (SCNiLEAST16): Likewise.
71215         [C99-based-standards] (SCNoLEAST16): Likewise.
71216         [C99-based-standards] (SCNuLEAST16): Likewise.
71217         [C99-based-standards] (SCNxLEAST16): Likewise.
71218         [C99-based-standards] (PRIdFAST16): Likewise.
71219         [C99-based-standards] (PRIiFAST16): Likewise.
71220         [C99-based-standards] (PRIoFAST16): Likewise.
71221         [C99-based-standards] (PRIuFAST16): Likewise.
71222         [C99-based-standards] (PRIxFAST16): Likewise.
71223         [C99-based-standards] (PRIXFAST16): Likewise.
71224         [C99-based-standards] (SCNdFAST16): Likewise.
71225         [C99-based-standards] (SCNiFAST16): Likewise.
71226         [C99-based-standards] (SCNoFAST16): Likewise.
71227         [C99-based-standards] (SCNuFAST16): Likewise.
71228         [C99-based-standards] (SCNxFAST16): Likewise.
71229         [C99-based-standards] (PRId32): Likewise.
71230         [C99-based-standards] (PRIi32): Likewise.
71231         [C99-based-standards] (PRIo32): Likewise.
71232         [C99-based-standards] (PRIu32): Likewise.
71233         [C99-based-standards] (PRIx32): Likewise.
71234         [C99-based-standards] (PRIX32): Likewise.
71235         [C99-based-standards] (SCNd32): Likewise.
71236         [C99-based-standards] (SCNi32): Likewise.
71237         [C99-based-standards] (SCNo32): Likewise.
71238         [C99-based-standards] (SCNu32): Likewise.
71239         [C99-based-standards] (SCNx32): Likewise.
71240         [C99-based-standards] (PRIdLEAST32): Likewise.
71241         [C99-based-standards] (PRIiLEAST32): Likewise.
71242         [C99-based-standards] (PRIoLEAST32): Likewise.
71243         [C99-based-standards] (PRIuLEAST32): Likewise.
71244         [C99-based-standards] (PRIxLEAST32): Likewise.
71245         [C99-based-standards] (PRIXLEAST32): Likewise.
71246         [C99-based-standards] (SCNdLEAST32): Likewise.
71247         [C99-based-standards] (SCNiLEAST32): Likewise.
71248         [C99-based-standards] (SCNoLEAST32): Likewise.
71249         [C99-based-standards] (SCNuLEAST32): Likewise.
71250         [C99-based-standards] (SCNxLEAST32): Likewise.
71251         [C99-based-standards] (PRIdFAST32): Likewise.
71252         [C99-based-standards] (PRIiFAST32): Likewise.
71253         [C99-based-standards] (PRIoFAST32): Likewise.
71254         [C99-based-standards] (PRIuFAST32): Likewise.
71255         [C99-based-standards] (PRIxFAST32): Likewise.
71256         [C99-based-standards] (PRIXFAST32): Likewise.
71257         [C99-based-standards] (SCNdFAST32): Likewise.
71258         [C99-based-standards] (SCNiFAST32): Likewise.
71259         [C99-based-standards] (SCNoFAST32): Likewise.
71260         [C99-based-standards] (SCNuFAST32): Likewise.
71261         [C99-based-standards] (SCNxFAST32): Likewise.
71262         [C99-based-standards] (PRId64): Likewise.
71263         [C99-based-standards] (PRIi64): Likewise.
71264         [C99-based-standards] (PRIo64): Likewise.
71265         [C99-based-standards] (PRIu64): Likewise.
71266         [C99-based-standards] (PRIx64): Likewise.
71267         [C99-based-standards] (PRIX64): Likewise.
71268         [C99-based-standards] (SCNd64): Likewise.
71269         [C99-based-standards] (SCNi64): Likewise.
71270         [C99-based-standards] (SCNo64): Likewise.
71271         [C99-based-standards] (SCNu64): Likewise.
71272         [C99-based-standards] (SCNx64): Likewise.
71273         [C99-based-standards] (PRIdLEAST64): Likewise.
71274         [C99-based-standards] (PRIiLEAST64): Likewise.
71275         [C99-based-standards] (PRIoLEAST64): Likewise.
71276         [C99-based-standards] (PRIuLEAST64): Likewise.
71277         [C99-based-standards] (PRIxLEAST64): Likewise.
71278         [C99-based-standards] (PRIXLEAST64): Likewise.
71279         [C99-based-standards] (SCNdLEAST64): Likewise.
71280         [C99-based-standards] (SCNiLEAST64): Likewise.
71281         [C99-based-standards] (SCNoLEAST64): Likewise.
71282         [C99-based-standards] (SCNuLEAST64): Likewise.
71283         [C99-based-standards] (SCNxLEAST64): Likewise.
71284         [C99-based-standards] (PRIdFAST64): Likewise.
71285         [C99-based-standards] (PRIiFAST64): Likewise.
71286         [C99-based-standards] (PRIoFAST64): Likewise.
71287         [C99-based-standards] (PRIuFAST64): Likewise.
71288         [C99-based-standards] (PRIxFAST64): Likewise.
71289         [C99-based-standards] (PRIXFAST64): Likewise.
71290         [C99-based-standards] (SCNdFAST64): Likewise.
71291         [C99-based-standards] (SCNiFAST64): Likewise.
71292         [C99-based-standards] (SCNoFAST64): Likewise.
71293         [C99-based-standards] (SCNuFAST64): Likewise.
71294         [C99-based-standards] (SCNxFAST64): Likewise.
71295         [C99-based-standards] (PRIdMAX): Likewise.
71296         [C99-based-standards] (PRIiMAX): Likewise.
71297         [C99-based-standards] (PRIoMAX): Likewise.
71298         [C99-based-standards] (PRIuMAX): Likewise.
71299         [C99-based-standards] (PRIxMAX): Likewise.
71300         [C99-based-standards] (PRIXMAX): Likewise.
71301         [C99-based-standards] (SCNdMAX): Likewise.
71302         [C99-based-standards] (SCNiMAX): Likewise.
71303         [C99-based-standards] (SCNoMAX): Likewise.
71304         [C99-based-standards] (SCNuMAX): Likewise.
71305         [C99-based-standards] (SCNxMAX): Likewise.
71306         [C99-based-standards] (PRIdPTR): Likewise.
71307         [C99-based-standards] (PRIiPTR): Likewise.
71308         [C99-based-standards] (PRIoPTR): Likewise.
71309         [C99-based-standards] (PRIuPTR): Likewise.
71310         [C99-based-standards] (PRIxPTR): Likewise.
71311         [C99-based-standards] (PRIXPTR): Likewise.
71312         [C99-based-standards] (SCNdPTR): Likewise.
71313         [C99-based-standards] (SCNiPTR): Likewise.
71314         [C99-based-standards] (SCNoPTR): Likewise.
71315         [C99-based-standards] (SCNuPTR): Likewise.
71316         [C99-based-standards] (SCNxPTR): Likewise.
71317         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
71318         allow.
71319         * conform/data/stdint.h-data: Update comments to clarify
71320         requirements.
71321         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
71322         type.
71323         [C99-based standards] (INT8_MAX): Likewise.
71324         [C99-based standards] (INT16_MIN): Likewise.
71325         [C99-based standards] (INT16_MAX): Likewise.
71326         [C99-based standards] (INT32_MIN): Likewise.
71327         [C99-based standards] (INT32_MAX): Likewise.
71328         [C99-based standards] (INT64_MIN): Likewise.
71329         [C99-based standards] (INT64_MAX): Likewise.
71330         [C99-based standards] (UINT8_MAX): Likewise.
71331         [C99-based standards] (UINT16_MAX): Likewise.
71332         [C99-based standards] (UINT32_MAX): Likewise.
71333         [C99-based standards] (UINT64_MAX): Likewise.
71334         [C99-based standards] (INT_LEAST8_MIN): Likewise.
71335         [C99-based standards] (INT_LEAST8_MAX): Likewise.
71336         [C99-based standards] (INT_LEAST16_MIN): Likewise.
71337         [C99-based standards] (INT_LEAST16_MAX): Likewise.
71338         [C99-based standards] (INT_LEAST32_MIN): Likewise.
71339         [C99-based standards] (INT_LEAST32_MAX): Likewise.
71340         [C99-based standards] (INT_LEAST64_MIN): Likewise.
71341         [C99-based standards] (INT_LEAST64_MAX): Likewise.
71342         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
71343         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
71344         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
71345         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
71346         [C99-based standards] (INT_FAST8_MIN): Likewise.
71347         [C99-based standards] (INT_FAST8_MAX): Likewise.
71348         [C99-based standards] (INT_FAST16_MIN): Likewise.
71349         [C99-based standards] (INT_FAST16_MAX): Likewise.
71350         [C99-based standards] (INT_FAST32_MIN): Likewise.
71351         [C99-based standards] (INT_FAST32_MAX): Likewise.
71352         [C99-based standards] (INT_FAST64_MIN): Likewise.
71353         [C99-based standards] (INT_FAST64_MAX): Likewise.
71354         [C99-based standards] (UINT_FAST8_MAX): Likewise.
71355         [C99-based standards] (UINT_FAST16_MAX): Likewise.
71356         [C99-based standards] (UINT_FAST32_MAX): Likewise.
71357         [C99-based standards] (UINT_FAST64_MAX): Likewise.
71358         [C99-based standards] (INTPTR_MIN): Likewise.
71359         [C99-based standards] (INTPTR_MAX): Likewise.
71360         [C99-based standards] (UINTPTR_MAX): Likewise.
71361         [C99-based standards] (INTMAX_MIN): Likewise.
71362         [C99-based standards] (INTMAX_MAX): Likewise.
71363         [C99-based standards] (UINTMAX_MAX): Likewise.
71364         [C99-based standards] (PTRDIFF_MIN): Likewise.
71365         [C99-based standards] (PTRDIFF_MAX): Likewise.
71366         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
71367         [C99-based standards] (SIZE_MAX): Likewise.
71368         [C99-based standards] (WCHAR_MAX): Likewise.
71369         [C99-based standards] (WINT_MAX): Likewise.
71370         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
71371         constraint on value.
71372         [C99-based standards] (WCHAR_MIN): Likewise.
71373         [C99-based standards] (WINT_MIN): Likewise.
71374         [C99-based standards] (*_t): Allow.
71375         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
71376         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
71377         Include math.h-data and complex.h-data.  Remove all expectations
71378         of math.h and complex.h contents.
71379         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
71380         at end of line.
71381         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
71382         (struct tm): Expect tag.
71383         [C99-based-standards] (wcstof): Expect function.
71384         [C99-based-standards] (wcstold): Likewise.
71385         [C99-based-standards] (wcstoll): Likewise.
71386         [C99-based-standards] (wcstoull): Likewise.
71387         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
71388         macro-int-constant.  Specify type.
71389         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
71390         constraint on value.
71391         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71392         Specify type.
71393         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
71394         Specify value.
71395         [ISO C standards]: Do not allow headers.
71396         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
71397         wcs[abcdefghijklmnopqrstuvwxyz]*.
71398         [ISO C standards] (*_t): Do not allow.
71399         * conform/data/wctype.h-data [C99-based standards] (iswblank):
71400         Expect function.
71401         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
71402         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71403         Specify type.
71404         [ISO C standards]: Do not allow headers.
71405         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
71406         is[abcdefghijklmnopqrstuvwxyz]*.
71407         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
71408         to[abcdefghijklmnopqrstuvwxyz]*.
71409         [ISO C standards] (*_t): Do not allow.
71410         * conform/data/stdalign.h-data: New file.
71411         * conform/data/stdbool.h-data: Likewise.
71412         * conform/data/stdnoreturn.h-data: Likewise.
71414 2012-11-07  Roland McGrath  <roland@hack.frob.com>
71416         [BZ #14815]
71417         * manual/filesys.texi (Directory Entries): Typo fix.
71418         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
71420 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71422         * elf/elf.h (EM_AARCH64): New macro.
71423         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
71424         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
71425         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
71426         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
71427         (R_AARCH64_TLSDESC): Likewise.
71428         (NT_ARM_TLS): Likewise.
71429         (NT_ARM_HW_BREAK): Likewise.
71430         (NT_ARM_HW_WATCH): Likewise.
71432 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71434         [BZ #14811]
71435         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
71436         (__ieee754_powl): Saturate nonzero exponents with absolute value
71437         below 0x1p-79 to +/- 0x1p-79.
71438         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
71439         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
71440         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
71441         nonzero exponents with absolute value below 0x1p-32 to +/-
71442         0x1p-32.
71443         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
71444         (__ieee754_powl): Saturate nonzero exponents with absolute value
71445         below 0x1p-79 to +/- 0x1p-79.
71446         * math/libm-test.inc (pow_test): Add more tests.
71448 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71450         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
71451         _dl_s390_cap_flags with kernel. Increase string length.
71452         (_dl_s390_platforms): Add z196 and zEC12.
71454 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71456         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
71457         Change XOPEN21K to XOPEN2K.
71459 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
71461         * string/memmove.c: Use memcpy when possible.
71463 2012-11-06  Andreas Jaeger  <aj@suse.de>
71465         * po/eo.po: Update from translation team.
71467 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
71469         [BZ #14793]
71470         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
71471         exponent and small x and y exponents, scale x or y up.  Increase
71472         by 2 the exponent used in scaling up.
71473         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71474         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71475         * math/libm-test.inc (fma_test): Add more tests.
71476         (fma_test_towardzero): Likewise.
71477         (fma_test_downward): Likewise.
71478         (fma_test_upward): Likewise.
71480 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
71482         [BZ #14805]
71483         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
71484         fenv_t *.
71486         [BZ #14801]
71487         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
71488         namespace for names of struct fields.
71489         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
71490         fenv_t fields.
71491         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
71492         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
71494 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71496         [BZ #3665]
71497         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
71499 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71501         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
71502         PTR_DEMANGLE.
71504         [BZ #5246]
71505         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
71506         PTR_DEMANGLE.
71508 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
71510         [BZ #14797]
71511         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
71512         definitely overflow as x * y not x * y + z.
71513         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71514         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71515         * math/libm-test.inc (fma_test): Add more tests.
71516         (fma_test_towardzero): Likewise.
71517         (fma_test_downward): Likewise.
71518         (fma_test_upward): Likewise.
71520 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71522         [BZ #157]
71524         * include/stub-tag.h: Remove file.
71525         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
71526         '#include' of it.
71527         * manual/maint.texi (Porting): Don't reference it.
71528         * Makerules ($(objpfx)stubs): Likewise.
71529         * dirent/closedir.c: Don't include <stub-tag.h>.
71530         * dirent/dirfd.c: Likewise.
71531         * dirent/fdopendir.c: Likewise.
71532         * dirent/getdents.c: Likewise.
71533         * dirent/getdents64.c: Likewise.
71534         * dirent/opendir.c: Likewise.
71535         * dirent/readdir.c: Likewise.
71536         * dirent/readdir64.c: Likewise.
71537         * dirent/readdir64_r.c: Likewise.
71538         * dirent/readdir_r.c: Likewise.
71539         * dirent/rewinddir.c: Likewise.
71540         * dirent/seekdir.c: Likewise.
71541         * dirent/telldir.c: Likewise.
71542         * gmon/profil.c: Likewise.
71543         * grp/setgroups.c: Likewise.
71544         * inet/if_index.c: Likewise.
71545         * io/access.c: Likewise.
71546         * io/chdir.c: Likewise.
71547         * io/chmod.c: Likewise.
71548         * io/chown.c: Likewise.
71549         * io/close.c: Likewise.
71550         * io/dup.c: Likewise.
71551         * io/dup2.c: Likewise.
71552         * io/dup3.c: Likewise.
71553         * io/euidaccess.c: Likewise.
71554         * io/faccessat.c: Likewise.
71555         * io/fchdir.c: Likewise.
71556         * io/fchmod.c: Likewise.
71557         * io/fchmodat.c: Likewise.
71558         * io/fchown.c: Likewise.
71559         * io/fchownat.c: Likewise.
71560         * io/fcntl.c: Likewise.
71561         * io/flock.c: Likewise.
71562         * io/fstatfs.c: Likewise.
71563         * io/fstatfs64.c: Likewise.
71564         * io/fstatvfs.c: Likewise.
71565         * io/fstatvfs64.c: Likewise.
71566         * io/futimens.c: Likewise.
71567         * io/fxstat.c: Likewise.
71568         * io/fxstat64.c: Likewise.
71569         * io/fxstatat.c: Likewise.
71570         * io/fxstatat64.c: Likewise.
71571         * io/getcwd.c: Likewise.
71572         * io/isatty.c: Likewise.
71573         * io/lchmod.c: Likewise.
71574         * io/lchown.c: Likewise.
71575         * io/link.c: Likewise.
71576         * io/linkat.c: Likewise.
71577         * io/lseek.c: Likewise.
71578         * io/lseek64.c: Likewise.
71579         * io/lxstat64.c: Likewise.
71580         * io/mkdir.c: Likewise.
71581         * io/mkdirat.c: Likewise.
71582         * io/mkfifo.c: Likewise.
71583         * io/mkfifoat.c: Likewise.
71584         * io/open.c: Likewise.
71585         * io/open64.c: Likewise.
71586         * io/openat.c: Likewise.
71587         * io/openat64.c: Likewise.
71588         * io/pipe.c: Likewise.
71589         * io/pipe2.c: Likewise.
71590         * io/poll.c: Likewise.
71591         * io/posix_fadvise.c: Likewise.
71592         * io/posix_fadvise64.c: Likewise.
71593         * io/posix_fallocate.c: Likewise.
71594         * io/posix_fallocate64.c: Likewise.
71595         * io/read.c: Likewise.
71596         * io/readlink.c: Likewise.
71597         * io/readlinkat.c: Likewise.
71598         * io/rmdir.c: Likewise.
71599         * io/sendfile.c: Likewise.
71600         * io/sendfile64.c: Likewise.
71601         * io/statfs.c: Likewise.
71602         * io/statfs64.c: Likewise.
71603         * io/statvfs.c: Likewise.
71604         * io/statvfs64.c: Likewise.
71605         * io/symlink.c: Likewise.
71606         * io/symlinkat.c: Likewise.
71607         * io/ttyname.c: Likewise.
71608         * io/ttyname_r.c: Likewise.
71609         * io/umask.c: Likewise.
71610         * io/unlink.c: Likewise.
71611         * io/unlinkat.c: Likewise.
71612         * io/utime.c: Likewise.
71613         * io/utimensat.c: Likewise.
71614         * io/write.c: Likewise.
71615         * io/xmknod.c: Likewise.
71616         * io/xmknodat.c: Likewise.
71617         * io/xstat.c: Likewise.
71618         * io/xstat64.c: Likewise.
71619         * login/getpt.c: Likewise.
71620         * login/grantpt.c: Likewise.
71621         * login/unlockpt.c: Likewise.
71622         * math/e_acoshl.c: Likewise.
71623         * math/e_acosl.c: Likewise.
71624         * math/e_asinl.c: Likewise.
71625         * math/e_atan2l.c: Likewise.
71626         * math/e_atanhl.c: Likewise.
71627         * math/e_coshl.c: Likewise.
71628         * math/e_expl.c: Likewise.
71629         * math/e_fmodl.c: Likewise.
71630         * math/e_gammal_r.c: Likewise.
71631         * math/e_hypotl.c: Likewise.
71632         * math/e_j0l.c: Likewise.
71633         * math/e_j1l.c: Likewise.
71634         * math/e_jnl.c: Likewise.
71635         * math/e_lgammal_r.c: Likewise.
71636         * math/e_log10l.c: Likewise.
71637         * math/e_log2l.c: Likewise.
71638         * math/e_logl.c: Likewise.
71639         * math/e_powl.c: Likewise.
71640         * math/e_rem_pio2l.c: Likewise.
71641         * math/e_sinhl.c: Likewise.
71642         * math/e_sqrtl.c: Likewise.
71643         * math/fclrexcpt.c: Likewise.
71644         * math/fedisblxcpt.c: Likewise.
71645         * math/feenablxcpt.c: Likewise.
71646         * math/fegetenv.c: Likewise.
71647         * math/fegetexcept.c: Likewise.
71648         * math/fegetround.c: Likewise.
71649         * math/feholdexcpt.c: Likewise.
71650         * math/fesetenv.c: Likewise.
71651         * math/fesetround.c: Likewise.
71652         * math/feupdateenv.c: Likewise.
71653         * math/fgetexcptflg.c: Likewise.
71654         * math/fraiseexcpt.c: Likewise.
71655         * math/fsetexcptflg.c: Likewise.
71656         * math/ftestexcept.c: Likewise.
71657         * math/k_cosl.c: Likewise.
71658         * math/k_rem_pio2l.c: Likewise.
71659         * math/k_sinl.c: Likewise.
71660         * math/k_tanl.c: Likewise.
71661         * math/s_asinhl.c: Likewise.
71662         * math/s_atanl.c: Likewise.
71663         * math/s_cbrtl.c: Likewise.
71664         * math/s_erfl.c: Likewise.
71665         * math/s_expm1l.c: Likewise.
71666         * math/s_log1pl.c: Likewise.
71667         * math/s_tanhl.c: Likewise.
71668         * misc/acct.c: Likewise.
71669         * misc/brk.c: Likewise.
71670         * misc/chflags.c: Likewise.
71671         * misc/chroot.c: Likewise.
71672         * misc/fchflags.c: Likewise.
71673         * misc/fgetxattr.c: Likewise.
71674         * misc/flistxattr.c: Likewise.
71675         * misc/fremovexattr.c: Likewise.
71676         * misc/fsetxattr.c: Likewise.
71677         * misc/fsync.c: Likewise.
71678         * misc/ftruncate.c: Likewise.
71679         * misc/futimes.c: Likewise.
71680         * misc/futimesat.c: Likewise.
71681         * misc/getdomain.c: Likewise.
71682         * misc/getdtsz.c: Likewise.
71683         * misc/gethostid.c: Likewise.
71684         * misc/gethostname.c: Likewise.
71685         * misc/getloadavg.c: Likewise.
71686         * misc/getpagesize.c: Likewise.
71687         * misc/getsysstats.c: Likewise.
71688         * misc/getxattr.c: Likewise.
71689         * misc/gtty.c: Likewise.
71690         * misc/ioctl.c: Likewise.
71691         * misc/lgetxattr.c: Likewise.
71692         * misc/listxattr.c: Likewise.
71693         * misc/llistxattr.c: Likewise.
71694         * misc/lremovexattr.c: Likewise.
71695         * misc/lsetxattr.c: Likewise.
71696         * misc/lutimes.c: Likewise.
71697         * misc/madvise.c: Likewise.
71698         * misc/mincore.c: Likewise.
71699         * misc/mlock.c: Likewise.
71700         * misc/mlockall.c: Likewise.
71701         * misc/mmap.c: Likewise.
71702         * misc/mprotect.c: Likewise.
71703         * misc/msync.c: Likewise.
71704         * misc/munlock.c: Likewise.
71705         * misc/munlockall.c: Likewise.
71706         * misc/munmap.c: Likewise.
71707         * misc/preadv.c: Likewise.
71708         * misc/preadv64.c: Likewise.
71709         * misc/ptrace.c: Likewise.
71710         * misc/pwritev.c: Likewise.
71711         * misc/pwritev64.c: Likewise.
71712         * misc/readv.c: Likewise.
71713         * misc/reboot.c: Likewise.
71714         * misc/remap_file_pages.c: Likewise.
71715         * misc/removexattr.c: Likewise.
71716         * misc/revoke.c: Likewise.
71717         * misc/select.c: Likewise.
71718         * misc/setdomain.c: Likewise.
71719         * misc/setegid.c: Likewise.
71720         * misc/seteuid.c: Likewise.
71721         * misc/sethostid.c: Likewise.
71722         * misc/sethostname.c: Likewise.
71723         * misc/setregid.c: Likewise.
71724         * misc/setreuid.c: Likewise.
71725         * misc/setxattr.c: Likewise.
71726         * misc/sstk.c: Likewise.
71727         * misc/stty.c: Likewise.
71728         * misc/swapoff.c: Likewise.
71729         * misc/swapon.c: Likewise.
71730         * misc/sync.c: Likewise.
71731         * misc/syncfs.c: Likewise.
71732         * misc/syscall.c: Likewise.
71733         * misc/truncate.c: Likewise.
71734         * misc/ualarm.c: Likewise.
71735         * misc/usleep.c: Likewise.
71736         * misc/ustat.c: Likewise.
71737         * misc/utimes.c: Likewise.
71738         * misc/vhangup.c: Likewise.
71739         * misc/writev.c: Likewise.
71740         * posix/_exit.c: Likewise.
71741         * posix/alarm.c: Likewise.
71742         * posix/execve.c: Likewise.
71743         * posix/fexecve.c: Likewise.
71744         * posix/fork.c: Likewise.
71745         * posix/fpathconf.c: Likewise.
71746         * posix/getaddrinfo.c: Likewise.
71747         * posix/getegid.c: Likewise.
71748         * posix/geteuid.c: Likewise.
71749         * posix/getgid.c: Likewise.
71750         * posix/getgroups.c: Likewise.
71751         * posix/getlogin.c: Likewise.
71752         * posix/getlogin_r.c: Likewise.
71753         * posix/getpgid.c: Likewise.
71754         * posix/getpid.c: Likewise.
71755         * posix/getppid.c: Likewise.
71756         * posix/getresgid.c: Likewise.
71757         * posix/getresuid.c: Likewise.
71758         * posix/getsid.c: Likewise.
71759         * posix/getuid.c: Likewise.
71760         * posix/glob64.c: Likewise.
71761         * posix/nanosleep.c: Likewise.
71762         * posix/pathconf.c: Likewise.
71763         * posix/pause.c: Likewise.
71764         * posix/posix_madvise.c: Likewise.
71765         * posix/pread.c: Likewise.
71766         * posix/pread64.c: Likewise.
71767         * posix/pwrite.c: Likewise.
71768         * posix/pwrite64.c: Likewise.
71769         * posix/sched_getaffinity.c: Likewise.
71770         * posix/sched_getp.c: Likewise.
71771         * posix/sched_gets.c: Likewise.
71772         * posix/sched_primax.c: Likewise.
71773         * posix/sched_primin.c: Likewise.
71774         * posix/sched_rr_gi.c: Likewise.
71775         * posix/sched_setaffinity.c: Likewise.
71776         * posix/sched_setp.c: Likewise.
71777         * posix/sched_sets.c: Likewise.
71778         * posix/sched_yield.c: Likewise.
71779         * posix/setgid.c: Likewise.
71780         * posix/setlogin.c: Likewise.
71781         * posix/setpgid.c: Likewise.
71782         * posix/setresgid.c: Likewise.
71783         * posix/setresuid.c: Likewise.
71784         * posix/setsid.c: Likewise.
71785         * posix/setuid.c: Likewise.
71786         * posix/sleep.c: Likewise.
71787         * posix/spawni.c: Likewise.
71788         * posix/sysconf.c: Likewise.
71789         * posix/times.c: Likewise.
71790         * posix/wait.c: Likewise.
71791         * posix/wait3.c: Likewise.
71792         * posix/wait4.c: Likewise.
71793         * posix/waitpid.c: Likewise.
71794         * resolv/gai_sigqueue.c: Likewise.
71795         * resource/getpriority.c: Likewise.
71796         * resource/getrlimit.c: Likewise.
71797         * resource/getrusage.c: Likewise.
71798         * resource/nice.c: Likewise.
71799         * resource/setpriority.c: Likewise.
71800         * resource/setrlimit.c: Likewise.
71801         * resource/ulimit.c: Likewise.
71802         * rt/aio_cancel.c: Likewise.
71803         * rt/aio_fsync.c: Likewise.
71804         * rt/aio_read.c: Likewise.
71805         * rt/aio_sigqueue.c: Likewise.
71806         * rt/aio_suspend.c: Likewise.
71807         * rt/aio_write.c: Likewise.
71808         * rt/clock_getres.c: Likewise.
71809         * rt/clock_gettime.c: Likewise.
71810         * rt/clock_nanosleep.c: Likewise.
71811         * rt/clock_settime.c: Likewise.
71812         * rt/lio_listio.c: Likewise.
71813         * rt/mq_close.c: Likewise.
71814         * rt/mq_getattr.c: Likewise.
71815         * rt/mq_notify.c: Likewise.
71816         * rt/mq_open.c: Likewise.
71817         * rt/mq_receive.c: Likewise.
71818         * rt/mq_send.c: Likewise.
71819         * rt/mq_setattr.c: Likewise.
71820         * rt/mq_timedreceive.c: Likewise.
71821         * rt/mq_timedsend.c: Likewise.
71822         * rt/mq_unlink.c: Likewise.
71823         * rt/shm_open.c: Likewise.
71824         * rt/shm_unlink.c: Likewise.
71825         * rt/timer_create.c: Likewise.
71826         * rt/timer_delete.c: Likewise.
71827         * rt/timer_getoverr.c: Likewise.
71828         * rt/timer_gettime.c: Likewise.
71829         * rt/timer_settime.c: Likewise.
71830         * setjmp/__longjmp.c: Likewise.
71831         * setjmp/setjmp.c: Likewise.
71832         * signal/kill.c: Likewise.
71833         * signal/killpg.c: Likewise.
71834         * signal/raise.c: Likewise.
71835         * signal/sigaction.c: Likewise.
71836         * signal/sigaltstack.c: Likewise.
71837         * signal/sigblock.c: Likewise.
71838         * signal/sigignore.c: Likewise.
71839         * signal/sigintr.c: Likewise.
71840         * signal/signal.c: Likewise.
71841         * signal/sigpause.c: Likewise.
71842         * signal/sigpending.c: Likewise.
71843         * signal/sigqueue.c: Likewise.
71844         * signal/sigreturn.c: Likewise.
71845         * signal/sigset.c: Likewise.
71846         * signal/sigsetmask.c: Likewise.
71847         * signal/sigstack.c: Likewise.
71848         * signal/sigsuspend.c: Likewise.
71849         * signal/sigtimedwait.c: Likewise.
71850         * signal/sigvec.c: Likewise.
71851         * signal/sigwait.c: Likewise.
71852         * signal/sigwaitinfo.c: Likewise.
71853         * signal/sysv_signal.c: Likewise.
71854         * socket/accept.c: Likewise.
71855         * socket/accept4.c: Likewise.
71856         * socket/bind.c: Likewise.
71857         * socket/connect.c: Likewise.
71858         * socket/getpeername.c: Likewise.
71859         * socket/getsockname.c: Likewise.
71860         * socket/getsockopt.c: Likewise.
71861         * socket/isfdtype.c: Likewise.
71862         * socket/listen.c: Likewise.
71863         * socket/recv.c: Likewise.
71864         * socket/recvfrom.c: Likewise.
71865         * socket/recvmsg.c: Likewise.
71866         * socket/send.c: Likewise.
71867         * socket/sendmsg.c: Likewise.
71868         * socket/sendto.c: Likewise.
71869         * socket/setsockopt.c: Likewise.
71870         * socket/shutdown.c: Likewise.
71871         * socket/sockatmark.c: Likewise.
71872         * socket/socket.c: Likewise.
71873         * socket/socketpair.c: Likewise.
71874         * stdio-common/ctermid.c: Likewise.
71875         * stdio-common/cuserid.c: Likewise.
71876         * stdio-common/remove.c: Likewise.
71877         * stdio-common/rename.c: Likewise.
71878         * stdio-common/renameat.c: Likewise.
71879         * stdio-common/tempname.c: Likewise.
71880         * stdlib/getcontext.c: Likewise.
71881         * stdlib/makecontext.c: Likewise.
71882         * stdlib/setcontext.c: Likewise.
71883         * stdlib/swapcontext.c: Likewise.
71884         * stdlib/system.c: Likewise.
71885         * streams/fattach.c: Likewise.
71886         * streams/fdetach.c: Likewise.
71887         * streams/getmsg.c: Likewise.
71888         * streams/getpmsg.c: Likewise.
71889         * streams/putmsg.c: Likewise.
71890         * streams/putpmsg.c: Likewise.
71891         * sysdeps/unix/bsd/getpt.c: Likewise.
71892         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
71893         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
71894         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
71895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71896         Likewise.
71897         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
71898         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71899         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
71900         * sysvipc/msgctl.c: Likewise.
71901         * sysvipc/msgget.c: Likewise.
71902         * sysvipc/msgrcv.c: Likewise.
71903         * sysvipc/msgsnd.c: Likewise.
71904         * sysvipc/semctl.c: Likewise.
71905         * sysvipc/semget.c: Likewise.
71906         * sysvipc/semop.c: Likewise.
71907         * sysvipc/semtimedop.c: Likewise.
71908         * sysvipc/shmat.c: Likewise.
71909         * sysvipc/shmctl.c: Likewise.
71910         * sysvipc/shmdt.c: Likewise.
71911         * sysvipc/shmget.c: Likewise.
71912         * termios/tcdrain.c: Likewise.
71913         * termios/tcflow.c: Likewise.
71914         * termios/tcflush.c: Likewise.
71915         * termios/tcgetattr.c: Likewise.
71916         * termios/tcgetpgrp.c: Likewise.
71917         * termios/tcsendbrk.c: Likewise.
71918         * termios/tcsetattr.c: Likewise.
71919         * termios/tcsetpgrp.c: Likewise.
71920         * time/adjtime.c: Likewise.
71921         * time/clock.c: Likewise.
71922         * time/getitimer.c: Likewise.
71923         * time/gettimeofday.c: Likewise.
71924         * time/setitimer.c: Likewise.
71925         * time/settimeofday.c: Likewise.
71926         * time/stime.c: Likewise.
71927         * time/time.c: Likewise.
71929 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
71931         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
71932         /usr/old/bin.
71934         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
71935         instead of spaces.
71936         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
71938 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
71940         [BZ #14796]
71941         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
71942         FE_TONEAREST before applying Dekker multiplication and Knuth
71943         addition.  Clear inexact exceptions and check for exact zero
71944         results afterwards.
71945         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71946         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71947         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71948         * math/libm-test.inc (fma_test): Add more tests.
71949         (fma_test_towardzero): Likewise.
71950         (fma_test_downward): Likewise.
71951         (fma_test_upward): Likewise.
71952         * sysdeps/generic/math_private.h (default_libc_fesetround): New
71953         function.
71954         (libc_fesetround): New macro.
71955         (libc_fesetroundf): Likewise.
71956         (libc_fesetroundl): Likewise.
71957         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
71958         function.
71959         (libc_fesetround_387): Likewise.
71960         (libc_fesetroundf): New macro.
71961         (libc_fesetround): Likewise.
71962         (libc_fesetroundl): Likewise.
71963         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
71964         function.
71965         (libc_fesetroundf): New macro.
71966         (libc_fesetround): Likewise.
71967         (libc_fesetroundl): Likewise.
71968         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
71969         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
71970         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
71971         libm_hidden_ver.
71972         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
71973         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
71974         libm_hidden_def.
71975         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
71976         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
71977         libm_hidden_ver.
71978         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
71979         libm_hidden_def.
71981         [BZ #3439]
71982         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
71983         integer constant usable in #if and use that to give value to enum
71984         constant.
71985         (FE_DIVBYZERO): Likewise.
71986         (FE_UNDERFLOW): Likewise.
71987         (FE_OVERFLOW): Likewise.
71988         (FE_INVALID): Likewise.
71989         (FE_INVALID_SNAN): Likewise.
71990         (FE_INVALID_ISI): Likewise.
71991         (FE_INVALID_IDI): Likewise.
71992         (FE_INVALID_ZDZ): Likewise.
71993         (FE_INVALID_IMZ): Likewise.
71994         (FE_INVALID_COMPARE): Likewise.
71995         (FE_INVALID_SOFTWARE): Likewise.
71996         (FE_INVALID_SQRT): Likewise.
71997         (FE_INVALID_INTEGER_CONVERSION): Likewise.
71998         (FE_TONEAREST): Likewise.
71999         (FE_TOWARDZERO): Likewise.
72000         (FE_UPWARD): Likewise.
72001         (FE_DOWNWARD): Likewise.
72002         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
72003         (FE_DIVBYZERO): Likewise.
72004         (FE_OVERFLOW): Likewise.
72005         (FE_UNDERFLOW): Likewise.
72006         (FE_INEXACT): Likewise.
72007         (FE_TONEAREST): Likewise.
72008         (FE_DOWNWARD): Likewise.
72009         (FE_UPWARD): Likewise.
72010         (FE_TOWARDZERO): Likewise.
72011         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
72012         (FE_UNDERFLOW): Likewise.
72013         (FE_OVERFLOW): Likewise.
72014         (FE_DIVBYZERO): Likewise.
72015         (FE_INVALID): Likewise.
72016         (FE_TONEAREST): Likewise.
72017         (FE_TOWARDZERO): Likewise.
72018         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
72019         (FE_OVERFLOW): Likewise.
72020         (FE_UNDERFLOW): Likewise.
72021         (FE_DIVBYZERO): Likewise.
72022         (FE_INEXACT): Likewise.
72023         (FE_TONEAREST): Likewise.
72024         (FE_TOWARDZERO): Likewise.
72025         (FE_UPWARD): Likewise.
72026         (FE_DOWNWARD): Likewise.
72027         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
72028         (FE_DIVBYZERO): Likewise.
72029         (FE_OVERFLOW): Likewise.
72030         (FE_UNDERFLOW): Likewise.
72031         (FE_INEXACT): Likewise.
72032         (FE_TONEAREST): Likewise.
72033         (FE_DOWNWARD): Likewise.
72034         (FE_UPWARD): Likewise.
72035         (FE_TOWARDZERO): Likewise.
72037 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
72039         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
72041 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
72043         * scripts/cross-test-ssh.sh (command): Use newlines to separate
72044         commands.  Quote $PWD.
72045         (blacklist_exports): Don't use remove_newlines.  Replace "declare
72046         -x" by "export".
72047         (remove_newlines): Remove.
72049 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
72051         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
72052         * stdlib/stdlib.h (atof): Moved to ...
72053         * include/bits/stdlib-float.h: Here.  New file.
72054         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
72055         * stdlib/bits/stdlib-float.h: New file.
72056         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
72057         -mno-sse -mno-mmx.
72058         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
72059         <xmmintrin.h>.
72061 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
72063         * conform/conformtest.pl (@headers): Add fenv.h.
72064         * conform/data/fenv.h-data: New file.
72065         * include/fenv.h [_ISOMAC]: Disable all contents of file except
72066         include of <math/fenv.h>.
72068         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
72069         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
72070         && !UNIX98].  Enables tests for XOPEN2K8.
72071         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
72072         POSIX2008]: Likewise.
72074         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
72075         (struct rusage): Do not expect type or its members.
72077         [BZ #3439]
72078         * math/math.h (FP_NAN): Define macro to integer constant usable in
72079         #if and use that to give value to enum constant.
72080         (FP_INFINITE): Likewise.
72081         (FP_ZERO): Likewise.
72082         (FP_SUBNORMAL): Likewise.
72083         (FP_NORMAL): Likewise.
72085 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
72087         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
72088         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
72089         arguments.
72091 2012-11-02  Roland McGrath  <roland@hack.frob.com>
72093         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
72094         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
72095         autoconf-time if not.
72096         * configure.in: Remove AC_PREREQ.
72098 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72100         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
72101         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
72102         of the internal implementation.
72104 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
72106         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
72107         except include of <misc/sys/syslog.h>.
72109 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
72112         function returns with a NULL context exit with zero.
72114 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72116         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
72118 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
72120         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
72121         (run_program_cmd): This.
72122         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
72123         (tst_langinfo): New variable.  Use it.
72125 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
72127         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
72128         floating point opcodes.
72130 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72132         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
72133         variable.
72135         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
72137         * sysdeps/mach/hurd/powerpc: Remove directory.
72138         * sysdeps/mach/powerpc: Likewise.
72140 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72142         * scripts/check-local-headers.sh: Ignore c++ headers.
72144 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72146         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
72147         __libc_cleanup_region_start argument.
72149 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
72151         [BZ #14784]
72152         [BZ #14785]
72153         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
72154         x * y using scaling, not as x * y + z.
72155         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72156         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72157         * math/libm-test.inc (fma_test): Add more tests.
72158         (fma_test_towardzero): Likewise.
72159         (fma_test_downward): Likewise.
72160         (fma_test_upward): Likewise.
72162 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72164         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
72166 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
72168         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
72169         New variable.
72171 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
72173         * rt/tst-shm.c (worker): Correct checking for mmap failure.
72175 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
72177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72178         Fix sort order.
72179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72180         Likewise.
72182 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72185         Fix the order of the list for glibc 2.17.
72186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72187         Likewise.
72189 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
72191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72193 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
72195         [BZ #14610]
72196         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
72197         for low part of x being zero before using __atanl (y).
72198         * math/libm-test.inc (atan2_test): Add another test.
72200         * manual/install.texi (Configuring and compiling): Document
72201         general use of test-wrapper and test-wrapper-env.
72202         * INSTALL: Regenerated.
72204         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
72205         (__fma): Do not extract and scale down low bits on after-rounding
72206         systems when result rounded to normal precision would have normal
72207         exponent.
72208         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
72209         (__fmal): Do not extract and scale down low bits on after-rounding
72210         systems when result rounded to normal precision would have normal
72211         exponent.
72212         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
72213         (__fmal): Do not extract and scale down low bits on after-rounding
72214         systems when result rounded to normal precision would have normal
72215         exponent.
72216         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
72217         macro.
72218         (fma_test): Add more tests.
72219         (fma_test_towardzero): Likewise.
72220         (fma_test_downward): Likewise.
72221         (fma_test_upward): Likewise.
72223 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
72225         * sysdeps/i386/tininess.h: Renamed to ...
72226         * sysdeps/x86/tininess.h: This.
72227         * sysdeps/x86_64/tininess.h: Removed.
72229 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
72231         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
72232         input.  Use $(build-program-cmd).
72233         ($(objpfx)tst-array1-static.out): Likewise.
72234         ($(objpfx)tst-array2.out): Likewise.
72235         ($(objpfx)tst-array3.out): Likewise.
72236         ($(objpfx)tst-array4.out): Likewise.
72237         ($(objpfx)tst-array5.out): Likewise.
72238         ($(objpfx)tst-array5-static.out): Likewise.
72240 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
72242         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
72243         if defined.
72245         * nss/nsswitch.h (nss_interface_function): Provide new
72246         macro for use with NSS functions.
72247         * grp/initgroups.c: Use new macro.
72248         * nss/getXXbyYY.c: Likewise.
72249         * nss/getXXbyYY_r.c: Likewise.
72250         * nss/getXXent.c: Likewise.
72251         * nss/getXXent_r.c: Likewise.
72252         * sysdeps/posix/getaddrinfo.c: Likewise.
72254 2012-10-30  Andreas Jaeger  <aj@suse.de>
72256         * po/ru.po: Update Russion translation from translation project.
72258 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
72260         [BZ #14152]
72261         [BZ #14783]
72262         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
72263         result and shift together with sticky bit instead of replicating
72264         round-to-nearest rounding.
72265         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72266         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72267         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
72268         missing underflow exceptions.
72269         (fma_test_towardzero): Add more tests.
72270         (fma_test_downward): Likewise.
72271         (fma_test_upward): Likewise.
72273         [BZ #14047]
72274         * sysdeps/generic/tininess.h: New file.
72275         * sysdeps/i386/tininess.h: Likewise.
72276         * sysdeps/sh/tininess.h: Likewise.
72277         * sysdeps/x86_64/tininess.h: Likewise.
72278         * stdlib/tst-strtod-underflow.c: Likewise.
72279         * stdlib/tst-tininess.c: Likewise.
72280         * stdlib/strtod_l.c: Include <tininess.h>.
72281         (round_and_return): Do not set errno for exact underflow cases.
72282         Force an underflow exception when setting errno for underflow.
72283         Determine underflow based on rounding to normal precision if
72284         TININESS_AFTER_ROUNDING.
72285         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
72286         ERANGE for exact underflow cases.
72287         * stdlib/Makefile (tests): Add tst-tininess and
72288         tst-strtod-underflow.
72289         ($(objpfx)tst-tininess): Use $(link-libm).
72290         ($(objpfx)tst-strtod-underflow): Likewise.
72292 2012-10-30  Andreas Jaeger  <aj@suse.de>
72294         [BZ #14767]
72295         * elf/Makefile (tests): Remove conditional for have-initfini-array
72296         since this is now always required and the variable does not exist
72297         anymore.
72298         (tests-static): Likewise.
72299         (modules-names): Likewise.
72301         * po/eo.po: Add Esperanto translation from translation project.
72303         * elf/tst-array1.c (fini_array): Make writeable so that it can be
72304         merged with constructor/destructor.
72305         (init_array): Likewise.
72306         * elf/tst-array2dep.c (fini_array): Likewise.
72307         (init_array): Likewise.
72309 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
72311         * manual/message.texi: Delete @cartouche tags.
72313 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
72315         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
72316         EOPNOTSUPP.
72317         * sysdeps/mach/hurd/fsync.c: Likewise.
72319         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
72320         [_POSIX_REALTIME_SIGNALS]: Change condition to
72321         [_POSIX_REALTIME_SIGNALS > 0].
72323 2012-10-27  Andreas Jaeger  <aj@suse.de>
72325         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
72326         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
72327         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
72328         [__WORDSIZE != 64]: Likewise.
72330 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
72332         *  iconvdata/tst-table.sh: Remove ${SHELL}.
72333         *  iconvdata/tst-tables.sh: Likewise.
72335 2012-10-25  David S. Miller  <davem@davemloft.net>
72337         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72338         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
72339         of strtoull.
72341         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
72342         ifunc-impl-list.c
72343         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72344         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
72345         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
72346         file.
72348 2012-10-25  Roland McGrath  <roland@hack.frob.com>
72350         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72351         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
72352         __getdirentries.
72354 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72355             Jim Blandy  <jimb@codesourcery.com>
72357         * scripts/cross-test-ssh.sh: New file.
72358         * manual/install.texi (Configuring and compiling): Document use of
72359         cross-test-ssh.sh.
72360         * INSTALL: Regenerated.
72362 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
72364         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
72365         EOPNOTSUPP.
72367 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72369         * Makeconfig (run-program-prefix): Fix comment.
72371 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72372             Jim Blandy  <jimb@codesourcery.com>
72374         * Makeconfig (test-wrapper): New variable,
72375         (test-wrapper-env): Likewise.
72376         [$(cross-compiling) = yes && $(test-wrapper) != ""]
72377         (run-built-tests): Define to yes.
72378         (run-program-prefix): Use $(test-wrapper).
72379         (built-program-cmd): Likewise.
72380         * Rules (make-test-out): Use $(test-wrapper-env) and
72381         $(host-built-program-cmd).
72382         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
72383         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
72384         tst-pathopt.sh.
72385         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
72386         $(test-wrapper-env) to tst-rtld-load-self.sh.
72387         ($(objpfx)order2.out): Use $(test-wrapper).
72388         ($(objpfx)tst-initorder.out): Likewise.
72389         ($(objpfx)tst-initorder2.out): Likewise.
72390         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
72391         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
72392         (test_wrapper_env): New variable.  Use it to run ld.so.
72393         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
72394         Use it to run ld.so.
72395         (test_wrapper_env): Likewise.
72396         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
72397         $(test-wrapper) to run-iconv-test.sh.
72398         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
72399         (ICONV): Use $test_wrapper.
72400         * posix/Makefile ($(objpfx)globtest.out): Pass
72401         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
72402         globtest.sh, not $(run-program-prefix).
72403         * posix/globtest.sh (run_via_rtld_prefix): New variable.
72404         (test_wrapper): Likewise.
72405         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
72406         set together with run_via_rtld_prefix.
72407         (run_program_prefix): Define in terms of test_wrapper and
72408         run_via_rtld_prefix.
72410 2012-10-24  Roland McGrath  <roland@hack.frob.com>
72412         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
72413         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
72414         Targets removed.
72416         [BZ #14743]
72417         * include/time.h: Remove librt_hidden_proto (clock_gettime).
72418         Declare __clock_getres, __clock_gettime, __clock_settime,
72419         __clock_nanosleep, and __clock_getcpuclockid.
72420         * rt/clock_gettime.c: Define __clock_gettime as an alias.
72421         Remove librt_hidden_def (clock_gettime).
72422         * sysdeps/unix/clock_gettime.c: Likewise.
72423         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
72424         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
72425         * rt/clock_getres.c: Define __clock_getres as an alias.
72426         * sysdeps/posix/clock_getres.c: Likewise.
72427         * rt/clock_settime.c: Define __clock_settime as an alias.
72428         * sysdeps/unix/clock_settime.c: Likewise.
72429         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
72430         * sysdeps/unix/clock_nanosleep.c: Likewise.
72431         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
72432         * rt/clock-compat.c: New file.
72433         * rt/Makefile (librt-routines): Add clock-compat and move
72434         $(clock-routines) to ...
72435         (routines): ... here, new variable.
72436         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
72437         Don't add get_clockfreq here.
72438         * rt/Versions (libc: GLIBC_2.17): New version set.
72439         Add clock_* symbols here.
72440         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
72441         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
72442         (GLIBC_2.17): Add clock_* symbols.
72443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72444         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72445         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72447         Likewise.
72448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72449         Likewise.
72450         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72454         * NEWS: Mention the move.
72456         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
72457         Use __open, __read, __close rather than their public counterparts.
72458         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72459         (__get_clockfreq_via_cpuinfo): Likewise.
72460         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
72461         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
72463         * config.h.in (HAVE_IFUNC): New #undef.
72464         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
72465         was successful.
72466         * configure: Regenerated.
72468 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72470         * configure.in: Move READELF check to start of file.
72471         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
72472         libc_cv_asm_gnu_indirect_function in the process.
72473         * configure: Regenerated.
72475 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72477         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
72478         send the output to /dev/null.
72479         (libc_cv_cc_with_libunwind): Likewise.
72480         (libc_cv_as_noexecstack): Likewise.
72481         * configure: Regenerate.
72483 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72485         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
72487         * posix/globtest.sh (TMPDIR): Do not set.
72488         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
72489         (testout): Likewise.
72491 2012-10-24  Andreas Jaeger  <aj@suse.de>
72493         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
72494         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
72495         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
72496         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
72497         posix_fadvise64, posix_fallocate64.
72499         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
72500         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
72501         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
72502         Likewise.
72503         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
72504         Likewise.
72505         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
72507         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
72508         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
72509         <bits/fcntl-linux.h>.
72510         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
72512         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
72513         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
72514         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
72515         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
72516         [__WORDSIZE != 64]: Likewise.
72518 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72520         * Makeconfig (run-built-tests): New variable.
72521         * Rules [$(cross-compiling) = yes]: Change condition to
72522         [$(run-built-tests) = no].
72523         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
72524         to [$(run-built-tests) = yes].
72525         * elf/Makefile [$(cross-compiling) = no]: Likewise.
72526         * grp/Makefile [$(cross-compiling) = no]: Likewise.
72527         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
72528         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
72529         * intl/Makefile [$(cross-compiling) = no]: Likewise.
72530         * io/Makefile [$(cross-compiling) = no]: Likewise.
72531         * libio/Makefile [$(cross-compiling) = no]: Likewise.
72532         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
72533         * misc/Makefile [$(cross-compiling) = no]: Likewise.
72534         * posix/Makefile [$(cross-compiling) = no]: Likewise.
72535         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
72536         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
72537         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
72538         * string/Makefile [$(cross-compiling) = no]: Likewise.
72540         * posix/Makefile ($(objpfx)globtest.out): Pass
72541         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
72542         $(rtld-installed-name).
72543         * posix/globtest.sh (elf_objpfx): Remove variable.
72544         (rtld_installed_name): Likewise.
72545         (library_path): Likewise.
72546         (run_program_prefix): New variable.  Use for running globtest
72547         binary.
72549 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
72550             Joseph Myers  <joseph@codesourcery.com>
72552         * Makeconfig (host-built-program-cmd): New variable.
72553         * elf/Makefile (tst-stackguard1-ARGS): Use
72554         $(host-built-program-cmd).
72555         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
72556         (tst-spawn-ARGS): Likewise.
72557         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
72559 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72560             Jim Blandy  <jimb@codesourcery.com>
72562         * Makeconfig (run-via-rtld-prefix): New variable.
72563         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
72564         (built-program-cmd): Likewise.
72566 2012-10-22  Andreas Jaeger  <aj@suse.de>
72568         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
72569         __O_RSYNC if it exists, otherwise to O_SYNC.
72571 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
72572             Joseph Myers  <joseph@codesourcery.com>
72574         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
72575         /dev/null.
72576         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
72577         from /dev/null
72578         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
72579         /dev/null.
72581 2012-10-22  Andreas Jaeger  <aj@suse.de>
72583         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
72584         Define always.
72585         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
72587         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72588         bits/fcntl-linux.h.
72590         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
72591         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
72593         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
72594         to __O_LARGEFILE.
72595         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
72596         to __O_LARGEFILE.
72598 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
72599             Joseph Myers  <joseph@codesourcery.com>
72601         * config.make.in (NM): New variable.
72603 2012-10-21  Andreas Jaeger  <aj@suse.de>
72605         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
72606         definitions and declarations that are provided by
72607         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72609 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
72611         [BZ #14683]
72612         * elf/Makefile (tests-static): Add tst-leaks1-static.
72613         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
72614         ($(objpfx)tst-leaks1-static): New rule.
72615         ($(objpfx)tst-leaks1-static-mem): Likewise.
72616         (tst-leaks1-static-ENV): New macro.
72617         * elf/dl-open.c (dl_open_worker): Check the main application
72618         only if SHARED is defined.
72619         * elf/tst-leaks1-static.c: New file.
72621 2012-10-20  Andreas Jaeger  <aj@suse.de>
72623         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
72624         generic values for Linux.
72625         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
72626         and declarations that are provided by <bits/fcntl-linux.h> and
72627         include <bits/fcntl-linux.h>.
72628         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72629         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72631 2012-10-20  Roland McGrath  <roland@hack.frob.com>
72633         * io/fcntl.h: Move include of <bits/types.h> to the top and
72634         include it unconditionally.
72636 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
72638         * wcsmbs/Makefile (tests-ifunc): New variable.
72639         (tests): Add $(tests-ifunc).
72640         * wcsmbs/test-wcschr-ifunc.c: New file.
72641         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
72642         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
72643         * wcsmbs/test-wcslen-ifunc.c: Likewise.
72644         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
72645         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
72647         * string/Makefile (tests-ifunc): New variable.
72648         (tests): Add $(tests-ifunc).
72649         * string/test-memccpy.c (TEST_NAME): New macro.
72650         * string/test-memchr.c (TEST_NAME): Likewise.
72651         * string/test-memcmp.c (TEST_NAME): Likewise.
72652         * string/test-memcpy.c (TEST_NAME): Likewise.
72653         * string/test-memmem.c (TEST_NAME): Likewise.
72654         * string/test-memmove.c (TEST_NAME): Likewise.
72655         * string/test-memset.c (TEST_NAME): Likewise.
72656         * string/test-rawmemchr.c (TEST_NAME): Likewise.
72657         * string/test-stpcpy.c (TEST_NAME): Likewise.
72658         * string/test-stpncpy.c (TEST_NAME): Likewise.
72659         * string/test-strcasecmp.c (TEST_NAME): Likewise.
72660         * string/test-strcasestr.c (TEST_NAME): Likewise.
72661         * string/test-strcat.c (TEST_NAME): Likewise.
72662         * string/test-strchr.c (TEST_NAME): Likewise.
72663         * string/test-strcmp.c(TEST_NAME): Likewise.
72664         * string/test-strcpy.c (TEST_NAME): Likewise.
72665         * string/test-strcspn.c (TEST_NAME): Likewise.
72666         * string/test-strlen.c (TEST_NAME): Likewise.
72667         * string/test-strncasecmp.c (TEST_NAME): Likewise.
72668         * string/test-strncmp.c (TEST_NAME): Likewise.
72669         * string/test-strncpy.c (TEST_NAME): Likewise.
72670         * string/test-strnlen.c (TEST_NAME): Likewise.
72671         * string/test-strpbrk.c (TEST_NAME): Likewise.
72672         * string/test-strrchr.c (TEST_NAME): Likewise.
72673         * string/test-strspn.c (TEST_NAME): Likewise.
72674         * string/test-strstr.c (TEST_NAME): Likewise.
72675         * string/test-bcopy-ifunc.c: New file.
72676         * string/test-bzero-ifunc.c: Likewise.
72677         * string/test-memccpy-ifunc.c: Likewise.
72678         * string/test-memchr-ifunc.c: Likewise.
72679         * string/test-memcmp-ifunc.c: Likewise.
72680         * string/test-memcpy-ifunc.c: Likewise.
72681         * string/test-memmem-ifunc.c: Likewise.
72682         * string/test-memmove-ifunc.c: Likewise.
72683         * string/test-mempcpy-ifunc.c: Likewise.
72684         * string/test-memset-ifunc.c: Likewise.
72685         * string/test-rawmemchr-ifunc.c: Likewise.
72686         * string/test-stpcpy-ifunc.c: Likewise.
72687         * string/test-stpncpy-ifunc.c: Likewise.
72688         * string/test-strcasecmp-ifunc.c: Likewise.
72689         * string/test-strcasestr-ifunc.c: Likewise.
72690         * string/test-strcat-ifunc.c: Likewise.
72691         * string/test-strchr-ifunc.c: Likewise.
72692         * string/test-strchrnul-ifunc.c: Likewise.
72693         * string/test-strcmp-ifunc.c: Likewise.
72694         * string/test-strcpy-ifunc.c: Likewise.
72695         * string/test-strcspn-ifunc.c: Likewise.
72696         * string/test-strlen-ifunc.c: Likewise.
72697         * string/test-strncasecmp-ifunc.c: Likewise.
72698         * string/test-strncat-ifunc.c: Likewise.
72699         * string/test-strncmp-ifunc.c: Likewise.
72700         * string/test-strncpy-ifunc.c: Likewise.
72701         * string/test-strnlen-ifunc.c: Likewise.
72702         * string/test-strpbrk-ifunc.c: Likewise.
72703         * string/test-strrchr-ifunc.c: Likewise.
72704         * string/test-strspn-ifunc.c: Likewise.
72705         * string/test-strstr-ifunc.c: Likewise.
72707         * debug/Makefile (tests-ifunc): New variable.
72708         (tests): Add $(tests-ifunc).
72709         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
72710         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
72711         * debug/test-stpcpy_chk-ifunc.c: New file.
72712         * debug/test-strcpy_chk-ifunc.c: Likewise.
72714 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
72716         [BZ #13601]
72717         * elf/dl-load.c (open_verify): Retry read if the entire ELF
72718         header is not read in.
72720 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
72722         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
72723         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
72724         directly.  Pass built executable to script as
72725         $(built-program-cmd).
72726         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
72727         $testprogram without using LD_LIBRARY_PATH and $ldso.
72729         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
72730         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
72731         $(rtld-installed-name).
72732         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
72733         (rtld_installed_name): Likewise.
72734         (library_path): Likewise.
72735         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
72736         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
72737         $(run-program-prefix) to tst-tables.sh.
72738         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
72739         it to run tst-table-from and tst-table-to.
72740         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
72741         Pass it to tst-table.sh.
72742         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
72743         $(run-program-prefix) to tst-gettext.sh.
72744         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
72745         tst-translit.sh.
72746         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
72747         tst-gettext2.sh.
72748         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
72749         to run tst-gettext.
72750         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
72751         to run tst-gettext2.
72752         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
72753         to run tst-translit.
72754         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
72755         $(run-program-prefix) to tst-mtrace.sh.
72756         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
72757         to run tst-mtrace.
72758         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
72759         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
72760         $(rtld-installed-name).
72761         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
72762         (rtld_installed_name): Likewise.
72763         (run_program_prefix): New variable.  Use it to run wordexp-test.
72765         * Makeconfig (ARCH): Remove all definitions.
72766         (machine): Likewise.
72767         [ARCH]: Remove conditional code.
72768         [!objdir]: Give error.
72769         [!objdir] (objpfx): Remove.
72770         [!objdir] (common-objpfx): Likewise.
72771         [!objdir] (common-objdir): Likewise.
72772         * configure.in (config_makefile): Remove.  Hardcode Makefile in
72773         AC_CONFIG_FILES call.
72774         * configure: Regenerated.
72776         [BZ #13888]
72777         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
72778         or TMPDIR.
72779         (testout): Likewise.
72781         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
72782         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
72783         $(rtld-installed-name).
72784         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
72785         (rtld_installed_name): Likewise.
72786         (runit): Remove function.
72787         (run_getconf): New variable,  Use it for running getconf binary.
72789 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
72791         [BZ #14716]
72792         * string/test-memmem.c (check_result): New function.
72793         (do_one_test): Use it.
72794         (check1): New function.
72795         (test_main): Use it.
72797 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
72799         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
72801 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
72803         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
72804         (_G_LSEEK64): Likewise.
72805         (_G_MMAP64): Likewise.
72806         (_G_FSTAT64): Likewise.
72807         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
72808         (_G_LSEEK64): Likewise.
72809         (_G_MMAP64): Likewise.
72810         (_G_FSTAT64): Likewise.
72811         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
72812         unconditional.  Call __mmap64 directly.
72813         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
72814         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
72815         __lseek64 directly.
72816         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
72817         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
72818         __mmap64 directly.
72819         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
72820         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
72821         __lseek64 directly.
72822         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
72823         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
72824         __lseek64 directly.
72825         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
72826         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
72827         __lseek64 directly.
72828         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
72829         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
72830         __fxstat64 directly.
72831         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
72832         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
72833         unconditional.
72834         (freopen64) [!_G_OPEN64]: Remove conditional code.
72835         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
72836         unconditional.
72837         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
72838         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
72839         unconditional.
72840         (ftello64) [!_G_LSEEK64]: Remove conditional code.
72841         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
72842         unconditional.
72843         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
72844         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
72845         unconditional.
72846         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
72847         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
72848         unconditional.
72849         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
72850         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
72851         unconditional.
72852         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
72853         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
72854         unconditional.
72855         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
72857 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
72859         [BZ #12140]
72860         * manual/memory.texi (Malloc Tunable Parameters): Add note
72861         about free list pointers overwriting some perturb bytes.
72862         Wording suggested by Roland McGrath.
72864 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
72866         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
72867         (lgamma_test): Likewise.
72868         (tgamma_test): Likewise.
72870 2012-10-16  Florian Weimer  <fweimer@redhat.com>
72872         [BZ #14700]
72873         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
72874         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
72876 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
72878         * NEWS: Mention BZ #14716.
72879         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
72880         when removing AVAILABLE1_USES_J macro.
72882 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
72884         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
72885         (__bswap_64): __uint64_t for unsigned 64-bit int.
72887 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
72889         * include/string.h (memmem): Declare libc hidden alias.
72890         * string/memmem.c (memmem): Define libc hidden alias.
72891         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
72892         __read, __close instead of open, read, close.
72894 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
72896         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
72897         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
72898         global and hidden.
72899         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
72900         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
72901         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
72902         Likewise.
72903         (__rawmemchr_sse2): Likewise.
72904         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
72905         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
72906         (__strchr_sse2): Likewise.
72907         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
72908         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
72909         (__strcasecmp_sse2): Likewise.
72910         (__strncasecmp_sse2): Likewise.
72911         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
72912         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
72913         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
72914         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
72915         (__strrchr_sse2): Likewise.
72916         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
72917         ifunc-impl-list.c.
72918         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
72919         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
72920         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
72921         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72922         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
72923         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
72924         * sysdeps/x86_64/multiarch/memset.S: Likewise.
72925         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
72926         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
72927         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
72928         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
72929         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
72930         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
72931         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
72932         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
72933         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
72934         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
72935         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
72936         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
72937         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
72938         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
72939         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
72940         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
72941         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
72942         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
72943         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
72944         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
72945         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72946         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
72947         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
72949         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
72950         global and hidden.
72951         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
72952         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
72953         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
72954         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
72955         Likewise.
72956         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
72957         Likewise.
72958         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
72959         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
72960         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
72961         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
72962         ifunc-impl-list.c.
72963         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72964         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72965         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72966         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72967         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72968         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72969         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72970         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72971         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72972         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72973         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72974         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72975         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72976         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
72977         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
72978         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72979         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
72980         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
72981         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72982         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72983         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72984         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72985         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72986         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72987         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72988         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
72989         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
72990         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
72991         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
72992         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72993         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
72994         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72995         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72996         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
72997         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72998         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72999         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73000         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73001         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73002         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73003         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
73005         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
73006         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
73007         * include/ifunc-impl-list.h: New file.
73008         * misc/ifunc-impl-list.c: Likewise.
73009         * misc/Makefile (routines): Add ifunc-impl-list.
73010         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
73011         * string/test-string.h: Include <ifunc-impl-list.h>.
73012         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
73013         TEST_NAME]: New variables.
73014         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
73015         are defined.
73016         (test_init): Call __libc_ifunc_impl_list to initialize
73017         func_list if TEST_IFUNC and TEST_NAME are defined.
73019         * string/Makefile (strop-tests): Add bcopy and bzero.
73020         * string/test-bcopy.c: New file.
73021         * string/test-bzero.c: Likewise.
73022         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
73023         defined.
73024         * string/test-memset.c: Support bzero test if TEST_BZERO is
73025         defined.
73026         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
73027         __libc_memmove.
73028         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
73029         __libc_memset.
73030         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
73031         of memset.
73033 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
73035         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
73036         * configure: Regenerated.
73038         * Makeconfig (+link-static-before-libc): Don't include
73039         $(link-static-libc).
73041         * libio/libio.h (_IO_pos_t): Remove.
73043 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73045         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
73046         McGrath.
73048 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73050         * crypt/crypt-entry.c: Include fips-private.h.
73051         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
73052         * crypt/md5c-test.c (main): Tolerate disabled MD5.
73053         * sysdeps/unix/sysv/linux/fips-private.h: New file.
73054         * sysdeps/generic/fips-private.h: New file, dummy fallback.
73056 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73058         * crypt/crypt-private.h: Include stdbool.h.
73059         (_ufc_setup_salt_r): Return bool.
73060         * crypt/crypt-entry.c: Include errno.h.
73061         (__crypt_r): Return NULL with EINVAL for bad salt.
73062         * crypt/crypt_util.c (bad_for_salt): New.
73063         (_ufc_setup_salt_r): Check that salt is long enough and within
73064         the specified alphabet.
73065         * crypt/badsalttest.c: New file.
73066         * crypt/Makefile (tests): Add it.
73067         ($(objpfx)badsalttest): New.
73069 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
73071         * NEWS: Add entry for BZ #14602.
73073 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
73075         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
73076         type-generic.
73077         * math/libm-test.inc: Update comment listing what functions and
73078         macros are tested.
73079         (isgreater_test): New function.
73080         (isgreaterequal_test): Likewise.
73081         (isless_test): Likewise.
73082         (islessequal_test): Likewise.
73083         (islessgreater_test): Likewise.
73084         (isunordered_test): Likewise.
73085         (main): Call the new functions.
73087 2012-10-09  Roland McGrath  <roland@hack.frob.com>
73089         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
73090         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
73091         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
73092         * sysdeps/i386/configure: Regenerated.
73093         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
73094         * sysdeps/mach/configure: Regenerated.
73095         * sysdeps/mach/hurd/configure: Regenerated.
73096         * sysdeps/powerpc/configure: Regenerated.
73097         * sysdeps/powerpc/powerpc32/configure: Regenerated.
73098         * sysdeps/powerpc/powerpc64/configure: Regenerated.
73099         * sysdeps/s390/s390-32/configure: Regenerated.
73100         * sysdeps/s390/s390-64/configure: Regenerated.
73101         * sysdeps/sh/configure: Regenerated.
73102         * sysdeps/sparc/configure: Regenerated.
73103         * sysdeps/unix/sysv/linux/configure: Regenerated.
73104         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
73105         * sysdeps/x86_64/configure: Regenerated.
73107         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
73108         defined.  Don't check if MAP is NULL.
73110 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
73112         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
73113         (_G_stat64): Likewise.
73114         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
73115         (_G_stat64): Likewise.
73116         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
73117         instead of struct _G_stat64.
73118         * libio/fileops.c (mmap_remap_check): Likewise.
73119         (decide_maybe_mmap): Likewise.
73120         (_IO_new_file_seekoff): Likewise.
73121         (_IO_file_stat): Likewise.
73122         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
73123         _G_off64_t.
73124         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
73125         instead of struct _G_stat64.
73126         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73128 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
73130         [BZ #14602]
73131         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73132         Replace with ...
73133         (CHECK_EOL): New macro.
73134         (two_way_short_needle): Check beginning of haystack for EOL.  Use
73135         CHECK_EOL.
73136         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73137         Replace with CHECK_EOL.
73138         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73139         Replace with CHECK_EOL.
73141 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
73143         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
73144         type-generic.
73145         * math/libm-test.inc: Update comment listing what functions and
73146         macros are tested.
73147         (finite_test): New function.
73148         (isinf_test): Likewise.
73149         (isnan_test): Likewise.
73150         (fpclassify_test): Test subnormal input.
73151         (isfinite_test): Likewise.
73152         (isnormal_test): Likewise.
73153         (main): Call the new functions.
73155 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
73157         [BZ #14660]
73158         * Makerules (%.dynsym): Force C locale when running
73159         $(OBJDUMP) --dynamic-syms.
73161 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
73163         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
73164         <stdint.h>.
73166 2012-10-06  David S. Miller  <davem@davemloft.net>
73168         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
73169         upper 32-bits of the length value in %o2 since we use branch-on-register
73170         tests which consider the entire 64-bit register.
73172 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
73174         * string/test-strstr.c (check2): Add a test for page boundary.
73176 2012-10-05  David S. Miller  <davem@davemloft.net>
73178         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
73179         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
73180         file.
73181         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73182         sysdep_routines.
73183         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73184         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
73185         and bzero when HWCAP_SPARC_CRYPTO is present.
73187 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
73189         [BZ #14602]
73190         * string/test-strstr.c (check2): New function.
73191         (test_main): Call check2.
73193         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
73194         and bug-strchr1.
73195         * string/bug-strcasestr1.c (do_test): Moved to ...
73196         * string/test-strcasestr.c (check1): Here.  New function.
73197         (do_one_test): Break out result checking code into ...
73198         (check_result): This.  New function.
73199         (do_one_test): Call check_result.
73200         (test_main): Call check1.
73201         * string/bug-strchr1.c (do_test): Moved to ...
73202         * string/test-strchr.c (check1): Here.  New function.
73203         (do_one_test): Break out result checking code into ...
73204         (check_result): This.  New function.
73205         (do_one_test): Call check_result.
73206         (test_main): Call check1.
73207         * string/bug-strstr1.c (main): Moved to ...
73208         * string/test-strstr.c (check1): Here.  New function.
73209         (do_one_test): Break out result checking code into ...
73210         (check_result): This.  New function.
73211         (do_one_test): Call check_result.
73212         (test_main): Call check1.
73213         * string/bug-strcasestr1.c: Removed.
73214         * string/bug-strchr1.c: Likewise.
73215         * string/bug-strstr1.c: Likewise.
73217         * elf/Makefile (dl-routines): Add hwcaps.
73218         * elf/dl-support.c (_dl_important_hwcaps): Removed.
73219         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
73220         (_dl_important_hwcaps): Moved to ...
73221         * elf/dl-hwcaps.c: Here.  New file.
73222         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
73224         [BZ #14557]
73225         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
73226         if IS_IN_rtld isn't defined.
73228         * elf/dl-support.c (_dl_sysinfo_map): New.
73229         Include "get-dynamic-info.h" and "setup-vdso.h".
73230         (_dl_non_dynamic_init): Call setup_vdso.
73231         * elf/dynamic-link.h: Don't include <assert.h>.
73232         (elf_get_dynamic_info): Moved to ...
73233         * elf/get-dynamic-info.h: Here.  New file.
73234         * elf/dynamic-link.h: Include "get-dynamic-info.h".
73235         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
73236         * elf/setup-vdso.h: Here.  New file.
73237         * elf/rtld.c: Include "setup-vdso.h".
73238         (dl_main): Call setup_vdso.
73240 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
73242         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
73243         creal in comment listing functions tested.  List finite, isinf,
73244         isnan, isless, islessequal, isgreater, isgreaterequal,
73245         islessgreater, isunordered, lgamma_r and pow10 as functions and
73246         macros not tested.  Mention which functions not tested are aliases
73247         for other functions.  Fix typo.  Note that signs of NaNs are not
73248         tested.
73250         * scripts/config.guess: Update from config.git.
73251         * scripts/config.sub: Likewise.
73253 2012-10-04  Roland McGrath  <roland@hack.frob.com>
73255         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
73256         * misc/madvise.c (madvise): Renamed to __madvise.
73257         Make madvise a weak alias.
73258         * include/sys/mman.h: Declare __madvise.
73259         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
73260         * sysdeps/unix/syscalls.list
73261         (madvise): Make __madvise the strong name, and madvise a weak alias.
73262         * sysdeps/unix/sysv/linux/syscalls.list
73263         (madvise, mmap): Remove redundant entries.
73264         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
73265         * malloc/malloc.c (mtrim): Likewise.
73266         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
73268 2012-10-03  Roland McGrath  <roland@hack.frob.com>
73270         * sysdeps/mach/hurd/dl-cache.c: File removed.
73271         * config.h.in (USE_LDCONFIG): New #undef.
73272         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
73273         * configure: Regenerated.
73274         * elf/Makefile (dl-routines): Add dl-cache only under
73275         [$(use-ldconfig) = yes].
73276         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
73277         cache on [USE_LDCONFIG].
73278         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
73279         [USE_LDCONFIG].
73280         * elf/rtld.c (dl_main): Likewise.
73282 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
73284         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
73285         _SC_LEVEL4_CACHE_LINESIZE.
73287 2012-10-03  Roland McGrath  <roland@hack.frob.com>
73289         * sysdeps/unix/bsd/confstr.h: File removed.
73291 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
73293         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
73294         sys/sdt-config.h.
73296 2012-10-02  Roland McGrath  <roland@hack.frob.com>
73298         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
73299         Make 'mapoff' field ElfW(Off) rather than off_t.
73301 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
73303         * nscd/Makefile: Remove nscd-cflags and all its users.
73304         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
73305         (CFLAGS-nonlib): Add compiler flags for nscd modules.
73307         [BZ #10631]
73308         * malloc.c (malloc_printerr): Clarify error message.
73310 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
73312         [BZ #14648]
73313         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73314         Set bit_FMA_Usable if FMA is supported.
73315         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
73316         macro.
73317         (bit_FMA4_Usable): Updated.
73318         (index_FMA_Usable): New macro.
73319         (CPUID_FMA): Likewise.
73320         (HAS_FMA): Defined with bit_FMA_Usable.
73322 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73324         * bits/types.h (__swblk_t): Type removed.
73325         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
73326         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
73327         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73328         (__SWBLK_T_TYPE): Likewise.
73329         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73330         (__SWBLK_T_TYPE): Likewise.
73331         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73332         (__SWBLK_T_TYPE): Likewise.
73333         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73334         (__SWBLK_T_TYPE): Likewise.
73336 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
73337             Honza Horak <hhorak@redhat.com>
73339         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
73340         (xdr_mapname): Use YPMAXMAP as maxsize.
73341         (xdr_peername): Use YPMAXPEER as maxsize.
73342         (xdr_keydat): Use YPAXRECORD as maxsize.
73343         (xdr_valdat): Use YPMAXRECORD as maxsize.
73345 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73347         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
73349         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
73350         * csu/init-first.c: ... here.
73351         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
73352         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
73353         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
73354         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
73355         * sysdeps/i386/init-first.c: File removed.
73356         * sysdeps/sh/init-first.c: File removed.
73358 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
73360         [BZ #14645]
73361         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
73362         if x * y might underflow to zero and z is zero.
73363         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73364         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73365         * math/libm-test.inc (min_subnorm_value): New variable.
73366         (fma_test): Add more tests.
73367         (fma_test_towardzero): Likewise.
73368         (fma_test_downward): Likewise.
73369         (fma_test_upward): Likewise.
73370         (initialize): Set min_subnorm_value.
73372 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
73374         [BZ #14638]
73375         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
73376         0 + 0.
73377         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
73378         mode for addition resulting in exact zero.
73379         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
73380         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
73381         exact 0 + 0.
73382         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73383         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73384         * math/libm-test.inc (fma_test): Add more tests.
73385         (fma_test_towardzero): New function.
73386         (fma_test_downward): Likewise.
73387         (fma_test_upward): Likewise.
73388         (main): Call the new functions.
73390 2012-09-28  David S. Miller  <davem@davemloft.net>
73392         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
73394 2012-09-28  Roland McGrath  <roland@hack.frob.com>
73396         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
73397         instead of SIGALRM.
73399         * sysdeps/gnu/_G_config.h: Moved to ...
73400         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
73401         * sysdeps/mach/hurd/_G_config.h: Moved to ...
73402         * sysdeps/generic/_G_config.h: ... here.
73404         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
73406         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
73408         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
73409         Conditionalize target on [libnss_test1.so-version].
73411         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
73413         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
73414         (elfobjdir): Move out of conditionals.
73416         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
73417         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
73418         (__nss_lookup_function): Conditionalize label remove_from_tree on
73419         [!DO_STATIC_NSS || SHARED], matching its only use.
73421 2012-09-28  David S. Miller  <davem@davemloft.net>
73423         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
73424         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
73425         file.
73426         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73427         sysdep_routines.
73428         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73429         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
73430         when HWCAP_SPARC_CRYPTO is present.
73432 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73434         * io/tst-mknodat.c: Create a FIFO instead of a socket.
73436 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
73438         [BZ #6530]
73439         * stdio-common/vfprintf.c (process_string_arg): Revert
73440         2000-07-22 change.
73442 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
73444         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
73445         for testcase.
73446         * stdio-common/tst-sprintf.c: Include <locale.h>
73447         (main): Test sprintf's handling of incomplete multibyte
73448         characters.
73450 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
73452         * elf/dl-runtime.c (VERSYMIDX): Removed.
73453         * elf/dl-version.c (VERSYMIDX): Likewise.
73454         * elf/do-rel.h (VERSYMIDX): Likewise.
73455         (VALIDX): Likewise.
73456         * elf/dynamic-link.h (VERSYMIDX): Likewise.
73457         * elf/rtld.c (VALIDX): Likewise.
73458         (ADDRIDX): Likewise.
73459         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
73460         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
73461         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
73462         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
73463         (VALIDX): Likewise.
73464         (ADDRIDX): Likewise.
73466 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73468         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
73470 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
73472         [BZ #11438]
73473         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
73474         to global scope.
73475         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
73476         addresses are in the same scope as 192.0.2/24.
73477         * posix/gai.conf: Document new scope table defaults.
73479 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73481         [BZ #5298]
73482         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
73483         for ftell.  Compute offsets from write pointers instead.
73484         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73486 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73488         [BZ #14543]
73489         * libio/Makefile (tests): New test case tst-fseek.
73490         * libio/tst-fseek.c: New test case to verify that fseek/ftell
73491         combination works in wide mode.
73492         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
73493         state when the external buffer state changes.
73495 2012-09-27  David S. Miller  <davem@davemloft.net>
73497         [BZ #14376]
73498         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
73499         pass reloc->r_addend in as the 'high' argument to
73500         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
73502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73504 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73506         * rt/tst-aio2.c: Include <pthread.h>.
73507         * rt/tst-aio3.c: Likewise.
73509 2012-09-27  Steve Ellcey  <sellcey@mips.com>
73511         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
73513 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
73515         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
73516         contents on [SHARED].
73518 2012-09-26  Marek Polacek  <polacek@redhat.com>
73520         [BZ #14530]
73521         [BZ #13741]
73522         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
73523         for C++ and GCC <4.3 as well as for non GCC compilers.
73525 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
73527         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73529 2012-09-25  Roland McGrath  <roland@hack.frob.com>
73531         * Makefile.in (all, install): Declare with .PHONY.
73532         Reported by Michael Hope <michael.hope@linaro.org>.
73534 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73536         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
73537         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
73538         system header.
73539         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
73540         Likewise.
73541         (sydep_routines): Add the new and the internal functions.
73542         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
73543         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
73544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
73545         (GLIBC_2.17): Add the new function.
73546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73547         (GLIBC_2.17): Likewise.
73548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
73549         (GLIBC_2.17): Likewise.
73550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
73551         (GLIBC_2.17): Likewise.
73552         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
73554 2012-09-25  Alan Modra  <amodra@gmail.com>
73556         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
73557         Add release barrier before setting once_control to say
73558         initialisation is done.  Add hints on lwarx.  Use macro in
73559         place of isync.
73560         (clear_once_control): Add release barrier.
73562 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73564         [BZ #13629]
73565         * math/s_clog.c (__clog): Handle more values close to |z| = 1
73566         specially.
73567         * math/s_clog10.c (__clog10): Likewise.
73568         * math/s_clog10f.c (__clog10f): Likewise.
73569         * math/s_clog10l.c (__clog10l): Likewise.
73570         * math/s_clogf.c (__clogf): Likewise.
73571         * math/s_clogl.c (__clogl): Likewise.
73572         * math/Makefile (libm-calls): Add x2y2m1.
73573         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
73574         (__x2y2m1): Likewise.
73575         (__x2y2m1l): Likewise.
73576         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
73577         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
73578         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
73579         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
73580         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
73581         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
73582         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
73583         * sysdeps/i386/fpu/libm-test-ulps: Update.
73584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73586         [BZ #14621]
73587         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
73588         int as type of variable DEPTH.
73589         (glob): Use size_t instead of int as type of variables NEWCOUNT
73590         and OLD_PATHC.
73592 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73594         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73595         Add s_sincosf-sse2.
73596         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
73597         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
73598         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
73599         macros for using routine as __sincosf_ia32.
73600         Use macro for function declaration and weak_alias.
73601         * sysdeps/i386/fpu/libm-test-ulps: Update.
73603         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
73604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73606         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
73607         subnormal argument.
73608         * math/s_cexpf.c (__cexpf): Likewise.
73609         * math/s_csinf.c (__csinf): Likewise.
73610         * math/s_csinhf.c (__csinhf): Likewise.
73611         * math/s_ctanf.c (__ctanf): Likewise.
73612         * math/s_ctanhf.c (__ctanhf): Likewise.
73613         * math/s_ccosh.c (__ccoshf): Likewise.
73614         * math/s_cexp.c (__cexpl): Likewise.
73615         * math/s_csin.c (__csin): Likewise.
73616         * math/s_csinh.c (__csinh): Likewise.
73617         * math/s_ctan.c (__ctan): Likewise.
73618         * math/s_ctanh.c (ctanh): Likewise.
73619         * math/s_ccoshl.c (__ccoshl): Likewise.
73620         * math/s_cexpl.c (__cexpl): Likewise.
73621         * math/s_csinl.c (__csinl): Likewise.
73622         * math/s_csinhl.c (__csinhl): Likewise.
73623         * math/s_ctanl.c (__ctanl): Likewise.
73624         * math/s_ctanhl.c (__ctanhl): Likewise.
73626 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73628         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
73629         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
73630         (_IO_off_t): Define to __off_t, not _G_off_t.
73631         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
73632         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
73633         (_IO_wint_t): Define to wint_t, not _G_wint_t.
73634         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
73635         type of __dummy and __dummy2 fields.
73636         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
73637         (_G_ssize_t): Likewise.
73638         (_G_off_t): Likewise.
73639         (_G_pid_t): Likewise.
73640         (_G_uid_t): Likewise.
73641         (_G_wchar_t): Likewise.
73642         (_G_wint_t): Likewise.
73643         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
73644         (_G_ssize_t): Likewise.
73645         (_G_off_t): Likewise.
73646         (_G_pid_t): Likewise.
73647         (_G_uid_t): Likewise.
73648         (_G_wchar_t): Likewise.
73649         (_G_wint_t): Likewise.
73650         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
73651         (_G_ssize_t): Likewise.
73652         (_G_off_t): Likewise.
73653         (_G_pid_t): Likewise.
73654         (_G_uid_t): Likewise.
73655         (_G_wchar_t): Likewise.
73656         (_G_wint_t): Likewise.
73658 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73660         * malloc/arena.c: Include malloc-sysdep.h.
73661         (shrink_heap): Use check_may_shrink_heap to decide if madvise
73662         is sufficient to shrink the heap or an unmap is needed.
73663         * sysdeps/generic/malloc-sysdep.h: New file.  Define
73664         new function check_may_shrink_heap.
73665         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
73666         new function check_may_shrink_heap.
73668 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73670         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
73671         comments.
73673 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
73675         * catgets/test-gencat.sh: Add "set -e".
73676         * elf/tst-pathopt.sh: Likewise.
73677         * grp/tst_fgetgrent.sh: Likewise.
73678         * iconvdata/run-iconv-test.sh: Likewise.
73679         * intl/tst-gettext.sh: Likewise.
73680         * intl/tst-gettext2.sh: Likewise.
73681         * intl/tst-gettext4.sh: Likewise.
73682         * intl/tst-gettext6.sh: Likewise.
73683         * intl/tst-translit.sh: Likewise.
73684         * io/ftwtest-sh: Likewise.
73685         * libio/test-freopen.sh: Likewise.
73686         * malloc/tst-mtrace.sh: Likewise.
73687         * posix/globtest.sh: Likewise.
73688         * posix/tst-getconf.sh: Likewise.
73689         * posix/wordexp-tst.sh: Likewise.
73690         * stdio-common/tst-printf.sh: Likewise.
73691         * stdio-common/tst-unbputc.sh: Likewise.
73692         * stdlib/tst-fmtmsg.sh: Likewise.
73693         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
73694         * catgets/Makefile: Do not specify -e option when running
73695         testsuite shell scripts.
73696         * elf/Makefile: Likewise.
73697         * grp/Makefile: Likewise.
73698         * iconvdata/Makefile: Likewise.
73699         * intl/Makefile: Likewise.
73700         * io/Makefile: Likewise.
73701         * libio/Makefile: Likewise.
73702         * malloc/Makefile: Likewise.
73703         * posix/Makefile: Likewise.
73704         * stdio-common/Makefile: Likewise.
73705         * stdlib/Makefile: Likewise.
73706         * sysdeps/x86_64/Makefile: Likewise.
73708         * io/ftwtest-sh: Add copyright header.
73709         * posix/globtest.sh: Likewise.
73710         * posix/tst-getconf.sh: Likewise.
73711         * posix/wordexp-tst.sh: Likewise.
73712         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
73714 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
73716         [BZ #13679]
73717         * Makeconfig (+link): Defined as $(+link-static) if
73718         $(build-shared) isn't yes.
73719         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
73720         isn't yes.
73721         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
73723         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
73725         [BZ #14562]
73726         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
73727         new chunk size with MALLOC_ALIGN_MASK.
73729 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
73731         [BZ #5044]
73732         * stdio-common/printf_fphex.c: Include <stdbool.h> and
73733         <rounding-mode.h>.
73734         (__printf_fphex): Determine rounding using get_rounding_mode and
73735         round_away.
73736         * stdio-common/tst-printf-round.c (struct hex_test): New
73737         structure.
73738         (hex_tests): New variable.
73739         (test_hex_in_one_mode): New function.
73740         (do_test): Also run tests for hex float output.
73742 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
73744         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
73745         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
73746         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
73747         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
73748         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
73749         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
73750         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
73751         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
73753 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
73755         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
73756         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
73757         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
73758         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
73760 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
73762         [BZ #14579]
73763         * elf/rtld.c (dl_main): Limit the check for self loading to normal
73764         mode only.
73765         * elf/tst-rtld-load-self.sh: New test.
73766         * elf/Makefile: Run it.
73768 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
73770         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
73771         (tst-writev-ENV): Remove.
73772         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
73774 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
73776         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
73778 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
73780         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
73781         unconditional.
73782         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
73783         Likewise.
73784         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
73785         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
73786         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
73787         Likewise.
73789 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
73791         [BZ #14587]
73792         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
73793         * config.make.in (have-cpp-asm-debuginfo): Removed.
73794         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
73795         * configure: Regenerated.
73797 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
73799         [BZ #5044]
73800         * stdio-common/printf_fp.c: Include <stdbool.h> and
73801         <rounding-mode.h>.
73802         (___printf_fp): Determine rounding using get_rounding_mode and
73803         round_away.
73804         * stdio-common/tst-printf-round.c: New file.
73805         * stdio-common/Makefile (tests): Add tst-printf-round.
73806         (link-libm): New variable.
73807         ($(objpfx)tst-printf-round): Depend in $(link-libm).
73809 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
73811         [BZ #14576]
73812         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
73813         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
73814         Likewise.
73815         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
73816         Likewise.
73818 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
73820         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
73821         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73822         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73823         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
73825 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
73827         [BZ #14518]
73828         * include/rounding-mode.h: New file.
73829         * sysdeps/generic/get-rounding-mode.h: Likewise.
73830         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
73831         * stdlib/strtod_l.c: Include <rounding-mode.h>.
73832         (MAX_VALUE): New macro.
73833         (MIN_VALUE): Likewise.
73834         (overflow_value): New function.
73835         (underflow_value): Likewise.
73836         (round_and_return): Use overflow_value and underflow_value to
73837         determine return values in overflow and underflow cases.  Use
73838         round_away to determine rounding depending on rounding mode.
73839         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
73840         determine return values in overflow and underflow cases.
73841         * stdlib/tst-strtod-round.c: Include <fenv.h>.
73842         (struct test_results): New structure.
73843         (struct test): Use struct test_results to store expected results
73844         for all rounding modes.
73845         (TEST): Include expected results for all rounding modes.
73846         (test_in_one_mode): New function.
73847         (do_test): Use test_in_one_mode to compute and check results.
73848         Check results for all rounding modes.
73849         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
73850         $(link-libm).
73852 2012-12-09  Allan McRae  <allan@archlinux.org>
73854         * sysdeps/i386/fpu/libm-test-ulps: Update
73856 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
73858         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
73859         (_G_int32_t): Likewise.
73860         (_G_uint16_t): Likewise.
73861         (_G_uint32_t): Likewise.
73862         (_G_HAVE_BOOL): Likewise.
73863         (_G_HAVE_ATEXIT): Likewise.
73864         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73865         (_G_HAVE_IO_FILE_OPEN): Likewise.
73866         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
73867         (_G_int32_t): Likewise.
73868         (_G_uint16_t): Likewise.
73869         (_G_uint32_t): Likewise.
73870         (_G_HAVE_BOOL): Likewise.
73871         (_G_HAVE_ATEXIT): Likewise.
73872         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73873         (_G_HAVE_IO_FILE_OPEN): Likewise.
73874         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
73875         (_G_int32_t): Likewise.
73876         (_G_uint16_t): Likewise.
73877         (_G_uint32_t): Likewise.
73878         (_G_HAVE_BOOL): Likewise.
73879         (_G_HAVE_ATEXIT): Likewise.
73880         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
73881         (_G_HAVE_IO_FILE_OPEN): Likewise.
73883 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
73885         * csu/libc-tls.c: Update copyright years.
73887 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
73889         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
73890         [!_G_USING_THUNKS]: Remove conditional code.
73891         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
73892         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
73894         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
73895         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
73896         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73897         (_G_VTABLE_LABEL_PREFIX): Likewise.
73898         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73899         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73900         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73901         (_G_VTABLE_LABEL_PREFIX): Likewise.
73902         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73903         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
73904         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
73905         (_G_VTABLE_LABEL_PREFIX): Likewise.
73906         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
73908 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
73910         * libio/Makefile: Include ../Makeconfig before tests.
73911         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
73912         only if $(build-shared) is yes.
73914         * iconv/gconv_db.c: Update copyright years.
73916 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73918         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
73919         unwind info if defined PIC. Fix special cases description.
73920         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
73922         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
73923         DP_HI_MASK entry.
73924         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
73926 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
73928         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
73930         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
73931         is NULL.
73933         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
73934         (LDLIBS-tst-chk4): This.
73935         (LDFLAGS-tst-chk5): Renamed to ...
73936         (LDLIBS-tst-chk5): This.
73937         (LDFLAGS-tst-chk6): Renamed to ...
73938         (LDLIBS-tst-chk6): This.
73939         (LDFLAGS-tst-lfschk4): Renamed to ...
73940         (LDLIBS-tst-lfschk4): This.
73941         (LDFLAGS-tst-lfschk5): Renamed to ...
73942         (LDLIBS-tst-lfschk5): This.
73943         (LDFLAGS-tst-lfschk6): Renamed to ...
73944         (LDLIBS-tst-lfschk6): This.
73946         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
73947         on $(common-objpfx)soversions.mk.
73949 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
73951         [BZ #10014]
73952         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
73953         example host name.
73955 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
73957         * malloc/arena.c (arena_get_retry): New function that gets
73958         another arena for the caller to try its request on.
73959         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
73960         current arena cannot fulfill the request.
73961         (__libc_memalign): Likewise.
73962         (__libc_memalign): Likewise.
73963         (__libc_pvalloc): Likewise.
73964         (__libc_calloc): Likewise.
73966 2012-09-05  John Tobey  <john.tobey@gmail.com>
73968         [BZ #13542]
73969         * manual/arith.texi (Operations on Complex): Fix description
73970         of carg branch cut.
73972 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
73974         [BZ #10014]
73975         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
73976         host name.
73978         [BZ #10038]
73979         * manual/memory.texi (Memory): Make order of menu items match
73980         order of sections.
73982 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73984         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
73985         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
73986         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
73988 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
73990         * csu/libc-tls.c (static_dtv): Renamed to ...
73991         (_dl_static_dtv): This.  Make it global.
73992         (_dl_initial_dtv): Removed.
73993         (__libc_setup_tls): Updated.
73994         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
73995         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
73996         DL_INITIAL_DTV.
73998 2012-09-06  Petr Machata  <pmachata@redhat.com>
74000         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
74001         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
74002         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
74003         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
74005 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74007         [BZ #14545]
74008         * csu/libc-tls.c (_dl_initial_dtv): New variable.
74009         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
74010         freeing dtv[-1].
74012 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74014         [BZ #14544]
74015         * Makeconfig (link-static-before-libc): Replace $(+prector)
74016         with $(+prectorT).
74017         (link-static-after-libc): Replace $(+postctor) with
74018         $(+postctorT).
74019         (link-bounded): Replace $(+prector)/$(+postctor) with
74020         $(+prectorT)/$(+postctorT).
74021         (+prectorT): New macro.
74022         (+postctorT): Likewise.
74024 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
74026         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
74027         (round_str): Handle values above the maximum for IBM long double
74028         as inexact.
74029         * stdlib/tst-strtod-round.c (tests): Regenerated.
74031 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74033         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
74034         assembler flag.
74035         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
74036         zarch_nohighgprs around the zarch optimized routines.
74037         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
74038         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
74039         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
74040         for zarch.
74042 2012-09-05  David S. Miller  <davem@davemloft.net>
74044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74046         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
74047         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
74048         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
74049         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74050         entries.
74052 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74054         * malloc/arena.c: Fold copyright years.
74055         * malloc/mcheck.c, malloc/memusage.c: Likewise.
74057 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74059         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
74061 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74063         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
74065 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74067         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
74068         change internal state upon failure.
74070 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74072         * malloc/mcheck.c (mcheck_check_all): Fix typo.
74073         * malloc/memusage.c (mmap): Likewise.
74074         (mmap64, mremap): Likewise.  Adjust name in comment.
74076 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
74078         * libio/fileops.c: Fix typos in comments.
74079         * libio/oldfileops.c: Likewise.
74080         * libio/wfileops.c: Likewise.
74082 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
74084         [BZ #1349]
74085         * malloc/Makefile (tests): Add tst-malloc-usable test case.
74086         (tst-malloc-usable-ENV): Set environment for test case.
74087         * malloc/hooks.c (malloc_check_get_size): New function to get
74088         requested size.
74089         * malloc/malloc.c (musable): Use malloc_check_get_size.
74090         * malloc/tst-malloc-usable.c: New test case.
74092 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74094         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
74096 2012-09-05  Allan McRae  <allan@archlinux.org>
74098         [BZ #13966]
74099         * configure.in (CXX_SYSINCLUDES): Use compiler output to
74100         determine header location.
74101         * configure: Regenerated.
74103 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74105         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
74106         float format.
74107         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
74108         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
74109         format.
74110         (test): Regenerate.
74112 2012-09-04  David S. Miller  <davem@davemloft.net>
74114         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
74115         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
74116         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
74118 2012-09-04  Florian Weimer  <fweimer@redhat.com>
74120         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
74121         failures.
74123         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
74125 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
74127         [BZ #9914]
74128         * libio/iogetdelim.c: Include <limits.h>.
74129         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
74130         + len + 1 would overflow.
74132 2012-09-03  Andreas Jaeger  <aj@suse.de>
74134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74135         * sysdeps/i386/fpu/libm-test-ulps: Update.
74137 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74139         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
74140         Add s_sinf-sse2, s_conf-sse2.
74142         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
74143         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
74144         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
74145         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
74147         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
74148         for using routine as __sinf_ia32.
74149         Use macro for function declaration and weak_alias.
74150         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
74151         for using routine as __cosf_ia32.
74152         Use macro for function declaration and weak_alias.
74154         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
74155         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
74157         * sysdeps/x86_64/fpu/s_sinf.S: New file.
74158         * sysdeps/x86_64/fpu/s_cosf.S: New file.
74159         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74161         * math/libm-test.inc (cos_test): Add more test cases.
74162         (sin_test): Likewise.
74163         (sincos_test): Likewise.
74165 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74167         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
74168         (IFUNC_RESOLVE): Make pointers to the specialized implementations
74169         hidden.
74170         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
74172 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
74174         [BZ #14538]
74175         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
74176         first element of the GOT.
74177         (elf_machine_load_address): Return the difference between
74178         the runtime address of _DYNAMIC and elf_machine_dynamic ().
74180 2012-09-01  Allan McRae  <allan@archlinux.org>
74182         [BZ #13412]
74183         * configure.in (AWK): Require gawk version 3.0 or later.
74184         * configure: Regenerated.
74186 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
74188         * sysdeps/unix/sysv/linux/kernel-features.h
74189         (__ASSUME_POSIX_CPU_TIMERS): Remove.
74190         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
74191         [__NR_clock_getres]: Make code unconditional.
74192         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
74193         (clock_getcpuclockid): Remove code left unreachable by removal of
74194         conditionals.
74195         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
74196         code unconditional.
74197         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
74198         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74199         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
74200         Make code unconditional.
74201         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
74202         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74203         * sysdeps/unix/sysv/linux/clock_settime.c
74204         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
74205         conditional code.
74206         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
74207         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74209 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
74211         [BZ #14476]
74212         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
74213         scripts/test-installation.pl.
74215         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
74216         and $ld_so_version if it is set.
74218 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
74220         [BZ #14516]
74221         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
74222         failure if reading from procfs failed.
74223         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
74225 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
74227         * sysdeps/unix/sysv/linux/kernel-features.h
74228         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
74229         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
74230         Remove conditional code.
74231         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74232         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
74233         Remove conditional code.
74234         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74235         * sysdeps/unix/sysv/linux/i386/fxstat.c
74236         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74237         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74238         * sysdeps/unix/sysv/linux/i386/fxstatat.c
74239         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74240         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74241         * sysdeps/unix/sysv/linux/i386/lxstat.c
74242         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74243         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74244         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
74245         Remove conditional code.
74246         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74247         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
74248         Remove conditional code.
74249         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74250         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
74251         <kernel-features.h>.
74252         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
74253         Remove.
74254         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
74255         Remove conditional code.
74256         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74257         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
74258         Remove conditional.
74260 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
74262         [BZ #5400]
74263         * NEWS: Add fixed bug number.
74265 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
74267         [BZ #14519]
74268         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
74269         underflowing exponent in case of negative sign.
74270         * stdlib/tst-strtod-round-data: Add more tests.
74271         * stdlib/tst-strtod-round.c (tests): Regenerated.
74273         [BZ #3479]
74274         * stdlib/strtod_l.c (NDIG): Remove.
74275         (HEXNDIG): Likewise.
74276         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
74277         smallest representable value.
74278         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
74279         lie within an exact representation of 1/2 ulp of the result.
74280         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
74281         unconditionally.
74282         (TENS_P9_IDX): Define unconditionally.
74283         (TENS_P9_SIZE): Likewise.
74284         (TENS_P10_IDX): Likewise.
74285         (TENS_P10_SIZE): Likewise.
74286         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
74287         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
74288         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
74289         entries for 10^2^13 and 10^2^14.
74290         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
74291         (TENS_P13_IDX): Define.
74292         (TENS_P13_SIZE): Likewise.
74293         (TENS_P14_IDX): Likewise.
74294         (TENS_P14_SIZE): Likewise.
74295         (_fpioconst_pow10): Change array size to
74296         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
74297         unconditional.
74298         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
74299         1024]: Add entries for 10^2^13 and 10^2^14.
74300         [LAST_POW10 > _LAST_POW10]: Remove #error.
74301         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
74302         (_fpioconst_pow10): Change array size to
74303         FPIOCONST_POW10_ARRAY_SIZE.
74304         * stdlib/gen-fpioconst.c: New file.
74305         * stdlib/gen-tst-strtod-round.c: Likewise.
74306         * stdlib/tst-strtod-round-data: Likewise.
74307         * stdlib/tst-strtod-round.c: Likewise.
74308         * stdlib/Makefile (tests): Add tst-strtod-round.
74310         [BZ #14459]
74311         * stdlib/strtod_l.c: Include <stdint.h>.
74312         (NDEBUG): Do not define.
74313         (round_and_return): Change EXPONENT parameter to type intmax_t.
74314         Rearrange calculations to avoid internal overflow possibilities.
74315         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
74316         Rearrange calculations to avoid internal overflow possibilities.
74317         Assert that number fits inside MPNSIZE limbs.
74318         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
74319         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
74320         calculations and add assertions to avoid internal overflow
74321         possibilities.  Add casts to avoid signed/unsigned operations.
74322         * stdlib/tst-strtod-overflow.c: New file.
74323         * stdlib/Makefile (tests): Add tst-strtod-overflow.
74325 2012-08-25  Marek Polacek  <polacek@redhat.com>
74327         * time/time.h: Fix some typos in comments.
74329 2012-08-23  Roland McGrath  <roland@hack.frob.com>
74331         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
74332         * posix/tst-rfc3484-2.c: Likewise.
74333         * posix/tst-rfc3484-3.c: Likewise.
74335 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
74337         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
74338         (EF_ARM_ABI_FLOAT_HARD): Likewise.
74340 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
74342         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
74343         #include of fxstatat64.c.
74345 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74347         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
74348         * shadow/getspent_r.c: Likewise.
74349         * shadow/getspnam.c: Likewise.
74350         * shadow/getspnam_r.c: Likewise.
74351         * gshadow/getsgent.c: Likewise.
74352         * gshadow/getsgent_r.c: Likewise.
74353         * gshadow/getsgnam.c: Likewise.
74354         * gshadow/getsgnam_r.c: Likewise.
74355         * inet/getnetbyad.c: Likewise.
74356         * inet/getnetbyad_r.c: Likewise.
74357         * inet/getnetbynm.c: Likewise.
74358         * inet/getnetbynm_r.c: Likewise.
74359         * inet/getnetent.c: Likewise.
74360         * inet/getnetent_r.c: Likewise.
74361         * inet/getproto.c: Likewise.
74362         * inet/getproto_r.c: Likewise.
74363         * inet/getprtent.c: Likewise.
74364         * inet/getprtent_r.c: Likewise.
74365         * inet/getprtname.c: Likewise.
74366         * inet/getprtname_r.c: Likewise.
74367         * inet/getrpcbyname.c: Likewise.
74368         * inet/getrpcbyname_r.c: Likewise.
74369         * inet/getrpcbynumber.c: Likewise.
74370         * inet/getrpcbynumber_r.c: Likewise.
74371         * inet/getrpcent.c: Likewise.
74372         * inet/getrpcent_r.c: Likewise.
74373         * inet/getaliasent.c: Likewise.
74374         * inet/getaliasent_r.c: Likewise.
74375         * inet/getaliasname.c: Likewise.
74376         * inet/getaliasname_r.c: Likewise.
74377         * nscd/getgrgid_r.c: Likewise.
74378         * nscd/getgrnam_r.c: Likewise.
74379         * nscd/gethstbyad_r.c: Likewise.
74380         * nscd/gethstbynm3_r.c: Likewise.
74381         * nscd/getpwnam_r.c: Likewise.
74382         * nscd/getpwuid_r.c: Likewise.
74383         * nscd/getsrvbynm_r.c: Likewise.
74384         * nscd/getsrvbypt_r.c: Likewise.
74385         * nscd/gai.c: Likewise.
74387         * configure.in (build_nscd): New substituted variable, set
74388         by --disable-build-nscd and defaults to $use_nscd.
74389         * configure: Regenerated.
74390         * config.make.in (build-nscd): New substituted variable.
74391         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
74392         Change conditional to require [$(build-nscd) = yes] as well.
74393         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
74395         [BZ #13696]
74396         * configure.in (use_nscd): New substituted variable, set by
74397         --disable-nscd.  If enabled, define USE_NSCD.
74398         * configure: Regenerated.
74399         * config.h.in: Add USE_NSCD.
74400         * config.make.in (use-nscd): New substituted variable.
74401         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
74402         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
74403         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
74404         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
74405         (CFLAGS-getgrnam_r.c): Likewise.
74406         (CFLAGS-initgroups.c): Likewise.
74407         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
74408         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
74409         Variables removed.
74410         * inet/getnetgrent_r.c
74411         (nscd_setnetgrent): New function, broken out of ...
74412         (setnetgrent): ... here.  Call it.
74413         (innetgr): Conditionalize nscd bits on [USE_NSCD].
74414         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
74415         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
74416         * nscd/Makefile (routines, aux): Move definitions after include of
74417         Makeconfig.  Conditionalize on [$(use-nscd) != no].
74418         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
74419         Conditionalize on [USE_NSCD].
74420         (is_nscd, nscd_init_cb): Likewise.
74421         (nss_load_library): Conditionalize init callback on [USE_NSCD].
74422         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
74423         * nss/nss_db/db-init.c: Likewise.
74424         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
74425         [USE_NSCD].
74426         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
74427         (make_request): Use it.
74428         (cache_valid_p): New function.
74429         (__check_pf): Use it.
74430         * NEWS: Add item for --disable-nscd.
74432 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
74434         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
74435         to support sed >= 4.2.1-20-ga9bf076.
74436         * configure: Regenerated.
74438 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74440         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
74441         Conditionalize whole body on [IREL].
74443 2012-08-22  Jeff Law <law@redhat.com>
74445         [BZ #14505]
74446         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
74447         if the family is PF_UNSPEC.
74449 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
74451         * Makerules (lib-version): Rename from V.
74452         (install-lib-nosubdir): Change V to lib-version.
74454 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
74456         [BZ #14252]
74457         * powerpc32/power6/wcschr.c: New file.
74458         * powerpc32/power6/wcscpy.c: New file.
74459         * powerpc32/power6/wcsrchr.c: New file.
74460         * powerpc64/power6/wcschr.c: New file.
74461         * powerpc64/power6/wcscpy.c: New file.
74462         * powerpc64/power6/wcsrchr.c: New file.
74464 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74466         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
74467         (two_way_short_needle): Use it.
74468         * string/strstr.c (AVAILABLE1_USES_J): Define.
74469         * string/strcasestr.c: Likewise.
74471         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
74472         array references.
74473         * string/strcasestr.c (TOLOWER): Make side-effect safe.
74475         [BZ #11607]
74476         * NEWS: Add an entry.
74477         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
74478         define their defaults.
74479         (two_way_short_needle): Detect end-of-string on-the-fly.
74480         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
74481         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
74482         * string/bug-strcasestr1.c: New test.
74483         * string/Makefile: Run it.
74485 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74487         [BZ #11607]
74488         * string/str-two-way.h (two_way_short_needle): Optimize matching of
74489         the first character.
74491 2012-08-21  Roland McGrath  <roland@hack.frob.com>
74493         * csu/elf-init.c (__libc_csu_irel): Function removed.
74494         * csu/libc-start.c (apply_irel): New function.
74495         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
74497 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
74499         * sysdeps/unix/sysv/linux/kernel-features.h
74500         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
74501         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
74502         <kernel-features.h>.
74503         [__NR_fadvise64_64]: Make code unconditional.
74504         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
74505         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74506         !__NR_fadvise64_64)]: Likewise.
74507         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74508         !__NR_fadvise64_64))]: Likewise.
74509         [__NR_fadvise64]: Make code unconditional.
74510         [!__NR_fadvise64]: Remove conditional code.
74511         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
74512         <kernel-features.h>.
74513         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74514         unconditional.
74515         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74516         conditional code.
74517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
74518         not include <kernel-features.h>.
74519         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74520         unconditional.
74521         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74522         conditional code.
74523         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
74524         include <kernel-features.h>.
74525         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74526         unconditional.
74527         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74528         conditional code.
74530 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74532         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
74533         slight instruction rearrangements per scrollpipe analysis.
74534         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
74536 2012-08-20  Roland McGrath  <roland@hack.frob.com>
74538         * manual/syslog.texi (syslog; vsyslog, closelog):
74539         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
74540         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
74542         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
74543         DSOCAPS to match condition on defining it.
74545 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
74547         * sysdeps/unix/sysv/linux/kernel-features.h
74548         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
74549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
74550         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74551         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
74553         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74554         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
74556         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74557         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74559         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
74560         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
74562         * sysdeps/unix/sysv/linux/kernel-features.h
74563         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
74564         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
74565         unconditional.
74566         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74567         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
74568         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74569         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74570         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
74571         Make code unconditional.
74572         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74573         (__mmap64) [!__NR_mmap2]: Likewise.
74574         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
74575         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74576         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74577         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
74578         [__NR_mmap2]: Make code unconditional.
74579         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74580         (__mmap64) [!__NR_mmap2]: Likewise.
74582 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74584         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
74586 2012-08-18  Andreas Jaeger  <aj@suse.de>
74588         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
74590 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74592         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
74593         * include/unistd.h (__have_sock_cloexec): Likewise.
74594         (__have_pipe2): Likewise.
74595         (__have_dup3): Likewise.
74597 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74599         [BZ #9685]
74600         * include/unistd.h (__have_pipe2): Change define into an extern int.
74601         (__have_dup3): Likewise.
74602         * socket/have_sock_cloexec.c: Include fcntl.h.
74603         (__have_pipe2): New variable.
74604         (__have_dup3): Likewise.
74606 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
74608         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
74610 2012-08-17  Marek Polacek  <polacek@redhat.com>
74612         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
74613         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
74615 2012-08-17  Roland McGrath  <roland@hack.frob.com>
74617         * configure.in: Add AC_SUBST for sysheaders.
74618         * configure: Regenerated.
74619         * config.make.in (sysheaders): New substituted variable.
74621         * sysdeps/unix/mkfifo.c: Moved ...
74622         * sysdeps/posix/mkfifo.c: ... here.
74623         * sysdeps/unix/mkfifoat.c: Moved ...
74624         * sysdeps/posix/mkfifoat.c: ... here.
74626         * sysdeps/unix/utime.c: Moved ...
74627         * sysdeps/posix/utime.c: ... here.
74629         * sysdeps/unix/time.c: Moved ...
74630         * sysdeps/posix/time.c: ... here.
74631         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
74632         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
74634         * sysdeps/unix/nice.c: Moved ...
74635         * sysdeps/posix/nice.c: ... here.
74637         * sysdeps/unix/alarm.c: Moved ...
74638         * sysdeps/posix/alarm.c: ... here.
74640         * intl/Makefile ($(codeset_mo)): Depend on the input file.
74642 2012-08-17  Jeff Law <law@redhat.com>
74644         * intl/Makefile (codeset_mo): New variable.
74645         ($(codeset_mo)): New target.
74646         (tst-codeset.out): Depend on that.  Remove explicit rule.
74647         (tst-gettext3.out, tst-gettext5.out): Likewise.
74648         (LOCPATH-ENV, tst-codeset-ENV): New variables.
74649         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
74650         * intl/tst-codeset.sh: Remove.
74651         * intl/tst-gettext3.sh: Likewise.
74652         * intl/tst-gettext5.sh: Likewise.
74654 2012-08-17  Roland McGrath  <roland@hack.frob.com>
74656         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
74657         * sysdeps/unix/syscalls.list: ... here.
74659         * sysdeps/posix/getaddrinfo.c
74660         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
74661         (gaiconf_init, gaiconf_reload): Use them.
74662         [!_STATBUF_ST_NSEC]
74663         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
74664         Define using time_t rather than struct timespec.
74666         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
74667         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
74668         Macros removed.
74669         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
74670         [!NO_THREADS].
74671         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
74672         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
74673         Likewise.
74675         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
74676         __libc_cleanup_push argument.
74678         * bits/param.h: New file.
74679         * misc/sys/param.h: New file.
74680         * include/sys/param.h: New file.
74681         * misc/Makefile (headers): Add bits/param.h.
74682         * sysdeps/generic/sys/param.h: File removed.
74683         * sysdeps/unix/sysv/linux/bits/param.h: New file.
74684         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
74685         * sysdeps/mach/hurd/bits/param.h: New file.
74686         * sysdeps/mach/hurd/sys/param.h: File removed.
74688         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
74689         last change.
74691         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
74692         [_IO_MTSAFE_IO].
74693         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
74694         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
74695         New macros.
74697         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
74698         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
74699         rather than -D_IO_MTSAFE_IO conditionally.
74700         * stdio-common/Makefile (CPPFLAGS): Likewise.
74701         * wcsmbs/Makefile (CPPFLAGS): Likewise.
74702         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
74703         Use $(libio-mtsafe).
74704         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
74705         of -D_IO_MTSAFE_IO.
74706         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
74707         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
74708         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
74709         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
74710         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
74711         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
74712         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
74713         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
74714         (CFLAGS-fread_u_chk.c): Likewise.
74715         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
74716         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
74717         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
74718         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
74719         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
74720         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
74721         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
74722         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
74723         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
74725         * libio/Makefile: Test [$(libc-reentrant) = yes]
74726         instead of [$(filter %REENTRANT, $(defines)) nonempty].
74728         * Makeconfig
74729         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
74730         * sysdeps/pthread/configure: File removed.
74731         * sysdeps/pthread/Makeconfig: New file.
74732         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
74733         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
74735 2012-08-16  Gary Benson  <gbenson@redhat.com>
74737         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
74738         unmapping the first object in a namespace.
74740 2012-08-16  Roland McGrath  <roland@hack.frob.com>
74742         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
74743         (__internal_setnetgrent): ... this.  Add internal_function to
74744         definition.  Add libc_hidden_def.
74745         (setnetgrent): Update caller.
74746         (internal_endnetgrent): Renamed to ...
74747         (__internal_endnetgrent): ... this.  Add internal_function to
74748         definition.  Add libc_hidden_def.
74749         (endnetgrent): Update caller.
74750         (internal_getnetgrent_r): Renamed to ...
74751         (__internal_getnetgrent_r): ... this.  Add internal_function to
74752         definition.  Add libc_hidden_def.
74753         (__getnetgrent_r): Update caller.
74754         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
74756 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
74758         * stdlib/longlong.h: Update from GCC.
74760 2012-08-16  Roland McGrath  <roland@hack.frob.com>
74762         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
74763         on _QL, which is set by umul_ppmm but never used.
74764         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
74765         variables, which are set by GMP macros but never used.
74766         * stdio-common/_itowa.c (_itowa): Likewise.
74767         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
74768         * stdlib/mod_1.c (mpn_mod_1): Likewise.
74770 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
74772         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
74773         struct La_sh_regs is not constant.
74774         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
74775         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
74776         and struct La_sparc64_regs are not constant.
74778 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
74780         * sysdeps/unix/sysv/linux/kernel-features.h
74781         (__ASSUME_POSIX_TIMERS): Remove.
74782         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
74783         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74784         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
74785         Make code unconditional.
74786         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74787         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
74788         Make code unconditional.
74789         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74790         * sysdeps/unix/sysv/linux/clock_nanosleep.c
74791         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
74792         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74793         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
74794         Make code unconditional.
74795         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
74796         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
74797         (__libc_missing_posix_timers): Remove.
74799 2012-08-15  Roland McGrath  <roland@hack.frob.com>
74801         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
74802         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
74804         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
74806         * elf/dl-sym.c: Include <stdlib.h>.
74808         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
74809         constants, which avoids warnings in 32-bit builds.
74811         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
74812         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
74814         * misc/lseek.c: File moved to ...
74815         * io/lseek.c: ... here.
74817         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
74819         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
74820         shifting LEN more than 31 bits at once.
74822 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74824         [BZ #14195]
74825         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
74826         segmentation fault for a case of two empty input strings.
74827         * string/test-strncasecmp.c (check1): Renamed to...
74828         (bz12205): ...this.
74829         (bz14195): Add new testcase for two empty input strings and N > 0.
74830         (test_main): Call new testcase, adapt for renamed function.
74832 2012-08-15  Andreas Jaeger  <aj@suse.de>
74834         [BZ #14090]
74835         * crypt/md5test2.c: New test, based on test supplied by Serge
74836         Belyshev <belyshev@depni.sinp.msu.ru>.
74837         * crypt/Makefile (xtests): Add md5test-giant..
74838         * crypt/Makefile ($(objpfx)md5test-giant): Add.
74840 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
74842         [BZ #14090]
74843         * crypt/md5.c (md5_process_block): Don't assume the buffer
74844         length is less than 2**32.
74845         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
74846         length is less than 2**64.
74848 2012-08-15  Roland McGrath  <roland@hack.frob.com>
74850         * string/str-two-way.h: Include <sys/param.h>.
74851         (MAX): Macro removed.
74853         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
74854         Move #define and #undef of memmove to just before and after
74855         including <string.h>.
74857         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
74858         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
74859         and after including <string.h>.  Move declarations of
74860         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
74861         to before #include "string/memmove.c".
74863         * include/dirent.h: Declare __getdirentries.
74865         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
74866         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
74868 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
74870         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
74871         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
74872         * sysdeps/i386/configure: Regenerated.
74873         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
74874         STABS_CURRENT_FILE, and STABS_FUN.
74875         (END): Remove call to STABS_FUN_END.
74876         (STABS_CURRENT_FILE1): Delete.
74877         (STABS_CURRENT_FILE): Likewise.
74878         (STABS_FUN): Likewise.
74879         (STABS_FUN_END): Likewise.
74880         (STABS_FUN2): Likewise.
74881         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
74882         * sysdeps/x86_64/configure: Regenerated.
74884 2012-08-14  Roland McGrath  <roland@hack.frob.com>
74886         * elf/dl-open.c: Include <atomic.h>.
74887         * elf/dl-lookup.c: Likewise.
74889 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
74891         * sysdeps/unix/sysv/linux/kernel-features.h
74892         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
74893         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
74894         unconditionally.
74895         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
74896         unconditionally.
74897         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
74898         condition on __ASSUME_CLONE_THREAD_FLAGS.
74900 2012-08-14  Andreas Jaeger  <aj@suse.de>
74902         * sysdeps/i386/fpu/libm-test-ulps: Update.
74904 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
74906         * include/atomic.h (atomic_exchange_and_add): Split into ...
74907         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
74908         New atomic macros.
74910 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
74912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74914 2012-08-13  Jeff Law <law@redhat.com>
74916         * manual/stdio.texi (snprintf): Clarify handling of the trailing
74917         null byte in the output string.
74919 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
74921         * sysdeps/unix/sysv/linux/kernel-features.h
74922         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
74923         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
74924         (__ASSUME_ARG_MAX_STACK_BASED): Define.
74925         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
74926         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
74927         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
74928         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
74930 2012-08-09  Jeff Law <law@redhat.com>
74932         [BZ #13939]
74933         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
74934         When avoid_arena is set, don't retry in the that arena.  Pick the
74935         next one, whatever it might be.
74936         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
74937         (arena_lock): Pass in new parameter to arena_get2.
74938         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
74939         arena_get2.
74940         (__libc_malloc): Unify retrying after main arena failure with
74941         __libc_memalign version.
74942         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
74944 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
74946         [BZ #14166]
74947         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
74948         to __redirect_strstr.
74949         (__strstr_sse42): Use typeof __redirect_strstr.
74950         (__strstr_ia32): Likewise.
74951         (__libc_strstr): New prototype.
74952         (strstr): Renamed to ...
74953         (__libc_strstr): This.
74954         (strstr): New strong alias of __libc_strstr.
74955         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74956         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
74957         __redirect_time.
74958         Include <time.h>.
74959         (__libc_time): New prototype.
74960         (time_ifunc): Replace time with __libc_time.
74961         (time): New strong alias and hidden definition of __libc_time.
74962         (__GI_time): Remove strong alias.
74963         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
74964         Include <stddef.h>.
74965         (memmove): Redefined to __redirect_memmove.
74966         (__memmove_sse2): Use typeof __redirect_memmove.
74967         (__memmove_ssse3): Likewise.
74968         (__memmove_ssse3_back): Likewise.
74969         (__libc_memmove): New prototype.
74970         (memmove): Renamed to ...
74971         (__libc_memmove): This.
74972         (memmove): New strong alias of __libc_memmove.
74974 2012-08-08  Mark Salter  <msalter@redhat.com>
74976         * elf/elf.h
74977         (R_MN10300_TLS_GD): Define.
74978         (R_MN10300_TLS_LD): Likewise.
74979         (R_MN10300_TLS_LDO): Likewise.
74980         (R_MN10300_TLS_GOTIE): Likewise.
74981         (R_MN10300_TLS_IE): Likewise.
74982         (R_MN10300_TLS_LE): Likewise.
74983         (R_MN10300_TLS_DTPMOD): Likewise.
74984         (R_MN10300_TLS_DTPOFF): Likewise.
74985         (R_MN10300_TLS_TPOFF): Likewise.
74986         (R_MN10300_SYM_DIFF): Likewise.
74987         (R_MN10300_ALIGN): Likewise.
74988         (R_MN10300_NUM): Update.
74990 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
74992         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
74993         Remove.
74995 2012-08-08  Roland McGrath  <roland@hack.frob.com>
74997         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
74999         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
75000         sysdeps/unix -> sysdeps/posix move.
75001         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
75003 2012-08-07      Allan McRae     <allan@archlinux.org>
75005         [BZ #14303]
75006         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
75007         (SUNOS_CPP): Likewise.
75008         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
75009         not found.
75010         (open_input): Call CPP using execvp.
75012 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
75014         * sysdeps/unix/sysv/linux/kernel-features.h
75015         (__ASSUME_PROT_GROWSUPDOWN): Remove.
75016         (__ASSUME_NO_CLONE_DETACHED): Likewise.
75017         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75018         (__ASSUME_WAITID_SYSCALL): Likewise.
75019         * sysdeps/unix/sysv/linux/dl-execstack.c
75020         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
75021         code unconditional.
75022         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
75023         conditional code.
75024         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
75025         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
75026         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
75027         code.
75028         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
75029         unconditional.
75030         [__ASSUME_WAITID_SYSCALL]: Likewise.
75031         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
75033 2012-08-07  Roland McGrath  <roland@hack.frob.com>
75035         * sysdeps/unix/closedir.c: Renamed to ...
75036         * sysdeps/posix/closedir.c: ... here.
75037         * sysdeps/unix/dirfd.c: Renamed to ...
75038         * sysdeps/posix/dirfd.c: ... here.
75039         * sysdeps/unix/dirstream.h: Renamed to ...
75040         * sysdeps/posix/dirstream.h: ... here.
75041         * sysdeps/unix/fdopendir.c: Renamed to ...
75042         * sysdeps/posix/fdopendir.c: ... here.
75043         * sysdeps/unix/opendir.c: Renamed to ...
75044         * sysdeps/posix/opendir.c: ... here.
75045         * sysdeps/unix/readdir.c: Renamed to ...
75046         * sysdeps/posix/readdir.c: ... here.
75047         * sysdeps/unix/readdir_r.c: Renamed to ...
75048         * sysdeps/posix/readdir_r.c: ... here.
75049         * sysdeps/unix/rewinddir.c: Renamed to ...
75050         * sysdeps/posix/rewinddir.c: ... here.
75051         * sysdeps/unix/seekdir.c: Renamed to ...
75052         * sysdeps/posix/seekdir.c: ... here.
75053         * sysdeps/unix/telldir.c: Renamed to ...
75054         * sysdeps/posix/telldir.c: ... here.
75055         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
75056         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
75057         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
75058         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
75060         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
75061         * bits/fcntl.h: ... here.
75063         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
75064         not 0.
75065         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
75066         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
75067         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
75068         (struct flock): Move l_start, l_len to the beginning.
75069         Use __pid_t for l_pid.
75070         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
75071         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
75072         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
75073         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
75074         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
75075         [__USE_LARGEFILE64] (struct flock64): New type.
75076         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
75078         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
75079         * bits/dirent.h: ... here.
75081         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
75082         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
75084 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
75086         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75087         Change from 2.6.0 to 2.6.16.
75088         * sysdeps/unix/sysv/linux/configure: Regenerated.
75089         * sysdeps/unix/sysv/linux/kernel-features.h
75090         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
75091         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
75092         version.
75093         (__ASSUME_UTIMES): Likewise.
75094         (__ASSUME_CLONE_STOPPED): Remove.
75095         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
75096         architectures, not kernel version.
75097         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
75098         (__ASSUME_NO_CLONE_DETACHED): Likewise.
75099         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75100         (__ASSUME_WAITID_SYSCALL): Likewise.
75101         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
75102         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
75103         * README: State 2.6.16 as minimum Linux kernel version.  Do not
75104         refer to older versions.
75106 2012-08-06  Roland McGrath  <roland@hack.frob.com>
75108         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
75109         Define alphasort64 as an alias.
75110         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
75111         Define versionsort64 as an alias.
75112         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
75113         Define scandir64 as an alias.
75114         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
75115         Define scandirat64 as an alias.
75116         * dirent/alphasort64.c (alphasort64):
75117         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
75118         * dirent/versionsort64.c: Likewise.
75119         * dirent/scandir64.c: Likewise.
75120         * dirent/scandirat64.c: Likewise.
75121         * sysdeps/wordsize-64/alphasort.c: File removed.
75122         * sysdeps/wordsize-64/alphasort64.c: File removed.
75123         * sysdeps/wordsize-64/scandir.c: File removed.
75124         * sysdeps/wordsize-64/scandir64.c: File removed.
75125         * sysdeps/wordsize-64/scandirat.c: File removed.
75126         * sysdeps/wordsize-64/scandirat64.c: File removed.
75127         * sysdeps/wordsize-64/versionsort.c: File removed.
75128         * sysdeps/wordsize-64/versionsort64.c: File removed.
75129         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
75130         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
75131         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
75132         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
75133         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
75134         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
75135         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
75136         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
75138         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
75139         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
75140         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
75141         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75142         [defined __arch64__ || defined __sparcv9]
75143         (__INO_T_MATCHES_INO64_T): New macro.
75144         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75145         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
75146         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
75147         * sysdeps/unix/sysv/linux/bits/dirent.h
75148         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
75149         (_DIRENT_MATCHES_DIRENT64): New macro.
75151         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
75152         Define lockf64 as an alias.
75153         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
75154         Define fseeko64 as an alias.
75155         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
75156         Define ftello64 as an alias.
75157         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
75158         Define _IO_fgetpos64 and fgetpos64 as aliases.
75159         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
75160         Define _IO_fsetpos64 and fsetpos64 as aliases.
75161         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
75162         Conditionalize body on this.
75163         * libio/fseeko64.c: Likewise.
75164         * libio/ftello64.c: Likewise.
75165         * libio/iofgetpos64.c: Likewise.
75166         * libio/iofsetpos64.c: Likewise.
75167         * sysdeps/wordsize-64/lockf.c: File removed.
75168         * sysdeps/wordsize-64/lockf64.c: File removed.
75169         * sysdeps/wordsize-64/fseeko.c: File removed.
75170         * sysdeps/wordsize-64/fseeko64.c: File removed.
75171         * sysdeps/wordsize-64/ftello.c: File removed.
75172         * sysdeps/wordsize-64/ftello64.c: File removed.
75173         * sysdeps/wordsize-64/iofgetpos.c: File removed.
75174         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
75175         * sysdeps/wordsize-64/iofsetpos.c: File removed.
75176         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
75177         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
75178         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
75179         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
75180         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
75181         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
75182         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
75183         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
75184         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
75185         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
75186         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
75188         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
75189         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
75190         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
75191         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75192         [defined __arch64__ || defined __sparcv9]
75193         (__OFF_T_MATCHES_OFF64_T): New macro.
75194         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75195         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
75196         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75197         (__OFF_T_MATCHES_OFF64_T): New macro.
75199 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
75201         * stdlib/secure-getenv.c (__secure_getenv): Replace
75202         GLIBC_2_16 with GLIBC_2_17.
75204 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
75206         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
75207         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75209 2012-08-03  David S. Miller  <davem@davemloft.net>
75211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75213 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
75215         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
75216         Remove.
75217         (__ASSUME_CORRECT_SI_PID): Likewise.
75218         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
75219         (__ASSUME_TMPFS_NAME): Likewise.
75220         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
75221         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
75222         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
75223         (HAVE_AUX_SECURE): Make definition unconditional.
75224         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
75225         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
75227 2012-08-03  Roland McGrath  <roland@hack.frob.com>
75229         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
75230         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
75231         * sysdeps/mach/hurd/eloop-threshold.h: New file.
75232         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75233         __eloop_threshold instead of SYMLOOP_MAX.
75235         * sysdeps/generic/eloop-threshold.h: New file.
75236         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
75237         of MAXSYMLINKS.
75238         * elf/chroot_canon.c (chroot_canon): Likewise.
75240 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
75242         [BZ #13717]
75243         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75244         Change to 2.6.0 everywhere.
75245         * sysdeps/unix/sysv/linux/configure: Regenerated.
75246         * sysdeps/unix/sysv/linux/kernel-features.h
75247         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
75248         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
75249         kernel versions.
75250         (__ASSUME_POSIX_TIMERS): Define unconditionally.
75251         (__ASSUME_FUTEX_REQUEUE): Remove.
75252         (__ASSUME_STATFS64): Define unconditionally.
75253         (__ASSUME_AT_SECURE): Likewise.
75254         (__ASSUME_CORRECT_SI_PID): Likewise.
75255         (__ASSUME_TGKILL): Define without depending on kernel version for
75256         i386.
75257         (__ASSUME_UTIMES): Likewise.
75258         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
75259         kernel version.
75260         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
75261         (__ASSUME_TMPFS_NAME): Likewise.
75262         * README: Update reference to Linux kernel versions.
75264 2012-08-02  Marek Polacek  <polacek@redhat.com>
75266         [BZ #14150]
75267         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
75268         libc_cv_asm_type_prefix with %.
75269         * configure: Regenerated.
75270         * include/libc-symbols.h: Remove comment about
75271         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75272         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
75273         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
75274         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
75275         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
75276         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75277         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
75278         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
75279         * elf/tst-unique2mod1.c: Likewise.
75280         * elf/tst-unique1mod2.c: Likewise.
75281         * elf/tst-unique1mod1.c: Likewise.
75282         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
75283         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
75284         Replace ASM_TYPE_DIRECTIVE with .type.
75285         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75286         * sysdeps/i386/sysdep.h: Likewise.
75287         * sysdeps/x86_64/sysdep.h: Likewise.
75288         * sysdeps/sh/sysdep.h: Likewise.
75289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75290         Do not define ASM_TYPE_DIRECTIVE.
75291         * sysdeps/powerpc/sysdep.h: Likewise.
75292         * sysdeps/powerpc/powerpc32/sysdep.h:
75293         Replace ASM_TYPE_DIRECTIVE with .type.
75294         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75295         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75296         * sysdeps/i386/fpu/e_powf.S: Likewise.
75297         * sysdeps/i386/fpu/e_expl.S: Likewise.
75298         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75299         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75300         * sysdeps/i386/fpu/e_pow.S: Likewise.
75301         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75302         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75303         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75304         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75305         * sysdeps/i386/fpu/e_log2.S: Likewise.
75306         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75307         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75308         * sysdeps/i386/fpu/e_powl.S: Likewise.
75309         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75310         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75311         * sysdeps/i386/fpu/e_logl.S: Likewise.
75312         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75313         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75314         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75315         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75316         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75317         * sysdeps/i386/fpu/e_log.S: Likewise.
75318         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75319         * sysdeps/i386/fpu/e_logf.S: Likewise.
75320         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75321         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75322         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75323         * sysdeps/i386/fpu/e_log10.S: Likewise.
75324         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75325         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75326         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75327         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75328         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75329         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
75330         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75331         * sysdeps/i386/i686/strtok.S: Likewise.
75332         * sysdeps/i386/i386-mcount.S: Likewise.
75333         * sysdeps/i386/strtok.S: Likewise.
75334         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
75335         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75336         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75337         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75338         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75339         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75340         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75341         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75342         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75343         * sysdeps/x86_64/_mcount.S: Likewise.
75344         * sysdeps/x86_64/strtok.S: Likewise.
75345         * sysdeps/sh/_mcount.S: Likewise.
75347 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75349         * libio/iofopen.c: Include <fcntl.h>.
75350         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
75351         (_IO_fopen64, fopen64): Define as aliases.
75352         * libio/iofopen64.c: Include <fcntl.h>.
75353         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
75354         Conditionalize body on this.
75355         * sysdeps/wordsize-64/iofopen.c: File removed.
75356         * sysdeps/wordsize-64/iofopen64.c: File removed.
75358 2012-08-01  Marek Polacek  <polacek@redhat.com>
75360         * libc/Makeconfig: Use elf in place of binfmt-subdir.
75361         Use dlfcn directly instead of a variable.
75362         (binfmt-subdir): Do not define.
75363         (dlfcn): Likewise.
75365 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
75367         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
75368         Remove all definitions.
75369         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
75370         <kernel-features.h>.
75371         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75372         (miss_F_GETOWN_EX): Remove all definitions.
75373         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
75374         macro definition.
75375         [!__ASSUME_FCNTL64]: Remove conditional code.
75376         [__ASSUME_FCNTL64]: Make code unconditional.
75377         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
75378         <kernel-features.h>.
75379         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75380         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
75381         (lockf64) [__NR_fcntl64]: Make code unconditional.
75382         (lockf64) [__ASSUME_FCNTL64]: Likewise.
75384         * sysdeps/unix/sysv/linux/kernel-features.h
75385         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
75386         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
75387         Make code unconditional.
75388         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75389         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
75391         [__NR_vfork]: Make code unconditional.
75392         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75393         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
75395         [__NR_vfork]: Make code unconditional.
75396         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75397         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75399 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75401         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
75402         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
75404         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75405         Define mkstemp64 as an alias.
75406         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75407         Define mkstemps64 as an alias.
75408         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75409         Define mkostemp64 as an alias.
75410         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75411         Define mkostemps64 as an alias.
75412         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
75413         Conditionalize body on this.
75414         * misc/mkostemp64.c: Likewise.
75415         * misc/mkostemps64.c: Likewise.
75416         * misc/mkstemps64.c: Likewise.
75417         * sysdeps/wordsize-64/mkstemp64.c: File removed.
75418         * sysdeps/wordsize-64/mkostemp64.c: File removed.
75419         * sysdeps/wordsize-64/mkostemp.c: File removed.
75420         * sysdeps/wordsize-64/mkstemp.c: File removed.
75421         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
75422         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
75423         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
75424         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
75426         [BZ #14138]
75427         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
75428         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
75429         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
75430         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
75432         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
75433         compat_symbol macros from <shlib-compat.h> rather than the underlying
75434         default_symbol_version and symbol_version macros, so that DEFAULT
75435         lines in shlib-versions are respected.
75436         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
75438 2012-08-01  Florian Weimer  <fweimer@redhat.com>
75440         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
75441         Declare with warn_unused_result.
75442         (setgid, setregid, setegid, setresgid): Likewise.
75443         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
75444         Likewise.
75445         * WUR-REPORT: Remove set*id functions.
75447 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
75449         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
75451 2012-07-31  Roland McGrath  <roland@hack.frob.com>
75453         [BZ #10191]
75454         * include/sys/socket.h (__libc_accept, __libc_accept4):
75455         Add attribute_hidden.
75456         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
75458         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
75459         use of PTR_MANGLE.
75460         * inet/getnetgrent_r.c (setup): Likewise.
75462         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
75464 2012-07-31  David S. Miller  <davem@davemloft.net>
75466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75468 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
75470         [BZ #13629]
75471         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
75472         value between 1.0 and 2.0 and smaller part has absolute value less
75473         than 1.0.
75474         * math/s_clog10.c (__clog10): Likewise.
75475         * math/s_clog10f.c (__clog10f): Likewise.
75476         * math/s_clog10l.c (__clog10l): Likewise.
75477         * math/s_clogf.c (__clogf): Likewise.
75478         * math/s_clogl.c (__clogl): Likewise.
75479         * math/libm-test.inc (clog_test): Add more tests.
75480         (clog10_test): Likewise.
75481         * sysdeps/i386/fpu/libm-test-ulps: Update.
75482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75484 2012-07-31  Florian Weimer  <fweimer@redhat.com>
75486         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
75487         Exit with zero in case no suitable GID is found, and write a
75488         message to standard error.
75490 2012-07-30  Roland McGrath  <roland@hack.frob.com>
75492         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
75493         rather than to 1.
75494         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
75495         (MAXPATHLEN): Removed.
75496         (NOGROUP, NODEV): New macros.
75497         (setbit, clrbit, isset, isclr): New macros.
75498         (howmany, roundup, powerof2): New macros.
75499         (DEV_BSIZE): New macro.
75501         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
75502         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
75504         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
75505         definition on [!__NO_LONG_DOUBLE_MATH].
75507         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
75508         PTR_MANGLE and PTR_DEMANGLE.
75510         * socket/accept4.c (accept4): Rename to __libc_accept4.
75511         Define accept4 as a weak alias.
75513         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
75514         on [_DIRENT_HAVE_D_TYPE].
75515         * io/ftw.c (ftw_dir): Likewise.
75517         * io/xmknod.c (__xmknod): Don't check PATH for being null.
75519         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
75521         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
75522         Use the BSD numbers rather than the arbitrary ones we had.
75523         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
75524         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
75525         (SIGXCPU, SIGXFSZ): New macros.
75526         (_NSIG): Now 32.
75528         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
75529         initializer on [_LIBC_REENTRANT].
75531         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
75532         definitions inside [_POSIX_MAPPED_FILES].
75534         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
75536         * dirent/opendir.c: Include <fcntl.h>.
75538         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
75539         (__libc_getspecific): Likewise.
75540         (__libc_key_create): Likewise.
75542         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
75543         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
75544         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
75545         (tmpfile64): Define as alias.
75546         * sysdeps/wordsize-64/tmpfile.c: File removed.
75547         * sysdeps/wordsize-64/tmpfile64.c: File removed.
75548         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
75549         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
75551         * stdio-common/vfscanf.c: Include <stdbool.h>.
75552         * nss/makedb.c: Likewise.
75553         * stdio-common/_i18n_number.h: Likewise.
75554         * argp/argp-help.c: Likewise.
75555         * posix/wordexp.c: Likewise.
75556         * sysdeps/posix/spawni.c: Likewise.
75557         * nss/nss_files/files-initgroups.c: Likewise.
75558         * stdio-common/reg-modifier.c: Include <stdlib.h>.
75559         * nss/nss_files/files-initgroups.c: Likewise.
75560         * nss/nss_db/db-netgrp.c: Likewise.
75561         * nss/nss_db/db-initgroups.c: Likewise.
75562         * io/fchmodat.c: Include <sys/stat.h>.
75564         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
75565         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
75567         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
75568         [HAVE_MMAP].
75570         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
75571         Add multiple inclusion protection.
75573 2012-07-27  David S. Miller  <davem@davemloft.net>
75575         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75577 2012-07-27  Gary Benson  <gbenson@redhat.com>
75579         [BZ #14298]
75580         * elf/rtld.c: Include <stap-probe.h>.
75581         (dl_main): Added static probes "init_start" and "init_complete".
75582         * elf/dl-load.c: Include <stap-probe.h>.
75583         (lose): Take new parameter "nsid".
75584         Added static probe "map_failed".
75585         (_dl_map_object_from_fd): Pass namespace id to lose.
75586         Added static probe "map_start".
75587         (open_verify): Pass namespace id to lose.
75588         * elf/dl-open.c: Include <stap-probe.h>.
75589         (dl_open_worker) Added static probes "map_complete", "reloc_start"
75590         and "reloc_complete".
75591         * elf/dl-close.c: Include <stap-probe.h>.
75592         (_dl_close_worker): Added static probes "unmap_start" and
75593         "unmap_complete".
75594         * elf/rtld-debugger-interface.txt: New file documenting the above.
75596 2012-07-26  Roland McGrath  <roland@hack.frob.com>
75598         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
75599         rather than a string variable.
75600         * sunrpc/rpc_main.c (h_output): Likewise.
75601         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
75603 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
75605         * inet/check_native.c: New file.
75607 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
75609         [BZ #13629]
75610         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
75611         if larger part has absolute value 1.0.
75612         * math/s_clog10.c (__clog10): Likewise.
75613         * math/s_clog10f.c (__clog10f): Likewise.
75614         * math/s_clog10l.c (__clog10l): Likewise.
75615         * math/s_clogf.c (__clogf): Likewise.
75616         * math/s_clogl.c (__clogl): Likewise.
75617         * math/libm-test.inc (clog_test): Add more tests.
75618         (clog10_test): Likewise.
75619         * sysdeps/i386/fpu/libm-test-ulps: Update.
75620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75622         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
75623         (pltexit): Likewise.
75624         (La_regs): Likewise.
75625         (La_retval): Likewise.
75626         (int_retval): Likewise.
75627         Update #error for removed macros to refer only to definitions in
75628         tst-audit.h.
75629         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
75630         macro.
75631         (pltexit): Likewise.
75632         (La_regs): Likewise.
75633         (La_retval): Likewise.
75634         (int_retval): Likewise.
75635         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
75636         macro.
75637         (pltexit): Likewise.
75638         (La_regs): Likewise.
75639         (La_retval): Likewise.
75640         (int_retval): Likewise.
75641         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
75642         macro.
75643         (pltexit): Likewise.
75644         (La_regs): Likewise.
75645         (La_retval): Likewise.
75646         (int_retval): Likewise.
75647         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
75648         macro.
75649         (pltexit): Likewise.
75650         (La_regs): Likewise.
75651         (La_retval): Likewise.
75652         (int_retval): Likewise.
75653         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
75654         macro.
75655         (pltexit): Likewise.
75656         (La_regs): Likewise.
75657         (La_retval): Likewise.
75658         (int_retval): Likewise.
75659         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
75660         macro.
75661         (pltexit): Likewise.
75662         (La_regs): Likewise.
75663         (La_retval): Likewise.
75664         (int_retval): Likewise.
75665         * sysdeps/generic/tst-audit.h: Update comment to refer only to
75666         macro definitions in tst-audit.h.
75667         * sysdeps/i386/tst-audit.h: New file.
75668         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
75669         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
75670         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
75671         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
75672         * sysdeps/sh/tst-audit.h: Likewise.
75673         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
75674         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
75675         * sysdeps/x86_64/tst-audit.h: Likewise.
75677 2012-07-26  Andreas Jaeger  <aj@suse.de>
75679         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
75680         ptrace.
75682         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
75683         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
75684         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
75685         PTRACE_O_MASK.
75686         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
75687         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
75688         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
75690         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
75691         value.
75693         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
75694         _sigsys.
75695         (si_call_addr, si_syscall, si_arch): Define new macro.
75696         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
75697         _sigsys.
75698         (si_call_addr, si_syscall, si_arch): Define new marcro.
75699         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
75700         _sigsys.
75701         (si_call_addr, si_syscall, si_arch): Define new macro.
75702         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
75703         _sigsys.
75704         (si_call_addr, si_syscall, si_arch): Define new macro.
75706 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
75708         [BZ #13717]
75709         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75710         Change to 2.4.21 where previously 2.4.1.
75711         * sysdeps/unix/sysv/linux/configure: Regenerated.
75712         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
75713         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
75714         Linux kernel version.
75715         (__ASSUME_STD_AUXV): Remove.
75716         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
75717         kernel version.
75718         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
75719         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
75720         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
75721         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
75722         (__ASSUME_NETLINK_SUPPORT): Likewise.
75723         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
75724         (__no_netlink_support): Remove conditional definition.
75725         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
75726         Remove.
75727         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
75728         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
75729         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
75730         (if_nameindex_ioctl): Remove.
75731         (if_nameindex_netlink): Do not handle __no_netlink_support.
75732         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
75733         code.
75734         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
75735         Remove conditional code.
75736         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
75737         code.
75738         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
75739         unconditional.
75740         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
75741         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
75742         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
75743         Remove.
75744         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
75745         [!__ASSUME_STD_AUXV]: Remove conditional code.
75746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
75747         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
75748         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
75749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
75750         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
75751         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
75752         code.
75753         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
75754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
75755         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
75756         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
75757         conditional code.
75758         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
75759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
75760         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
75761         code.
75762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
75763         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
75764         conditional code.
75765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
75766         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75767         code unconditional.
75768         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75769         conditional code.
75770         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75771         unconditional.
75772         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75773         conditional code.
75774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75775         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75776         unconditional.
75777         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75778         conditional code.
75779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
75780         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75781         code unconditional.
75782         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75783         conditional code.
75784         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75785         unconditional.
75786         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75787         conditional code.
75788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
75789         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
75790         code unconditional.
75791         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75792         conditional code.
75793         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
75794         unconditional.
75795         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
75796         conditional code.
75798 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
75800         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
75801         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
75802         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
75803         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
75804         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
75805         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
75806         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
75807         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
75808         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
75809         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
75810         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
75811         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
75812         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
75813         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
75814         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
75815         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
75816         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
75817         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
75818         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
75819         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
75820         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
75821         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
75822         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
75824 2012-07-25  Florian Weimer  <fweimer@redhat.com>
75826         * Versions.def: Add GLIBC_2.17.
75827         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
75828         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
75829         Introduce __libc_secure_getenv.
75830         * stdlib/Versions (2.17): Add secure_getenv
75831         (GLIBC_PRIVATE): Add __libc_secure_getenv.
75832         * stdlib/secure-getenv.c: Rename __secure_getenv to
75833         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
75834         symbol __secure_getenv for GLIBC_2.0.
75835         * stdlib/tst-secure-getenv.c: New.
75836         * stdlib/Makefile (tests): Add testcase.
75837         * manual/startup.texi (Environment Access): Document
75838         secure_getenv.
75839         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
75840         __libc_secure_getenv.
75841         * inet/ruserpass.c (ruserpass): Likewise.
75842         * malloc/mtrace.c (mtrace): Likewise.
75843         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
75844         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
75845         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
75846         * sysdeps/posix/tempname.c: Likewise.  Evaluate
75847         HAVE_SECURE_GETENV.
75848         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
75849         __secure_getenv to __libc_secure_getenv.
75850         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
75851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75852         Likewise.
75853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75854         Likewise.
75855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75857         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75863 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
75865         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
75866         (struct La_i86_retval): Likewise.
75867         (struct La_x86_64_regs): Likewise.
75868         (struct La_x86_64_retval): Likewise.
75869         (struct La_x32_regs): Likewise.
75870         (struct La_x32_retval): Likewise.
75871         (struct La_ppc32_regs): Likewise.
75872         (struct La_ppc32_retval): Likewise.
75873         (struct La_ppc64_regs): Likewise.
75874         (struct La_ppc64_retval): Likewise.
75875         (struct La_sh_regs): Likewise.
75876         (struct La_sh_retval): Likewise.
75877         (struct La_s390_32_regs): Likewise.
75878         (struct La_s390_32_retval): Likewise.
75879         (struct La_s390_64_regs): Likewise.
75880         (struct La_s390_64_retval): Likewise.
75881         (struct La_sparc32_regs): Likewise.
75882         (struct La_sparc32_retval): Likewise.
75883         (struct La_sparc64_regs): Likewise.
75884         (struct La_sparc64_retval): Likewise.
75885         (struct audit_ifaces): Remove architecture-specific pltenter and
75886         pltexit members.
75887         * sysdeps/i386/ldsodefs.h: New file.
75888         * sysdeps/powerpc/ldsodefs.h: Likewise.
75889         * sysdeps/s390/ldsodefs.h: Likewise.
75890         * sysdeps/sh/ldsodefs.h: Likewise.
75891         * sysdeps/sparc/ldsodefs.h: Likewise.
75892         * sysdeps/x86_64/ldsodefs.h: Likewise.
75894 2012-07-25  Marek Polacek  <polacek@redhat.com>
75896         [BZ #6808]
75897         * math/libm-test.inc (yn_test): Add another test.
75898         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
75899         to ERANGE when the result is +-Inf.
75900         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
75901         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
75902         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
75903         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
75905 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
75907         * conform/data/time.h-data (NULL): Use macro-constant.  Require
75908         equal to 0.
75909         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
75910         clock_t.
75911         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
75913 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
75915         * configure.in <sysdeps resolving>: Correct printing
75916         Implies_before.
75917         * configure: Regenerate.
75919 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
75921         * math/w_ilogb.c: Include <limits.h>.
75922         * math/w_ilogbl.c: Likewise.
75924 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75926         * manual/lang.texi (__va_copy): Document primarily as ISO C99
75927         va_copy.  Document allowing for unavailable va_copy only as
75928         pre-C99 compatibility.
75929         * manual/string.texi (Copying and Concatenation): Use va_copy
75930         instead of __va_copy in concat example.
75932 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
75934         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
75935         (__sendto): Use create_address_port.  Initialize APORT and deallocate
75936         it if not null.
75938         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
75939         with O_NOLINK passed to __file_name_lookup.
75941         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
75942         with O_NOLINK passed to __file_name_lookup.
75944         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
75945         negative N or less than NGIDS.
75947         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
75948         type to string_t.  Set ERANGE as errno and return it if NAME is not big
75949         enough.  Use memcpy instead of strncpy.
75951 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
75953         * elf/Makefile (check-data): Remove.
75954         (localplt.data): New vpath directive.
75955         ($(objpfx)check-localplt.out): Use localplt.data from vpath
75956         instead of $(check-data).
75957         * scripts/data/localplt-generic.data: Move to ...
75958         * sysdeps/generic/localplt.data: ... here.
75959         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
75960         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
75961         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
75962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
75963         ... here.
75964         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
75965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
75966         ... here.
75967         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
75968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
75969         ... here.
75970         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
75971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
75972         ... here.
75973         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
75974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
75975         ... here.
75976         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
75977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
75978         ... here.
75980 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75982         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
75983         PPC32 and PPC64 files.
75984         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
75985         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
75987 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75989         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
75990         __makecontext_ret to ...
75991         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
75992         ... here and call exit if uc_link is NULL.  New file.
75993         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
75994         __makecontext_ret.S.
75995         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
75996         __makecontext_ret to ...
75997         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
75998         ... here and call exit if uc_link is NULL.  New file.
75999         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
76000         __makecontext_ret.S.
76002 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76004         * elf/elf.h (R_390_IRELATIVE): New definition.
76005         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
76006         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
76007         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
76008         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
76009         (elf_machine_lazy_rel): Likewise.
76010         * sysdeps/s390/dl-irel.h: New file.
76011         * sysdeps/s390/s390-64/memcpy.S: New asm code.
76012         * sysdeps/s390/s390-64/memset.S: New asm code.
76013         * sysdeps/s390/s390-64/memcmp.S: New asm code.
76014         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
76015         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
76016         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
76017         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
76018         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
76019         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
76020         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
76021         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
76022         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
76023         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
76024         * sysdeps/s390/s390-32/memcpy.S: New asm code.
76025         * sysdeps/s390/s390-32/memset.S: New asm code.
76026         * sysdeps/s390/s390-32/memcmp.S: New asm code.
76028 2012-07-17  Marek Polacek  <polacek@redhat.com>
76030         [BZ #14349]
76031         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
76032         * sysdeps/s390/s390-64/configure.in: Likewise.
76033         * sysdeps/sparc/configure.in: Likewise.
76034         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
76035         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
76036         * sysdeps/i386/configure.in: Likewise.
76037         * sysdeps/x86_64/configure.in: Likewise.
76038         * sysdeps/sh/configure.in: Likewise.
76039         * sysdeps/s390/s390-32/configure: Regenerated.
76040         * sysdeps/s390/s390-64/configure: Likewise.
76041         * sysdeps/x86_64/configure: Likewise.
76042         * sysdeps/sh/configure: Likewise.
76043         * sysdeps/powerpc/powerpc64/configure: Likewise.
76044         * sysdeps/powerpc/powerpc32/configure: Likewise.
76045         * sysdeps/sparc/configure: Likewise.
76046         * sysdeps/i386/configure: Likewise.
76048         * elf/dl-open.c: Comment fixes.
76050 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
76052         * Makefile [CXX] (check-data): Remove.
76053         [CXX] (c++-types.data): New vpath directive.
76054         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
76055         vpath.  Do not allow for C++ type data being missing.
76056         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
76057         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
76058         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
76059         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
76060         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
76061         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
76062         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
76063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
76064         ... here.
76065         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
76066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
76067         ... here.
76068         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
76069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
76070         ... here.
76071         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
76072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
76073         ... here.
76074         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
76075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
76076         ... here.
76077         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
76078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
76079         ... here.
76080         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
76081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
76082         ... here.
76083         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
76084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
76086         * elf/tls-macros.h (TLS_LE): Move architecture-specific
76087         definitions to architecture-specific files.
76088         (TLS_IE): Likewise.
76089         (TLS_LD): Likewise.
76090         (TLS_GD): Likewise.
76091         * sysdeps/i386/tls-macros.h: New file.
76092         * sysdeps/powerpc/tls-macros.h: Likewise.
76093         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
76094         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
76095         * sysdeps/sh/tls-macros.h: Likewise.
76096         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
76097         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
76098         * sysdeps/x86_64/tls-macros.h: Likewise.
76100 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
76102         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
76103         zero value for regular exit case.
76105         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
76106         (__start_context): Preserve zero value for regular exit case.
76108 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
76109             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76111         * manual/setjmp.texi (setcontext): Clarify normal process
76112         termination when uc_link is the null pointer.
76113         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
76114         exit call.
76116 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
76118         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
76119         preprocessor.  Test for each exception mask separately.
76121 2012-07-16  Andreas Jaeger  <aj@suse.de>
76123         * po/ru.po: Update from translation team.
76125 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
76127         * conform/data/string.h-data (NULL): Use macro-constant.  Require
76128         equal to 0.
76129         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
76130         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
76131         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
76132         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
76133         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76135 2012-07-13  Andreas Jaeger  <aj@suse.de>
76137         * po/fr.po: Update from translation team.
76139 2012-07-12  Marek Polacek  <polacek@redhat.com>
76141         [BZ #14173]
76142         * math/libm-test.inc (yn_test): Add test for BZ #14173.
76143         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
76144         loop condition.
76146 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
76148         [BZ #13717]
76149         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76150         Change to 2.4.1 where previously 2.4.0.
76151         * sysdeps/unix/sysv/linux/configure: Regenerated.
76152         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
76153         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
76154         version.
76155         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
76156         (__ASSUME_AT_CLKTCK): Remove.
76157         (__ASSUME_AT_PAGESIZE): Likewise.
76158         (__ASSUME_AT_XID): Likewise.
76159         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
76160         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
76161         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
76162         unconditionally.
76163         (HAVE_AUX_PAGESIZE): Likewise.
76164         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
76165         [__ASSUME_AT_CLKTCK]: Make code unconditional.
76166         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
76168 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
76170         [BZ #14307]
76171         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
76172         the temporary buffer used to invoke __gethostbyname2_r,
76173         __gethostbyaddr_r and gethostbyname4_r to make room for struct
76174         host_data / struct gaih_addrtuple.
76175         * resolv/nss_dns/dns-host.c (global scope): Move definition of
76176         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
76177         header file nss/nsswitch.h.
76178         * nss/nsswitch.h (global scope): Add definition of implementation
76179         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
76180         resolv/nss_dns/dns-host.c).
76182 2012-07-11  Andreas Jaeger  <aj@suse.de>
76184         * po/fr.po: Update from translation team.
76186         * po/sv.po: Update from translation team
76187         * po/fr.po: Another update from translation team.
76189 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76191         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
76192         for subnormals or multiply small sinh result by itself.
76193         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76196 2012-07-11  David S. Miller  <davem@davemloft.net>
76198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76200 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
76202         [BZ #14347]
76203         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
76204         (INTERNAL_MARK): Shift it here.
76206 2012-07-10  Marek Polacek  <polacek@redhat.com>
76208         [BZ #14151]
76209         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
76210         libc_cv_asm_global_directive with .globl.
76211         * configure: Regenerated.
76212         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
76213         with .globl.
76214         * sysdeps/i386/configure: Regenerated.
76215         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
76216         with .globl.
76217         * sysdeps/x86_64/configure: Regenerated.
76218         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
76219         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
76220         * elf/tst-unique2mod2.c: Likewise.
76221         * elf/tst-unique2mod1.c: Likewise.
76222         * elf/tst-unique1mod2.c: Likewise.
76223         * elf/tst-unique1mod1.c: Likewise.
76224         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76225         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
76226         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76227         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
76228         * sysdeps/mach/sysdep.h: Likewise.
76229         * sysdeps/i386/sysdep.h: Likewise.
76230         * sysdeps/i386/i386-mcount.S: Likewise.
76231         * sysdeps/x86_64/_mcount.S: Likewise.
76232         * sysdeps/x86_64/sysdep.h: Likewise.
76233         * sysdeps/sh/_mcount.S: Likewise.
76234         * sysdeps/sh/sysdep.h: Likewise.
76235         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
76236         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
76237         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
76238         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
76239         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
76240         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
76241         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
76242         * locale/localeinfo.h: Likewise.
76243         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
76244         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
76246 2012-07-09  Roland McGrath  <roland@hack.frob.com>
76248         [BZ #14336]
76249         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
76250         system".
76251         * manual/message.texi (The Uniforum approach): Likewise.
76252         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
76253         (glibc iconv Implementation): Likewise.
76255 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
76257         [BZ #14337]
76258         * math/s_clog.c (__clog): Avoid scaling a value down where that
76259         could result in underflow.
76260         * math/s_clog10.c (__clog10): Likewise.
76261         * math/s_clog10f.c (__clog10f): Likewise.
76262         * math/s_clog10l.c (__clog10l): Likewise.
76263         * math/s_clogf.c (__clogf): Likewise.
76264         * math/s_clogl.c (__clogl): Likewise.
76265         * math/libm-test.inc (clog_test): Add more tests.
76266         (clog10_test): Likewise.
76267         * sysdeps/i386/fpu/libm-test-ulps: Update.
76268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76270 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
76272         [BZ #14283]
76273         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
76274         by 7 not 8 to examine high bit of fractional part.
76276         [BZ #14042]
76277         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
76278         for call to __mcount_internal.
76279         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
76280         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
76281         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
76283 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
76285         [BZ #14154]
76286         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
76287         approximation for values within 0x1p-13f of an odd multiple of
76288         pi/4.
76289         * math/libm-test.inc (tan_test): Do not allow spurious underflow
76290         exception.  Add more tests.
76291         * sysdeps/i386/fpu/libm-test-ulps: Update.
76293         [BZ #6778]
76294         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
76295         inputs and return -1 for them.  Do not check for +Inf in case not
76296         reachable for +Inf.
76297         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
76298         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
76299         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76300         and return -1 for them.  Do not check for +Inf in case not
76301         reachable for +Inf.
76302         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
76303         define.
76304         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76305         and return -1 for them.  Do not check for +Inf in case not
76306         reachable for +Inf.
76307         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
76308         spurious underflow.
76309         * sysdeps/i386/fpu/libm-test-ulps: Update.
76310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76312 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
76314         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
76316 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
76318         [BZ #14157]
76319         [BZ #14331]
76320         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
76321         could result in spurious underflow.  Scale down values above
76322         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
76323         * math/s_csqrtf.c (__csqrtf): Likewise.
76324         * math/s_csqrtl.c (__csqrtl): Likewise.
76325         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
76326         spurious underflow.
76327         * sysdeps/i386/fpu/libm-test-ulps: Update.
76328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76330 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
76332         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
76333         xopen-msg.sed.
76334         * catgets/xopen-msg.awk: New file.
76335         * catgets/xopen-msg.sed: Removed.
76337         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
76338         po2text.sed.
76339         * intl/po2test.awk: New file.
76340         * intl/po2test.sed: Removed.
76342 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
76344         [BZ #14328]
76345         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
76346         or multiply small sinh result by itself.
76347         * math/s_ctanf.c (__ctanf): Likewise.
76348         * math/s_ctanh.c (__ctanh): Likewise.
76349         * math/s_ctanhf.c (__ctanhf): Likewise.
76350         * math/s_ctanhl.c (__ctanhl): Likewise.
76351         * math/s_ctanl.c (__ctanl): Likewise.
76352         * math/libm-test.inc (ctan_test_tonearest): New function.
76353         (ctan_test_towardzero): Likewise.
76354         (ctan_test_downward): Likewise.
76355         (ctan_test_upward): Likewise.
76356         (ctanh_test_tonearest): Likewise.
76357         (ctanh_test_towardzero): Likewise.
76358         (ctanh_test_downward): Likewise.
76359         (ctanh_test_upward): Likewise.
76360         (main): Call these new functions.
76361         * sysdeps/i386/fpu/libm-test-ulps: Update.
76362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76364 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
76366         * .gitignore: Delete /ports entry.
76368 2012-07-03  Andreas Jaeger  <aj@suse.de>
76370         * po/bg.po: Update from translation team.
76371         * po/cs.po: Likewise.
76372         * po/de.po: Likewise.
76373         * po/hr.po: Likewise.
76374         * po/nl.pl: Likewise.
76375         * po/pl.po: Likewise.
76376         * po/vi.po: Likewise.
76378 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
76380         * Makeconfig [!+link] (+link-before-libc): New variable.
76381         [!+link] (+link-after-libc): Likewise.
76382         [!+link] (+link-tests): Likewise.
76383         [!+link] (+link): Define in terms of $(+link-before-libc) and
76384         $(+link-after-libc).
76385         [!+link-static] (+link-static-before-libc): New variable.
76386         [!+link-static] (+link-static-after-libc): Likewise.
76387         [!+link-static] (+link-static-tests): Likewise.
76388         [!+link-static] (+link-static): Define in terms of
76389         $(+link-static-before-libc) and $(+link-static-after-libc).
76390         [build-shared] (link-libc-before-gnulib): New variable.
76391         [build-shared] (link-libc-tests): Likewise.
76392         [build-shared] (link-libc): Define in terms of
76393         $(link-libc-before-gnulib).
76394         [!build-shared] (link-libc-tests): New variable.
76395         (link-libc-static-tests): New variable.
76396         [!gnulib] (gnulib-arch): New variable.
76397         [!gnulib] (gnulib-tests): Likewise.
76398         [!gnulib] (static-gnulib-arch): Likewise.
76399         [!gnulib] (static-gnulib-tests): Likewise.
76400         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
76401         Define with "=" instead of ":=".
76402         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
76403         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
76404         * Rules (binaries-all-notests): New variable.
76405         (binaries-all-tests): Likewise.
76406         (binaries-static-notests): Likewise.
76407         (binaries-static-tests): Likewise.
76408         (binaries-all): Define using $(binaries-all-notests) and
76409         $(binaries-all-tests).
76410         (binaries-static): Define using $(binaries-static-notests) and
76411         $(binaries-static-tests).
76412         (binaries-shared-tests): New variable.
76413         (binaries-shared-notests): Likewise.
76414         (binaries-shared): Remove variable.
76415         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
76416         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
76417         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
76418         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
76419         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
76420         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
76421         * elf/Makefile (sln-modules): New variable.
76422         (extra-objs): Add $(sln-modules:=.o).
76423         (ldconfig-modules): Add static-stubs.
76424         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
76425         * elf/static-stubs.c: New file.
76427         [BZ #14283]
76428         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
76429         by 7 not 8 to examine high bit of fractional part.  Use volatile
76430         variables when splitting into final array of floats if
76431         __FLT_EVAL_METHOD__ != 0.
76432         * math/libm-test.inc (cos_test): Add another test.
76433         (sin_test): Likewise.
76434         * sysdeps/i386/fpu/libm-test-ulps: Update.
76436         [BZ #14273]
76437         * math/libm-test.inc (cosh_test): Add more tests.
76439         * version.h (RELEASE): Set to "development".
76440         (VERSION): Set to "2.16.90".
76442 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
76444         * NEWS: Update copyright. Remove last-updated date.
76445         Mention math library bug fixes and timezone data changes.
76446         * README: Mention GNU/Hurd, x32, and HPPA support status.
76448 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
76450         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
76452 2012-06-27  Andreas Jaeger  <aj@suse.de>
76454         * manual/contrib.texi (Contributors): Add Samuel Thibault.
76456 2012-06-25  Andreas Jaeger  <aj@suse.de>
76458         * sysdeps/s390/fpu/libm-test-ulps: Update.
76460 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
76461             Thomas Schwinge  <thomas@codesourcery.com>
76463         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
76464         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
76465         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
76466         fanotify_mark.
76468 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
76470         * sysdeps/mach/start.c: Remove file.
76471         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
76472         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
76473         * sysdeps/sh/init-first.c: Likewise.
76475         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
76476         registers for frame unwinding purposes, add CFI directives.
76477         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76478         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
76479         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
76480         Likewise.
76482         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
76483         __fortify_fail returning.
76484         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76486         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
76487         sysdeps/sh/____longjmp_chk.S.
76488         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
76489         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
76490         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
76491         (gen-as-const-headers): Append sigaltstack-offsets.sym.
76493         * sysdeps/sh/abort-instr.h: New file.
76494         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
76495         process in case exit returns.
76497         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
76498         initialize the GOT register before use.
76500         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
76501         calculation of ARGC > 4.
76503         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
76504         meaningful names to some local labels.
76506 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76507             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76509         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
76510         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
76511         (__arch_compare_and_exchange_val_16_acq): Likewise.
76512         (__arch_compare_and_exchange_val_32_acq): Likewise.
76513         (atomic_exchange_and_add): Fix gUSA sequence.
76514         (atomic_add): Likewise.
76515         (atomic_add_negative): Likewise.
76516         (atomic_add_zero): Likewise.
76517         (atomic_bit_test_set): Likewise.
76519 2012-06-22  Andreas Schwab  <schwab@redhat.com>
76521         [BZ #13579]
76522         * include/link.h (struct link_map): Add l_free_initfini.
76523         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
76524         l_initfini.
76525         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
76526         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
76527         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
76528         set.
76530 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
76532         * configure.in: Use AC_LANG_SOURCE.
76533         * configure: Regenerate.
76535 2012-06-22  Roland McGrath  <roland@hack.frob.com>
76537         * configure.in (libc_cv_localstatedir): New substituted variable.
76538         * configure: Regenerated.
76539         * config.make.in (localstatedir): New variable, substituted from
76540         libc_cv_localstatedir.
76541         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
76542         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
76543         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
76544         * sysdeps/gnu/configure: Regenerated.
76546 2012-06-21  Jeff Law  <law@redhat.com>
76548         [BZ #14277]
76549         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
76550         free.  Simplify list management for _LIBC case.
76552 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
76554         [BZ #14273]
76555         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
76556         Clear sign bit of 64-bit integer value before comparing against
76557         overflow value.
76559         * sysdeps/mach/configure: Regenerated.
76561 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
76563         [BZ #14278]
76564         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
76566 2012-06-21  Jeff Law  <law@redhat.com>
76568         [BZ #13882]
76569         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
76570         uint16_t for elements in the "seen" array to avoid char overflows.
76571         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76572         * elf/dl-open.c (dl_open_worker): Likewise.
76574 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
76576         * scripts/list-sources.sh: Scan PORTS for translations.
76577         * po/libc.pot: Regenerated.
76579 2012-06-21  Andreas Jaeger  <aj@suse.de>
76581         [BZ #12194]
76582         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
76583         warning.
76584         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
76585         * bits/byteswap-16.h (__bswap_16): Likewise.
76586         * bits/byteswap.h (__bswap_constant_16): Likewise.
76588 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
76590         [BZ #14117]
76591         * sysdeps/i386/fpu_control.h: Removed.
76592         * sysdeps/x86_64/fpu_control.h: Moved to ...
76593         * sysdeps/x86/fpu_control.h: Here.
76595         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
76596         (_FPU_SETCW): Likewise.
76598 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
76600         [BZ #14117]
76601         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
76602         * sysdeps/x86/fpu/bits/mathinline.h: This.
76603         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
76605         [BZ #14050]
76606         [BZ #14117]
76607         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
76608         functions if __x86_64__ is defined.
76610 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
76612         * string/endian.h: Add !__ASSEMBLER__ condition for including
76613         conversion interfaces.
76615 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
76617         [BZ #14241]
76618         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
76619         of ABS(x) in calculating zero to negative powers other than odd
76620         integers.
76621         * math/libm-test.inc (pow_test): Add more tests.
76623 2012-06-15  Andreas Jaeger  <aj@suse.de>
76625         * manual/contrib.texi (Contributors): Update entry of Liubov
76626         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
76627         Machado Filho.
76629 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
76631         * string/string.h: Add __wur to GNU version of strerror_r.
76633 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
76635         [BZ #14229]
76636         * string/Makefile (tests): Add tst-strtok_r.
76637         * string/tst-strtok_r.c: New file.
76638         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
76639         RAX_LP/RDX_LP on SAVE_PTR.
76641 2012-06-14  Roland McGrath  <roland@hack.frob.com>
76643         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
76645 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
76647         * libm_test.inc (csqrt_test): Allow more spurious underflow
76648         exceptions.
76649         (j0_test): Likewise.
76650         (j1_test): Likewise.
76651         (y0_test): Likewise.
76652         (y1_test): Likewise.
76654 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
76656         * po/Makefile (libc.pot): Use UTF-8 charset.
76658 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
76660         [BZ #14210]
76661         Suppress sign-conversion warning from FD_SET.
76662         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
76663         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
76664         not unsigned long int.
76665         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
76667 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
76669         [BZ #14050]
76670         [BZ #14117]
76671         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
76672         __extern_always_inline instead of __extern_inline.
76673         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
76674         (__signbit): Likewise.
76675         (__signbitl): Support C++ namespace.
76676         (lrintf): New inline function.
76677         (lrint): Likewise.
76678         (llrintf): Likewise.
76679         (llrint): Likewise.
76680         (fmaxf): Likewise.
76681         (fmax): Likewise.
76682         (fminf): Likewise.
76683         (fmin): Likewise.
76684         (rint): Likewise.
76685         (rintf): Likewise.
76686         (ceil): Likewise.
76687         (ceilf): Likewise.
76688         (floor): Likewise.
76689         (floorf): Likewise.
76690         (nearbyint): Likewise.
76691         (nearbyintf): Likewise.
76693 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
76695         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
76696         non-default versions.
76698 2012-06-11  Roland McGrath  <roland@hack.frob.com>
76700         [BZ #14218]
76701         * manual/argp.texi (Argp): Reword argp_parse description slightly.
76703 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
76705         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
76706         (FE_UPWARD, FE_DOWNWARD): Don't define.
76707         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
76708         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
76710         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
76711         reading it.
76712         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
76713         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
76715 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76717         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76718         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
76719         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
76720         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
76722 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
76724         [BZ #14117]
76725         * sysdeps/i386/fpu/bits/fenv.h: Removed.
76726         * sysdeps/i386/fpu/Implies: New file.
76727         * sysdeps/x86_64/fpu/Implies: Likewise.
76728         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
76729         * sysdeps/x86/fpu/bits/fenv.h: This.
76731         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
76732         __SSE_MATH__.
76734 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
76736         [BZ #14134]
76737         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
76738         character 0xffff that matches the last element of the
76739         conversion table.
76741 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76743         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
76744         fmodl commit.
76746 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76748         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
76749         values higher than 25.6283.
76751 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76753         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
76754         subnormal exponent extraction and add some __builtin_expect.
76755         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
76756         Fix for subnormal mantissa calculation.
76758 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
76760         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
76761         cpu2 is -1 and errno is not ENOSYS.
76763 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
76765         [BZ #14117]
76766         * sysdeps/i386/i486/bits/string.h: Renamed to ...
76767         * sysdeps/x86/bits/string.h: This.
76768         * sysdeps/x86_64/bits/string.h: Removed.
76770         * sysdeps/i386/i486/bits/string.h: Define inline functions only
76771         if not compiling for x86-64, but compiling for >= i486.
76773         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
76774         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
76776         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
76777         New macro from Linux kernel 3.4.0.
76778         (FP_XSTATE_MAGIC2): Likewise.
76779         (FP_XSTATE_MAGIC2_SIZE): Likewise.
76780         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
76781         (struct _fpx_sw_bytes): New struct.
76782         (struct _xsave_hdr): Likewise.
76783         (struct _ymmh_state): Likewise.
76784         (struct _xstate): Likewise.
76786         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
76787         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
76788         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
76789         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
76790         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
76791         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
76793         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
76794         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
76795         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
76796         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
76797         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
76798         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
76800 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76802         [BZ #13743]
76803         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
76804         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
76805         (sysdep_headers): Include sys/platform/ppc.h.
76806         * sysdeps/powerpc/test-gettimebase.c: Test for
76807         __ppc_get_timebase() to catch future ISA opcode/insn changes.
76808         * manual/Makefile (appendices): Include platform.texi.
76809         * manual/contrib.texi (Contributors): Update @node pointers.
76810         * manual/maint.texi (Maintenance): Likewise.
76811         (Platform): New node.
76812         * manual/platform.texi: New file.  Document the new features.
76814 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
76815             Jakub Jelinek  <jakub@redhat.com>
76817         [BZ #14188]
76818         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
76819         where __builtin_expect is unavailable.
76821 2012-06-03  David S. Miller  <davem@davemloft.net>
76823         * stdlib/longlong.h: Updated from GCC.
76825 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
76827         [BZ #14042]
76828         * sysdeps/powerpc/powerpc32/mcount.c: New file.
76829         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
76830         __mcount_internal.
76831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76832         (GLIBC_2.16): Likewise.
76834 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76836         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
76838 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
76840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
76841         (default-abi): New variable.
76842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
76843         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
76844         variable.
76845         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
76846         Likewise.
76847         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
76848         Likewise.
76849         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
76850         Likewise.
76852         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
76853         definition.  Document in comment.
76855 2012-06-01  David S. Miller  <davem@davemloft.net>
76857         * stdlib/longlong.h: Updated from GCC.
76859 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76861         [BZ #14117]
76862         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
76863         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
76864         sys/debugreg.h sys/io.h here.
76865         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
76866         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
76867         sys/io.h.
76868         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
76869         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
76870         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
76871         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
76872         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
76873         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
76875         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
76876         Define only if __x86_64__ is defined.
76878 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
76880         [BZ #14048]
76881         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
76882         Use int64_t for variable i.
76883         * math/libm-test.inc (fmod_test): Add more tests.
76885         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
76886         z computation is not scheduled after fetestexcept.
76887         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
76888         Use math_force_eval instead of asm to ensure calculation scheduled
76889         before exception test.
76890         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
76891         Ensure a1 + u.d computation is not scheduled after fetestexcept.
76893 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
76895         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
76896         computation is not scheduled after fetestexcept.
76898 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
76900         [BZ #14117]
76901         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
76902         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
76904 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76906         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
76907         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76909 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76911         [BZ #14117]
76912         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
76913         <bits/wordsize.h>.
76914         (__WCHAR_MIN): Support __WORDSIZE == 64.
76915         (__WCHAR_MAX): Likewise.
76917         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
76918         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
76920         [BZ #14183]
76921         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
76922         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
76924         [BZ #14117]
76925         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
76926         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
76928         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
76929         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
76931         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
76932         Defined to 1 if __x86_64__ isn't defined.
76933         (_STAT_VER_LINUX_OLD): New.
76934         (st_atime): Remove duplicate.
76935         (st_mtime): Likewise.
76936         (st_ctime): Likewise.
76938 2012-05-31  David S. Miller  <davem@davemloft.net>
76940         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
76941         entries.
76943 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
76945         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
76946         gen-libm-test.pl.
76948         [BZ #14132]
76949         * elf/dl-reloc.c: Include <_itoa.h>.
76950         (_dl_reloc_bad_type): Remove use of INTUSE.
76951         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
76952         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
76953         * stdio-common/psiginfo.c (psiginfo): Likewise.
76954         * stdio-common/psignal.c (psignal): Likewise.
76955         * string/strsignal.c (strsignal): Likewise.
76956         * include/signal.h (_sys_siglist): Declare hidden proto.
76957         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
76958         INTVARDEF with libc_hidden_data_def.
76959         * stdio-common/itoa-udigits.c: Likewise.
76960         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
76961         (_itoa_lower_digits_internal): Remove declaration.
76962         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
76963         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
76964         (_sys_sigabbrev_internal): Remove aliases.
76965         (_sys_siglist): Define hidden alias.
76967 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
76969         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76970         bits/sysctl.h.
76972 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
76974         [BZ #14117]
76975         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
76976         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
76978         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
76979         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
76980         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
76981         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
76982         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
76983         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
76985         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
76986         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
76987         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
76989         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
76990         with __addr.
76991         (insw): Likewise.
76992         (insl): Likewise.
76993         (outsb): Likewise.
76994         (outsw): Likewise.
76995         (outsl): Likewise.
76997         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
76998         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
76999         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
77001         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
77002         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
77003         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
77004         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
77005         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
77006         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
77008         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
77009         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
77011         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
77012         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
77014         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
77015         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
77016         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
77018         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
77019         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
77020         to ...
77021         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
77023         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
77024         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
77025         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
77027         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
77028         for x86-64.
77029         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
77031 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
77033         * math/math.h (M_El): Use two more decimal places.
77034         (M_LOG2El): Likewise.
77035         (M_LOG10El): Likewise.
77036         (M_LN2l): Likewise.
77037         (M_LN10l): Likewise.
77038         (M_PIl): Likewise.
77039         (M_PI_2l): Likewise.
77040         (M_PI_4l): Likewise.
77041         (M_1_PIl): Likewise.
77042         (M_2_PIl): Likewise.
77043         (M_2_SQRTPIl): Likewise.
77044         (M_SQRT2l): Likewise.
77045         (M_SQRT1_2l): Likewise.
77047 2012-05-31  David S. Miller  <davem@davemloft.net>
77049         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
77050         values between float registers.
77051         * sysdeps/sparc/sparc64/memset.S: Likewise.
77052         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77054 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
77056         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
77057         -D_FORTIFY_SOURCE=1.
77058         (CPPFLAGS-tst-longjmp_chk.c): Define.
77059         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
77060         (CPPFLAGS-tst-longjmp_chk2.c): Define.
77061         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
77062         CFLAGS-tst-wchar-h.c.
77064 2012-05-31  Marek Polacek  <polacek@redhat.com>
77066         [BZ #14132]
77067         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
77068         __endmntent_internal): Remove declaration.
77069         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
77070         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
77071         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
77073 2012-05-30  David S. Miller  <davem@davemloft.net>
77075         * sysdeps/sparc/sparc32/soft-fp/q_util.c
77076         (___Q_simulate_exceptions): Use real FP ops rather than writing
77077         into the %fsr.
77078         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
77079         Likewise.
77081 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77083         [BZ #14117]
77084         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
77085         * sysdeps/x86/bits/xtitypes.h: This.
77087         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
77088         * sysdeps/x86/bits/wordsize.h: This.
77090         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
77091         * sysdeps/x86/bits/huge_vall.h: This.
77093         * sysdeps/i386/bits/select.h: Removed.
77094         * sysdeps/x86_64/bits/select.h: Renamed to ...
77095         * sysdeps/x86/bits/select.h: This.
77097         * sysdeps/i386/bits/setjmp.h: Removed.
77098         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
77099         * sysdeps/x86/bits/setjmp.h: This.
77101         * sysdeps/i386/bits/mathdef.h: Removed.
77102         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
77103         * sysdeps/x86/bits/mathdef.h: This.
77105 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
77107         [BZ #14132]
77108         * include/sys/socket.h (__connect_internal)
77109         (__libc_sa_len_internal): Remove declaration.
77110         (__connect, __libc_sa_len): Declare hidden_proto.
77111         (SA_LEN): Remove use of INTUSE.
77112         * socket/connect.c: Add libc_hidden_def.
77113         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
77114         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
77115         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
77116         alias.
77117         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
77118         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
77119         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
77120         of adding _internal alias.
77122 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77124         [BZ #14117]
77125         * sysdeps/i386/bits/link.h: Removed.
77126         * sysdeps/i386/bits/linkmap.h: Likewise.
77127         * sysdeps/x86_64/bits/link.h: Renamed to ...
77128         * sysdeps/x86/bits/link.h: This.
77129         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
77130         * sysdeps/x86/bits/linkmap.h: This.
77132         * sysdeps/i386/bits/endian.h: Removed.
77133         * sysdeps/x86_64/bits/endian.h: Renamed to ...
77134         * sysdeps/x86/bits/endian.h: This.
77136         * sysdeps/i386/bits/byteswap.h: Removed.
77137         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77138         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
77139         * sysdeps/x86/bits/byteswap.h: This.
77140         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
77141         * sysdeps/x86/bits/byteswap-16.h: This.
77142         * sysdeps/i386/Implies: Add x86.
77143         * sysdeps/x86_64/Implies: Likewise.
77145 2012-05-30  David S. Miller  <davem@davemloft.net>
77147         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
77148         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
77149         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
77150         (FP_TRAPPING_EXCEPTIONS): Define.
77151         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
77152         (FP_TRAPPING_EXCEPTIONS): Define.
77153         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
77154         subnormals only when inexact has been signalled or underflow
77155         exceptions are enabled.
77156         (_FP_PACK_CANONICAL): Likewise.
77158 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77160         [BZ #14183]
77161         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
77162         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
77164 2012-05-30  Richard Henderson  <rth@twiddle.net>
77166         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
77167         with #ifndef NOT_IN_libc.
77169         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
77170         marked to avoid plt entry.
77172 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77174         [BZ #14112]
77175         * Makeconfig (default-abi): New macro.
77176         (abi-includes): Likewise.
77177         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
77178         $(abi-$(default-abi)-lib-soname) for soname if defined.
77179         ($(common-objpfx)gnu/lib-names.stmp): Generate from
77180         abi-variants.
77181         * Makefile (installed-stubs): Likewise.
77182         * include/stubs-biarch.h: Removed.
77183         * scripts/lib-names.awk: Only handle one library at a time.
77184         * scripts/soversions.awk: Remove WORDSIZE support.
77185         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
77186         entries.
77187         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
77188         Removed.
77189         (syscall-list-default-condition): Likewise.
77190         (syscall-list-default-condition): Likewise.
77191         (syscall-list-includes): Likewise.
77192         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
77193         syscall-list-* with abi-*.  Handle undefined abi-variants.
77194         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
77195         * sysdeps/unix/sysv/linux/i386/Implies: New file.
77196         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
77197         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
77198         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
77199         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
77200         Removed.
77201         (syscall-list-32-options): Likewise.
77202         (syscall-list-32-condition): Likewise.
77203         (syscall-list-64-options): Likewise.
77204         (syscall-list-64-condition): Likewise.
77205         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
77206         macro.
77207         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
77208         Renamed to ...
77209         (abi-*): This.
77210         (abi-64-ld-soname): New macro.
77211         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
77212         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
77213         Renamed to ...
77214         (abi-*): This.
77215         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
77216         * sysdeps/x86_64/x32/shlib-versions: Likewise.
77218 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
77220         * sysdeps/unix/sysv/linux/kernel-features.h
77221         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
77222         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
77223         include <kernel-features.h>.
77224         [!__NR_ftruncate64]: Remove conditional code.
77225         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77226         [__NR_ftruncate64]: Make code unconditional.
77227         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77228         * sysdeps/unix/sysv/linux/truncate64.c: Do not
77229         include <kernel-features.h>.
77230         [!__NR_ftruncate64]: Remove conditional code.
77231         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77232         [__NR_ftruncate64]: Make code unconditional.
77233         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
77235         include <kernel-features.h>.
77236         [!__NR_ftruncate64]: Remove conditional code.
77237         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77238         [__NR_ftruncate64]: Make code unconditional.
77239         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
77241         include <kernel-features.h>.
77242         [!__NR_ftruncate64]: Remove conditional code.
77243         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77244         [__NR_ftruncate64]: Make code unconditional.
77245         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77247         * configure.in (libc_cv_fpie): Weaken to a compile test using
77248         LIBC_TRY_CC_OPTION.
77249         * configure: Regenerated.
77251 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
77254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
77255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
77256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77257         Refreshed.
77258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
77259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
77260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
77261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
77262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
77263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77264         Refreshed.
77266 2012-05-27  David S. Miller  <davem@davemloft.net>
77268         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
77269         (___Q_zero): New.
77270         (__Q_simulate_exceptions): Return void.  Change to simulate
77271         exceptions by writing into the %fsr.
77272         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
77273         (__Qp_handle_exceptions): Likewise.
77274         (numbers): Delete.
77275         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
77276         __Qp_handle_exceptions.
77277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
77278         __Qp_handle_exceptions.
77279         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77280         as unused and give dummy FP_RND_NEAREST initializer.
77281         (FP_INHIBIT_RESULTS): Define.
77282         (___Q_simulate_exceptions): Update declaration.
77283         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
77284         formatting.
77285         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77286         as unused and give dummy FP_RND_NEAREST initializer.
77287         (__Qp_handle_exceptions): Update declaration.
77288         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
77289         formatting.
77291 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
77293         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
77294         the temporary FPU control word.
77295         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
77296         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
77297         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
77298         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77299         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
77300         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
77301         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
77302         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77303         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
77304         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
77305         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77307 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77309         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
77310         fields.
77312 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
77314         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
77315         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
77316         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
77317         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
77318         Likewise.
77319         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
77320         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
77321         Likewise.
77323 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
77325         * po/h.po: Update from translation team.
77327 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
77329         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
77331         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
77332         handling of denormals.
77333         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77334         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
77335         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77336         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77337         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77338         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
77339         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
77340         Likewise.
77342 2012-05-26  Marek Polacek  <polacek@redhat.com>
77344         [BZ #14152]
77345         * math/libm-test.inc (fma_test): Don't always expect underflow
77346         exception.
77348 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77350         [BZ #12416]
77351         * elf/tst-execstack.c: Include stackinfo.h.
77352         (do_test): Adjust test case to ensure that pthread_getattr_np
77353         behaviour remains the same after marking stack executable.
77355 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77357         * sysdeps/unix/sysv/linux/kernel-features.h
77358         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
77359         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
77360         kernel-features.h.
77361         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77362         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77363         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
77364         kernel-features.h.
77365         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77366         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77368 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
77370         * configure.in: Define the default includes to being none.
77371         * configure: Regenerated.
77373 2012-05-25  Roland McGrath  <roland@hack.frob.com>
77375         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
77376         * sysdeps/x86_64/setjmp.S: Likewise.
77377         * sysdeps/i386/bsd-setjmp.S: Likewise.
77378         * sysdeps/i386/bsd-_setjmp.S: Likewise.
77379         * sysdeps/i386/setjmp.S: Likewise.
77380         * sysdeps/i386/__longjmp.S: Likewise.
77381         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77382         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
77384         * include/stap-probe.h: New file.
77385         * configure.in: Handle --enable-systemtap.
77386         * configure: Regenerated.
77387         * config.h.in (USE_STAP_PROBE): New #undef.
77388         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
77389         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
77390         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
77392 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77394         [BZ #13717]
77395         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
77396         to 2.4.0 where earlier.
77397         * sysdeps/unix/sysv/linux/configure: Regenerated.
77398         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
77399         <kernel-features.h>.
77400         [__ASSUME_32BITUIDS]: Make code unconditional.
77401         [!__ASSUME_32BITUIDS]: Remove conditional code.
77402         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
77403         <kernel-features.h>.
77404         [__ASSUME_32BITUIDS]: Make code unconditional.
77405         [!__ASSUME_32BITUIDS]: Remove conditional code.
77406         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
77407         [__ASSUME_32BITUIDS]: Make code unconditional.
77408         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
77409         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
77410         <kernel-features.h>.
77411         [__ASSUME_32BITUIDS]: Make code unconditional.
77412         [!__ASSUME_32BITUIDS]: Remove conditional code.
77413         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
77414         <kernel-features.h>.
77415         [__ASSUME_32BITUIDS]: Make code unconditional.
77416         [!__ASSUME_32BITUIDS]: Remove conditional code.
77417         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
77418         <kernel-features.h>.
77419         [__ASSUME_32BITUIDS]: Make code unconditional.
77420         [!__ASSUME_32BITUIDS]: Remove conditional code.
77421         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
77422         <kernel-features.h>.
77423         [__ASSUME_32BITUIDS]: Make code unconditional.
77424         [!__ASSUME_32BITUIDS]: Remove conditional code.
77425         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
77426         <kernel-features.h>.
77427         [__ASSUME_32BITUIDS]: Make code unconditional.
77428         [!__ASSUME_32BITUIDS]: Remove conditional code.
77429         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
77430         <kernel-features.h>.
77431         [__ASSUME_32BITUIDS]: Make code unconditional.
77432         [!__ASSUME_32BITUIDS]: Remove conditional code.
77433         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
77434         <kernel-features.h>.
77435         [__ASSUME_32BITUIDS]: Make code unconditional.
77436         [!__ASSUME_32BITUIDS]: Remove conditional code.
77437         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
77438         <kernel-features.h>.
77439         [__ASSUME_32BITUIDS]: Make code unconditional.
77440         [!__ASSUME_32BITUIDS]: Remove conditional code.
77441         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
77442         <kernel-features.h>.
77443         [__ASSUME_32BITUIDS]: Make code unconditional.
77444         [!__ASSUME_32BITUIDS]: Remove conditional code.
77445         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
77446         <kernel-features.h>.
77447         [__ASSUME_32BITUIDS]: Make code unconditional.
77448         [!__ASSUME_32BITUIDS]: Remove conditional code.
77449         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
77450         <kernel-features.h>.
77451         [__NR_setresgid] (__setresgid): Do not declare.
77452         [__ASSUME_32BITUIDS]: Make code unconditional.
77453         [!__ASSUME_32BITUIDS]: Remove conditional code.
77454         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
77455         <kernel-features.h>.
77456         [__NR_setresuid] (__setresuid): Do not declare.
77457         [__ASSUME_32BITUIDS]: Make code unconditional.
77458         [!__ASSUME_32BITUIDS]: Remove conditional code.
77459         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
77460         <kernel-features.h>.
77461         [__ASSUME_32BITUIDS]: Make code unconditional.
77462         [!__ASSUME_32BITUIDS]: Remove conditional code.
77463         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
77464         <kernel-features.h>.
77465         [__ASSUME_32BITUIDS]: Make code unconditional.
77466         [!__ASSUME_32BITUIDS]: Remove conditional code.
77467         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
77468         <kernel-features.h>.
77469         [__ASSUME_32BITUIDS]: Make code unconditional.
77470         [!__ASSUME_32BITUIDS]: Remove conditional code.
77471         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
77472         <kernel-features.h>.
77473         [__ASSUME_32BITUIDS]: Make code unconditional.
77474         [!__ASSUME_32BITUIDS]: Remove conditional code.
77475         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
77476         <kernel-features.h>.
77477         [__ASSUME_32BITUIDS]: Make code unconditional.
77478         [!__ASSUME_32BITUIDS]: Remove conditional code.
77479         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
77480         <kernel-features.h>.
77481         [__ASSUME_32BITUIDS]: Make code unconditional.
77482         [!__ASSUME_32BITUIDS]: Remove conditional code.
77483         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
77484         <kernel-features.h>.
77485         [__ASSUME_32BITUIDS]: Make code unconditional.
77486         [!__ASSUME_32BITUIDS]: Remove conditional code.
77487         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
77488         <kernel-features.h>.
77489         [__ASSUME_32BITUIDS]: Make code unconditional.
77490         [!__ASSUME_32BITUIDS]: Remove conditional code.
77491         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
77492         <kernel-features.h>.
77493         [__ASSUME_32BITUIDS]: Make code unconditional.
77494         [!__ASSUME_32BITUIDS]: Remove conditional code.
77495         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
77496         <kernel-features.h>.
77497         [__ASSUME_32BITUIDS]: Make code unconditional.
77498         [!__ASSUME_32BITUIDS]: Remove conditional code.
77499         * sysdeps/unix/sysv/linux/kernel-features.h
77500         (__ASSUME_SETRESUID_SYSCALL): Remove.
77501         (__ASSUME_SETRESGID_SYSCALL): Likewise.
77502         (__ASSUME_32BITUIDS): Likewise.
77503         (__ASSUME_LDT_WORKS): Likewise.
77504         (__ASSUME_O_DIRECTORY): Likewise.
77505         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
77506         architecture but not kernel version.
77507         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
77508         (__ASSUME_MMAP2_SYSCALL): Likewise.
77509         (__ASSUME_STAT64_SYSCALL): Likewise.
77510         (__ASSUME_IPC64): Likewise.
77511         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
77512         <kernel-features.h>.
77513         [__ASSUME_32BITUIDS]: Make code unconditional.
77514         [!__ASSUME_32BITUIDS]: Remove conditional code.
77515         * sysdeps/unix/sysv/linux/opendir.c: Do not include
77516         <kernel-features.h>.
77517         [__ASSUME_O_DIRECTORY]: Make code unconditional.
77518         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
77519         132096]: Remove conditional code.
77520         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
77521         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
77522         <kernel-features.h>.
77523         [__ASSUME_32BITUIDS]: Make code unconditional.
77524         [!__ASSUME_32BITUIDS]: Remove conditional code.
77525         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
77526         <kernel-features.h>.
77527         [__ASSUME_32BITUIDS]: Make code unconditional.
77528         [!__ASSUME_32BITUIDS]: Remove conditional code.
77529         * sysdeps/unix/sysv/linux/setegid.c: Do not include
77530         <kernel-features.h>.
77531         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
77532         unconditional.
77533         (__setresgid): Do not declare.
77534         [__ASSUME_32BITUIDS]: Make code unconditional.
77535         [!__ASSUME_32BITUIDS]: Remove conditional code.
77536         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
77537         <kernel-features.h>.
77538         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
77539         unconditional.
77540         (__setresuid): Do not declare.
77541         [__ASSUME_32BITUIDS]: Make code unconditional.
77542         [!__ASSUME_32BITUIDS]: Remove conditional code.
77543         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
77544         <kernel-features.h>.
77545         [__ASSUME_32BITUIDS]: Make code unconditional.
77546         [!__ASSUME_32BITUIDS]: Remove conditional code.
77547         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
77548         <kernel-features.h>.
77549         [__ASSUME_32BITUIDS]: Make code unconditional.
77550         [!__ASSUME_32BITUIDS]: Remove conditional code.
77552 2012-05-25  Richard Henderson  <rth@twiddle.net>
77554         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
77555         dl_hwcap to ifunc resolver.
77556         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
77557         elf_ifunc_invoke.
77558         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
77559         dl_hwcap to ifunc resolver.
77560         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
77562 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77564         [BZ #14153]
77565         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
77566         for |x| <= 2**-26, not 2**-57.
77567         * math/libm-test.inc (acos_test): Do not allow spurious underflow
77568         exception.
77570 2012-05-24  Jeff Law  <law@redhat.com>
77572         * stdio-common/Makefile (tests): Add bug25.
77573         * stdio-common/bug25.c: New test.
77575 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
77577         [BZ #13576]
77578         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
77579         multiple of MALLOC_ALIGNMENT in size.
77580         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
77582 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77584         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
77585         Require >= 256.
77586         (FILENAME_MAX): Use macro-int-constant.
77587         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
77588         (_IOFBF): Use macro-int-constant.
77589         (_IOLBF): Likewise.
77590         (_IONBF): Likewise.
77591         (SEEK_CUR): Likewise.
77592         (SEEK_END): Likewise.
77593         (SEEK_SET): Likewise.
77594         (TMP_MAX): Likewise.
77595         (EOF): Use macro-int-constant.  Require < 0.
77596         (NULL): Use macro-constant.  Require == 0.
77597         (stdin): Require type to be FILE *.
77598         (stdout): Likewise.
77599         (stderr): Likewise.
77600         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
77601         macro-int-constant.
77602         (EXIT_SUCCESS): Likewise.
77603         (NULL): Use macro-constant.  Require == 0.
77604         (RAND_MAX): Use macro-int-constant.
77605         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
77606         [C99-based standards] (strtof): Require function.
77607         [C99-based standards] (strtold): Likewise.
77608         [C99-based standards] (strtoll): Likewise.
77609         [C99-based standards] (strtoull): Likewise.
77610         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77611         [ISO || ISO99 || ISO11] (limits.h): Likewise.
77612         [ISO || ISO99 || ISO11] (math.h): Likewise.
77613         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
77614         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77615         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77617 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
77619         [BZ #14132]
77620         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
77621         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
77622         * intl/dgettext.c (DCGETTEXT): Likewise.
77623         * intl/gettext.c (DCGETTEXT): Likewise.
77624         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
77625         * posix/regex_internal.h (gettext): Likewise.
77626         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
77627         Remove declaration.
77628         * include/argz.h (__argz_count_internal)
77629         (__argz_stringify_internal): Remove declaration.
77630         (__argz_count, __argz_stringify): Declare hidden proto.
77631         * intl/dcgettext.c: Remove use of INTDEF.
77632         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
77633         * string/argz-stringify.c: Likewise.
77634         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77635         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77636         Declare hidden proto.
77637         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77638         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77639         Declare hidden proto.
77640         * include/stdio.h (__asprintf_internal): Don't declare.
77641         (__asprintf): Don't define as macro.  Declare hidden proto.
77642         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
77643         (__fsetlocking): Declare hidden proto.
77644         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
77645         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
77646         hidden proto.
77647         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
77648         (_IO_setlinebuf): Remove use of INTUSE.
77649         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
77650         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
77651         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
77652         Remove declaration.
77653         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
77654         (_IO_do_flush): Remove use of INTUSE.
77655         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
77656         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
77657         (_IO_adjust_column, _IO_least_wmarker)
77658         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
77659         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
77660         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
77661         (_IO_default_doallocate, _IO_wdefault_doallocate)
77662         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
77663         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
77664         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
77665         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
77666         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
77667         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
77668         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
77669         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
77670         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
77671         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
77672         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
77673         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
77674         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
77675         proto.
77676         (_IO_flush_all_internal, _IO_adjust_column_internal)
77677         (_IO_default_uflow_internal, _IO_default_finish_internal)
77678         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
77679         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
77680         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
77681         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
77682         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
77683         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
77684         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
77685         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
77686         (_IO_file_close_internal, _IO_file_close_it_internal)
77687         (_IO_file_underflow_internal, _IO_file_overflow_internal)
77688         (_IO_file_init_internal, _IO_file_attach_internal)
77689         (_IO_file_fopen_internal, _IO_file_read_internal)
77690         (_IO_file_sync_internal, _IO_file_seek_internal)
77691         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
77692         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
77693         (_IO_str_underflow_internal, _IO_str_overflow_internal)
77694         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
77695         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
77696         (_IO_list_all_internal, _IO_link_in_internal)
77697         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
77698         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
77699         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
77700         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
77701         (_IO_do_write_internal, _IO_padn_internal)
77702         (_IO_getline_info_internal, _IO_getline_internal)
77703         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
77704         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
77705         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
77706         (_IO_vfscanf_internal, _IO_vfprintf_internal)
77707         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
77708         (_IO_init_internal, _IO_un_link_internal): Don't declare.
77709         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
77710         with libc_hidden_ver, remove use of INTUSE.
77711         * libio/genops.c: Likewise.
77712         * libio/freopen.c: Likewise.
77713         * libio/freopen64.c: Likewise.
77714         * libio/iofclose.c: Likewise.
77715         * libio/iofdopen.c: Likewise.
77716         * libio/iofflush.c: Likewise.
77717         * libio/iofflush_u.c: Likewise.
77718         * libio/iofgets.c: Likewise.
77719         * libio/iofgets_u.c: Likewise.
77720         * libio/iofopen.c: Likewise.
77721         * libio/iofopncook.c: Likewise.
77722         * libio/iofread.c: Likewise.
77723         * libio/iofread_u.c: Likewise.
77724         * libio/ioftell.c: Likewise.
77725         * libio/iofwrite.c: Likewise.
77726         * libio/iogetline.c: Likewise.
77727         * libio/iogets.c: Likewise.
77728         * libio/iogetwline.c: Likewise.
77729         * libio/iopadn.c: Likewise.
77730         * libio/iopopen.c: Likewise.
77731         * libio/ioseekoff.c: Likewise.
77732         * libio/ioseekpos.c: Likewise.
77733         * libio/iosetbuffer.c: Likewise.
77734         * libio/iosetvbuf.c: Likewise.
77735         * libio/ioungetc.c: Likewise.
77736         * libio/ioungetwc.c: Likewise.
77737         * libio/iovdprintf.c: Likewise.
77738         * libio/iovsprintf.c: Likewise.
77739         * libio/iovsscanf.c: Likewise.
77740         * libio/memstream.c: Likewise.
77741         * libio/obprintf.c: Likewise.
77742         * libio/oldfileops.c: Likewise.
77743         * libio/oldiofclose.c: Likewise.
77744         * libio/oldiofdopen.c: Likewise.
77745         * libio/oldiofopen.c: Likewise.
77746         * libio/oldiopopen.c: Likewise.
77747         * libio/oldstdfiles.c: Likewise.
77748         * libio/putc.c: Likewise.
77749         * libio/setbuf.c: Likewise.
77750         * libio/setlinebuf.c: Likewise.
77751         * libio/stdfiles.c: Likewise.
77752         * libio/strops.c: Likewise.
77753         * libio/vasprintf.c: Likewise.
77754         * libio/vscanf.c: Likewise.
77755         * libio/vsnprintf.c: Likewise.
77756         * libio/vswprintf.c: Likewise.
77757         * libio/wfiledoalloc.c: Likewise.
77758         * libio/wfileops.c: Likewise.
77759         * libio/wgenops.c: Likewise.
77760         * libio/wmemstream.c: Likewise.
77761         * libio/wstrops.c: Likewise.
77762         * libio/__fpurge.c: Likewise.
77763         * libio/__fsetlocking.c: Likewise.
77764         * assert/assert.c: Likewise.
77765         * debug/fgets_chk.c: Likewise.
77766         * debug/fgets_u_chk.c: Likewise.
77767         * debug/fread_chk.c: Likewise.
77768         * debug/fread_u_chk.c: Likewise.
77769         * debug/gets_chk.c: Likewise.
77770         * debug/obprintf_chk.c: Likewise.
77771         * debug/vasprintf_chk.c: Likewise.
77772         * debug/vdprintf_chk.c: Likewise.
77773         * debug/vsnprintf_chk.c: Likewise.
77774         * debug/vsprintf_chk.c: Likewise.
77775         * malloc/mtrace.c: Likewise.
77776         * misc/error.c: Likewise.
77777         * misc/syslog.c: Likewise.
77778         * stdio-common/asprintf.c: Likewise.
77779         * stdio-common/fxprintf.c: Likewise.
77780         * stdio-common/getw.c: Likewise.
77781         * stdio-common/isoc99_fscanf.c: Likewise.
77782         * stdio-common/isoc99_scanf.c: Likewise.
77783         * stdio-common/isoc99_vfscanf.c: Likewise.
77784         * stdio-common/isoc99_vscanf.c: Likewise.
77785         * stdio-common/isoc99_vsscanf.c: Likewise.
77786         * stdio-common/printf-prs.c: Likewise.
77787         * stdio-common/printf_fp.c: Likewise.
77788         * stdio-common/printf_fphex.c: Likewise.
77789         * stdio-common/printf_size.c: Likewise.
77790         * stdio-common/putw.c: Likewise.
77791         * stdio-common/scanf.c: Likewise.
77792         * stdio-common/sprintf.c: Likewise.
77793         * stdio-common/tmpfile.c: Likewise.
77794         * stdio-common/vfprintf.c: Likewise.
77795         * stdio-common/vfscanf.c: Likewise.
77796         * stdlib/strfmon_l.c: Likewise.
77797         * sunrpc/openchild.c: Likewise.
77798         * sunrpc/xdr_stdio.c: Likewise.
77799         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
77800         * sysdeps/mach/hurd/tmpfile.c: Likewise.
77802 2012-05-24  Roland McGrath  <roland@hack.frob.com>
77804         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
77806         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
77807         in the third column, to generate for the shared library an IFUNC
77808         that uses _dl_vdso_vsym.
77809         * Makerules (COMPILE.c, compile-stdin.c): New variables.
77810         * Makeconfig (object-suffixes-noshared): New variable.
77812         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
77813         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
77814         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
77815         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
77817         [BZ #14132]
77818         * include/sys/time.h (__gettimeofday): Remove macro.
77819         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
77820         * time/gettimeofday.c (__gettimeofday): Remove #undef.
77821         Remove INTDEF.
77822         (__gettimeofday): Add libc_hidden_def.
77823         (gettimeofday): Add libc_hidden_weak.
77824         * sysdeps/mach/gettimeofday.c: Likewise.
77825         * sysdeps/posix/gettimeofday.c: Likewise.
77826         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
77827         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
77828         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
77829         (__gettimeofday_internal): Remove strong_alias.
77830         (__gettimeofday): Add libc_hidden_def.
77831         (gettimeofday): Add libc_hidden_weak.
77832         * sysdeps/unix/syscalls.list (gettimeofday):
77833         Remove __gettimeofday_internal alias.
77835 2012-05-24  Daniel Jacobowitz  <drow@false.org>
77836             H.J. Lu  <hongjiu.lu@intel.com>
77838         [BZ #12495]
77839         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
77840         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
77841         (largebin_index_32_big): New.
77842         (largebin_index): Use it for 16-byte alignment.
77843         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
77844         correction with front_misalign.
77846 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
77848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
77849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
77850         Likewise.
77851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
77852         Likewise.
77853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
77854         Likewise.
77855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
77856         Likewise.
77857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
77858         Likewise.
77859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
77860         Likewise.
77861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
77862         Likewise.
77863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
77864         Likewise.
77865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
77866         Likewise.
77867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
77868         Likewise.
77869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
77870         Likewise.
77871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
77872         Likewise.
77874         * scripts/data/c++-types-x32-linux-gnu.data: New file.
77875         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
77877 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77879         [BZ #10846]
77880         [BZ #14036]
77881         * math/libm-test.inc (exp_test): Add test from bug 14036.
77882         (pow_test): Add test from bug 10846.
77884         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
77885         and other flags.
77886         (special_function): Do not include flags in test name.
77887         (parse_args): Likewise.
77888         * sysdeps/i386/fpu/libm-test-ulps: Update.
77889         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77890         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
77891         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
77892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77894         * math/gen-libm-test.pl (%beautify): Add entries for underflow
77895         exceptions.
77896         * math/libm-test.inc ("Philosophy"): Update comment about
77897         exception testing.
77898         (UNDERFLOW_EXCEPTION): New macro.
77899         (UNDERFLOW_EXCEPTION_OK): Likewise.
77900         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
77901         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
77902         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
77903         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
77904         (INVALID_EXCEPTION_OK): Update value.
77905         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
77906         (OVERFLOW_EXCEPTION_OK): Likewise.
77907         (IGNORE_ZERO_INF_SIGN): Likewise.
77908         (test_exceptions): Handle underflow exceptions.
77909         (acos_test): Update for underflow exception expectations.
77910         (cexp_test): Likewise.
77911         (clog_test): Likewise.
77912         (clog10_test): Likewise.
77913         (csqrt_test): Likewise.
77914         (ctan_test): Likewise.
77915         (ctanh_test): Likewise.
77916         (exp_test): Likewise.
77917         (exp10_test): Likewise.
77918         (exp2_test): Likewise.
77919         (expm1_test): Likewise.
77920         (fma_test): Likewise.
77921         (j0_test): Likewise.
77922         (jn_test): Likewise.
77923         (nexttoward_test): Likewise.
77924         (pow_test): Likewise.
77925         (scalbn_test): Likewise.
77926         (scalbln_test): Likewise.
77927         (tan_test): Likewise.
77928         (y1_test): Likewise.
77929         * sysdeps/i386/fpu/libm-test-ulps: Update.
77930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77932 2012-05-23  David S. Miller  <davem@davemloft.net>
77934         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
77935         (__libc_sigaction): Remove unused local variables.
77937 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77939         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
77941 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
77943         mktime: avoid signed integer overflow
77944         * time/mktime.c (__mktime_internal): Do not mishandle the case
77945         where diff == INT_MIN.
77947         mktime: simplify computation of average
77948         * time/mktime.c (ranged_convert): Use new time_t_avg function
77949         instead of rolling our own (probably-slower) code.
77951         mktime: do not assume signed right shift propagates sign bit
77952         * time/mktime.c (isdst_differ): New static function.
77953         (__mktime_internal): No need to normalize tm_isdst now.
77954         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
77955         tm_isdst values.
77957         mktime: merge another wrapv change from gnulib
77958         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
77959         from some compilers.
77961         mktime: remove incorrect attempt at unusual arithmetics
77962         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
77963         The code didn't really work on such machines anyway.
77964         (TYPE_MINIMUM): Assume two's complement.
77965         (twos_complement_arithmetic): Verify that long_int and time_t
77966         are two's complement (or unsigned, in the latter case).
77968         mktime: check signed shifts on long_int and time_t, too
77969         * time/mktime.c (SHR): Check that shifts work as desired
77970         on the types long_int and time_t too, as SHR is used on
77971         such types.
77973         mktime: do not assume 'long' is wide enough
77974         * time/mktime.c (verify): Move decl up.
77975         (long_int): New type.
77976         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
77977         to remove assumption in the code that 'long' is wide enough to
77978         store year values.  This assumption is not true on x32 and on
77979         some non-glibc platforms.
77981         mktime: merge wrapv change from gnulib
77982         * time/mktime.c (WRAPV): New macro.
77983         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
77984         (guess_time_tm, __mktime_internal): Do not assume that signed
77985         integer overflow wraps around; modern compilers generate code
77986         where this assumption is no longer valid.
77988 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
77990         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
77991         Replace "jmp L(pseudo_end)" with "ret".
77992         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
77993         Likewise.
77995 2012-05-23  Andreas Jaeger  <aj@suse.de>
77997         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
77998         * sysdeps/unix/sysv/linux/poll.c: Remove file.
78000 2012-05-23  Andreas Jaeger  <aj@suse.de>
78001             Maximilian Attems  <max@stro.at>
78003         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
78004         New macros.
78006 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78008         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
78009         code so that pseudo_end is just ret and the stack pointer is
78010         correct also for static library in error case.
78012 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
78014         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
78015         move to syscalls.list.
78016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
78017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
78018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
78019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
78021         * manual/install.texi (Running make install): Do not mention Linux
78022         kernel version for which pt_chown is not needed.
78023         (Linux): Do not mention problems with nscd with 2.0 kernels.
78024         * INSTALL: Regenerated.
78026 2012-05-23  Andreas Jaeger  <aj@suse.de>
78028         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
78029         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
78030         macro.
78031         * sysdeps/unix/sysv/linux/s390/bits/mman.h
78032         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78033         * sysdeps/unix/sysv/linux/sh/bits/mman.h
78034         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78035         * sysdeps/unix/sysv/linux/i386/bits/mman.h
78036         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78037         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
78038         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78039         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
78040         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78041         * sysdeps/unix/sysv/linux/bits/in.h
78042         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
78044 2012-05-22  Roland McGrath  <roland@hack.frob.com>
78046         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
78047         (PREPARE_VERSION): Just use assert instead, it will be elided
78048         under [NDEBUG] anyway.
78050 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78052         * sysdeps/unix/sysv/linux/Makefile: Include
78053         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
78054         (sysdep_routines): Remove sysctl.
78055         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
78056         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
78057         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
78058         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
78059         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
78061 2012-05-22  Andreas Jaeger  <aj@suse.de>
78063         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
78064         that pseudo_end is just ret and the stack pointer is correct also
78065         for static library in error case.
78067 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
78069         [BZ #14122]
78070         * nss/nsswitch.c (defconfig_entries): New variable.
78071         (__nss_database_lookup): Don't leak defconfig entries.
78072         (nss_parse_service_list): Don't leak on error paths.
78073         (free_database_entries): New function.
78074         (free_defconfig): New function.
78075         (free_mem): Move common code to free_database_entries.
78077 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78079         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
78080         Add arch_prctl.
78081         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
78083         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
78084         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
78085         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
78086         New macro.
78087         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
78088         (INTERNAL_SYSCALL_TYPES): Likewise.
78089         (LOAD_ARGS_TYPES_[1-6]): Likewise.
78090         (LOAD_REGS_TYPES_[1-6]): Likewise.
78091         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
78092         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
78094 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78096         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
78097         copysignl for GLIBC_2_0.
78098         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
78099         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
78100         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
78101         logbl for GLIBC_2_0.
78102         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
78103         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
78105 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78107         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
78108         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78110         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
78111         Use "neg %eax".
78113         * time/mktime.c: Update copyright years.
78115 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
78117         mktime: merge comment-quoting-style change from gnulib
78118         * time/mktime.c: Quote 'like this' in comments.
78119         The GNU coding standards suggest that we no longer quote `like this',
78120         as "`" and "'" are typically rendered asymmetrically nowadays.
78121         The typical gnulib style is to quote 'like this' when quoting
78122         code, and "like this" when quoting English.
78124         * time/mktime.c (compile-command): Add "-I.".
78126         mktime: merge mktime-internal.h change from gnulib
78127         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
78129         mktime: merge time_r change from gnulib
78130         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
78132         mktime: merge DEBUG change from gnulib
78133         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
78134         case system <time.h> has a #define.
78136         mktime: merge <sys/types.h> change from gnulib
78137         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
78138         since <time.t> is now guaranteed to define time_t.
78140         mktime: merge HAVE_CONFIG_H change from gnulib
78141         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
78143 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78145         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78146         Use "neg %eax".
78148         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
78149         __rlim_t cast.
78150         (struct rusage): Use anonymous union to pad each field to
78151         __syscall_slong_t.
78153 2012-05-21  David S. Miller  <davem@davemloft.net>
78155         * Makefules (o-iterator): Remove .s cases.
78156         (compile-command.s): Delete.
78157         (COMPILE.s): Delete.
78158         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
78160 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
78162         * configure.in (libc_cv_predef_stack_protector): Only consider
78163         "foobar" and "__stack_chk_fail" lines in libc_undefs.
78164         * configure: Regenerated.
78166 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78168         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78169         New macro.  Use R*LP on int and pointer.
78170         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
78171         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
78172         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
78173         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
78175         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
78176         [__WORDSIZE_TIME64_COMPAT32] instead of
78177         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
78178         (struct utmp): Likewise.
78179         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
78180         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
78181         Renamed to ...
78182         (__WORDSIZE_TIME64_COMPAT32): This.
78183         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
78184         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
78185         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
78186         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
78187         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
78188         (__WORDSIZE_TIME64_COMPAT32): New macro.
78190 2012-05-21  Andreas Jaeger  <aj@suse.de>
78192         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
78193         only if [SHARED]. Add prototype for __wcschr_ia32.
78195 2012-05-21  Roland McGrath  <roland@hack.frob.com>
78197         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
78198         of %rbp unmolested in the jmp_buf while mangling the low bits.
78199         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
78200         unmolested high bits of %rbp while demangling the low bits.
78201         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
78203 2012-05-21  Andreas Jaeger  <aj@suse.de>
78205         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
78206         * sunrpc/svc_simple.c: Use it for registerrpc.
78207         * sunrpc/xcrypt.c: Use it for passwd2des.
78209         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
78211 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78213         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
78214         Don't define if [__SYSCALL_WORDSIZE != 32].
78215         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
78216         New macro.
78218 2012-05-21  Bruno Haible  <bruno@clisp.org>
78219             Andreas Jaeger  <aj@suse.de>
78221         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
78222         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
78223         inptr and inend for must_buffer_ch.
78224         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
78225         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
78226         * stdio-common/Makefile (tests): Remove bug15.
78227         (bug15-ENV): Remove macro.
78228         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
78229         anymore.
78231 2012-05-19  Andreas Jaeger  <aj@suse.de>
78232             Roland McGrath  <roland@hack.frob.com>
78234         * manual/contrib.texi: Completely rewritten. It contains now an
78235         alphabetical list of contributors and their contributions.
78237 2012-05-21  Richard Henderson  <rth@twiddle.net>
78239         * misc/getauxval.c (__getauxval): Use unsigned long int.
78240         * misc/sys/auxv.h: Include <sys/cdefs.h>.
78241         (getauxval): Use unsigned long int.
78243 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78245         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
78247 2012-05-21  Roland McGrath  <roland@hack.frob.com>
78249         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
78250         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
78251         __alignof__ (long double).
78253 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78257 2012-05-20  Richard Henderson  <rth@twiddle.net>
78259         * misc/getauxval.c: New file.
78260         * misc/sys/auxv.h: New file.
78261         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
78262         (routines): Add getauxval.
78263         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
78264         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
78265         * elf/dl-sysdep.c (_dl_auxv): Remove.
78266         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
78267         * elf/dl-support.c (_dl_auxv): New variable.
78268         (_dl_aux_init): Initialize it.
78269         * manual/startup.texi (Auxiliary Vector): New node.
78270         * sysdeps/generic/bits/hwcap.h: New file.
78271         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
78272         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
78273         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
78274         * sysdeps/sparc/sysdep.h: ... here.  Include it.
78275         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
78276         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
78277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78278         Update.
78279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
78280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
78281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
78282         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
78283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
78286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
78288 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78292 2012-05-19  David S. Miller  <davem@davemloft.net>
78294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78296 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78298         [BZ #14123]
78299         * math/s_ccosh.c: Include <float.h>
78300         (__ccosh): Avoid internal overflow calculating sinh and cosh
78301         values before multiplying by sin and cos values.
78302         * math/s_ccoshf.c: Likewise.
78303         * math/s_ccoshl.c: Likewise.
78304         * math/s_csin.c: Likewise.
78305         * math/s_csinf.c: Likewise.
78306         * math/s_csinl.c: Likewise.
78307         * math/s_csinh.c: Likewise.
78308         * math/s_csinhf.c: Likewise.
78309         * math/s_csinhl.c: Likewise.
78310         * math/libm-test.inc (ccos_test): Add more tests.
78311         (ccosh_test): Likewise.
78312         (csin_test): Likewise.
78313         (csinh_test): Likewise.
78314         * sysdeps/i386/fpu/libm-test-ulps: Update.
78315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78317 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
78319         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
78320         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
78322         * sysdeps/x86_64/x32/_itoa.h: Add comment.
78324 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78326         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
78327         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
78328         * sysdeps/powerpc/soft-fp/Versions: Likewise.
78329         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
78330         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
78331         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
78332         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
78333         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
78334         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
78335         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
78336         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
78337         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
78338         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
78339         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
78340         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
78341         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
78342         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
78343         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
78344         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
78345         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
78346         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
78347         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
78348         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
78349         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
78350         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
78351         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
78352         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
78353         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
78354         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
78355         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
78356         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
78358 2012-05-18  Andreas Jaeger  <aj@suse.de>
78360         * csu/.gitignore: Delete.
78362 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78364         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
78365         (timex): Use __syscall_slong_t.
78367 2012-05-18  Andreas Jaeger  <aj@suse.de>
78368             Carlos O'Donell  <carlos_odonell@mentor.com>
78370         * manual/install.texi (Configuring and compiling): Update
78371         description about files modified in the source directory.
78372         * INSTALL: Regenerated.
78374 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78376         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
78377         value.  Use "or" to set return value to -1.
78378         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
78379         negate return value.
78381 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78383         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
78384         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
78385         failure if the compiler has Graphite support disabled.
78386         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
78387         Likewise.
78388         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
78389         (CFLAGS-memmove.c): Likewise.
78390         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
78391         Likewise.
78393 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78395         * sysdeps/x86_64/x32/_itoa.h: New file.
78397         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
78398         getdents system call only if kernel and user dirents have the
78399         same d_ino and d_off.
78401         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78402         LLONG_MAX != LONG_MAX.
78403         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78404         (_fitoa_word): Likewise.
78406         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
78407         years.
78408         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
78409         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
78410         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
78412         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
78413         include <bits/wordsize.h>.  Check __x86_64__ instead of
78414         __WORDSIZE.
78415         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
78416         if __x86_64__ is defined.  Use anonymous union on fpstate.
78418         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
78419         anonymous union.
78421 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
78423         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
78424         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
78425         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
78426         Refer to _rtld_local_ro instead of _rtld_global_ro.
78427         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
78428         Likewise.
78429         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
78430         Likewise.
78431         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
78432         Likewise.
78433         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
78434         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
78435         of _rtld_global, and rtld_progname instead of _dl_argv[0].
78437         [BZ #10882]
78438         * sysdeps/powerpc/powerpc32/dl-machine.c
78439         (__elf_machine_runtime_setup) [PROF]: Don't reference
78440         _dl_prof_resolve.
78442 2012-05-18  Andreas Jaeger  <aj@suse.de>
78444         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
78445         function only available for GCCs before 3.4 since GCC 3.4
78446         introduced a builtin.
78447         (lrint): Likewise.
78448         (llrintf): Likewise.
78449         (llrint): Likewise.
78450         (fmaxf): Likewise.
78451         (fmax): Likewise.
78452         (fminf): Likewise.
78453         (fmin): Likewise.
78454         (rint): Likewise.
78455         (rintf): Likewise.
78456         (nearbyint): Likewise.
78457         (nearbyintf): Likewise.
78458         (ceil): Likewise.
78459         (ceilf): Likewise.
78460         (floor): Likewise.
78461         (floorf): Likewise.
78463 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78465         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
78466         on both fields and cast pointer to __syscall_ulong_t.
78468         * bits/types.h (__fsword_t): New type.
78469         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
78470         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
78471         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78472         (__FSWORD_T_TYPE): Likewise.
78473         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78474         (__FSWORD_T_TYPE): Likewise.
78475         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78476         (__FSWORD_T_TYPE): Likewise.
78477         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
78478         (__FSWORD_T_TYPE): Likewise.
78479         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
78480         __SWORD_TYPE with __fsword_t.
78481         (statfs64): Likewise.
78483 2012-05-17  David S. Miller  <davem@davemloft.net>
78485         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
78487 2012-05-17  Andreas Jaeger  <aj@suse.de>
78489         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
78490         warning.
78492 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78494         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
78496 2012-05-17  Andreas Jaeger  <aj@suse.de>
78498         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
78499         when it is used.
78501 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78503         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
78505 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78507         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
78508         * sysdeps/x86_64/tst-mallocalign1.c: New file.
78510 2012-05-17  Andreas Jaeger  <aj@suse.de>
78511             Carlos O'Donell  <carlos_odonell@mentor.com>
78513         [BZ #14059]
78514         * sysdeps/x86_64/multiarch/init-arch.h
78515         (bit_YMM_Usable): Rename to...
78516         (bit_AVX_Usable): ... this.
78517         (bit_FMA4_Usable): New macro.
78518         (bit_XMM_state): New macro.
78519         (bit_YMM_state): New macro.
78520         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
78521         [__ASSEMBLER__] (index_AVX_Usable): ... this.
78522         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
78523         (CPUID_OSXSAVE): New macro.
78524         (CPUID_AVX): New macro.
78525         (CPUID_FMA4): New macro.
78526         (index_YMM_Usable): Rename to...
78527         (index_AVX_Usable): ... this.
78528         (HAS_AVX): Use HAS_ARCH_FEATURE.
78529         (HAS_FMA4): Likewise.
78530         (HAS_YMM_USABLE): Remove.
78531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78532         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
78533         are present.
78534         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
78535         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
78536         * sysdeps/x86_64/multiarch/Makefile: Likewise.
78537         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
78538         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
78540 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78542         * math/libm-test.c: Support platforms without multiple rounding modes.
78543         * math/bug-nextafter.c: Support platforms without FP exceptions.
78544         * math/bug-nexttoward.c: Likewise.
78545         * math/test-fenv.c: Likewise.
78546         * math/test-misc.c: Likewise.
78547         * stdlib/bug-getcontext.c: Likewise.
78549 2012-05-17  Andreas Jaeger  <aj@suse.de>
78551         * manual/examples/search.c (critter_cmp): Change signature to
78552         avoid warnings.
78553         * manual/string.texi (Collation Functions): Likewise.
78555 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78557         * bits/types.h: Fold copyright years.
78558         * bits/typesizes.h: Likewise.
78559         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
78560         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
78561         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
78562         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
78563         * time/time.h: Likewise.
78565 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
78567         [BZ #208]
78568         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
78569         in instead of returning them.  Return void.
78570         (__libc_mallinfo): Accumulate over all arenas.
78571         (__malloc_stats): Adjust for change in int_mallinfo interface.
78573 2012-05-16  Roland McGrath  <roland@hack.frob.com>
78575         [BZ #10375]
78576         * configure.in (NM): Add AC_CHECK_TOOL for it.
78577         (libc_extra_cflags): New substituted variable.
78578         Check for -fstack-protector being used implicitly.
78579         * configure: Regenerated.
78580         * config.make.in (config-extra-cflags): New variable,
78581         gets @libc_extra_cflags@.
78582         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
78584         [BZ #10375]
78585         * configure.in: Check for _FORTIFY_SOURCE being predefined.
78586         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
78587         * configure: Regenerated.
78588         * config.make.in (CPPUNDEFS): New substituted variable.
78589         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
78590         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
78591         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
78593 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78595         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
78596         (mq_attr): Use __syscall_slong_t.
78598 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78600         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
78601         Check __x86_64__ instead of __WORDSIZE.
78602         (_STAT_VER_LINUX): Likewise.
78603         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
78604         __syscall_ulong_t and __syscall_slong_t.
78605         (stat64): Likewise.
78607 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78609         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
78611 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78613         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
78615 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78617         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
78618         __syscall_ulong_t.
78620         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
78621         include <bits/wordsize.h>.  Check __x86_64__ instead of
78622         __WORDSIZE.
78623         (greg_t): Use "__extension__ long long int" if __x86_64__ is
78624         defined.
78625         (mcontext_t): Replace "unsigned long" with "unsigned long long".
78627         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
78628         include <bits/wordsize.h>.  Check __x86_64__ instead of
78629         __WORDSIZE.
78630         (user_regs_struct): Use "__extension__ unsigned long long"
78631         instead of "unsigned long" if __x86_64__ is defined.
78632         (user): Likewise.  Pad after pointer field if __ILP32__ is
78633         defined.
78635 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
78637         * configure.in (makeinfo): Require version 4.5 or later.  Allow
78638         versions 5 to 9.
78639         * configure: Regenerated.
78640         * manual/install.texi (texinfo): Increase version requirement to
78641         4.5 or later.
78642         * INSTALL: Regenerated.
78644         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
78646 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78648         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
78650         * sysdeps/x86_64/x32/ffs.c: New file.
78652         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
78653         __syscall_ulong_t.
78654         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
78655         defined.  Use __syscall_ulong_t.
78656         (shminfo): Use __syscall_ulong_t.
78657         (shm_info): Likewise.
78659         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
78660         __syscall_ulong_t.
78662         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
78663         <bits/wordsize.h>.
78664         (msgqnum_t): Use __syscall_ulong_t.
78665         (msglen_t): Likewise.
78666         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
78667         __syscall_ulong_t.
78669         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
78670         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78672         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
78674         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
78675         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
78677         * sysvipc/sys/msg.h (msgbuf): Replace long int with
78678         __syscall_slong_t.
78680         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
78681         include <bits/wordsize.h>.  Check __x86_64__ instead of
78682         __WORDSIZE.
78684         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
78685         "unsigned long long int" if __x86_64__ is defined.
78686         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
78688         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
78689         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78690         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
78692         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
78693         <stdint.h>.
78694         (GET_PC): Cast to uintptr_t first.
78695         (GET_FRAME): Likewise.
78696         (GET_STACK): Likewise.
78698         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
78699         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
78700         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
78701         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
78702         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
78703         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
78704         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
78705         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
78706         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
78707         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
78708         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
78709         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
78710         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78711         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
78712         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
78713         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
78714         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
78715         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
78716         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
78717         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
78718         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
78719         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
78720         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
78721         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
78722         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
78723         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
78724         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
78725         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
78726         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
78728 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
78730         * Makerules (+depfiles): Also collect depfiles from .oS in
78731         $(extra-objs).
78732         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
78733         .oS, $(libnldbl-routines)).
78735         * Makerules (native-compile-mkdep-flags): Define.
78736         * sunrpc/Makefile (extra-objs): Add $(addprefix
78737         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
78738         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
78739         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
78740         calling $(make-target-directory).
78742 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78744         * bits/types.h (__snseconds_t): Removed.
78745         * time/time.h (struct timespec): Replace __snseconds_t with
78746         __syscall_slong_t.
78747         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
78748         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
78749         Likewise.
78750         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78751         (__SNSECONDS_T_TYPE): Likewise.
78752         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78753         (__SNSECONDS_T_TYPE): Likewise.
78754         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78755         (__SNSECONDS_T_TYPE): Likewise.
78757 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78759         * sysdeps/mach/hurd/bits/typesizes.h
78760         (__SYSCALL_SLONG_TYPE): New macro.
78761         (__SYSCALL_ULONG_TYPE): Likewise.
78763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78765         * bits/types.h (__syscall_slong_t): New type.
78766         (__syscall_ulong_t): Likewise.
78768         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
78769         (__SYSCALL_ULONG_TYPE): Likewise.
78770         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78771         (__SYSCALL_SLONG_TYPE): Likewise.
78772         (__SYSCALL_ULONG_TYPE): Likewise.
78773         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78774         (__SYSCALL_SLONG_TYPE): Likewise.
78775         (__SYSCALL_ULONG_TYPE): Likewise.
78776         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78777         (__SYSCALL_SLONG_TYPE): Likewise.
78778         (__SYSCALL_ULONG_TYPE): Likewise.
78780 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78782         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
78783         Add sigaltstack-offsets.sym.
78784         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
78785         <sigaltstack-offsets.h>.
78786         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
78787         longjmp_msg pointer.
78788         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
78789         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
78790         signal stack.
78791         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
78793 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
78795         * elf/stackguard-macros.h: Remove file.
78796         * sysdeps/generic/stackguard-macros.h: New file.
78797         * sysdeps/i386/stackguard-macros.h: Likewise.
78798         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
78799         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
78800         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
78801         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
78802         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
78803         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
78804         * sysdeps/x86_64/stackguard-macros.h: Likewise.
78805         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
78806         <elf/stackguard-macros.h>.
78808         [BZ #14109]
78809         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
78810         __aligned__ in attribute.
78811         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
78812         (gregset_t): Likewise.
78814 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78816         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
78817         * sysdeps/x86_64/64/Implies-after: Here.  New file.
78818         * sysdeps/x86_64/x32/Implies-after: New file.
78820 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78822         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
78823         and access return value for _dl_profile_fixup.  Use R10_LP to
78824         load frame size.
78826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78828         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
78830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78832         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
78833         * sysdeps/x86_64/x32/sysdep.h: New file.
78835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78837         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
78838         * sysdeps/x86_64/setjmp.S: Likewise.
78840 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78842         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
78843         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
78844         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
78845         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
78846         remove unused global constant.
78848 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
78850         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
78851         include of <not-cancel.h>.
78853 2012-05-15  Roland McGrath  <roland@hack.frob.com>
78855         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
78857 2012-05-15  Jeff Law  <law@redhat.com>
78858             Andreas Jaeger  <aj@suse.de>
78860         [BZ #13594]
78861         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
78862         out from...
78863         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
78864         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
78865         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
78866         code changing __hst_map_handle.map.
78868 2012-05-15  Roland McGrath  <roland@hack.frob.com>
78870         * configure.in (sysnames): Look for Implies-before and Implies-after
78871         files.
78872         * configure: Regenerated.
78874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78876         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
78877         8-byte data alignment with LP_SIZE alignment.
78879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78881         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
78882         into R10_LP.
78884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78886         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
78888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78890         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
78891         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
78892         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
78893         Likewise.
78894         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78896 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78898         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
78899         (stackinfo_sub_sp): Likewise.
78901 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78903         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
78904         RAX_LP.
78906 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78908         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
78909         into R*_LP.
78911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78913         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
78914         sizes into R*_LP.
78916 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78918         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
78920 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78922         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
78923         into R11_LP and load __x86_64_shared_cache_size_half into
78924         R8_LP.
78926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
78928         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
78929         R8_LP.
78931 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78933         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
78934         logb for POWER7.
78935         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
78936         logbf for POWER7.
78937         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
78938         logbl for POWER7.
78939         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
78940         powerpc32/power7/fpu/s_logb.c via #include.
78941         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
78942         powerpc32/power7/fpu/s_logbf.c via #include.
78943         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
78944         powerpc32/power7/fpu/s_logbl.c via #include.
78946 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
78948         * README.libm: Remove file.
78950 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78952         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
78953         count for x32.  Use R*_LP and omit operand-size suffix.
78955 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78957         * shlib-versions: Move x86_64-.*-linux.* entries to ...
78958         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
78959         * sysdeps/x86_64/x32/shlib-versions: New file.
78961 2012-05-14  Roland McGrath  <roland@hack.frob.com>
78963         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
78964         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
78965         Use _dl_fatal_printf instead.
78967 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
78969         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
78970         set if not set by the user.  Do not allow for being unset.
78971         * sysdeps/unix/sysv/linux/configure: Regenerated.
78973 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78975         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
78976         the `q' suffix from lea and replace .quad with ASM_ADDR.
78978 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78980         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
78981         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
78982         instead of $17.
78983         (PTR_DEMANGLE): Likewise.
78985 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
78987         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
78988         (LP_OP): Likewise.
78989         (ASM_ADDR): Likewise.
78990         (RAX_LP): Likewise.
78991         (RBP_LP): Likewise.
78992         (RBX_LP): Likewise.
78993         (RCX_LP): Likewise.
78994         (RDI_LP): Likewise.
78995         (RSI_LP): Likewise.
78996         (RSP_LP): Likewise.
78997         (R8_LP): Likewise.
78998         (R9_LP): Likewise.
78999         (R10_LP): Likewise.
79000         (R10_LP): Likewise.
79001         (R11_LP): Likewise.
79002         (R12_LP): Likewise.
79003         (R13_LP): Likewise.
79004         (R14_LP): Likewise.
79005         (R15_LP): Likewise.
79007 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79009         * sysdeps/x86_64/x32/dl-machine.h: New file.
79011 2012-05-14  Andreas Jaeger  <aj@suse.de>
79013         * manual/Makefile (subdir): Remove export of subdir.
79014         (all): Remove target.
79015         (.PHONY): Remove all from list.
79016         (mkinstalldirs): Remove.
79017         (.PHONY): Remove installdirs from list.
79018         ($(inst_infodir)/libc.info): Use make-target-directory.
79019         (installdirs): Remove.
79020         (subdir_%): Remove.
79021         (glibc-targets): Remove.
79022         (lib): Remove.
79023         (stubs): Remove.
79024         ($(objpfx)stubs ../po/manual.pot): Remove.
79025         ($(objpfx)stamp%): Remove.
79026         (make-target-directory): Remove.
79027         (subdir_install): Remove.
79028         (routines): Remove.
79029         (aux): Remove.
79030         (sources): Remove.
79031         (objects): Remove.
79032         (headers): Remove.
79034         [BZ #13750]
79035         * manual/.gitignore: Remove, it's not needed anymore.
79036         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
79037         all files in it.
79038         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
79039         directory.
79040         (texis): Renamed to $(objpfx)texis.
79041         (texis-path): New, contains path to generated files.
79042         (chapters.%): Use texis-path for complete path, add extra argument
79043         libc-texinfo.sh.
79044         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
79045         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
79046         (summary,texi, stamp-summary): Use complete path of
79047         files. Generate files in build dir.
79048         (dir-add.texi): Build in build dir.
79049         (libm-err.texi,stamp-libm-err): Likewise.
79050         (version.texi, stamp-version): Likewise.
79051         (.%c.texi): Likewise.
79052         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
79053         (mostlyclean): Remove target.
79054         (realclean): Remove target.
79055         (generated): Add new variable with contents from mostlyclean and
79056         realclean, remove entries duplicated in common-mostlyclean, add
79057         stamp-libm-err and stamp-version.
79058         (generated-dirs): Add libc directory.
79059         ($(inst_infodir)/libc.info): Install files from build dir.
79061         * manual/install.texi (Configuring and compiling): Adjust since
79062         the info files are not part of the tar ball anymore.
79064 2012-05-14  Andreas Jaeger  <aj@suse.de>
79066         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
79067         variable.
79069 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
79071         [BZ #13717]
79072         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
79073         to 2.2.0 where earlier.
79074         * sysdeps/unix/sysv/linux/configure: Regenerated.
79075         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
79076         Remove conditional code.
79077         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
79078         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
79079         Remove conditional code.
79080         [!__NR_lchown]: Likewise.
79081         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79082         [__NR_lchown]: Likewise.
79083         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
79084         comment referencing __ASSUME_LCHOWN_SYSCALL.
79085         * sysdeps/unix/sysv/linux/i386/sigaction.c
79086         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79087         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79088         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
79089         Remove conditional code.
79090         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
79091         (__protocol_available): Remove #if 0 code.
79092         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
79093         conditional code.
79094         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
79095         * sysdeps/unix/sysv/linux/kernel-features.h
79096         (__ASSUME_GETCWD_SYSCALL): Don't define.
79097         (__ASSUME_REALTIME_SIGNALS): Likewise.
79098         (__ASSUME_PREAD_SYSCALL): Likewise.
79099         (__ASSUME_PWRITE_SYSCALL): Likewise.
79100         (__ASSUME_POLL_SYSCALL): Likewise.
79101         (__ASSUME_LCHOWN_SYSCALL): Likewise.
79102         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
79103         non-SPARC.
79104         (__ASSUME_SIOCGIFNAME): Don't define.
79105         (__ASSUME_MSG_NOSIGNAL): Likewise.
79106         (__ASSUME_SENDFILE): Define unconditionally.
79107         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
79108         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
79109         conditional code.
79110         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
79111         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
79112         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
79113         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79114         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
79115         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
79116         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
79118         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79119         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
79121         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79122         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
79124         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79125         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
79127         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79128         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
79130         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79131         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
79133         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79134         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
79136         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79137         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
79139         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79140         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79141         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
79142         Remove conditional code.
79143         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79144         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
79145         Remove conditional code.
79146         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79147         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
79148         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
79149         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
79150         Remove conditional code.
79151         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79152         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
79153         Remove conditional code.
79154         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79155         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
79156         Remove conditional code.
79157         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79158         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
79159         Remove conditional code.
79160         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79161         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
79162         Remove conditional code.
79163         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79164         * sysdeps/unix/sysv/linux/sh/pwrite64.c
79165         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79166         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79167         * sysdeps/unix/sysv/linux/sigaction.c
79168         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79169         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79170         * sysdeps/unix/sysv/linux/sigpending.c
79171         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79172         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79173         * sysdeps/unix/sysv/linux/sigprocmask.c
79174         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79175         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79176         * sysdeps/unix/sysv/linux/sigsuspend.c
79177         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79178         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79179         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79180         (__libc_missing_rt_sigs): Remove.
79181         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
79182         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
79183         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
79184         Remove conditional code.
79185         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
79186         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
79187         return 1.
79188         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
79189         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
79190         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
79191         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
79193 2012-05-14  Andreas Jaeger  <aj@suse.de>
79195         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
79196         it's not used in glibc.
79197         (__coshm1): Likewise.
79198         (__acosh1p): Likewise.
79199         (__sgn): Likewise.
79201         * manual/string.texi (Copying and Concatenation): Add missing
79202         variable in concat example.
79203         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
79205 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79207         [BZ #14103]
79208         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
79209         __builtin_clzl with __builtin_clzll.
79211 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79213         [BZ #14104]
79214         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
79215         libc_freeres_ptr.
79217 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79219         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
79220         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
79221         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
79222         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
79224 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
79226         * NEWS: Update ia64 info.
79228 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
79230         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
79231         used as bcopy.
79233 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
79235         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
79236         * sysdeps/unix/syscalls.list (dup3): Likewise.
79237         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
79238         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
79240 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
79242         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
79243         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
79245 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
79247         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
79248         thread pointer.
79249         (TLS_IE): Use mov/add instead of movq/addq to load thread
79250         pointer.
79251         (TLS_GD_PREFIX): New.
79252         (TLS_GD): Use it.
79254 2012-05-11  David S. Miller  <davem@davemloft.net>
79256         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
79257         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
79258         (_FPU_SETCW): Likewise.
79260 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79262         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
79263         is 32-byte aligned.
79265 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
79267         [BZ #11837]
79268         * iconvdata/gb18030.c: Update tables.
79269         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
79270         characters specially.
79271         (BODY for TO_LOOP): Add encoding of missing ranges.
79273 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
79275         [BZ #13673]
79276         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
79277         * sysdeps/mach/hurd/dup3.c: Likewise.
79278         * sysdeps/mach/hurd/readlinkat.c: Likewise.
79279         * sysdeps/powerpc/memmove.c:: Likewise.
79281 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79283         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
79284         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
79286 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79288         * elf/elf.h (R_X86_64_RELATIVE64): New.
79289         (R_X86_64_NUM): Updated.
79290         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
79291         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
79292         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
79293         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
79294         tst-quad1pie tst-quad2pie
79295         (modules-names): Add tst-quadmod1 tst-quadmod2.
79296         ($(objpfx)tst-quad1): New dependency.
79297         ($(objpfx)tst-quad2): Likewise.
79298         ($(objpfx)tst-quad1pie): Likewise.
79299         ($(objpfx)tst-quad2pie): Likewise.
79300         * sysdeps/x86_64/tst-quad1.c: New file.
79301         * sysdeps/x86_64/tst-quad1pie.c: New file.
79302         * sysdeps/x86_64/tst-quad2.c: Likewise.
79303         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
79304         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
79305         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
79306         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
79307         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
79309 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79311         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
79312         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
79313         * streams/stropts.h (t_scalar_t): Define type.
79315         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
79316         (_PATH_PRESERVE): Set to "/var/lib".
79317         (_PATH_RWHODIR): Set to "/var/spool/rwho".
79319         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
79320         instead of int.
79322         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
79323         if __dir_mkfile succeeded.
79325         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
79326         checking for _hurd_dtablesize.  Unlock it right after having
79327         finished _hurd_dtable allocation.
79329 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79331         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
79332         * sysdeps/mach/hurd/configure: Regenerated.
79333         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
79334         special-casing to...
79335         * sysdeps/gnu/configure.in: ... this new file.
79336         * sysdeps/unix/sysv/linux/configure: Regenerated.
79337         * sysdeps/gnu/configure: New generated file.
79339         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
79340         for Linux: use nsec instead of usec, as well as:
79341         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
79342         members of type struct timespec.
79343         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
79344         New macros.
79345         (struct stat64): Likewise.
79346         (_STATBUF_ST_NSEC): New macro.
79347         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
79349         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
79350         __strtoul_internal rather than strtoul.
79352 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79354         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
79355         and reject them.
79357 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79359         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
79360         which preserves existing values.
79361         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
79363 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79365         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
79366         TIMEOUT values.  Return EINVAL for NFDS values either negative or
79367         greater than FD_SETSIZE.
79369 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79371         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
79372         allocated, call __vm_protect to finish enabling the existing space, and
79373         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
79374         allocate the remainder.
79376 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79378         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
79379         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
79381 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79383         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
79384         sysdeps/mach/hurd/readlink.c.
79386         * posix/tst-sysconf.c (posix_options): Only use
79387         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
79388         _POSIX_SYNCHRONIZED_IO when they are defined
79389         * sysdeps/mach/hurd/bits/posix_opt.h:
79390         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
79391         (_XOPEN_REALTIME): Undefine macro.
79392         (_XOPEN_REALTIME_THREADS): Undefine macro.
79393         (_XOPEN_SHM): Undefine macro.
79394         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
79395         macro to -1.
79396         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
79397         macro to -1.
79398         (_POSIX_ASYNC_IO): Undefine macro.
79399         (_POSIX_PRIORITIZED_IO): Undefine macro.
79400         (_POSIX_SPIN_LOCKS): Define macro to -1.
79402         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
79403         SA_NODEFER, SA_RESETHAND.
79404         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
79405         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
79406         F_DUPFD_CLOEXEC.
79408 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79410         * elf/Makefile (pldd-modules): Define unconditionally.
79412 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79414         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
79416 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79418         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
79419         Return ENOENT when name is empty.
79420         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
79422 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79424         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
79426         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
79428 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79430         Fix mlock in all cases except non-readable pages.
79431         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
79432         instead of VM_PROT_ALL as parameter to __vm_wire function.
79434         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
79435         (__mkdir): When path is `/', just fail with EEXIST.
79436         * sysdeps/mach/hurd/mkdirat.c: Likewise.
79438 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79440         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
79441         <sys/uio.h> (for writev).
79442         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
79443         and <sys/param.h> (for MIN).
79445 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79447         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
79448         REQUESTED_TIME.  Properly set the remaining time and return EINTR
79449         if interrupted.
79451 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79453         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
79454         Depend on against $(link-rpcuserlibs).
79456 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79458         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
79459         (__libc_stack_end): Do not use attribute_relro.
79460         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
79461         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
79462         to libthread-provided value.
79463         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
79464         attribute_relro.
79466 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79468         [BZ #3748]
79469         * bits/libc-lock.h (__libc_once_get): New macro.
79470         * sysdeps/mach/bits/libc-lock.h: Likewise.
79471         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
79472         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
79473         instead of using implementation details.
79475         * libio/fileops.c: Unconditionally include <kernel-features.h>.
79476         * libio/freopen.c: Likewise.
79477         * libio/freopen64.c: Likewise.
79478         * misc/syslog.c: Likewise.
79479         * nscd/connections.c: Likewise.
79480         * nscd/netgroupcache.c: Likewise.
79481         * sysdeps/posix/getcwd.c: Likewise.
79483 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79485         * math/w_ilogbf.c: Add #include <limits.h>.
79487 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79489         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
79490         path instead of returning without unlocking.
79492         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
79493         immediate-write ioctls.
79494         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
79496 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79498         * sysdeps/mach/hurd/i386/init-first.c (init): Use
79499         __builtin_frame_address instead of making assumptions about the
79500         location of the return address relative to DATA.  Force early load of
79501         the return address.
79502         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
79503         __builtin_frame_address.
79505         dup3 for GNU Hurd.
79506         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
79507         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
79508         implement dup3 and do some further code clean-ups.
79509         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
79510         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
79512 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79514         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
79516         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
79517         HURD_CRITICAL_END around holding _hurd_dtable_lock.
79518         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
79519         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
79520         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
79521         d->port.lock.
79523         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
79524         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
79525         when handler == SIG_ERR, not when handler != SIG_ERR.
79527 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79529         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
79530         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
79531         definitions.
79533         accept4 for GNU Hurd.
79534         * include/sys/socket.h (__libc_accept4): New prototype.
79535         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
79536         to implement __libc_accept4.
79537         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
79538         __libc_accept4.
79539         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
79541         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
79542         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
79543         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
79544         signal-defines.sym.
79546 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79548         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
79550 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79552         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
79553         assertion on O_CLOEXEC flag.
79554         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
79555         * hurd/intern-fd.c: Likewise.
79556         * hurd/port2fd.c: Likewise.
79558 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79560         [BZ #3906]
79561         * bits/in.h (IPV6_PKTINFO): Define new macro.
79562         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
79564 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79566         [BZ #13954]
79567         [BZ #13955]
79568         [BZ #13956]
79569         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
79570         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79571         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
79572         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79573         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79574         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79575         * math/libm-test.inc (logb_test) : Additional logb tests.
79577 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
79578             Andreas Jaeger  <aj@suse.de>
79580         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
79581         * configure: Regenerated.
79582         * config.h.in (LINK_OBSOLETE_RPC): New macro.
79583         * config.make.in (link-obsolete-rpc): New substituted variable.
79584         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
79585         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
79586         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79587         (shared-only-routines): Don't set it under [link-obsolete-rpc],
79588         so that libc.a contains the symbols.
79589         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79590         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
79591         * sunrpc/auth_none.c: Likewise.
79592         * sunrpc/auth_unix.c: Likewise.
79593         * sunrpc/authdes_prot.c: Likewise.
79594         * sunrpc/authuxprot.c: Likewise.
79595         * sunrpc/clnt_gen.c: Likewise.
79596         * sunrpc/clnt_perr.c: Likewise.
79597         * sunrpc/clnt_raw.c: Likewise.
79598         * sunrpc/clnt_simp.c: Likewise.
79599         * sunrpc/clnt_tcp.c: Likewise.
79600         * sunrpc/clnt_udp.c: Likewise.
79601         * sunrpc/clnt_unix.c: Likewise.
79602         * sunrpc/des_crypt.c: Likewise.
79603         * sunrpc/des_soft.c: Likewise.
79604         * sunrpc/get_myaddr.c: Likewise.
79605         * sunrpc/key_call.c: Likewise.
79606         * sunrpc/key_prot.c: Likewise.
79607         * sunrpc/netname.c: Likewise.
79608         * sunrpc/pm_getmaps.c: Likewise.
79609         * sunrpc/pm_getport.c: Likewise.
79610         * sunrpc/pmap_clnt.c: Likewise.
79611         * sunrpc/pmap_prot.c: Likewise.
79612         * sunrpc/pmap_prot2.c: Likewise.
79613         * sunrpc/pmap_rmt.c: Likewise.
79614         * sunrpc/publickey.c: Likewise.
79615         * sunrpc/rpc_cmsg.c: Likewise.
79616         * sunrpc/rpc_common.c: Likewise.
79617         * sunrpc/rpc_dtable.c: Likewise.
79618         * sunrpc/rpc_prot.c: Likewise.
79619         * sunrpc/rpc_thread.c: Likewise.
79620         * sunrpc/rtime.c: Likewise.
79621         * sunrpc/svc.c: Likewise.
79622         * sunrpc/svc_auth.c: Likewise.
79623         * sunrpc/svc_raw.c: Likewise.
79624         * sunrpc/svc_run.c: Likewise.
79625         * sunrpc/svc_tcp.c: Likewise.
79626         * sunrpc/svc_udp.c: Likewise.
79627         * sunrpc/svc_unix.c: Likewise.
79628         * sunrpc/svcauth_des.c: Likewise.
79629         * sunrpc/xcrypt.c: Likewise.
79630         * sunrpc/xdr.c: Likewise.
79631         * sunrpc/xdr_array.c: Likewise.
79632         * sunrpc/xdr_float.c: Likewise.
79633         * sunrpc/xdr_intXX_t.c: Likewise.
79634         * sunrpc/xdr_mem.c: Likewise.
79635         * sunrpc/xdr_rec.c: Likewise.
79636         * sunrpc/xdr_ref.c: Likewise.
79637         * sunrpc/xdr_sizeof.c: Likewise.
79638         * sunrpc/xdr_stdio.c: Likewise.
79640 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79642         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
79643         change.  Update copyright years.
79645 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
79647         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
79649 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
79650             Joseph Myers  <joseph@codesourcery.com>
79651             Paul Pluzhnikov  <ppluzhnikov@google.com>
79653         [BZ #14012]
79654         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
79655         requiring rpcgen.
79656         [cross-compiling] (extra-libs): Likewise.
79657         [cross-compiling] (extra-libs-others): Likewise.
79658         [cross-compiling] (librpcsvc-routines): Likewise.
79659         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
79660         [cross-compiling] (omit-deps): Likewise.
79661         (sunrpc-CPPFLAGS): New variable.
79662         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
79663         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
79664         (cross-rpcgen-objs): New variable.
79665         (extra-objs): Append $(cross-rpcgen-objs).
79666         ($(cross-rpcgen-objs)): New rule.
79667         ($(objpfx)cross-rpcgen): Likewise.
79668         (rpcgen-cmd): Define to use $(built-program-file).  Expand
79669         comment.
79670         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
79671         ($(objpfx)x%.stmp): Likewise.
79672         * sunrpc/proto.h [IS_IN_build] (_): Define.
79673         [IS_IN_build] (_libc_intl_domainname): Likewise.
79675 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79677         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
79678         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
79679         and R_X86_64_TPOFF64.
79681 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
79683         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
79684         sysdeps/unix/sysv/syscalls.list.
79685         (stime): Likewise.
79686         (utime): Likewise.
79687         * sysdeps/unix/sysv/syscalls.list: Remove file.
79689 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
79691         [BZ #3440]
79692         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
79693         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
79694         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
79695         (__LC_IDENTIFICATION): Make these macros useful in #if
79696         expressions, as required by C99.
79698 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
79700         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
79701         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
79702         after this.
79704 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
79706         * stdlib/longlong.h: Updated from GCC.
79708 2012-05-09  Andreas Jaeger  <aj@suse.de>
79710         * nscd/nscd.c (run_modes): Make named enum, reorder so that
79711         default is first entry.
79712         (run_mode): Set type.
79713         (main): Remove informal message about syslog.
79714         (options): Fix typo.
79716         [BZ #14053]
79717         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
79718         to asm.
79719         (lrint): Likewise.
79720         (llrintf): Likewise.
79721         (llrint): Likewise.
79722         (rint): Likewise.
79723         (rintf): Likewise.
79724         (nearbyint): Likewise.
79725         (nearbyintf): Likewise.
79727 2012-05-09  Andreas Jaeger  <aj@suse.de>
79728             Pedro Alves  <palves@redhat.com>
79730         * nscd/nscd.c (run_mode): Use enum.
79731         (main): Cleanup coding style issue.
79733 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
79734             Andreas Jaeger  <aj@suse.de>
79736         * nscd/nscd.c (go_background): Replaced with...
79737         (run_mode): ... this.
79738         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
79739         (options): Add -F --foreground.
79740         (main): Implement it.
79741         (parse_opt): Parse it.
79743 2012-05-09  Andreas Jaeger  <aj@suse.de>
79745         [BZ #14083]
79746         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
79747         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
79748         -Wconversion warning.
79749         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
79750         Likewise.
79752 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
79754         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
79755         == 0.
79756         (LC_ALL): Use macro-int-constant.
79757         (LC_COLLATE): Likewise.
79758         (LC_CTYPE): Likewise.
79759         (LC_MESSAGES): Likewise.
79760         (LC_MONETARY): Likewise.
79761         (LC_NUMERIC): Likewise.
79762         (LC_TIME): Likewise.
79763         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
79764         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
79765         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79766         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
79767         Specify type.
79768         [C99-based standards] (float_t): Expect type.
79769         [C99-based standards] (double_t): Expect type.
79770         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
79771         type.
79772         [C99-based standards] (HUGE_VALL): Likewise.
79773         [C99-based standards] (INFINITY): Likewise.
79774         [C99-based standards] (NAN): Likewise.
79775         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
79776         [C99-based standards] (FP_NAN): Likewise.
79777         [C99-based standards] (FP_NORMAL): Likewise.
79778         [C99-based standards] (FP_SUBNORMAL): Likewise.
79779         [C99-based standards] (FP_ZERO): Likewise.
79780         [C99-based standards] (FP_FAST_FMA): Use
79781         optional-macro-int-constant.  Specify type.  Require == 1.
79782         [C99-based standards] (FP_FAST_FMAF): Likewise.
79783         [C99-based standards] (FP_FAST_FMAL): Likewise.
79784         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
79785         [C99-based standards] (FP_ILOGBNAN): Likewise.
79786         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
79787         Specify type.
79788         [C99-based standards] (MATH_ERREXCEPT): Likewise.
79789         [C99-based standards] (math_errhandling): Specify type.
79790         [ISO99 || ISO11] (signgam): Do not allow.
79791         [non-C99-based standards] (copysignf): Do not allow.
79792         [non-C99-based standards] (exp2f): Likewise.
79793         [non-C99-based standards] (log2f): Likewise.
79794         [non-C99-based standards] (modff): Allow.
79795         [non-C99-based standards] (erff): Do not allow.
79796         [non-C99-based standards] (erfcf): Likewise.
79797         [non-C99-based standards] (gammaf): Likewise.
79798         [non-C99-based standards] (hypotf): Likewise.
79799         [non-C99-based standards] (j0f): Likewise.
79800         [non-C99-based standards] (j1f): Likewise.
79801         [non-C99-based standards] (jnf): Likewise.
79802         [non-C99-based standards] (lgammaf): Likewise.
79803         [non-C99-based standards] (tgammaf): Likewise.
79804         [non-C99-based standards] (y0f): Likewise.
79805         [non-C99-based standards] (y1f): Likewise.
79806         [non-C99-based standards] (ynf): Likewise.
79807         [non-C99-based standards] (isnanf): Likewise.
79808         [non-C99-based standards] (acoshf): Likewise.
79809         [non-C99-based standards] (asinhf): Likewise.
79810         [non-C99-based standards] (atanhf): Likewise.
79811         [non-C99-based standards] (cbrtf): Likewise.
79812         [non-C99-based standards] (expm1f): Likewise.
79813         [non-C99-based standards] (ilogbf): Likewise.
79814         [non-C99-based standards] (log1pf): Likewise.
79815         [non-C99-based standards] (logbf): Likewise.
79816         [non-C99-based standards] (nextafterf): Likewise.
79817         [non-C99-based standards] (remainderf): Likewise.
79818         [non-C99-based standards] (rintf): Likewise.
79819         [non-C99-based standards] (scalbf): Likewise.
79820         [non-C99-based standards] (copysignl): Likewise.
79821         [non-C99-based standards] (exp2l): Likewise.
79822         [non-C99-based standards] (log2l): Likewise.
79823         [non-C99-based standards] (modfl): Allow.
79824         [non-C99-based standards] (erfl): Do not allow.
79825         [non-C99-based standards] (erfcl): Likewise.
79826         [non-C99-based standards] (gammal): Likewise.
79827         [non-C99-based standards] (hypotl): Likewise.
79828         [non-C99-based standards] (j0l): Likewise.
79829         [non-C99-based standards] (j1l): Likewise.
79830         [non-C99-based standards] (jnl): Likewise.
79831         [non-C99-based standards] (lgammal): Likewise.
79832         [non-C99-based standards] (tgammal): Likewise.
79833         [non-C99-based standards] (y0l): Likewise.
79834         [non-C99-based standards] (y1l): Likewise.
79835         [non-C99-based standards] (ynl): Likewise.
79836         [non-C99-based standards] (isnanl): Likewise.
79837         [non-C99-based standards] (acoshl): Likewise.
79838         [non-C99-based standards] (asinhl): Likewise.
79839         [non-C99-based standards] (atanhl): Likewise.
79840         [non-C99-based standards] (cbrtl): Likewise.
79841         [non-C99-based standards] (expm1l): Likewise.
79842         [non-C99-based standards] (ilogbl): Likewise.
79843         [non-C99-based standards] (log1pl): Likewise.
79844         [non-C99-based standards] (logbl): Likewise.
79845         [non-C99-based standards] (nextafterl): Likewise.
79846         [non-C99-based standards] (remainderl): Likewise.
79847         [non-C99-based standards] (rintl): Likewise.
79848         [non-C99-based standards] (scalbl): Likewise.
79849         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79850         [non-C99-based standards] (FP_*): Do not allow.
79851         [C99-based standards] (FP_*): Change to
79852         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
79853         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79854         allow.
79855         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
79856         (SIG_ERR): Likewise.
79857         [X/Open-based standards] (SIG_HOLD): Likewise.
79858         (SIG_IGN): Likewise.
79859         (SIGABRT): Use macro-int-constant.  Specify type.  Require
79860         positive value.
79861         (SIGFPE): Likewise.
79862         (SIGILL): Likewise.
79863         (SIGINT): Likewise.
79864         (SIGSEGV): Likewise.
79865         (SIGTER): Likewise.
79866         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
79867         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
79868         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
79869         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
79870         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
79871         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
79872         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
79873         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
79874         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
79875         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
79876         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
79877         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
79878         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
79879         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
79880         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
79881         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
79882         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
79883         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
79884         [X/Open-based standards] (SIGTRAP): Likewise.
79885         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
79886         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
79887         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
79888         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
79889         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
79890         allow.
79892 2012-05-08  Ian Wienand  <ianw@vmware.com>
79894         [BZ #14080]
79895         * time/tzset.c (__tzset_parse_tz): Update default rules for
79896         daylight time changes in the Energy Policy Act of 2005.
79898 2012-05-09  Andreas Jaeger  <aj@suse.de>
79900         [BZ #13983]
79901         * elf/ldconfig.c (parse_conf): Change string to make clear that
79902         ldconfig only issued a warning if ld.so.conf does not exist.
79904 2012-05-08  David S. Miller  <davem@davemloft.net>
79906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
79907         movxtod instead of popping the value on the stack.
79909         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79911 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
79913         * config.h.in: Add HAVE_ARM_PCS_VFP.
79915 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
79917         [BZ #13979]
79918         * include/features.h: Warn if user requests __FORTIFY_SOURCE
79919         checking but the checks are disabled for any reason.
79921 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
79923         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
79924         and ELF64_R_TYPE with ELFW(R_TYPE).
79926 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
79928         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
79929         (ulimit): Likewise.
79931         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
79932         (settimeofday): Likewise.
79934 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
79936         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
79937         a struct th_u2 inside the union, and move tu_block/tu_code into
79938         a new th_u3 union of tu_block/tu_code inside of that.  Move
79939         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
79940         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
79941         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
79942         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
79943         (th_stuff): Change to th_u1.tu_stuff.
79944         (th_data): Define.
79945         (th_msg): Change to th_u1.th_u2.tu_data.
79947 2012-05-07  David S. Miller  <davem@davemloft.net>
79949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79951         [BZ #14074]
79952         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
79953         (SETUP_PIC_REG): Use it.
79954         (SETUP_PIC_REG_LEAF): Use it.
79956 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
79958         [BZ #13885]
79959         [BZ #13923]
79960         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79961         USE_AS_EXPM1L.
79962         (EXPL_FINITE): Likewise.
79963         (FLDLOG): Likewise.
79964         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79965         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79966         e_expl.S.
79967         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79968         USE_AS_EXPM1L.
79969         (EXPL_FINITE): Likewise.
79970         (FLDLOG): Likewise.
79971         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
79972         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
79973         e_expl.S.
79974         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
79975         test of -max_value argument for long double.
79976         * sysdeps/i386/fpu/libm-test-ulps: Update.
79977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79979 2012-05-06  David S. Miller  <davem@davemloft.net>
79981         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
79982         quad soft-float symbols whose references which are compiler
79983         generated.
79984         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79986 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
79988         [BZ #13884]
79989         [BZ #13914]
79990         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
79991         USE_AS_EXP10L.
79992         (EXPL_FINITE): Likewise.
79993         (FLDLOG): Likewise.
79994         (c0): Likewise.
79995         (c1): Likewise.
79996         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
79997         Adjust comments for base varying.
79998         (__expl_finite): Change alias to EXPL_FINITE.
79999         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
80000         e_expl.S.
80001         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
80002         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
80003         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
80004         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
80005         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80006         USE_AS_EXP10L.
80007         (EXPL_FINITE): Likewise.
80008         (FLDLOG): Likewise.
80009         (c0): Likewise.
80010         (c1): Likewise.
80011         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
80012         Adjust comments for base varying.
80013         (__expl_finite): Change alias to EXPL_FINITE.
80014         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
80015         tests for bugs.
80016         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80018         [BZ #14064]
80019         * math/libm-test.inc (check_float_internal): Correct ulp
80020         calculation for subnormal expected results.
80022 2012-05-06  Andreas Jaeger  <aj@suse.de>
80024         * Makeconfig (+math-flags): New, set to -frounding-math.
80025         (+cflags): Add +math-flags so that all of glibc gets compiled with
80026         it.
80028         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
80030 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
80032         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
80033         Disable one test.
80035         [BZ #13787]
80036         [BZ #13922]
80037         [BZ #14036]
80038         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
80039         (__ieee754_expl): Allow for and saturate large arguments.
80040         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
80041         (u_threshold): Likewise.
80042         (__exp): Call __ieee754_exp before checking for overflow and
80043         underflow.
80044         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
80045         (u_threshold): Likewise.
80046         (__expf): Call __ieee754_expf before checking for overflow and
80047         underflow.
80048         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
80049         (u_threshold): Likewise.
80050         (__expl): Call __ieee754_expl before checking for overflow and
80051         underflow.
80052         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
80053         (__ieee754_expl): Allow for and saturate large arguments.
80054         * math/libm-test.inc (exp_test): Add another test.  Do not allow
80055         missing overflow exception on overflow.
80056         (expm1_test): Do not allow missing overflow exception on overflow.
80058         * sysdeps/i386/fpu/e_expl.c: Move to ...
80059         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
80060         rather than using inline asm.
80061         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
80062         * sysdeps/x86_64/fpu/e_expl.S: Copy from
80063         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
80065         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
80066         (nice): Likewise.
80067         (poll): Likewise.
80068         (signal): Likewise.
80069         (time): Likewise.
80070         (times): Likewise.
80072 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80074         * sysdeps/unix/syscalls.list (adjtime): Add entry from
80075         sysdeps/unix/common/syscalls.list.
80076         (fchmod): Likewise.
80077         (fchown): Likewise.
80078         (ftruncate): Likewise.
80079         (getrusage): Likewise.
80080         (gettimeofday): Likewise.
80081         (setpgid): Likewise.
80082         (setregid): Likewise.
80083         (setreuid): Likewise.
80084         (sigaction): Likewise.
80085         (truncate): Likewise.
80086         (vhangup): Likewise.
80087         * sysdeps/unix/common/syscalls.list: Remove file.
80088         * sysdeps/unix/bsd/Implies: Don't include unix/common.
80089         * sysdeps/unix/sysv/linux/Implies: Likewise.
80091 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
80093         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
80094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
80095         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
80096         Moved to ...
80097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
80098         Here.
80099         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
80100         to ...
80101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
80102         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
80103         to ...
80104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
80105         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
80106         to ...
80107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
80108         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
80109         to ...
80110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
80111         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
80112         to ...
80113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
80114         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
80115         to ...
80116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
80117         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
80118         to ...
80119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
80120         Here.
80121         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
80122         to ...
80123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
80124         Here.
80125         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
80126         to ...
80127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
80128         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
80129         Moved to ...
80130         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
80131         Here.
80132         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
80133         to ...
80134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
80136 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80138         * sysdeps/unix/common/bits/dirent.h: Remove file.
80139         * sysdeps/unix/common/bits/fcntl.h: Likewise.
80141         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
80142         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
80143         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
80144         * sysdeps/unix/bsd/isatty.c: Likewise.
80145         * sysdeps/unix/bsd/tcdrain.c: Likewise.
80146         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
80147         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
80149 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80151         [BZ #13563]
80152         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
80153         long double comparison inaccuracies.
80154         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
80155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80157 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
80159         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
80160         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
80162 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80164         [BZ #14049]
80165         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
80166         nonzero digits before rounding a hex value.
80167         * stdlib/tst-strtod.c (tests): Add another test.
80169 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80171         * sysdeps/s390/fpu/libm-test-ulps: Update.
80173 2012-05-03  Andreas Jaeger  <aj@suse.de>
80175         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
80176         does not get optimized out.
80177         (malloc_opt_barrier): New.
80179 2012-05-03  Andreas Jaeger  <aj@suse.de>
80180             Roland McGrath  <roland@hack.frob.com>
80182         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
80183         intermediate file deletion.
80184         (generated): Add .symlist files.
80186 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
80188         [BZ #13775]
80189         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
80190         Redirect under this condition.
80191         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
80192         [__USE_GNU] (__dprintf_chk): Not under this condition.
80193         [__USE_GNU] (__vdprintf_chk): Likewise.
80194         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
80195         under this condition.
80196         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
80197         [__USE_XOPEN2K8] (dprintf): Define under this condition.
80198         [__USE_XOPEN2K8] (vdprintf): Likewise.
80199         [__USE_GNU] (__dprintf_chk): Not under this condition.
80200         [__USE_GNU] (__vdprintf_chk): Likewise.
80201         [__USE_GNU] (dprintf): Likewise.
80202         [__USE_GNU] (vdprintf): Likewise.
80204 2012-05-03  Roland McGrath  <roland@hack.frob.com>
80206         * elf/Makefile (common-generated): Set this instead of generated for
80207         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
80208         $(all-built-dso)-derived lists.
80210 2012-05-03  Andreas Jaeger  <aj@suse.de>
80212         * sysdeps/i386/fpu/libm-test-ulps: Update.
80214         * FAQ: Removed.
80215         * FAQ.in: Likewise.
80216         * scripts/gen-FAQ.pl: Likewise.
80217         * manual/install.texi (Installation): Point to online location of
80218         FAQ.
80219         * Makefile (files-for-dist): Remove FAQ.
80220         (FAQ): Remove.
80222 2012-05-02  Allan McRae  <allan@archlinux.org>
80224         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
80225         (LDFLAGS-reldepmod5.so): Likewise.
80226         (LDFLAGS-reldep6mod1.so): Likewise.
80227         (LDFLAGS-reldep6mod4.so): Likewise.
80228         (LDFLAGS-reldep8mod3.so): Likewise.
80229         (LDFLAGS-unload4mod1.so): Likewise.
80230         (LDFLAGS-unload4mod2.so): Likewise.
80231         (LDFLAGS-tst-initorder): Likewise.
80232         (LDFLAGS-tst-initordera2.so): Likewise.
80233         (LDFLAGS-tst-initordera3.so): Likewise.
80234         (LDFLAGS-tst-initordera4.so): Likewise.
80235         (LDFLAGS-tst-initorderb2.so): Likewise.
80236         (LDFLAGS-noload): Likewise.
80237         (LDFLAGS-next): Likewise.
80238         (LDFLAGS-order2mod1.so): Likewise.
80239         (LDFLAGS-order2mod2.so): Likewise.
80240         (LDFLAGS-tst-initorder2): Likewise.
80241         (LDFLAGS-tst-initorder2a.so): Likewise.
80242         (LDFLAGS-tst-initorder2b.so): Likewise.
80243         (LDFLAGS-tst-initorder2c.so): Likewise.
80244         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
80246 2012-05-02  David S. Miller  <davem@davemloft.net>
80248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80250 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
80252         [BZ #14055]
80253         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
80255 2012-05-02  Andreas Jaeger  <aj@suse.de>
80257         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
80258         since we manipulate rounding mode.
80259         (CPPFLAGS-test-idouble.c): Likewise.
80260         (CPPFLAGS-test-ifloat.c): Likewise.
80261         (CFLAGS-test-ldouble.c): Likewise.
80262         (CFLAGS-test-double.c): Likewise.
80263         (CFLAGS-test-float.c): Likewise.
80264         (CFLAGS-test-misc.c): Likewise.
80265         (CFLAGS-test-test-fenv.c): Likewise.
80267 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80269         [BZ #2550]
80270         [BZ #2570]
80271         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
80272         comparisons to determine direction to adjust input.
80274 2012-05-01  Roland McGrath  <roland@hack.frob.com>
80276         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
80277         output to the target.
80279         * scripts/localplt.awk: New file.
80280         * elf/Makefile ($(objpfx)check-localplt): Target removed.
80281         (check-localplt-CFLAGS): Variable removed.
80282         ($(all-built-dso:=.jmprel)): New static pattern rule.
80283         (generated): Add those targets.
80284         (localplt-built-dso): New variable.
80285         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
80287         * elf/check-localplt.c: File removed.
80289         * scripts/check-execstack.awk: New file.
80290         * elf/Makefile ($(objpfx)check-execstack): Target removed.
80291         (check-execstack-CFLAGS): Variable removed.
80292         ($(objpfx)check-execstack.h): Target removed.
80293         ($(objpfx)execstack-default): New target.
80294         (generated): Add that instead of check-execstack.h.
80295         ($(all-built-dso:=.phdr)): New static pattern rule.
80296         (generated): Add those targets.
80297         * elf/check-execstack.c: File removed.
80299         * scripts/check-textrel.awk: New file.
80300         * elf/Makefile ($(objpfx)check-textrel): Target removed.
80301         (check-textrel-CFLAGS): Variable removed.
80302         (all-built-dso): Use := to define.o
80303         ($(all-built-dso:=.dyn)): New static pattern rule.
80304         (generated): Add those targets.
80305         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
80306         * config.make.in (READELF): New substituted variable.
80307         * elf/check-textrel.c: File removed.
80309 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
80311         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80312         allow.
80313         * conform/data/ctype.h-data [C99-based standards] (isblank):
80314         Expect function.
80315         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
80316         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
80317         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80318         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
80319         Specify type.  Require positive value.
80320         (EILSEQ): Likewise.
80321         (ERANGE): Likewise.
80322         [ISO || POSIX] (EILSEQ): Do not expect.
80323         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
80324         Specify type.  Require positive value.
80325         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
80326         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
80327         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
80328         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
80329         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
80330         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
80331         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
80332         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
80333         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
80334         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
80335         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
80336         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
80337         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
80338         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
80339         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
80340         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
80341         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
80342         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
80343         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
80344         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
80345         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
80346         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
80347         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
80348         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
80349         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
80350         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
80351         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
80352         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
80353         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
80354         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
80355         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
80356         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
80357         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
80358         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
80359         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
80360         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
80361         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
80362         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
80363         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
80364         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
80365         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
80366         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
80367         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
80368         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
80369         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
80370         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
80371         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
80372         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
80373         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
80374         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
80375         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
80376         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
80377         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
80378         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
80379         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
80380         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
80381         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
80382         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
80383         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
80384         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
80385         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
80386         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
80387         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
80388         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
80389         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
80390         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
80391         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
80392         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
80393         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
80394         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
80395         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
80396         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
80397         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
80398         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
80399         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
80400         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
80401         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
80402         Require >= 2.
80403         (FLT_ROUNDS): Expect as macro, not constant.
80404         (FLT_MANT_DIG): Use macro-int-constant.
80405         (DBL_MANT_DIG): Likewise.
80406         (LDBL_MANT_DIG): Likewise.
80407         (FLT_DIG): Likewise.
80408         (DBL_DIG): Likewise.
80409         (LDBL_DIG): Likewise.
80410         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
80411         (DBL_MIN_EXP): Likewise.
80412         (LDBL_MIN_EXP): Likewise.
80413         (FLT_MAX_EXP): Use macro-int-constant.
80414         (DBL_MAX_EXP): Likewise.
80415         (LDBL_MAX_EXP): Likewise.
80416         (FLT_MAX_10_EXP): Likewise.
80417         (DBL_MAX_10_EXP): Likewise.
80418         (LDBL_MAX_10_EXP): Likewise.
80419         (FLT_MAX): Use macro-constant.
80420         (DBL_MAX): Likewise.
80421         (LDBL_MAX): Likewise.
80422         (FLT_EPSILON): Use macro-constant.  Give upper bound.
80423         (DBL_EPSILON): Likewise.
80424         (LDBL_EPSILON): Likewise.
80425         (FLT_MIN): Likewise.
80426         (DBL_MIN): Likewise.
80427         (LDBL_MIN): Likewise.
80428         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
80429         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
80430         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
80431         [ISO11] (FLT_HAS_SUBNORM): Likewise.
80432         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
80433         [ISO11] (DBL_DECIMAL_DIG): Likewise.
80434         [ISO11] (FLT_DECIMAL_DIG): Likewise.
80435         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
80436         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
80437         [ISO11] (FLT_TRUE_MIN): Likewise.
80438         [ISO11] (LDBL_TRUE_MIN): Likewise.
80439         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80440         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
80441         (SCHAR_MIN): Use macro-int-constant.  Specify type.
80442         (SCHAR_MAX): Likewise.
80443         (UCHAR_MAX): Likewise.
80444         (CHAR_MIN): Likewise.
80445         (CHAR_MAX): Likewise.
80446         (MB_LEN_MAX): Use macro-int-constant.
80447         (SHRT_MIN): Use macro-int-constant.  Specify type.
80448         (SHRT_MAX): Likewise.
80449         (USHRT_MAX): Likewise.
80450         (INT_MAX): Likewise.
80451         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
80452         bound negative.
80453         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80454         bound with "U".
80455         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80456         bound with "L".
80457         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
80458         bound negative.  Suffix upper bound with "L".
80459         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80460         bound with "UL".
80461         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
80462         Specify type.
80463         [C99-based standards] (LLONG_MAX): Likewise.
80464         [C99-based standards] (ULLONG_MAX): Likewise.
80465         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
80466         == 0.
80467         [ISO11] (max_align_t): Require type.
80468         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80470         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
80471         from $CFLAGS, without defining away __attribute__ calls.
80472         (checknamespace): Use $CFLAGS_namespace.
80474         * conform/conformtest.pl (@keywords): Only include C99 keywords
80475         for standards based on C99 or C11.
80477         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
80478         Disable tests.
80479         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
80480         UNIX98]: Likewise.
80482         * conform/conformtest.pl: Handle "macro-int-constant" and test for
80483         usability of symbols in #if.
80485         * conform/conformtest.pl: If macro or constant types start
80486         "promoted:", expect the symbol to be of the following type
80487         promoted by the integer promotions.
80489         * conform/conformtest.pl: Parse all "constant" and "macro" lines
80490         in one place.  Also handle "macro-constant".
80492         * conform/conformtest.pl: Only accept expected macro values with
80493         "==".  Parse all "macro" lines in one place.
80494         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
80496         * conform/conformtest.pl: Handle braced types on "constant" lines
80497         instead of handling "typed-constant".
80498         * conform/data/signal.h-data: Use "constant" instead of
80499         "typed-constant".
80501         * conform/conformtest.pl: Handle "optional-" at start of lines in
80502         one place rather than duplicating several cases.  Handle each
80503         format of "macro" line with initial "optional-".
80505         * conform/conformtest.pl: Only accept expected constant or
80506         optional-constant values with "==".  Parse all "constant" lines in
80507         one place.  Parse all "optional-constant" lines in one place.
80508         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
80509         * conform/data/fmtmsg.h-data: Likewise.
80510         * conform/data/netinet/in.h-data: Likewise.
80511         * conform/data/tar.h-data: Likewise.
80512         * conform/data/limits.h-data: Use "==" form on "constant" and
80513         "optional-constant" lines.
80515         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
80516         Use -std=c99 for XOPEN2K.
80517         (@knownproblems): Remove.
80518         (newtoken): Don't check %isknown.
80520         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
80521         Do not expect macro.
80522         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
80523         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
80524         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
80525         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
80526         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
80527         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
80528         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
80529         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
80530         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
80531         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
80532         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
80533         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
80534         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
80535         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
80536         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
80537         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
80538         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
80539         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
80540         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
80541         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
80542         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
80543         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
80544         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
80545         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
80546         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
80547         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
80548         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
80549         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
80550         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
80551         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
80552         [XPG3] (acosh): Likewise.
80553         [XPG3] (asinh): Likewise.
80554         [XPG3] (atanh): Likewise.
80555         [XPG3] (cbrt): Likewise.
80556         [XPG3] (expm1): Likewise.
80557         [XPG3] (ilogb): Likewise.
80558         [XPG3] (log1p): Likewise.
80559         [XPG3] (logb): Likewise.
80560         [XPG3] (nextafter): Likewise.
80561         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
80562         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
80563         [XPG3] (remainder): Likewise.
80564         [XPG3] (rint): Likewise.
80565         [XPG3 || XPG4 || UNIX98] (round): Likewise.
80566         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
80567         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
80568         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
80569         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
80570         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
80571         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
80572         [UNIX98 || XOPEN2K] (scalb): Expect.
80573         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
80574         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
80575         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
80576         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
80577         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
80578         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
80579         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
80580         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
80581         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
80582         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
80583         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
80584         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
80585         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
80586         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
80587         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
80588         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
80589         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
80590         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
80591         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
80592         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
80593         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
80594         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
80595         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
80596         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
80597         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
80598         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
80599         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
80600         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
80601         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
80602         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
80603         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
80604         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
80605         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
80606         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
80607         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
80608         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
80609         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
80610         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
80611         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
80612         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
80613         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
80614         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
80615         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
80616         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
80617         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
80618         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
80619         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
80620         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
80621         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
80622         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
80623         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
80624         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
80625         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
80626         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
80627         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
80628         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
80629         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
80630         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
80631         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
80632         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
80633         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
80634         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
80635         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
80636         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
80637         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
80638         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
80639         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
80640         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
80641         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
80642         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
80643         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
80644         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
80645         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
80646         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
80647         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
80648         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
80649         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
80650         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
80651         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
80652         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
80653         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
80654         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
80655         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
80656         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
80657         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
80658         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
80659         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
80660         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
80661         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
80662         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
80663         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
80664         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
80665         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
80666         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
80667         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
80668         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
80669         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
80670         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
80671         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
80672         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
80673         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
80674         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
80675         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
80676         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
80677         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
80678         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
80679         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
80680         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
80681         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
80682         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
80683         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
80684         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
80685         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
80686         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
80687         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
80688         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
80689         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
80690         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
80691         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
80692         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
80693         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
80694         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
80695         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
80696         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
80697         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
80698         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
80699         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
80700         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
80701         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
80702         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
80703         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
80704         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
80705         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
80706         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
80707         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
80708         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
80709         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
80711         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
80712         _XOPEN_SOURCE_EXTENDED for XPG4.
80714         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
80716         * Makeconfig (localtime): Remove variable.
80717         (inst_localtime-file): Likewise.
80719 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
80721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
80722         Update.
80723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80724         Update.
80725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
80726         Update.
80727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
80728         Update.
80729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
80730         Update.
80731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
80732         Update.
80733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
80734         Update.
80735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
80736         Update.
80737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80738         Update.
80740 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
80742         [BZ #2550]
80743         [BZ #2570]
80744         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
80745         comparisons to determine direction to adjust input.
80746         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
80747         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
80748         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
80749         Likewise.
80750         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
80751         Likewise.
80752         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
80753         Likewise.
80754         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
80755         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
80756         Likewise.
80757         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
80758         Likewise.
80759         * math/libm-test.inc (nexttoward_test): Add more tests.
80761 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
80763         [BZ #14040]
80764         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
80765         in version GLIBC_2.1, not GLIBC_2.0.
80766         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
80767         Likewise.
80769 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
80771         [BZ #13942]
80772         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
80773         (1 - x) * (1 + x).
80774         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
80775         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
80776         * math/libm-test.inc (acos_test): Add more tests.
80777         (asin_test): Likewise.
80778         * sysdeps/i386/fpu/libm-test-ulps: Update.
80779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80781         [BZ #14034]
80782         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
80783         of square root.
80784         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
80785         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
80786         * math/libm-test.inc (acos_test_tonearest): New function.
80787         (acos_test_towardzero): Likewise.
80788         (acos_test_downward): Likewise.
80789         (acos_test_upward): Likewise.
80790         (asin_test_tonearest): Likewise.
80791         (asin_test_towardzero): Likewise.
80792         (asin_test_downward): Likewise.
80793         (asin_test_upward): Likewise.
80794         (main): Call the new functions.
80795         * sysdeps/i386/fpu/libm-test-ulps: Update.
80796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80798         [BZ #13884]
80799         [BZ #13924]
80800         * math/e_exp10.c: Include <float.h>.
80801         (__ieee754_exp10): Handle underflow here rather than multiplying
80802         large negative argument by M_LN10.
80803         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
80804         of __ieee754_expf.
80805         * math/e_exp10l.c: Include <float.h>.
80806         (__ieee754_exp10l): Handle underflow here rather than multiplying
80807         large negative argument by M_LN10l.
80808         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
80809         spurious overflow exception on underflow.
80811 2012-04-29  Marek Polacek  <polacek@redhat.com>
80813         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
80814         (__fortify_function): New macro.
80815         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
80816         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
80817         __extern_always_inline.
80818         * libio/bits/stdio2.h: Likewise.
80819         * libio/bits/stdio.h: Likewise.
80820         * string/string.h: Likewise.
80821         * string/bits/string3.h: Likewise.
80822         * include/stdio.h: Likewise.
80823         * stdlib/bits/stdlib.h: Likewise.
80824         * stdlib/stdlib.h: Likewise.
80825         * rt/bits/mqueue2.h: Likewise.
80826         * rt/mqueue.h: Likewise.
80827         * posix/bits/unistd.h: Likewise.
80828         * posix/unistd.h: Likewise.
80829         * io/bits/poll2.h: Likewise.
80830         * io/bits/fcntl2.h: Likewise.
80831         * io/fcntl.h: Likewise.
80832         * io/sys/poll.h: Likewise.
80833         * misc/bits/syslog.h: Likewise.
80834         * misc/bits/syslog-ldbl.h: Likewise.
80835         * misc/sys/syslog.h: Likewise.
80836         * socket/bits/socket2.h: Likewise.
80837         * socket/sys/socket.h: Likewise.
80838         * debug/tst-chk1.c: Likewise.
80839         * wcsmbs/bits/wchar2.h: Likewise.
80840         * wcsmbs/bits/wchar-ldbl.h: Likewise.
80841         * wcsmbs/wchar.h: Likewise.
80843 2012-04-29  Andreas Jaeger  <aj@suse.de>
80845         * Makerules (tests): Remove enable-check-abi protection.
80846         (check-abi-warn): Remove.
80847         (check-abi-%): Remove check-abi-warn usage.
80849         * configure.in: Remove check-abi configure option.
80850         * configure: Regenerated.
80851         * config.make.in (enable-check-abi): Remove.
80853 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
80855         [BZ #14033]
80856         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
80857         double functions to double *_finite functions.
80859         [BZ #13941]
80860         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
80861         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
80862         LDBL_MIN_EXP.
80863         * stdio-common/Makefile (tests): Add tst-sprintf3.
80864         * stdio-common/tst-sprintf3.c: New file.
80866         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
80867         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
80869 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
80871         * conform/conformtest.pl: Remove duplicate typed-constant
80872         handling.
80874 2012-04-28  David S. Miller  <davem@davemloft.net>
80876         * Makerules (%.abilist): Add vpath on sysdep_dirs.
80877         (check-abi-%): Remove AWK script prerequisite and explicit
80878         abilist directory.
80879         (check-abi): Rewrite to just diff the symlist with the abilist.
80880         (config-tls, config-abi-config): Delete, no longer used.
80881         (update-abi-%): Remove AWK script and explicit abilist directory.
80882         (update-abi): Rewrite to simply compare and conditionally copy the
80883         symlist and the sysdep abilist file.  Remove update-abi-config
80884         checks.
80885         * abilist/ld.abilist: Remove.
80886         * abilist/libBrokenLocale.abilist: Remove.
80887         * abilist/libanl.abilist: Remove.
80888         * abilist/libcrypt.abilist: Remove.
80889         * abilist/libdl.abilist: Remove.
80890         * abilist/librt.abilist: Remove.
80891         * abilist/libthread_db.abilist: Remove.
80892         * abilist/libutil.abilist: Remove.
80893         * scripts/extract-abilist.awk: Remove.
80894         * scripts/merge-abilist.awk: Remove.
80895         * sysdeps/generic/libcidn.abilist: New file.
80896         * sysdeps/generic/libnss_compat.abilist: New file.
80897         * sysdeps/generic/libnss_db.abilist: New file.
80898         * sysdeps/generic/libnss_dns.abilist: New file.
80899         * sysdeps/generic/libnss_files.abilist: New file.
80900         * sysdeps/generic/libnss_hesiod.abilist: New file.
80901         * sysdeps/generic/libnss_nis.abilist: New file.
80902         * sysdeps/generic/libnss_nisplus.abilist: New file.
80903         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
80904         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
80905         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
80906         file.
80907         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
80908         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
80909         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
80910         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
80911         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
80912         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
80913         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
80914         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
80915         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
80916         file.
80917         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
80918         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
80919         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
80920         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
80921         file.
80922         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
80923         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
80924         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
80925         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
80926         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
80927         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
80928         file.
80929         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
80930         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
80931         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
80932         file.
80933         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
80934         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
80935         New file.
80936         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
80937         New file.
80938         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
80939         New file.
80940         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
80941         New file.
80942         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
80943         New file.
80944         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
80945         New file.
80946         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
80947         New file.
80948         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
80949         New file.
80950         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
80951         New file.
80952         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
80953         New file.
80954         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
80955         New file.
80956         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
80957         New file.
80958         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
80959         New file.
80960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
80961         file.
80962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
80963         New file.
80964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
80965         New file.
80966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
80967         file.
80968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
80969         New file.
80970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
80971         New file.
80972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
80973         file.
80974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
80975         New file.
80976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
80977         New file.
80978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
80979         New file.
80980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
80981         New file.
80982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
80983         New file.
80984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
80985         New file.
80986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
80987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
80988         file.
80989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
80990         New file.
80991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
80992         file.
80993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
80994         file.
80995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
80996         file.
80997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
80998         file.
80999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
81000         file.
81001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
81002         New file.
81003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
81004         file.
81005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
81006         file.
81007         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
81008         New file.
81009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
81010         file.
81011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
81012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
81013         file.
81014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
81015         New file.
81016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
81017         file.
81018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
81019         file.
81020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
81021         file.
81022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
81023         file.
81024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
81025         file.
81026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
81027         New file.
81028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
81029         file.
81030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
81031         file.
81032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
81033         New file.
81034         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
81035         file.
81036         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
81037         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
81038         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
81039         file.
81040         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
81041         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
81042         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
81043         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
81044         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
81045         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
81046         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
81047         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
81048         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
81049         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
81050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
81051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
81052         file.
81053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
81054         New file.
81055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
81056         file.
81057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
81058         file.
81059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
81060         file.
81061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
81062         file.
81063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
81064         file.
81065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
81066         New file.
81067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
81068         New file.
81069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
81070         file.
81071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
81072         New file.
81073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
81074         file.
81075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
81076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
81077         file.
81078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
81079         New file.
81080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
81081         file.
81082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
81083         file.
81084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
81085         file.
81086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
81087         file.
81088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
81089         file.
81090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
81091         New file.
81092         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
81093         New file.
81094         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
81095         file.
81096         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
81097         New file.
81098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
81099         file.
81101 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
81103         * conform/conformtest.pl: Fix typo in handling typed-constant from
81104         allow-header.
81106 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
81108         * README: Cut down references to pre-2.6 Linux kernels and
81109         Linuxthreads.  Update lists of configurations in libc and ports
81110         and sort alphabetically.  Say "or newer" with Linux kernel version
81111         requirements.
81113         * config.h.in [IS_IN_build]: Allow compiling without optimization.
81115 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
81117         [BZ #887]
81118         * math/libm-test.inc (logb_test_downward): New test to expose
81119         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
81120         rounding mode.
81122 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
81124         [BZ #14027]
81125         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
81126         to be done.
81127         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
81128         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
81130 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
81132         * sysdeps/unix/i386/brk.S: Remove file.
81133         * sysdeps/unix/i386/dl-brk.S: Likewise.
81134         * sysdeps/unix/i386/pipe.S: Likewise.
81135         * sysdeps/unix/i386/sigreturn.S: Likewise.
81136         * sysdeps/unix/i386/syscall.S: Likewise.
81137         * sysdeps/unix/i386/vfork.S: Likewise.
81138         * sysdeps/unix/i386/wait.S: Likewise.
81140         * sysdeps/unix/common/tcsendbrk.c: Move to ...
81141         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
81143         * configure.in (arm*-none*): Do not allow without
81144         --enable-hacker-mode.
81145         (netbsd*): Remove case setting base_os.
81146         (386bsd*): Likewise.
81147         (freebsd*): Likewise.
81148         (bsdi*): Likewise.
81149         (osf*): Likewise.
81150         (sunos*): Likewise.
81151         (ultrix*): Likewise.
81152         (newsos*): Likewise.
81153         (dynix*): Likewise.
81154         (*bsd*): Likewise.
81155         (sysv*): Likewise.
81156         (isc*): Likewise.
81157         (esix*): Likewise.
81158         (sco*): Likewise.
81159         (minix*): Likewise.
81160         (irix4*): Likewise.
81161         (irix6*): Likewise.
81162         (solaris[2-9]*): Likewise.
81163         (none): Likewise.
81164         * configure: Regenerated.
81166 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81168         [BZ #11521]
81169         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
81170         overflow or cancellation in calculating denominator.
81171         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
81172         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
81173         down expression to avoid unexpected rounding in newer GCCs.
81174         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
81176 2012-04-26  David S. Miller  <davem@davemloft.net>
81178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
81179         long-double compat symbols.
81180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
81181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
81182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
81183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
81184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
81185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
81186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
81187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
81188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
81189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
81190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
81191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
81192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81194 2012-04-25  David S. Miller  <davem@davemloft.net>
81196         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
81197         HWCAP_* values only after the memory barriers have been defined.
81198         (atomic_full_barrier): Define.
81199         (atomic_read_barrier): Define.
81200         (atomic_write_barrier): Define.
81202 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
81204         * shlib-versions: Add libgcc_s version information.
81205         * sysdeps/generic/libgcc_s.h: Remove.
81206         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
81207         libgcc_s.h.
81208         * sysdeps/gnu/unwind-resume.c: Likewise.
81209         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
81211 2012-04-25  David S. Miller  <davem@davemloft.net>
81213         * sysdeps/unix/sparc/brk.S: Delete.
81214         * sysdeps/unix/sparc/dl-brk.S: Delete.
81215         * sysdeps/unix/sparc/pipe.S: Delete.
81216         * sysdeps/unix/sparc/sysdep.S: Delete.
81217         * sysdeps/unix/sparc/sysdep.h: Delete.
81218         * sysdeps/unix/sparc/vfork.S: Delete.
81219         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
81220         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
81221         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
81222         (ret_ERRVAL, r0, r1, MOVE): Define.
81223         (JUMPTARGET): Remove.
81224         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
81225         sysdeps/unix/sparc/sysdep.h
81226         (ENTRY, END): Remove.
81227         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81229 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
81231         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
81232         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
81233         -DIS_IN_build.
81235         * timezone/README: Update upstream location and email address for
81236         tzcode and tzdata.
81237         * timezone/zdump.c: Update from tzcode 2012b.
81238         * timezone/zic.c: Likewise.
81240         * configure.in (libc_cv_as_needed): Remove test.
81241         * configure: Regenerated.
81242         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
81243         conditional definition.
81244         [$(have-as-needed) != yes] (no-as-needed): Likewise.
81245         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
81246         * config.make.in (have-as-needed): Remove variable.
81248 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
81249             Paul Pluzhnikov  <ppluzhnikov@google.com>
81251         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
81252         strings correctly.
81254 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
81256         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
81257         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
81258         * sysdeps/sh/strlen.S: Likewise.
81260 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81262         * sysdeps/unix/fork.S: Remove file.
81263         * sysdeps/unix/i386/fork.S: Likewise.
81264         * sysdeps/unix/sparc/fork.S: Likewise.
81266         * sysdeps/unix/system.c: Remove file.
81267         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
81269         * sysdeps/unix/getegid.S: Remove file.
81270         * sysdeps/unix/geteuid.S: Likewise.
81272 2012-04-24  Roland McGrath  <roland@hack.frob.com>
81274         * scripts/check-localplt.awk: New file.
81275         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
81276         of diff.
81277         * scripts/data/localplt-generic.data: Add a comment.
81279         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
81280         NODE when __dir_mkfile failed.
81281         * sysdeps/mach/hurd/symlinkat.c: Likewise.
81282         Reported by Ludovic Courtès <ludo@gnu.org>.
81284 2012-04-24  Andreas Jaeger  <aj@suse.de>
81286         * Makerules (common-clean): Also remove gen-as-const-headers
81287         files.
81289 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81291         * Makerules (native-compile): Do not change working directory for
81292         build.  Use $(OUTPUT_OPTION) in command.
81293         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
81295 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81297         [BZ #13886]
81298         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
81299         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
81300         * math/libm-test.inc (floor_test): Add more tests.
81301         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
81303 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81305         * sysdeps/unix/getdents.c: Remove file.
81306         * sysdeps/unix/sysv/getdents.c: Likewise.
81307         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
81309         * sysdeps/unix/syscalls.list (madvise): Add syscall from
81310         sysdeps/unix/mman/syscalls.list.
81311         (mmap): Likewise.
81312         (mprotect): Likewise.
81313         (msync): Likewise.
81314         (munmap): Likewise.
81315         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
81316         * sysdeps/unix/mman/syscalls.list: Remove.
81317         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
81319         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
81320         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
81321         * configure: Regenerated.
81322         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
81323         $(libgcc_s_suffix).
81324         * config.make.in (libgcc_s_suffix): Remove variable.
81326 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
81328         * sysdeps/unix/sysv/gethostname.c: Move to ...
81329         * sysdeps/posix/gethostname.c: ... here.
81331         * sysdeps/unix/execve.S: Remove file.
81333         * sysdeps/unix/_exit.S: Remove file.
81335 2012-04-23  Andreas Jaeger  <aj@suse.de>
81337         [BZ #13739]
81338         * manual/Makefile: Remove make dist support, there's no
81339         need for a stand-alone documentation tar ball.
81340         (TEXI2DVI): Define always, it's not in Makeconfig.
81341         (dist): Removed.
81342         (tar-it): Removed.
81343         (edition): Removed.
81344         (glibc-doc-$(edition).tar): Removed
81345         (%.Z): Removed.
81346         (%.gz): Removed.
81347         (%.uu): Removed.
81348         (ETAGS): Remove, it's in Makeconfig.
81349         (move-if-change): Remove, it's in Makeconfig.
81351 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
81353         [BZ #13970]
81354         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
81355         (strtod, strtof, strtold, strtol, strtoul, strtoq)
81356         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
81357         (strtod_l, strtof_l, strtold_l): Remove __wur.
81358         It is not necessarily an error to ignore strtol's return value.
81359         One can reliably look at the stored endptr to decide whether
81360         the number had valid syntax.
81362 2012-04-21  Andreas Jaeger  <aj@suse.de>
81364         [BZ #13739]
81365         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
81367 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
81369         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
81370         * sysdeps/unix/sysv/Versions: Remove file.
81372 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
81374         [BZ #13927]
81375         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81377 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
81379         [BZ #7064]
81380         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
81381         version from __vm86.
81383 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
81385         * sysdeps/unix/common/lxstat.c: Remove file.
81386         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
81388         * sysdeps/unix/sysv/Makefile: Remove file.
81390         * sysdeps/unix/sysv/direct.h: Remove file.
81392         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
81393         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
81394         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
81395         * sysdeps/unix/sysv/bits/signum.h: Likewise.
81396         * sysdeps/unix/sysv/bits/stat.h: Likewise.
81397         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
81398         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
81400         * sysdeps/unix/sysv/setrlimit.c: Remove file.
81402         * sysdeps/unix/xmknod.c: Remove file.
81403         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
81405         * sysdeps/unix/sysv/settimeofday.c: Remove file.
81407         * sysdeps/unix/sysv/i386/time.S: Remove file.
81409         * sysdeps/unix/fxstat.c: Remove file.
81410         * sysdeps/unix/xstat.c: Likewise.
81411         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
81413         * sysdeps/unix/sysv/sigaction.c: Remove file.
81415         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
81416         (sysdep_headers): Remove variable.
81417         [termio.h not in sysdep_headers] (generated): Likewise.
81418         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
81419         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
81420         * sysdeps/unix/sysv/tcdrain.c: Likewise.
81421         * sysdeps/unix/sysv/tcflow.c: Likewise.
81422         * sysdeps/unix/sysv/tcflush.c: Likewise.
81423         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
81424         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
81425         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
81426         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
81427         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
81429         * sysdeps/unix/siglist.c: Remove file.
81431         * sysdeps/unix/getppid.S: Remove file.
81433         * sysdeps/unix/mkdir.c: Remove file.
81434         * sysdeps/unix/rmdir.c: Likewise.
81436 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
81438         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
81439         ERR_MAX value.
81440         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
81441         errlist-compat value.
81443 2012-04-18  David S. Miller  <davem@davemloft.net>
81445         * sysdeps/generic/memcopy.h (reg_char): Delete.
81446         * debug/strcat_chk.c: Use char, not reg_char.
81447         * debug/strcpy_chk.c: Likewise.
81448         * debug/strncat_chk.c: Likewise.
81449         * debug/strncpy_chk.c: Likewise.
81450         * string/memchr.c: Likewise.
81451         * string/memrchr.c: Likewise.
81452         * string/rawmemchr.c: Likewise.
81453         * string/strcat.c: Likewise.
81454         * string/strchr.c: Likewise.
81455         * string/strchrnul.c: Likewise.
81456         * string/strcmp.c: Likewise.
81457         * string/strcpy.c: Likewise.
81458         * string/strncat.c: Likewise.
81459         * string/strncmp.c: Likewise.
81460         * string/strncpy.c: Likewise.
81462 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81464         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
81465         __builtin_memcopy is called when src and dest ranges are known to not
81466         overlap.
81468 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81470         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
81471         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
81472         fwd_align_merge macro call.
81473         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
81474         bwd_align_merge macro call.
81475         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81477 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81479         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
81480         bwd_align_merge macros.
81481         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
81482         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
81483         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81485 2012-04-18  David S. Miller  <davem@davemloft.net>
81487         * sysdeps/sparc/sparc64/memcopy.h: Delete.
81489 2012-04-18  Andreas Jaeger  <aj@suse.de>
81491         [BZ #6794]
81492         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
81493         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
81494         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81496         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
81497         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
81498         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81500         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
81501         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
81502         Adjust for changed ldbl-128 files.
81504         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
81505         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
81506         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81508 2012-04-17  David S. Miller  <davem@davemloft.net>
81510         * sysdeps/sparc/sparc32/memcopy.h: Delete.
81512 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
81514         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
81515         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
81516         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
81517         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
81518         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
81519         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
81521 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81523         [BZ #6794]
81524         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
81525         * math/libm-test.inc: Add ilogb errno and exception tests.
81526         * math/w_ilogb.c: New file: ilogb wrapper.
81527         * math/w_ilogbf.c: New file: ilogbf wrapper.
81528         * math/w_ilogbl.c: New file: ilogbl wrapper.
81529         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
81530         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
81531         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
81532         exception being thrown with 0.0 as argument.
81533         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
81534         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
81535         exception being thrown with 0.0 as argument.
81536         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
81537         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81538         exception being thrown with 0.0 as argument.
81539         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
81540         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81541         exception being thrown with 0.0 as argument.
81542         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
81543         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
81544         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
81545         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
81546         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
81547         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
81548         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
81549         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
81550         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
81552 2012-04-17  Petr Baudis  <pasky@ucw.cz>
81554         * include/sys/uio.h: Change __vector to __iovec to avoid clash
81555         with altivec.
81557 2012-04-16  Marek Polacek  <polacek@redhat.com>
81559         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
81561 2012-04-16  Marek Polacek  <polacek@redhat.com>
81563         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
81564         operands of fdivp instruction.
81566 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81568         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
81569         * elf/tst-auditmod3b.c: Likewise.
81570         * elf/tst-auditmod4b.c: Likewise.
81571         * elf/tst-auditmod5b.c: Likewise.
81572         * elf/tst-auditmod6b.c: Likewise.
81573         * elf/tst-auditmod6c.c: Likewise.
81574         * elf/tst-auditmod7b.c: Likewise.
81575         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
81576         * sysdeps/x86_64/preconfigure.in: Likewise.
81577         * sysdeps/x86_64/preconfigure: Regenerated.
81579 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81581         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
81582         __ILP32__.
81584 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
81586         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81587         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
81589 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
81591         [BZ #13973]
81592         * locale/iso-639.def: Fix gl language name. Spotted by
81593         Yaron Shahrabani.
81595 2012-04-12  Roland McGrath  <roland@hack.frob.com>
81597         [BZ #2074]
81598         * libio/libio.h (__io_write_fn): Update comment.
81600 2012-04-12  Petr Baudis  <pasky@ucw.cz>
81602         [BZ #2074]
81603         * stdio.texi (Hook Functions): The user provided writer function
81604         is not allowed to return -1.
81606 2012-04-11  David S. Miller  <davem@davemloft.net>
81608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81610 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
81612         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
81613         Add a leading slash to rtkaio.
81615 2012-04-11  Jim Meyering  <meyering@redhat.com>
81617         [BZ #11959]
81618         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
81619         It is not necessarily an error to ignore fwrite's return
81620         value.  One can reliably use ferror to test for errors after
81621         the fact.
81623 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
81625         * bits/types.h (__snseconds_t): New type.
81626         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
81628         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
81629         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81630         (__SNSECONDS_T_TYPE): Likewise.
81631         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81632         (__SNSECONDS_T_TYPE): Likewise.
81633         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81634         (__SNSECONDS_T_TYPE): Likewise.
81636 2012-04-10  Andreas Jaeger  <aj@suse.de>
81638         [BZ #2636]
81639         * manual/time.texi (Processor Time): Return type of times is
81640         elapsed real time since an arbitrary point in the past.
81641         (CPU Time): Move CLK_TCK from here...
81642         (Processor Time): ...to here.  Correct description.
81643         * manual/conf.texi (Constants for Sysconf): Correct description of
81644         _SC_CLK_TCK.
81646 2012-04-10  David S. Miller  <davem@davemloft.net>
81648         [BZ #13967]
81649         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
81650         where the is a gap between DT_REL(A) and DT_JMPREL.
81652 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
81654         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
81655         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81656         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81658 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
81660         * elf/dl-support.c (_dl_inhibit_cache): New variable.
81661         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
81662         (dl_main): Handle --inhibit-cache.
81663         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
81664         _dl_inhibit_cache.
81665         * elf/dl-load.c (_dl_map_object): Use it.
81666         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
81668 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
81670         [BZ #13872]
81671         * sysdeps/i386/fpu/e_powl.S (p78): New object.
81672         (__ieee754_powl): Saturate large exponents rather than testing for
81673         overflow of y*log2(x).
81674         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81675         * math/libm-test.inc (pow_test): Do not permit spurious overflow
81676         exceptions.
81678         [BZ #11521]
81679         * math/s_ctan.c: Include <float.h>.
81680         (__ctan): Avoid internal overflow or cancellation in calculating
81681         denominator.
81682         * math/s_ctanf.c: Likewise.
81683         * math/s_ctanl.c: Likewise.
81684         * math/s_ctanh.c: Likewise.
81685         * math/s_ctanhf.c: Likewise.
81686         * math/s_ctanhl.c: Likewise.
81687         * math/libm-test.inc (ctan_test): Add more tests.
81688         (ctanh_test): Likewise.
81689         * sysdeps/i386/fpu/libm-test-ulps: Update.
81690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81692 2012-04-09  Andreas Jaeger  <aj@suse.de>
81694         [BZ #6894]
81695         * manual/filesys.texi (Directory Entries): Mention that d_namlen
81696         is an optional BSD extension.
81698         [BZ #10254]
81699         * manual/stdio.texi (Opening Streams): Document additional fopen
81700         parameters.
81702 2012-04-09  Roland McGrath  <roland@hack.frob.com>
81704         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
81705         %eax without telling the compiler.
81707 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
81709         [BZ # 13963]
81710         * manual/install.texi: Use sourceware.org.
81712 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
81714         [BZ #13873]
81715         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
81716         (__ieee754_pow): Generate overflow and underflow using huge*huge
81717         and tiny*tiny rather than just returning constant infinity or zero
81718         for large exponents.
81719         * math/libm-test.inc (pow_test): Require overflow exceptions for
81720         applicable cases of large exponents.
81722         [BZ #706]
81723         * sysdeps/i386/fpu/e_pow.S (p10): New object.
81724         (__ieee754_pow): Use iterative multiplication algorithm only for
81725         integer exponents with absolute value below 1024.  Check for odd
81726         integer exponents when using algorithm for real exponents.
81727         * math/libm-test.inc (pow_test): Add more tests.
81728         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81730 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
81732         [BZ #13705]
81733         * math/libm-test.inc (exp_test): Do not allow overflow exception
81734         on underflow test.
81736 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
81738         [BZ #13705]
81739         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
81740         instead of __kernel_standard_f.
81742 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
81744         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
81745         * sysdeps/x86_64/memset_chk.S: Likewise.
81747 2012-04-08  Andreas Jaeger  <aj@suse.de>
81749         [BZ #10153]
81750         * manual/startup.texi (Environment Access): Describe return value
81751         for putenv and setenv.
81753         [BZ #6895]
81754         * manual/filesys.texi (Directory Entries): Add description for
81755         DT_LNK.
81757         [BZ #6890]
81758         * manual/filesys.texi (Directory Entries): Clarify that it's file
81759         system not operating system in the description of DT_UNKNOWN.
81761         [BZ #6578]
81762         * manual/syslog.texi (closelog): Fix reference, it's openlog.
81764 2012-04-08  Stephen Compall  <s11@member.fsf.org>
81766         [BZ #6649]
81767         * manual/llio.texi (Opening and Closing Files): Add cross
81768         reference to explain mode argument.
81770 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
81772         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
81773         * sysdeps/x86_64/memset_chk.S: Likewise.
81775 2012-04-07  David S. Miller  <davem@davemloft.net>
81777         * elf/elf.h (R_SPARC_WDISP10): Define.
81778         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
81779         R_SPARC_SIZE32.
81780         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
81781         R_SPARC_SIZE64 and R_SPARC_H34.
81783 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
81785         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
81786         conditions and remove no longer applicable assertion.
81788 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
81790         * bits/byteswap.h: Include <features.h>.
81791         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81792         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81794 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
81796         * bits/byteswap.h (__bswap_16): Removed.
81797         Include <bits/byteswap-16.h> to get __bswap_16.
81798         * sysdeps/i386/bits/byteswap.h: Likewise.
81799         * sysdeps/s390/bits/byteswap.h: Likewise.
81800         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81801         * bits/byteswap-16.h: New file.
81802         * sysdeps/i386/bits/byteswap-16.h: Likewise.
81803         * sysdeps/s390/bits/byteswap-16.h: Likewise.
81804         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
81805         * string/Makefile (headers): Add bits/byteswap-16.h.
81807 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81809         [BZ #13895]
81810         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
81811         extra indirection.
81812         * nss/Makefile (tests-static, tests): Add tst-nss-static.
81813         * nss/tst-nss-static.c: New.
81815 2012-04-06  Robert Millan  <rmh@gnu.org>
81817         [BZ #6486]
81818         * manual/llio.texi (File Position Primitive): lseek
81819         refers to WHENCE when it really means OFFSET.
81821 2012-04-06  Andreas Jaeger  <aj@suse.de>
81823         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
81824         strncmp declarations.
81826         * abilist/libc.abilist: Add __poll and __ppoll.
81828 2012-04-05  David S. Miller  <davem@davemloft.net>
81830         * scripts/check-local-headers.sh: Accept a host triplet in the
81831         path matched by the exclude regexp.
81833         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
81834         definition.
81835         * sysdeps/powerpc/powerpc32/dl-machine.h
81836         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
81837         * sysdeps/s390/s390-32/dl-machine.h
81838         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81839         * sysdeps/sparc/sparc32/dl-machine.h
81840         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81841         * sysdeps/sparc/sparc64/dl-machine.h
81842         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
81844         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
81845         lazy binding.
81846         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
81847         undefined symbol errors.
81849         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
81850         DT_NEEDED entries.
81852 2012-04-05  Michael Matz  <matz@suse.de>
81854         [BZ #13592]
81855         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
81857 2012-04-05  Andreas Jaeger  <aj@suse.de>
81859         [BZ #13908]
81860         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
81861         comment.
81863 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81865         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
81866         which ROUND is no valid rounding mode.
81868 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81870         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
81871         read again.
81872         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
81874 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81876         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
81877         an exception using FPU order intentionally.
81879 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81881         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
81882         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
81883         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
81884         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
81886 2012-04-05  Simon Josefsson  <simon@josefsson.org>
81888         [BZ #12340]
81889         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
81890         EINVAL when BUFLEN is too smal.
81892 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
81894         [BZ #13553]
81895         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
81896         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
81898 2012-04-03  Andreas Jaeger  <aj@suse.de>
81900         [BZ #13938]
81901         * manual/setjmp.texi (System V contexts): Fix sentence.
81903         [BZ #13926]
81904         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
81905         New macro for this case.
81906         [!__GNUC__] (__bswap_64): New inline function for this case.
81907         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81908         * bits/byteswap.h: Likewise.
81909         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
81910         ull, guard with __GLIBC_HAVE_LONG_LONG.
81912         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
81913         __GLIBC_HAVE_LONG_LONG.
81915         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
81916         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
81918 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
81920         [BZ #13691]
81921         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
81922         inptr and inend, rather than using last_ch.
81924 2012-04-02  David S. Miller  <davem@davemloft.net>
81926         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
81927         * stdio-common/printf-parse.h (read_int): Change return type to
81928         'int', return -1 on INT_MAX overflow.
81929         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
81930         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
81931         overflows INT_MAX.  Check for overflow of in-format-string precision
81932         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
81933         SIZE_MAX not INT_MAX for integer overflow test.
81934         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
81935         skip the construct in the format string but do not record anything.
81936         * stdio-common/bug22.c: Adjust to test both width/prevision
81937         INT_MAX overflow as well as total length INT_MAX overflow.  Check
81938         explicitly for proper errno values.
81940 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
81942         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
81943         CHAR_MAX.
81944         * string/test-strcmp.c [! WIDE]: Likewise.
81945         * time/tst-mktime2.c: Likewise for INT_MAX.
81946         * string/test-string.h: #include <sys/param.h> for MIN.
81948         * csu/init-first.c (__libc_init_first): Call __ctype_init.
81949         * sysdeps/i386/init-first.c (init): Likewise.
81950         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
81951         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
81952         * sysdeps/sh/init-first.c (init): Likewise.
81954 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
81956         * po/ru.po: Update from translation team.
81957         * po/vi.po: Likewise.
81959 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
81961         * resolv/nss_dns/dns-host.c: Merge copyright years.
81963 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81965         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
81966         Optimize memcpy with prefetch if
81967         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
81968         src, dst pointers have unequal 16 byte alignments.
81970 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
81972         [BZ #13928]
81973         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
81974         from a CNAME entry and return the minimum ttl for the query.
81975         (gaih_getanswer_slice): Likewise.
81977 2012-03-30  Jeff Law  <law@redhat.com>
81979         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
81980         due to long keys.
81981         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
81982         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
81984         * resolv/nss_dns/dns-host.c: Update copyright year.
81986 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
81988         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
81989         requests to save a system call.  Fix check that all bytes are sent.
81991         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
81992         comments for sendmmsg.
81994 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81996         [BZ #13691]
81997         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
81998         with only 1 character between 0x0041 and 0x01b0.
81999         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
82000         * wcsmbs/tst-mbsnrtowcs.c: New file.
82002 2012-03-29  David S. Miller  <davem@davemloft.net>
82004         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
82005         small copies by hand.
82007 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
82009         [BZ #13761]
82010         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
82011         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
82012         group memberships.
82014 2012-03-28  David S. Miller  <davem@davemloft.net>
82016         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
82017         that branches into memcpy.
82018         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
82019         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
82020         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
82021         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
82022         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
82023         bits.
82024         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
82025         implementation too.
82026         * sysdeps/sparc/mempcpy.S: New file.
82028         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
82029         the IFUNC routine in the libc case.
82030         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82032         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
82033         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
82034         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
82035         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
82036         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
82037         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
82038         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
82039         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
82041         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
82042         loop to 256 bytes instead of 64 bytes and fix test signedness.
82044         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
82045         * sysdeps/sparc/sparc32/Makefile: rather than here...
82046         * sysdeps/sparc/sparc64/Makefile: and here.
82048 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
82050         * malloc/mallocbug.c: Avoid warnings about unused variables.
82052 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
82054         [BZ #13760]
82055         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
82056         in the right place. Discard and retry query if response is
82057         larger than input buffer size.
82059 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
82061         [BZ #369]
82062         [BZ #2678]
82063         [BZ #3866]
82064         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
82065         x for large integer exponent.
82066         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
82067         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
82068         sign of result as needed afterwards.
82069         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
82070         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
82071         result for underflowing pow the same as for overflow.
82072         (__kernel_standard_l): Handle powl overflow and underflow here
82073         rather than calling __kernel_standard.
82074         * math/libm-test.inc (pow_test): Add more tests.
82076         [BZ #3868]
82077         [BZ #13879]
82078         [BZ #13910]
82079         [BZ #13911]
82080         [BZ #13912]
82081         [BZ #13913]
82082         [BZ #13915]
82083         [BZ #13916]
82084         [BZ #13917]
82085         [BZ #13918]
82086         [BZ #13919]
82087         [BZ #13920]
82088         [BZ #13921]
82089         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
82090         * sysdeps/ieee754/k_standard.c: Include <float.h>.
82091         (__kernel_standard_l): New function.
82092         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
82093         __kernel_standard.
82094         * math/w_acosl.c (__acosl): Likewise.
82095         * math/w_asinl.c (__asinl): Likewise.
82096         * math/w_atan2l.c (__atan2l): Likewise.
82097         * math/w_atanhl.c (__atanhl): Likewise.
82098         * math/w_coshl.c (__coshl): Likewise.
82099         * math/w_exp10l.c (__exp10l): Likewise.
82100         * math/w_exp2l.c (__exp2l): Likewise.
82101         * math/w_fmodl.c (__fmodl): Likewise.
82102         * math/w_hypotl.c (__hypotl): Likewise.
82103         * math/w_j0l.c (__j0l, __y0l): Likewise.
82104         * math/w_j1l.c (__j1l, __y1l): Likewise.
82105         * math/w_jnl.c (__jnl, __ynl): Likewise.
82106         * math/w_lgammal.c (__lgammal): Likewise.
82107         * math/w_log10l.c (__log10l): Likewise.
82108         * math/w_log2l.c (__log2l): Likewise.
82109         * math/w_logl.c (__logl): Likewise.
82110         * math/w_powl.c (__powl): Likewise.
82111         * math/w_remainderl.c (__remainderl): Likewise.
82112         * math/w_scalbl.c (sysv_scalbl): Likewise.
82113         * math/w_sinhl.c (__sinhl): Likewise.
82114         * math/w_sqrtl.c (__sqrtl): Likewise.
82115         * math/w_tgammal.c (__tgammal): Likewise.
82116         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
82117         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
82118         * math/libm-test.inc (acos_test): Add more tests.
82119         (acosh_test): Likewise.
82120         (asin_test): Likewise.
82121         (atanh_test): Likewise.
82122         (exp_test): Likewise.
82123         (exp10_test): Likewise.
82124         (exp2_test): Likewise.
82125         (expm1_test): Likewise.
82126         (lgamma_test): Likewise.
82127         (log_test): Likewise.
82128         (log10_test): Likewise.
82129         (log1p_test): Likewise.
82130         (log2_test): Likewise.
82131         (pow_test): Do not allow some spurious overflow exceptions.
82132         (sqrt_test): Add more tests.
82133         (tgamma_test): Likewise.
82134         (y0_test): Likewise.
82135         (y1_test): Likewise.
82136         (yn_test): Likewise.
82138 2012-03-27  Anton Blanchard  <anton@samba.org>
82140         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
82141         MAP_HUGETLB.
82142         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
82143         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
82144         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
82146 2012-03-27  David S. Miller  <davem@davemloft.net>
82148         * conform/Makefile: Run run-conformtest.sh using $(BASH).
82150         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
82151         have-as-vis3 check.
82153 2012-03-27  Andreas Jaeger  <aj@suse.de>
82155         * sysdeps/x86_64/elf/configure.in: Moved to ...
82156         * sysdeps/x86_64/configure.in: ... here.
82157         * sysdeps/x86_64/elf/start.S: Moved to ...
82158         * sysdeps/x86_64/start.S: ... here.
82159         * sysdeps/x86_64/elf/configure: Delete.
82161         * sysdeps/x86_64/configure.in: Merge contents from
82162         sysdeps/i386/configure.in (without i686 check).
82164         * sysdeps/i386/elf/Versions: Merge into ...
82165         * sysdeps/i386/Versions: ... this.
82166         * sysdeps/i386/elf/Versions: Delete file.
82167         * sysdeps/i386/elf/start.S: Moved to ...
82168         * sysdeps/i386/start.S: ...here.
82169         * sysdeps/i386/elf/configure.in: Merge into...
82170         * sysdeps/i386/configure.in: ...here.
82171         * sysdeps/i386/elf/configure.in: Delete file.
82172         * sysdeps/i386/elf/configure: Delete file.
82174         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
82175         * debug/backtracesyms.c: ... here.
82176         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
82177         * debug/backtracesymsfd.c: ... here.
82178         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
82179         * sysdeps/generic/ifunc-sel.h: ... here.
82181         * sysdeps/unix/i386/start.c: Delete file.
82182         * sysdeps/unix/sparc/start.c: Delete file.
82183         * sysdeps/unix/start.c: Delete file.
82185         * sysdeps/sh/elf/configure.in: Moved to ...
82186         * sysdeps/sh/configure.in: ... here.
82187         * sysdeps/sh/elf/start.S: Moved to ...
82188         * sysdeps/sh/start.S: ... here.
82189         * sysdeps/sh/elf/configure: Delete file.
82191         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
82192         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
82193         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
82194         * sysdeps/powerpc/powerpc64/entry.h: ... here.
82195         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
82196         * sysdeps/powerpc/powerpc64/start.S: here.
82197         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
82198         * sysdeps/powerpc/powerpc64/Makefile: ... this.
82199         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
82200         * sysdeps/powerpc/powerpc64/configure.in: ... this.
82201         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
82203         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
82204         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
82205         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
82206         * sysdeps/powerpc/powerpc32/start.S: ... here.
82207         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
82208         * sysdeps/powerpc/powerpc32/configure.in: ... this.
82209         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
82211         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
82212         * sysdeps/powerpc/ifunc-sel.h: ... here.
82213         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
82214         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
82216         * sysdeps/sparc/elf/configure.in: Moved to ...
82217         * sysdeps/sparc/configure.in: ... here.
82218         * sysdeps/sparc/elf/configure: Delete file.
82219         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
82220         * sysdeps/sparc/sparc32/start.S: ... here.
82221         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
82222         * sysdeps/sparc/sparc64/start.S: ... here.
82223         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
82224         * sysdeps/sparc/sparc32/Makefile: ... this.
82225         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
82226         * sysdeps/sparc/sparc64/Makefile: ... this.
82228         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
82229         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
82230         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
82231         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
82232         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
82233         * sysdeps/s390/s390-32/setjmp.S: ... here.
82234         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
82235         * sysdeps/s390/s390-32/configure.in: ... here.
82236         * sysdeps/s390/s390-32/elf/configure: Delete file.
82237         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
82238         * sysdeps/s390/s390-32/start.S: ... here.
82240         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
82241         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
82242         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
82243         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
82244         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
82245         * sysdeps/s390/s390-64/setjmp.S: ... here.
82246         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
82247         * sysdeps/s390/s390-64/configure.in: ... here
82248         * sysdeps/s390/s390-64/elf/configure: Delete file.
82249         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
82250         * sysdeps/s390/s390-64/start.S: ... here.
82251         * sysdeps/s390/s390-64/elf/configure: Delete.
82253         * configure.in: Remove support for elf directories in sysdeps.
82255         * configure: Regenerated.
82256         * sysdeps/i386/configure: Regenerated.
82257         * sysdeps/powerpc/powerpc32/configure: Regenerated.
82258         * sysdeps/powerpc/powerpc64/configure: Regenerated.
82259         * sysdeps/s390/s390-32/configure: Regenerated.
82260         * sysdeps/s390/s390-64/configure: Regenerated.
82261         * sysdeps/sh/configure: Regenerated.
82262         * sysdeps/sparc/configure: Regenerated.
82263         * sysdeps/x86_64/configure: Regenerated.
82265 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
82267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82269         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
82270         denormal result into account.
82272 2012-03-25  Roland McGrath  <roland@hack.frob.com>
82274         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
82275         Reported by Allan McRae <allan@archlinux.org>.
82277 2012-03-23  Jeff Law  <law@redhat.com>
82279         * nss/getnssent.c (__nss_getent): Fix typo.
82281 2012-03-23  David S. Miller  <davem@davemloft.net>
82283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82285 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
82287         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
82288         to pad to uint64_t for each field.
82289         (dl_tls_index): Replace unsigned long with uint64_t.
82291 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
82292         Paul Pluzhnikov  <ppluzhnikov@google.com>
82294         [BZ #6528]
82295         * grp/Makefile (otherlibs): Don't set it.
82296         * inet/Makefile (otherlibs): Likewise.
82297         * login/Makefile (otherlibs): Likewise.
82298         * nscd/Makefile (otherlibs): Likewise.
82299         * posix/Makefile (otherlibs): Likewise.
82300         * pwd/Makefile (otherlibs): Likewise.
82301         * rt/Makefile (otherlibs): Likewise.
82302         * sunrpc/Makefile (otherlibs): Likewise.
82303         * nss/Makefile (otherlibs): Likewise.
82304         Add libnss_files to routines and static-only-routines.
82305         ($(objpfx)getent): Remove rule.
82306         * resolv/Makefile: Add libnss_dns and libresolv to routines and
82307         static-only-routines.
82309 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82311         [BZ #13892]
82312         * math/s_cexp.c: Include <float.h>.
82313         (__cexp): Handle exp result overflowing not necessarily
82314         overflowing both real and imaginary parts of result.
82315         * math/s_cexpf.c: Likewise.
82316         * math/s_cexpl.c: Likewise.
82317         * math/libm-test.inc (cexp_test): Add more tests.
82318         * sysdeps/i386/fpu/libm-test-ulps: Update.
82319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82321 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82323         * include/link.h (ELFW): New macro.
82324         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
82325         Replace ELF64_R_TYPE with ELFW(R_TYPE).
82327 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82329         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
82330         with uint64_t.
82332 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82334         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
82335         declaration.
82336         (struct La_x32_retval): Likewise.
82338 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82340         * sysdeps/x86_64/preconfigure.in: New file.
82341         * sysdeps/x86_64/preconfigure: New generated file.
82343 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82345         [BZ #13824]
82346         * math/e_exp2l.c: Include <float.h>.
82347         (__ieee754_exp2l): Handle overflow and underflow cases
82348         separately.  Only pass fractional part of argument to
82349         __ieee754_expl.
82350         * math/libm-test.inc (exp2_test): Add more tests.
82352         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
82353         negating x to take absolute value.
82354         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
82355         Likewise.
82356         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
82357         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
82358         Likewise.
82359         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
82360         computing low part if x was negated.
82361         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
82363 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82365         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
82366         la_x32_gnu_pltexit.
82367         (pltexit): Cast int_retval to ptrdiff_t.
82368         * elf/tst-auditmod3b.c: Likewise.
82369         * elf/tst-auditmod4b.c: Likewise.
82370         * elf/tst-auditmod5b.c: Likewise.
82371         * elf/tst-auditmod6b.c: Likewise.
82372         * elf/tst-auditmod6c.c: Likewise.
82373         * elf/tst-auditmod7b.c: Likewise.
82375         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
82376         and x32_gnu_pltexit.
82378         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
82379         __ELF_NATIVE_CLASS.
82380         (La_x32_regs): New macro.
82381         (La_x32_retval): Likewise.
82382         (la_x32_gnu_pltenter): New function prototype.
82383         (la_x32_gnu_pltexit): Likewise.
82385 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
82387         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
82388         exponent.
82390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82392         * configure.in (libc_cv_cc_nofma): Check for option to disable
82393         generation of FMA instructions.
82394         * configure: Regenerate.
82395         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
82396         * sysdeps/ieee754/dbl-64/Makefile: New file.
82397         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
82398         Remove brandred-fma4.
82399         (CFLAGS-brandred-fma4.c): Remove.
82400         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
82401         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
82402         define.
82403         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
82404         define.
82406 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82408         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
82409         LLONG_MAX != LONG_MAX.
82410         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82411         (_fitoa_word): Likewise.
82412         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
82413         LLONG_MAX != LONG_MAX.
82414         * stdio-common/_itowa.h: Include <_itoa.h>.
82415         (_itowa_word): Use _ITOA_WORD_TYPE on value.
82416         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
82417         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
82418         only if not defined.
82419         (_ITOA_WORD_TYPE): Likewise.
82420         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82421         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
82423 2012-03-21  David S. Miller  <davem@davemloft.net>
82425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82427 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82429         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
82430         of x86_64 when setting libc_cv_slibdir, libdir and
82431         libc_cv_localedir.
82432         * sysdeps/unix/sysv/linux/configure: Regenerated.
82434 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82436         * manual/lang.texi (Old Varargs): Remove section.
82437         (How Variadic): Update menu.
82438         (va_start): Do not mention varargs.h.
82440 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82441             Joseph Myers  <joseph@codesourcery.com>
82443         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
82444         link test.
82445         * configure: Regenerated.
82447 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82449         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
82450         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
82451         conformtest.pl
82453 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82455         * NOTES: Remove.
82456         * Makefile (files-for-dist): Remove NOTES.
82457         (NOTES): Remove rule.
82458         * README: Don't refer to NOTES.
82459         * manual/creature.texi: Don't include macros.texi.
82460         * manual/intro.texi (creature.texi): Remove comment referring to
82461         NOTES.
82463         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
82464         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
82465         * configure: Regenerated.
82466         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
82467         LIBC_TRY_CC_OPTION.
82468         (libc_cv_as_i686): Likewise.
82469         (libc_cv_cc_avx): Likewise.
82470         (libc_cv_cc_sse2avx): Likewise.
82471         (libc_cv_cc_fma4): Likewise.
82472         (libc_cv_cc_novzeroupper): Likewise.
82473         * sysdeps/i386/configure: Regenerated.
82475         [BZ #13883]
82476         * sysdeps/i386/fpu/s_cexp.S: Remove.
82477         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82478         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82479         * math/libm-test.inc (cexp_test): Add more tests.
82480         * sysdeps/i386/fpu/libm-test-ulps: Update.
82481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82483 2012-03-21  Allan McRae  <allan@archlinux.org>
82485         * timezone/Makefile: Do not install iso3166.tab and zone.tab
82487 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82489         [BZ #13871]
82490         * math/w_exp2.c: Do not include <float.h>.
82491         (o_threshold, u_threshold): Remove.
82492         (__exp2): Calculate result before checking finiteness and calling
82493         __kernel_standard.
82494         * math/w_exp2f.c: Likewise.
82495         * math/w_exp2l.c: Likewise.
82496         * math/libm-test.inc (exp2_test): Require overflow exception for
82497         1e6 input.
82499         [BZ #3866]
82500         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
82501         range of signed 64-bit integers before using fistpll.  Remove
82502         checks for whether integers fit in mantissa bits.
82503         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
82504         the range of signed 32-bit integers before using fistpl.  Remove
82505         checks for whether integers fit in mantissa bits.
82506         * sysdeps/i386/fpu/e_powl.S (p64): New object.
82507         (__ieee754_powl): Test for y outside the range of signed 64-bit
82508         integers before using fistpll.  Reduce 64-bit values to 63-bit
82509         ones as needed.
82510         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
82511         divide-by-zero is raised for zero to large negative powers.
82512         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
82513         (__ieee754_powl): Test for y outside the range of signed 64-bit
82514         integers before using fistpll.  Reduce 64-bit values to 63-bit
82515         ones as needed.
82516         * math/libm-test.inc (pow_test): Add more tests.
82518 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82520         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
82521         <stdio-common/_itoa.h>.
82522         * debug/segfault.c: Likewise.
82523         * elf/dl-cache.c: Likewise.
82524         * elf/dl-minimal.c: Likewise.
82525         * elf/dl-misc.c: Likewise.
82526         * elf/dl-sysdep.c: Likewise.
82527         * elf/dl-version.c: Likewise.
82528         * elf/rtld.c: Likewise.
82529         * hurd/hurdsock.c: Likewise.
82530         * hurd/lookup-retry.c: Likewise.
82531         * malloc/malloc.c: Likewise.
82532         * malloc/mtrace.c: Likewise.
82533         * nscd/nscd_getgr_r.c: Likewise.
82534         * nscd/nscd_getpw_r.c: Likewise.
82535         * nscd/nscd_getserv_r.c: Likewise.
82536         * posix/getopt_init.c: Likewise.
82537         * posix/wordexp.c: Likewise.
82538         * stdio-common/_itoa.c: Likewise.
82539         * stdio-common/printf_fphex.c: Likewise.
82540         * stdio-common/vfprintf.c: Likewise.
82541         * string/_strerror.c: Likewise.
82542         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
82543         * sysdeps/i386/i686/hp-timing.h: Likewise.
82544         * sysdeps/mach/_strerror.c: Likewise.
82545         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
82546         * sysdeps/mach/hurd/sethostid.c: Likewise.
82547         * sysdeps/mach/hurd/xmknodat.c: Likewise.
82548         * sysdeps/mach/xpg-strerror.c: Likewise.
82549         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
82550         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
82551         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
82552         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
82553         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
82554         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
82555         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
82556         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
82557         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
82558         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
82559         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
82560         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
82561         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
82562         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
82563         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
82564         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
82565         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
82566         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
82567         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
82568         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
82569         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
82571         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
82573         * stdio-common/_itoa.h: Moved to ...
82574         * sysdeps/generic/_itoa.h: Here.
82576         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
82578         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
82579         instead of "_itoa.h" and "_itowa.h".
82580         * stdio-common/vfprintf.: Likewise.
82582 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82584         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
82585         <bits/wordsize.h>.
82586         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
82587         (__signbit): Likewise.
82588         (llrintf): Likewise.
82589         (llrint): Likewise.
82591 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82593         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
82594         __WORDSIZE != 64.
82596 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
82598         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
82599         OVERFLOW_EXCEPTION_OK.
82600         * math/libm-test.inc ("Philosophy"): Update comment about
82601         exception testing.
82602         (OVERFLOW_EXCEPTION): Define.
82603         (OVERFLOW_EXCEPTION_OK): Likewise.
82604         (INVALID_EXCEPTION_OK): Renumber.
82605         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
82606         (IGNORE_ZERO_INF_SIGN): Likewise.
82607         (test_exceptions): Handle FE_OVERFLOW.
82608         (exp10_test): Expect overflow exceptions.
82609         (exp2_test): Likewise.
82610         (expm1_test): Likewise.
82611         (nextafter_test): Likewise.
82612         (pow_test): Likewise.
82613         (scalbn_test): Likewise.
82614         (scalbln_test): Likewise.
82616 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82618         * sysdeps/x86_64/bits/atomic.h
82619         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
82620         64bit integer.
82621         (atomic_exchange_acq): Likewise.
82622         (__arch_exchange_and_add_body): Likewise.
82623         (__arch_add_body): Likewise.
82624         (atomic_add_negative): Likewise.
82625         (atomic_add_zero): Likewise.
82627 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82629         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
82630         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
82632 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82634         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
82635         Check __x86_64__ instead of __WORDSIZE.
82637 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82639         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
82641 2012-03-19  David S. Miller  <davem@davemloft.net>
82643         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82645         * sysdeps/sparc/fpu/fenv_private.h: New file.
82646         * sysdeps/sparc/fpu/math_private.h: Use it.
82647         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
82648         Remove.
82649         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
82650         (libc_feholdexcept_setroundl): Remove.
82651         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
82652         Remove.
82653         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
82654         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
82656 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82658         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
82659         int64_t instead of long int.
82660         (INSERT_WORDS64): Likewise.
82662 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82664         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
82665         _Unwind_GetCFA return to _Unwind_Ptr first.
82667 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
82669         [BZ #13629]
82670         * math/s_clog.c: Include <float.h>.
82671         (__clog): Scale large or subnormal inputs.
82672         * math/s_clogf.c: Likewise.
82673         * math/s_clogl.c: Likewise.
82674         * math/s_clog10.c: Include <float.h>.
82675         (M_LOG10_2): Define.
82676         (__clog10): Scale large or subnormal inputs.
82677         * math/s_clog10f.c: Likewise.
82678         * math/s_clog10l.c: Likewise.
82679         * math/libm-test.inc (clog_test): Add more tests.
82680         (clog10_test): Likewise.
82681         * sysdeps/i386/fpu/libm-test-ulps: Update.
82682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82684         [BZ #11451]
82685         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
82686         x and y.
82687         * math/libm-test.inc (atan2_test): Add another test.
82689         * Makerules (common-objdir-compile): Remove.
82690         * sysdeps/unix/Makefile (config-generated): Do not add
82691         $(unix-generated) to variable.
82692         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
82693         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
82694         Remove rule.
82695         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
82696         Likewise.
82697         [generic bits/local_lim.h] (before-compile): Do not append to
82698         variable.
82699         [generic bits/local_lim.h] (common-generated): Likewise.
82700         [generic sys/param.h] (before-compile): Do not append to variable.
82701         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
82702         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
82703         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
82704         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
82705         include.
82706         [generic sys/param.h] (sys/param.h-includes): Remove variable.
82707         [generic sys/param.h] (sys/param.h-includes): Remove rule.
82708         [generic sys/param.h] ($(addprefix
82709         $(common-objpfx),$(sys/param.h-includes))): Likewise.
82710         [generic sys/param.h] (common-generated): Do not append to
82711         variable.
82712         [generic sys/param.h] (sysdep_headers): Likewise.
82713         [generic bits/errno.h] (before-compile): Do not append to
82714         variable.
82715         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
82716         rule.
82717         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
82718         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
82719         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
82720         [generic bits/errno.h] (common-generated): Do not append to
82721         variable.
82722         [generic bits/ioctls.h] (before-compile): Do not append to
82723         variable.
82724         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
82725         rule.
82726         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
82727         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
82728         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
82729         rule.
82730         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
82731         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
82732         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
82733         [generic bits/ioctls.h] (common-generated): Do not append to
82734         variable.
82735         [generic sys/syscall.h] (syscall.h): Remove variable.
82736         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
82737         rule.
82738         [generic sys/syscall.h] (before-compile): Do not append to
82739         variable.
82740         [generic sys/syscall.h] (common-generated): Likewise.
82741         * sysdeps/unix/errnos-tmpl.c: Remove file.
82742         * sysdeps/unix/errnos.awk: Likewise.
82743         * sysdeps/unix/ioctls-tmpl.c: Likewise.
82744         * sysdeps/unix/ioctls.awk: Likewise.
82745         * sysdeps/unix/mk-local_lim.c: Likewise.
82746         * sysdeps/unix/snarf-ioctls: Likewise.
82748 2012-03-19  Richard Henderson  <rth@twiddle.net>
82750         * sysdeps/i386/fpu/fenv_private.h: New file.
82751         * sysdeps/i386/fpu/math_private.h: Use it.
82752         (math_opt_barrier, math_force_eval): Remove.
82753         (libc_feholdexcept_setround_53bit): Remove.
82754         (libc_feupdateenv_53bit): Remove.
82755         * sysdeps/x86_64/fpu/math_private.h: Likewise.
82756         (math_opt_barrier, math_force_eval): Remove.
82757         (libc_feholdexcept): Remove.
82758         (libc_feholdexcept_setround): Remove.
82759         (libc_fetestexcept, libc_fesetenv): Remove.
82760         (libc_feupdateenv_test): Remove.
82761         (libc_feupdateenv, libc_feholdsetround): Remove.
82762         (libc_feresetround): Remove.
82764         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
82765         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
82767         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
82768         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
82769         (libc_feupdateenv_testl): New.
82770         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
82771         (libc_feupdateenv_testf): New.
82772         (libc_feupdateenv): Use libc_feupdateenv_test.
82773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
82774         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
82776         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
82777         (libc_feholdsetroundf, libc_feholdsetroundl): New.
82778         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
82779         (libc_feresetround_noex): New.
82780         (libc_feresetround_noexf): New.
82781         (libc_feresetround_noexl): New.
82782         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
82783         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
82784         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
82785         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
82786         SET_RESTORE_ROUND.
82787         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
82788         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
82789         (__cos): Likewise.
82790         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
82791         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
82792         SET_RESTORE_ROUND_NOEX.
82793         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
82794         SET_RESTORE_ROUND_NOEXF.
82795         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
82796         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
82797         (libc_feholdsetroundf): New.
82798         (libc_feresetround, libc_feresetroundf): New.
82800         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
82801         (libc_feholdexcept_setround_53bit): Convert from macro to function.
82802         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
82804         * sysdeps/generic/math_private.h: Include <fenv.h>.
82805         (default_libc_feholdexcept): New.
82806         (default_libc_feholdexcept_setround): New.
82807         (default_libc_fesetenv, default_libc_feupdateenv): New.
82808         (libc_feholdexcept): Only define if undefined.
82809         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
82810         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
82811         (libc_feholdexcept_setroundl): Likewise.
82812         (libc_feholdexcept_setround_53bit): Likewise.
82813         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
82814         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
82815         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
82816         (libc_feupdateenv_53bit): Likewise.
82817         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
82818         (libc_feholdexcept): Convert from macro to inline function.
82819         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
82820         (libc_fesetenv, libc_feupdateenv): Likewise.
82822         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
82823         not previously defined.
82824         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
82825         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
82826         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
82827         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
82828         * sysdeps/ieee754/flt-32/math_private.h: New file.
82829         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
82830         math_private.h below SET_FLOAT_WORD.
82831         (__isnan, __isinf_ns, __finite): Remove.
82832         (__isnanf, __isinf_nsf, __finitef): Remove.
82834 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
82836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82838 2012-03-17  David S. Miller  <davem@davemloft.net>
82840         [BZ #6471]
82841         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
82842         for 2.16.
82844 2012-03-16  David S. Miller  <davem@davemloft.net>
82846         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
82847         warnings.
82849         [BZ #6471]
82850         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
82851         properly.
82852         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
82853         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
82854         sysdep_routines when subdir is sysvipc.
82855         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
82856         __getshmlba helper.
82858         * sysdeps/sparc/fpu/libm-test/ulps: Update.
82860 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82862         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
82863         [__LP64__].
82865 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82867         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
82868         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
82869         (__lround): Renamed to ...
82870         (__llround): This.  Replace long int with long long int.
82871         Define lround functions as aliases of llround functions.
82872         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
82874 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82876         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
82877         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
82878         adresses to uintptr_t.  Replace "long int" and "unsigned long
82879         int" with "greg_t" on va_arg.
82881 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82883         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
82884         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
82886         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
82887         Move e_machine check before EI_CLASS check.  Handle x32
82888         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
82889         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
82890         SKIP_EM_IA_64 and include
82891         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
82893         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
82894         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
82895         (add_system_dir): New macro.
82897         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
82898         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
82900 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82902         [BZ #2551]
82903         [BZ #2552]
82904         [BZ #2553]
82905         [BZ #2554]
82906         [BZ #2562]
82907         [BZ #2563]
82908         [BZ #2565]
82909         [BZ #2566]
82910         [BZ #2576]
82911         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
82912         (y0): Likewise.
82913         * math/w_j0f.c (j0f): Likewise.
82914         (y0f): Likewise.
82915         * math/w_j0l.c (__j0l): Likewise.
82916         (__y0l): Likewise.
82917         * math/w_j1.c (j1): Likewise.
82918         (y1): Likewise.
82919         * math/w_j1f.c (j1f): Likewise.
82920         (y1f): Likewise.
82921         * math/w_j1l.c (__j1l): Likewise.
82922         (__y1l): Likewise.
82923         * math/w_jn.c (jn): Likewise.
82924         (yn): Likewise.
82925         * math/w_jnf.c (jnf): Likewise.
82926         (ynf): Likewise.
82927         * math/w_jnl.c (__jnl): Likewise.
82928         (__ynl): Likewise.
82929         * math/libm-test.inc (j0_test): Add more tests.
82930         (j1_test): Likewise.
82931         (jn_test): Likewise.  Add trailing semicolon to existing test.
82932         (y0_test): Likewise.
82933         (y1_test): Likewise.
82934         * sysdeps/i386/fpu/libm-test-ulps: Update.
82935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82937         [BZ #13851]
82938         [BZ #13854]
82939         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
82940         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
82941         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
82942         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
82943         (__tanl): Set errno for infinite argument.
82944         * sysdeps/i386/fpu/mptan.c: Remove.
82945         * sysdeps/i386/fpu/s_tan.S: Likewise.
82946         * sysdeps/i386/fpu/s_tanl.S: Likewise.
82947         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
82948         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
82949         * math/libm-test.inc (tan_test): Add more tests and enable more
82950         tests for double and long double.
82951         * sysdeps/i386/fpu/libm-test-ulps: Update.
82952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82954 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
82956         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
82957         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
82959 2012-03-16  Roland McGrath  <roland@hack.frob.com>
82961         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
82962         * configure.in: Use it for both main tree and add-ons.
82963         * configure: Regenerated.
82965 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
82967         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
82969 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
82971         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
82972         in comment.
82974         [BZ #13851]
82975         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
82976         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
82977         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
82978         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
82979         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
82980         infinite argument.
82981         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
82982         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
82983         != 0 for prec == 2.
82984         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
82985         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
82986         * sysdeps/i386/fpu/s_cosl.S: Likewise.
82987         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
82988         * sysdeps/i386/fpu/s_sinl.S: Likewise.
82989         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
82990         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
82991         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
82992         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
82993         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
82994         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
82995         * math/libm-test.inc (cos_test): Add more tests and enable more
82996         tests for long double.
82997         (sin_test): Likewise.
82998         (sincos_test): Likewise.
82999         * sysdeps/i386/fpu/libm-test-ulps: Update.
83000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83002 2012-03-16  David S. Miller  <davem@davemloft.net>
83004         * sysdeps/sparc/fpu/math_private.h: New file.
83006 2012-03-15  David S. Miller  <davem@davemloft.net>
83008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
83009         file.
83010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
83011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
83012         file.
83013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
83014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
83015         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
83016         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
83017         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
83018         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
83019         sysdep routines.
83020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83022         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
83023         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
83025         * sysdeps/sparc/sparc-ifunc.h: New file.
83026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
83027         sparc-ifunc.h
83028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
83029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
83030         Likewise.
83031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
83032         Likewise.
83033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
83034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
83035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
83036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
83037         Likewise.
83038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
83039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
83040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
83041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
83042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
83043         Likewise.
83044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
83045         Likewise.
83046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
83047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
83048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
83049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
83050         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
83051         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
83052         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
83053         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
83054         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
83055         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
83056         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
83057         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
83058         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
83059         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
83060         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
83061         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
83062         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
83063         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
83064         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
83065         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
83066         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
83067         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
83068         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
83069         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
83071 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
83073         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
83074         scaling.
83075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83077 2012-03-15  Andreas Jaeger  <aj@suse.de>
83079         [BZ #13852]
83080         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
83081         ieee754/flt-32 implementation for sin, cos and sincos.
83082         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
83083         * sysdeps/i386/fpu/s_cosf.S: Likewise.
83084         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
83085         * sysdeps/i386/fpu/s_sinf.S: Likewise.
83086         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
83087         ieee754/flt-32 implementation for tan.
83089         * math/libm-test.inc (cos_test): Enable some large input tests for
83090         float as well
83091         (sin_test): Likewise.
83092         (sincos_test): Likewise.
83093         (tan_test): Add tests for large input.
83095         * sysdeps/i386/fpu/libm-test-ulps: Update.
83097 2012-03-15  Andreas Jaeger  <aj@suse.de>
83099         [BZ #13658]
83100         * math/libm-test.inc (cos_test): Add more test cases.
83101         (sin_test): Likewise.
83102         (sincos_test): Likewise.
83104 2012-03-15  Andreas Jaeger  <aj@suse.de>
83106         [BZ #13837]
83107         * math/libm-test.inc (cos_test): Add a test case for large input
83108         value.
83109         (sin_test): Likewise.
83110         (sincos_test): Likewise.
83112 2012-03-15  Andreas Jaeger  <aj@suse.de>
83113             Joseph Myers  <joseph@codesourcery.com>
83115         [BZ #13658]
83116         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
83117         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
83118         * sysdeps/i386/fpu/branred.c: Likewise.
83119         * sysdeps/i386/fpu/dosincos.c: Likewise.
83120         * sysdeps/i386/fpu/mpa.c: Likewise.
83121         * sysdeps/i386/fpu/s_cos.S: Likewise.
83122         * sysdeps/i386/fpu/s_sin.S: Likewise.
83123         * sysdeps/i386/fpu/s_sincos.S: Likewise.
83124         * sysdeps/i386/fpu/sincos32.c: Likewise.
83126         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
83127         Define.
83128         (libc_feupdateenv_53bit): Define.
83129         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
83130         Define.
83131         (libc_feupdateenv_53bit): Define.
83133         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
83134         53 bit (without extend i386 double precision).
83136         * math/libm-test.inc (sincos_test): Add tests for large input.
83137         (sin): Likewise.
83138         (cos): Likewise.
83140         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
83142 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
83144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83146 2012-03-15  David S. Miller  <davem@davemloft.net>
83148         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
83149         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
83150         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
83151         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
83152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
83153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
83154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
83155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
83156         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
83157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
83158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
83159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
83160         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
83161         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
83162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
83163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
83164         file.
83165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
83166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
83167         file.
83168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
83169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
83170         file.
83171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
83172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
83173         file.
83174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
83175         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
83176         fmin/fmax sysdep routines.
83177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83179 2012-03-14  David S. Miller  <davem@davemloft.net>
83181         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
83182         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
83183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
83184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
83185         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
83186         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
83187         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
83188         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
83189         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
83190         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
83191         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
83192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
83193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
83194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
83195         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
83196         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
83197         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
83198         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
83199         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
83200         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
83201         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
83202         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
83203         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
83204         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
83205         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
83206         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
83207         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
83208         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
83209         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
83210         routines.
83211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
83212         file.
83213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
83214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
83215         file.
83216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
83217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
83218         file.
83219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
83220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
83221         file.
83222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
83223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
83224         file.
83225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
83226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
83227         file.
83228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
83229         file.
83230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
83231         file.
83232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
83233         file.
83234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
83235         New file.
83236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
83237         file.
83238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
83239         file.
83240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
83241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
83242         file.
83243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
83244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
83245         file.
83246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
83247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
83248         file.
83249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
83250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
83251         VIS3 routines.
83253         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
83254         New file.
83256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83258         * sysdeps/sparc/configure.in: New file.
83259         * sysdeps/sparc/configure: Generate.
83260         * configure.in (libc_cv_sparc_as_vis3): Substitute.
83261         * configure: Regenerate.
83262         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
83263         * config.make.in (have-as-vis3): New.
83264         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
83265         available use -Av9d instead of -Av9a.
83266         * sysdeps/sparc/sparc64/Makefile: Likewise.
83267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
83268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
83269         New file.
83270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
83271         file.
83272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
83273         New file.
83274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
83275         file.
83276         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
83277         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
83278         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
83279         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
83280         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
83282         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
83283         fzeros/fnegs to load 0x80000000 into a float register instead of
83284         using the stack.
83285         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
83287 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
83289         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83290         bits/syscall.h.
83291         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
83292         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
83293         ($(inst_includedir)/bits/syscall.h): Remove rule.
83294         ($(objpfx)bits/syscall.d): Include instead of
83295         $(objpfx)syscall-list.d.
83296         (generated): Change syscall-list.h and syscall-list.d to
83297         bits/syscall.h and bits/syscall.d.
83299 2012-03-14  Roland McGrath  <roland@hack.frob.com>
83301         [BZ #13846]
83302         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
83304 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
83306         [BZ #13841]
83307         * math/s_csqrt.c: Include <float.h>.
83308         (__csqrt): Scale large or subnormal inputs.
83309         * math/s_csqrtf.c: Likewise.
83310         * math/s_csqrtl.c: Likewise.
83311         * math/libm-test.inc (csqrt_test): Add more tests.
83312         * sysdeps/i386/fpu/libm-test-ulps: Update.
83313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83315         [BZ #13840]
83316         * math/libm-test.inc (hypot_test): Add more tests.
83318 2012-03-13  David S. Miller  <davem@davemloft.net>
83320         [BZ #13840]
83321         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
83322         double-precision for the calculation instead of scaling.
83324 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
83326         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
83327         manipulate bits before adding and subtracting TWO52[sx].
83328         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
83329         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
83330         Likewise.
83331         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
83333 2012-03-13  David S. Miller  <davem@davemloft.net>
83335         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
83336         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
83337         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
83338         rtld-global-offsets.h
83339         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83341         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
83342         large parameters.
83344         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
83346         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
83347         'err' in the ifdef scope in which it is actually used.
83349         * nss/nss_db/db-init.c: Include string.h
83351 2012-03-12  David S. Miller  <davem@davemloft.net>
83353         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83354         masking out of the most significant byte of random value used.
83355         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83356         Fix coding style in previous change.
83358         * sysdeps/unix/sysv/linux/kernel-features.h
83359         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
83360         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
83361         expression.
83362         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
83363         later.
83365 2012-03-11  David S. Miller  <davem@davemloft.net>
83367         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
83368         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
83369         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
83370         for 'resultvar' otherwise things get truncated on 64-bit.
83372         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83373         Fix masking out of the most significant byte of random value used.
83375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83377 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
83379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83381 2012-03-09  David S. Miller  <davem@davemloft.net>
83383         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
83384         variables with appropriate CPP guards.
83385         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
83386         from the frame pointer, not the stack pointer.  Correct layout
83387         comments.  Fix test on resulting framesize and the management of
83388         the outregs buffer for pltexit.  Preserve floating point return
83389         values across _dl_call_pltexit call.
83390         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
83391         framesize and the management of the outregs buffer for pltexit.
83392         Preserve floating point return values across _dl_call_pltexit
83393         call.
83394         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
83395         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
83396         (la_sparc64_gnu_pltexit): New functions.
83397         (print_exit): Fix format string for return register value.
83399 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
83401         * sunrpc/Makefile (others): Add rpcgen.
83402         ($(objpfx)rpcgen): Remove special build rule and dependency on
83403         libc.
83404         * sunrpc/rpcgen.c: New file.
83406 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
83408         [BZ #13673]
83409         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
83410         * stdio-common/bug-vfprintf-nargs.c: Likewise.
83411         * sysdeps/i386/crti.S: Likewise.
83412         * sysdeps/i386/crtn.S: Likewise.
83413         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
83414         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
83415         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
83416         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
83417         * sysdeps/sh/crti.S: Likewise.
83418         * sysdeps/sh/crtn.S: Likewise.
83419         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
83421         [BZ #13673]
83422         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
83423         with URL.
83424         * locale/programs/locfile-kw.gperf: Likewise.
83425         * locale/programs/charmap-kw.h: Regenerated.
83426         * locale/programs/locfile-kw.h: Likewise.
83428         [BZ #13673]
83429         * intl/plural.y: Replace FSF snail mail address with URL.
83430         * intl/plural.c: Regenerated.
83432 2012-03-09  Richard Henderson  <rth@twiddle.net>
83434         * include/math_private.h: Remove file.
83435         * math/math_private.h: Move file ...
83436         * sysdeps/generic/math_private.h: ... here.
83438         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
83439         * sysdeps/powerpc/fpu/math_private.h: Likewise.
83440         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83442         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
83443         and <math_private.h>.
83444         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83445         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83446         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83447         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83448         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83449         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
83450         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83451         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83452         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83453         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83454         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83455         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83456         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83457         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83458         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83459         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83460         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83461         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83462         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83463         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83464         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83465         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83466         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83467         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83468         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
83469         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83470         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83471         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83472         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83473         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83474         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83475         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83476         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
83477         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83478         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83479         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83480         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83481         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83482         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83483         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83484         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
83485         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83486         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83487         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
83488         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
83489         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83490         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
83491         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
83492         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83493         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83494         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
83495         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
83496         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
83497         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83498         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
83499         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83500         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83501         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
83502         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
83503         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
83504         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83505         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
83506         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83507         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83508         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
83509         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83510         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83511         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83512         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
83513         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
83514         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
83515         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83516         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
83517         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83518         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
83519         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
83520         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
83521         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83522         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
83523         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
83524         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
83525         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
83526         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
83527         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83528         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83529         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
83530         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
83531         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
83532         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83533         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83534         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83535         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83536         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83537         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83538         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83539         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83540         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83541         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83542         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83543         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83544         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83545         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83546         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83547         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83548         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83549         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83550         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83551         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83552         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83553         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83554         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83555         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83556         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83557         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83558         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
83559         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83560         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83561         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83562         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83563         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83564         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83565         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83566         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83567         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
83568         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83569         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83570         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
83571         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
83572         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83573         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
83574         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
83575         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83576         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83577         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
83578         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
83579         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83580         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83581         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83582         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
83583         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83584         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83585         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83586         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83587         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
83588         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
83589         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83590         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83591         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83592         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
83593         * sysdeps/ieee754/k_standard.c: Likewise.
83594         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83595         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83596         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83597         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83598         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83599         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83600         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83601         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83602         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83603         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83604         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83605         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83606         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83607         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83608         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83609         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
83610         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
83611         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
83612         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
83613         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
83614         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
83615         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
83616         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
83617         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
83618         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
83619         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
83620         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83621         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
83622         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
83623         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
83624         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
83625         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
83626         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
83627         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
83628         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
83629         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
83630         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
83631         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
83632         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
83633         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
83634         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
83635         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
83636         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
83637         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
83638         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
83639         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
83640         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
83641         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
83642         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
83643         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
83644         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
83645         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
83646         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
83647         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
83648         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
83649         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
83650         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
83651         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
83652         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
83653         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
83654         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
83655         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
83656         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
83657         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
83658         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83659         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83660         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
83661         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
83662         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
83663         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
83664         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
83665         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83666         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
83667         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
83668         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
83669         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
83670         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
83671         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
83672         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83673         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
83674         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
83675         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
83676         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
83677         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
83678         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
83679         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
83680         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
83681         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
83682         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
83683         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
83684         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
83685         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
83686         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
83687         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
83688         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
83689         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
83690         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
83691         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
83692         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
83693         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
83694         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
83695         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
83696         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
83697         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
83698         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
83699         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
83700         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
83701         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
83702         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
83703         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
83704         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
83705         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
83706         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
83707         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83708         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
83709         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83710         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
83711         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83712         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83713         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
83714         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83715         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
83716         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
83717         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
83718         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83719         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
83720         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
83721         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
83722         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
83723         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
83724         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
83725         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
83726         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
83727         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
83728         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
83729         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
83730         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
83731         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
83732         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
83733         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
83734         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
83735         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
83736         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
83737         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
83738         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83739         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
83740         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
83741         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
83742         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
83743         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
83744         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
83745         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83746         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83747         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83748         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
83749         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
83750         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
83751         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
83752         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
83753         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
83754         * sysdeps/ieee754/s_lib_version.c: Likewise.
83755         * sysdeps/ieee754/s_matherr.c: Likewise.
83756         * sysdeps/ieee754/s_signgam.c: Likewise.
83757         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
83758         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
83759         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
83760         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
83761         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
83762         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
83763         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
83764         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
83765         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
83766         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
83767         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
83768         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
83769         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83770         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83771         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
83772         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
83773         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
83774         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
83775         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
83776         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83777         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83779 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
83781         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
83782         * sunrpc/rpc_main.c: Likewise.
83783         * sunrpc/rpc_svcout.c: Likewise.
83785 2012-03-09  David S. Miller  <davem@davemloft.net>
83787         * include/math_private.h: New file.
83789 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
83791         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
83792         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
83793         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
83794         from <bits/socket_type.h>.
83795         (enum __socket_type): Don't define here.
83796         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
83797         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83798         bits/socket_type.h.
83800         [BZ #13566]
83801         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
83802         checking __USE_GNU.
83804         * Makerules ($(inst_includedir)/%.h): New rule.
83805         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
83806         (install-others): Remove variable setting.
83807         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
83809 2012-03-08  Richard Henderson  <rth@twiddle.net>
83811         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
83812         from macro to inline function; merge with the
83813         !__LIBC_INTERNAL_MATH_INLINES version.
83814         (__ieee754_sqrtf): Likewise.
83816         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
83817         to inline function.
83818         (__rintf, __floor, __floorf): Likewise.
83820         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
83821         macro to inline function.
83822         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
83824         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
83825         not <math/math_private.h>.
83827 2012-03-08  David S. Miller  <davem@davemloft.net>
83829         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
83830         copyright year.
83831         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
83833 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
83835         * resolv/gai_misc.c (handle_requests): Fix struct timespec
83836         normalization.
83837         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
83838         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
83840 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
83842         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
83843         be defined individually, they must be defined as a block.  Define
83844         S for printing a string instead of hidint the different by using a
83845         macro for adding the 'l'.
83846         * stdio-common/tst-fphex-wide.c: Adjust.
83848 2012-03-07  Marek Polacek  <polacek@redhat.com>
83850         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
83852 2012-03-08  Marek Polacek  <polacek@redhat.com>
83854         [BZ #13806]
83855         * stdio-common/Makefile (tests): Add tst-fphex-wide.
83856         * stdio-common/tst-fphex.c: Define a few macros to make the
83857         test reusable.  Use them.
83858         * stdio-common/tst-fphex-wide.c: New file.
83860 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
83862         [BZ #6911]
83863         * manual/macros.texi (gnusystems): New macro.
83864         (nongnusystems): Likewise.
83865         (gnulinuxhurdsystems): Likewise.
83866         (gnuhurdsystems): Likewise..
83867         (gnulinuxsystems): Likewise.
83868         * manual/charset.texi: Use new macros or @theglibc{} to refer to
83869         variants of the GNU system, not "GNU system".
83870         * manual/conf.texi: Likewise.
83871         * manual/errno.texi: Likewise.  Update example of errno macro
83872         expansion.
83873         * manual/filesys.texi: Likewise.
83874         (getumask): Document as specific to GNU/Hurd.
83875         * manual/install.texi: Likewise.  Reword some references to
83876         GNU/Linux.
83877         * manual/intro.texi: Likewise.
83878         * manual/io.texi: Likewise.
83879         (File Name Portability): Detail which constraints are inapplicable
83880         to all GNU systems and which are only inapplicable to GNU/Hurd.
83881         * manual/job.texi: Likewise.
83882         * manual/llio.texi: Likewise.
83883         (O_NOCTTY): Document as present on GNU/Linux.
83884         * manual/maint.texi: Likewise.
83885         * manual/memory.texi: Likewise.
83886         * manual/pattern.texi: Likewise.
83887         * manual/pipe.texi: Likewise.
83888         * manual/process.texi: Likewise.
83889         * manual/resource.texi: Likewise.
83890         (RUSAGE_CHILDREN): Remove statement about specifying a particular
83891         child on GNU/Hurd.
83892         * manual/setjmp.texi: Likewise.
83893         * manual/signal.texi: Likewise.
83894         * manual/startup.texi: Likewise.
83895         * manual/stdio.texi: Likewise.
83896         * manual/terminal.texi: Likewise.
83897         (ONLCR): Document as POSIX.
83898         (OXTABS): Document availability on GNU/Linux as XTABS.
83899         (ONOEOT): Document availability separately from other bits.
83900         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
83901         * manual/time.texi: Likewise.
83902         * manual/users.texi: Likewise.
83903         * INSTALL: Regenerated.
83904         * sysdeps/gnu/errlist.c: Regenerated.
83906         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
83907         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
83908         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
83909         puts.
83910         * configure: Regenerated.
83912 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
83914         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
83915         default includes instead of AC_HEADER_CHECK.
83916         * sysdeps/i386/configure: Regenerated.
83918         [BZ #10716]
83919         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
83920         * math/s_cacoshf.c (__cacoshf): Likewise.
83921         * math/s_cacoshl.c (__cacoshl): Likewise.
83922         * math/s_casinh.c (__casinh): Set signs of result from argument.
83923         * math/s_casinhf.c (__casinhf): Likewise.
83924         * math/s_casinhl.c (__casinhl): Likewise.
83925         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
83926         (casinh_test): Add more tests.
83927         * sysdeps/i386/fpu/libm-test-ulps: Update.
83928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83930 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
83932         * po/zh_TW.po: Update from translation team.
83934         * login/Makefile (distribute): Remove variable.
83935         * catgets/Makefile: Likewise.
83936         * mach/Makefile: Likewise.
83937         * malloc/Makefile: Likewise.
83938         * misc/Makefile: Likewise.
83939         * iconv/Makefile: Likewise.
83940         * nscd/Makefile: Likewise.
83941         * hurd/Makefile: Likewise.
83942         * manual/Makefile: Likewise.
83943         * locale/Makefile: Likewise.
83944         * intl/Makefile: Likewise.
83945         * conform/Makefile: Likewise.
83946         * nss/Makefile: Likewise.
83947         * time/Makefile: Likewise.
83948         * soft-fp/Makefile: Likewise.
83949         * dirent/Makefile: Likewise.
83950         * gmon/Makefile: Likewise.
83951         * po/Makefile: Likewise.
83952         * rt/Makefile: Likewise.
83953         * socket/Makefile: Likewise.
83954         * math/Makefile: Likewise.
83955         * signal/Makefile: Likewise.
83956         * debug/Makefile: Likewise.
83957         * elf/Makefile: Likewise.
83958         * timezone/Makefile: Likewise.
83959         * stdlib/Makefile: Likewise.
83960         * iconvdata/Makefile: Likewise.
83961         * sunrpc/Makefile: Likewise.
83962         * io/Makefile: Likewise.
83963         * argp/Makefile: Likewise.
83964         * inet/Makefile: Likewise.
83965         * hesiod/Makefile: Likewise.
83966         * grp/Makefile: Likewise.
83967         * csu/Makefile: Likewise.
83968         * wctype/Makefile: Likewise.
83969         * crypt/Makefile: Likewise.
83970         * libio/Makefile: Likewise.
83971         * string/Makefile: Likewise.
83972         * nis/Makefile: Likewise.
83973         * resolv/Makefile: Likewise.
83974         * stdio-common/Makefile: Likewise.
83975         * wcsmbs/Makefile: Likewise.
83976         * dlfcn/Makefile: Likewise.
83977         * posix/Makefile: Likewise.
83979         [BZ #6959]
83980         * timezone/Makefile: Don't install timezone files, just the programs
83981         and scripts.
83983 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
83985         * nss/databases.def: Add missing gshadow entry.
83987         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
83989 2012-03-06  Marek Polacek  <polacek@redhat.com>
83991         [BZ #13726]
83992         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
83993         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
83994         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
83995         * stdio-common/tst-long-dbl-fphex.c: New file.
83997 2012-03-06  David S. Miller  <davem@davemloft.net>
83999         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84000         (set_obp_int): New function.
84001         (get_obp_int): New function.
84002         (__get_clockfreq_via_dev_openprom): Likewise.
84003         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
84004         Avoid unused variable warnings on 'val' and use builtin_expect.
84005         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
84006         __builtin_expect.
84007         (INLINE_CLONE_SYSCALL): Likewise.
84009 2012-03-05  David S. Miller  <davem@davemloft.net>
84011         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84013 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
84015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84017         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
84018         only for |x| >= 40.
84019         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84021 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
84023         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
84024         Replace gettimeofday with __vdso_gettimeofday.
84026         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84027         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
84028         __vdso_clock_gettime and __vdso_getcpu.
84030         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
84031         time with __vdso_time.
84033 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
84035         * manual/lang.texi (size_t): Note types to which size_t may be
84036         equivalent with the GNU C Library, but do not describe when
84037         differences between them are significant.
84039 2012-03-05  Andreas Jaeger  <aj@suse.de>
84041         * sysdeps/i386/fpu/libm-test-ulps: Update.
84043 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
84045         [BZ #3976]
84046         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
84047         (__ieee754_pow): Save and restore rounding mode and use
84048         round-to-nearest for main computations.
84049         * math/libm-test.inc (pow_test_tonearest): New function.
84050         (pow_test_towardzero): Likewise.
84051         (pow_test_downward): Likewise.
84052         (pow_test_upward): Likewise.
84053         (main): Call the new functions.
84054         * sysdeps/i386/fpu/libm-test-ulps: Update.
84055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84057         [BZ #3976]
84058         * math/libm-test.inc (cosh_test_tonearest): New function.
84059         (cosh_test_towardzero): Likewise.
84060         (cosh_test_downward): Likewise.
84061         (cosh_test_upward): Likewise.
84062         (sinh_test_tonearest): Likewise.
84063         (sinh_test_towardzero): Likewise.
84064         (sinh_test_downward): Likewise.
84065         (sinh_test_upward): Likewise.
84066         (main): Call the new functions.
84067         * sysdeps/i386/fpu/libm-test-ulps: Update.
84068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84070 2012-03-05  Tom de Vries  <tom@codesourcery.com>
84072         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
84073         default stack guard is set in last bytes.
84074         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
84076 2012-03-05  Kees Cook  <keescook@chromium.org>
84078         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
84080         [BZ #13656]
84081         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
84082         possibly allocate from heap instead of stack.
84083         * stdio-common/bug-vfprintf-nargs.c: New file.
84084         * stdio-common/Makefile (tests): Add nargs overflow test.
84086 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
84088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84090 2012-03-03  Marek Polacek  <polacek@redhat.com>
84092         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
84093         * math/math_private.h: Likewise.
84094         * stdlib/tst-strtod.c: Likewise.
84095         * sysdeps/i386/i486/bits/atomic.h: Likewise.
84096         * sysdeps/x86_64/bits/atomic.h: Likewise.
84098 2012-03-02  David S. Miller  <davem@davemloft.net>
84100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
84101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
84102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
84103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
84104         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
84105         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
84106         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
84107         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
84109 2012-03-02  Roland McGrath  <roland@hack.frob.com>
84111         [BZ #13792]
84112         * manual/examples/README: New file, says the example source files
84113         can be used under GPL>=2.
84114         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
84115         line containing just "*/".
84116         * manual/examples/add.c: Add copyright header (GPL>=2).
84117         * manual/examples/argp-ex1.c: Likewise.
84118         * manual/examples/argp-ex2.c: Likewise.
84119         * manual/examples/argp-ex3.c: Likewise.
84120         * manual/examples/argp-ex4.c: Likewise.
84121         * manual/examples/atexit.c: Likewise.
84122         * manual/examples/db.c: Likewise.
84123         * manual/examples/dir.c: Likewise.
84124         * manual/examples/dir2.c: Likewise.
84125         * manual/examples/execinfo.c: Likewise.
84126         * manual/examples/filecli.c: Likewise.
84127         * manual/examples/filesrv.c: Likewise.
84128         * manual/examples/fmtmsgexpl.c: Likewise.
84129         * manual/examples/genpass.c: Likewise.
84130         * manual/examples/inetcli.c: Likewise.
84131         * manual/examples/inetsrv.c: Likewise.
84132         * manual/examples/isockad.c: Likewise.
84133         * manual/examples/longopt.c: Likewise.
84134         * manual/examples/memopen.c: Likewise.
84135         * manual/examples/memstrm.c: Likewise.
84136         * manual/examples/mkfsock.c: Likewise.
84137         * manual/examples/mkisock.c: Likewise.
84138         * manual/examples/mygetpass.c: Likewise.
84139         * manual/examples/pipe.c: Likewise.
84140         * manual/examples/popen.c: Likewise.
84141         * manual/examples/rprintf.c: Likewise.
84142         * manual/examples/search.c: Likewise.
84143         * manual/examples/select.c: Likewise.
84144         * manual/examples/setjmp.c: Likewise.
84145         * manual/examples/sigh1.c: Likewise.
84146         * manual/examples/sigusr.c: Likewise.
84147         * manual/examples/stpcpy.c: Likewise.
84148         * manual/examples/strdupa.c: Likewise.
84149         * manual/examples/strftim.c: Likewise.
84150         * manual/examples/strncat.c: Likewise.
84151         * manual/examples/subopt.c: Likewise.
84152         * manual/examples/swapcontext.c: Likewise.
84153         * manual/examples/termios.c: Likewise.
84154         * manual/examples/testopt.c: Likewise.
84155         * manual/examples/testpass.c: Likewise.
84156         * manual/examples/timeval_subtract.c: Likewise.
84158         [BZ #13792]
84159         * manual/time.texi (Elapsed Time): Move timeval_subtract example
84160         function to ...
84161         * manual/timeval_subtract.c.texi: ... here, new file.
84163 2012-03-02  David S. Miller  <davem@davemloft.net>
84165         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
84167 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
84169         [BZ #3976]
84170         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
84171         (__sin): Save and restore rounding mode and use round-to-nearest
84172         for all computations.
84173         (__cos): Save and restore rounding mode and use round-to-nearest
84174         for all computations.
84175         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
84176         <fenv.h>.
84177         (tan): Save and restore rounding mode and use round-to-nearest for
84178         all computations.
84179         * math/libm-test.inc (cos_test_tonearest): New function.
84180         (cos_test_towardzero): Likewise.
84181         (cos_test_downward): Likewise.
84182         (cos_test_upward): Likewise.
84183         (sin_test_tonearest): Likewise.
84184         (sin_test_towardzero): Likewise.
84185         (sin_test_downward): Likewise.
84186         (sin_test_upward): Likewise.
84187         (tan_test_tonearest): Likewise.
84188         (tan_test_towardzero): Likewise.
84189         (tan_test_downward): Likewise.
84190         (tan_test_upward): Likewise.
84191         (main): Call the new functions.
84192         * sysdeps/i386/fpu/libm-test-ulps: Update.
84193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84195         [BZ #10135]
84196         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
84197         small n, then large n, before computing and testing k+n.
84198         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
84199         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
84200         Likewise.
84201         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
84202         Likewise.
84203         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
84204         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
84205         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
84206         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
84207         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
84208         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
84209         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
84210         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
84211         * math/libm-test.inc (scalbn_test): Add more tests.
84212         (scalbln_test): Likewise.
84214         * manual/filesys.texi (mode_t): Describe constraints on size and
84215         signedness, not exact equivalence to a particular type.
84216         (ino_t): Likewise.
84217         (ino64_t): Likewise.
84218         (dev_t): Likewise.
84219         (nlink_t): Likewise.
84220         (blkcnt_t): Likewise.
84221         (blkcnt64_t): Likewise.
84222         * manual/llio.texi (off_t): Likewise.
84224         [BZ #3976]
84225         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
84226         (__ieee754_exp): Save and restore rounding mode and use
84227         round-to-nearest for all computations.
84228         * math/libm-test.inc (exp_test_tonearest): New function.
84229         (exp_test_towardzero): Likewise.
84230         (exp_test_downward): Likewise.
84231         (exp_test_upward): Likewise.
84232         (main): Call the new functions.
84233         * sysdeps/i386/fpu/libm-test-ulps: Update.
84234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84236 2012-03-01  Chris Demetriou  <cgd@google.com>
84238         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
84239         have predictable order.
84241 2012-03-01  David S. Miller  <davem@davemloft.net>
84243         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
84245         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
84246         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
84247         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
84248         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
84250         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
84251         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
84252         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
84253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
84254         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
84255         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
84256         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
84257         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
84258         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
84260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84262         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
84263         * sysdeps/sparc/fpu/libm-test-ulps: to here.
84264         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
84266         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
84267         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84268         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84269         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
84270         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
84271         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
84272         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
84273         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84274         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84275         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
84276         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
84277         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84278         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84279         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84280         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84281         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84282         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
84283         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
84284         * sysdeps/sparc/elf/configure: Regenerated.
84286 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
84288         * configure.in (AS, LD): Require binutils 2.20 or later.
84289         * configure: Regenerated.
84290         * manual/install.texi (Tools for Compilation): Give binutils 2.20
84291         as required minimum version.
84292         * INSTALL: Regenerated.
84294         [BZ #2541]
84295         [BZ #4108]
84296         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
84297         before squaring exponent.
84298         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
84299         bottom long double and 27 bits of top long double before squaring
84300         exponent.
84301         * math/libm-test.inc (erfc_test): Add more tests.
84302         * sysdeps/i386/fpu/libm-test-ulps: Update.
84303         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84306 2012-03-01  Kai Tietz  <ktietz@redhat.com>
84308         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
84309         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
84310         containing bit-fields.
84311         * soft-fp/extended.h (_FP_UNION_E): Likewise.
84312         * soft-fp/single.h (_FP_UNION_S): Likewise.
84313         * soft-fp/double.h (_FP_UNION_D): Likewise.
84315 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84317         [BZ #13786]
84318         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
84319         not include ../strcmp.S.
84320         [USE_AS_STRNCASECMP_L]: Likewise.
84321         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
84322         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
84323         * sysdeps/i386/i686/multiarch/strncase_l-c.c
84324         (__strncasecmp_l_ia32): Define as alias to
84325         __strncasecmp_l_nonascii.
84327         [BZ #5794]
84328         * math/libm-test.inc (expm1_test): Add test for bug 5794.
84329         * sysdeps/i386/fpu/libm-test-ulps: Update.
84330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84332         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
84333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84335 2012-02-29  Jeff Law  <law@redhat.com>
84337         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
84338         out of bounds read.
84340 2012-02-29  Marek Polacek  <polacek@redhat.com>
84342         [BZ #13706]
84343         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
84344         * elf/Makefile: Add rules to run tst-unused-dep.out.
84346 2012-02-28  David S. Miller  <davem@davemloft.net>
84348         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
84349         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
84350         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
84351         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
84352         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
84353         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
84355 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84357         * math/libm-test.inc (llround_test): Move one test from
84358         lround_test.  Use TEST_f_L in moved test.
84359         (lround_test): Move misplaced test to llround_test.  Add testcase
84360         from bug 2561.
84362 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
84364         * sysdeps/x86_64/fpu/e_expf.S: New file.
84365         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
84367 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
84369         [BZ #13637]
84370         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
84371         of remain_len that may cause incomplete multi-byte character and
84372         false match.
84373         * posix/bug-regex33.c: New file.
84374         * posix/Makefile (tests): Add bug-regex33.
84376 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
84378         * manual/macros.texi: New file.
84379         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
84380         * manual/libc.texinfo: Include macros.texi.
84381         * manual/creatute.texi: Likewise.
84382         * manual/install.texi: Likewise.
84383         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
84384         @glibcadj{} in references to the GNU C Library.
84385         * manual/charset.texi: Likewise.
84386         * manual/conf.texi: Likewise.
84387         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
84388         when not using those macros.
84389         * manual/creature.texi: Likewise.
84390         * manual/crypt.texi: Likewise.
84391         * manual/errno.texi: Likewise.
84392         * manual/filesys.texi: Likewise.
84393         * manual/header.texi: Likewise.
84394         * manual/install.texi: Likewise.
84395         * manual/intro.texi: Likewise.
84396         * manual/io.texi: Likewise.
84397         * manual/job.texi: Likewise.
84398         * manual/lang.texi: Likewise.
84399         * manual/libc.texiinfo: Likewise.
84400         * manual/llio.texi: Likewise.
84401         * manual/locale.texi: Likewise.
84402         * manual/maint.texi: Likewise.
84403         * manual/math.texi: Likewise.
84404         * manual/memory.texi: Likewise.
84405         * manual/message.texi: Likewise.
84406         * manual/nss.texi: Likewise.
84407         * manual/pattern.texi: Likewise.
84408         * manual/process.texi: Likewise.
84409         * manual/resource.texi: Likewise.
84410         * manual/search.texi: Likewise.
84411         * manual/setjmp.texi: Likewise.
84412         * manual/signal.texi: Likewise.
84413         * manual/socket.texi: Likewise.
84414         * manual/startup.texi: Likewise.
84415         * manual/stdio.texi: Likewise.
84416         * manual/string.texi: Likewise.
84417         * manual/sysinfo.texi: Likewise.
84418         * manual/syslog.texi: Likewise.
84419         * manual/terminal.texi: Likewise.
84420         * manual/time.texi: Likewise.
84421         * manual/users.texi: Likewise.
84422         * INSTALL: Regenerated.
84423         * NOTES: Regenerated.
84424         * sysdeps/gnu/errlist.c: Regenerated.
84426 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
84428         * include/dirent.h: Include <dirstream.h> before
84429         <dirent/dirent.h>.
84431 2012-02-28  David S. Miller  <davem@davemloft.net>
84433         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
84434         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
84435         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
84436         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
84438 2012-02-27  David S. Miller  <davem@davemloft.net>
84440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
84441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
84442         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
84443         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
84445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
84446         frame pointer instead of stack pointer relative arg slot.
84447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84448         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84449         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84451 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
84453         [BZ #3992]
84454         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
84456 2012-02-27  David S. Miller  <davem@davemloft.net>
84458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
84459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
84462         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84463         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84464         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
84465         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
84467 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84469         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
84470         later.  Allow versions 5-9.
84471         * configure: Regenerated.
84472         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
84473         required minimum version and 4.6 as recommended version.  Do not
84474         mention bugs in GCC 2.7 and 2.8.
84475         * INSTALL: Regenerated.
84477 2012-02-27  David S. Miller  <davem@davemloft.net>
84479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
84480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
84481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
84482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
84483         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
84484         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
84485         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
84486         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
84488         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
84489         manipulate bits before adding and subtracting TWO112[sx].
84490         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
84492 2012-02-27  Roland McGrath  <roland@hack.frob.com>
84494         [BZ #13775]
84495         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
84496         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
84497         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
84498         being in POSIX, because they are in 1003.1-2008.
84500         * rt/tst-aio.c: Include <fcntl.h>.
84501         * rt/tst-aio7.c: Likewise.
84502         * rt/tst-aio64.c: Likewise.
84504         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
84506 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84508         * manual/install.texi (--with-headers): Describe headers as
84509         interface headers, not private headers.
84510         (Specific advice for GNU/Linux systems): Describe use of headers
84511         from "make headers_install", not private headers from older
84512         kernels.
84513         * INSTALL: Regenerated.
84514         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
84515         Change to 2.6.19.
84516         * sysdeps/unix/sysv/linux/configure: Regenerated.
84518         * manual/llio.texi (fclean): Remove documentation.
84520         * manual/Makefile (libc-texi-generated): New variable.  Include
84521         version.texi.
84522         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
84523         $(libc-texi-generated), not duplicated list of files.
84524         (version.texi, stamp-version): New rules.
84525         (realclean): Remove $(libc-texi-generated), not individual files
84526         from that list.  Do not remove dir-add.texinfo.
84527         * manual/libc.texinfo: Comment out uses of edition numbers and
84528         references to printed manual.  Remove last-updated dates.
84529         (EDITION): Comment out.
84530         (ISBN): Likewise.
84531         (VERSION, UPDATED): Remove.
84532         (version.texi): Include.
84534 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
84536         * sysdeps/posix/spawni.c: Include <signal.h>.
84537         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
84538         * sysdeps/pthread/aio_fsync.c: Likewise.
84540 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
84542         * conform/Makefile (tests): Run only when not cross-compiling and
84543         when fast-check is not defined.
84545         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
84546         * conform/data/limits.h-data: Fixes for POSIX2008.
84547         * conform/run-conformtest.sh: Run all tests.
84548         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
84549         headers.
84550         * include/bits/dlfcn.h: Likewise.
84551         * include/langinfo.h: Likewise.
84552         * include/monetary.h: Likewise.
84553         * include/sys/poll.h: Likewise.
84555         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
84556         for __USE_GNU.
84557         * posix/spawn.h: Define __need_sigset_t.
84558         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
84559         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
84560         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
84561         to get sigevent_t only.
84562         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
84563         only for __USE_GNU.
84564         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84565         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84566         process_vm_writev only for __USE_GNU.
84567         * termios/termios.h: Declare tcgetsid also for POSIX2008.
84569         * conform/Makefile: For now ignore errors from run-conformtest.
84570         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
84571         POSIX to avoid namespace pollution.  Don't prepend headers.
84572         * conform/data/aio.h-data: Fixes for POSIX testing.
84573         * conform/data/fcntl.h-data: Likewise.
84574         * conform/data/glob.h-data: Likewise.
84575         * conform/data/grp.h-data: Likewise.
84576         * conform/data/pthread.h-data: Likewise.
84577         * conform/data/pwd.h-data: Likewise.
84578         * conform/data/signal.h-data: Likewise.
84579         * conform/data/spawn.h-data: Likewise.
84580         * conform/data/stdio.h-data: Likewise.
84581         * conform/data/stdlib.h-data: Likewise.
84582         * conform/data/stropts.h-data: Likewise.
84583         * conform/data/sys/mman.h-data: Likewise.
84584         * conform/data/sys/stat.h-data: Likewise.
84585         * conform/data/sys/types.h-data: Likewise.
84586         * conform/data/sys/wait.h-data: Likewise.
84587         * conform/data/time.h-data: Likewise.
84588         * conform/data/unistd.h-data: Likewise.
84589         * conform/data/utime.h-data: Likewise.
84591         * io/sys/stat.h: fchmod was always in POSIX.
84592         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
84593         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
84594         * rt/aio.h: Define __need_timespec before including <time.h>.
84595         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
84596         struct.  Add forward declaration of pthread_attr_t and use it in
84597         sigevent.
84598         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
84599         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
84600         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
84601         always remove CLK_TCK definition.
84603 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
84605         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
84607 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
84609         * conform/run-conformtest.sh: New file.
84610         * conform/Makefile: Run run-conformtest for tests.
84611         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
84612         support.
84614         * conform/data/uchar.h-data: New file.
84615         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
84616         * conform/data/arpa/inet.h-data: Likewise.
84617         * conform/data/assert.h-data: Likewise.
84618         * conform/data/complex.h-data: Likewise.
84619         * conform/data/cpio.h-data: Likewise.
84620         * conform/data/ctype.h-data: Likewise.
84621         * conform/data/dirent.h-data: Likewise.
84622         * conform/data/dlfcn.h-data: Likewise.
84623         * conform/data/errno.h-data: Likewise.
84624         * conform/data/fcntl.h-data: Likewise.
84625         * conform/data/float.h-data: Likewise.
84626         * conform/data/fmtmsg.h-data: Likewise.
84627         * conform/data/fnmatch.h-data: Likewise.
84628         * conform/data/ftw.h-data: Likewise.
84629         * conform/data/glob.h-data: Likewise.
84630         * conform/data/grp.h-data: Likewise.
84631         * conform/data/iconv.h-data: Likewise.
84632         * conform/data/inttypes.h-data: Likewise.
84633         * conform/data/langinfo.h-data: Likewise.
84634         * conform/data/libgen.h-data: Likewise.
84635         * conform/data/limits.h-data: Likewise.
84636         * conform/data/locale.h-data: Likewise.
84637         * conform/data/math.h-data: Likewise.
84638         * conform/data/monetary.h-data: Likewise.
84639         * conform/data/mqueue.h-data: Likewise.
84640         * conform/data/ndbm.h-data: Likewise.
84641         * conform/data/net/if.h-data: Likewise.
84642         * conform/data/netdb.h-data: Likewise.
84643         * conform/data/netinet/in.h-data: Likewise.
84644         * conform/data/nl_types.h-data: Likewise.
84645         * conform/data/poll.h-data: Likewise.
84646         * conform/data/pthread.h-data: Likewise.
84647         * conform/data/pwd.h-data: Likewise.
84648         * conform/data/regex.h-data: Likewise.
84649         * conform/data/sched.h-data: Likewise.
84650         * conform/data/search.h-data: Likewise.
84651         * conform/data/semaphore.h-data: Likewise.
84652         * conform/data/setjmp.h-data: Likewise.
84653         * conform/data/signal.h-data: Likewise.
84654         * conform/data/spawn.h-data: Likewise.
84655         * conform/data/stdarg.h-data: Likewise.
84656         * conform/data/stdio.h-data: Likewise.
84657         * conform/data/stdlib.h-data: Likewise.
84658         * conform/data/string.h-data: Likewise.
84659         * conform/data/strings.h-data: Likewise.
84660         * conform/data/stropts.h-data: Likewise.
84661         * conform/data/sys/ipc.h-data: Likewise.
84662         * conform/data/sys/mman.h-data: Likewise.
84663         * conform/data/sys/msg.h-data: Likewise.
84664         * conform/data/sys/resource.h-data: Likewise.
84665         * conform/data/sys/select.h-data: Likewise.
84666         * conform/data/sys/sem.h-data: Likewise.
84667         * conform/data/sys/shm.h-data: Likewise.
84668         * conform/data/sys/socket.h-data: Likewise.
84669         * conform/data/sys/stat.h-data: Likewise.
84670         * conform/data/sys/statvfs.h-data: Likewise.
84671         * conform/data/sys/time.h-data: Likewise.
84672         * conform/data/sys/timeb.h-data: Likewise.
84673         * conform/data/sys/times.h-data: Likewise.
84674         * conform/data/sys/types.h-data: Likewise.
84675         * conform/data/sys/uio.h-data: Likewise.
84676         * conform/data/sys/un.h-data: Likewise.
84677         * conform/data/sys/utsname.h-data: Likewise.
84678         * conform/data/sys/wait.h-data: Likewise.
84679         * conform/data/syslog.h-data: Likewise.
84680         * conform/data/tar.h-data: Likewise.
84681         * conform/data/termios.h-data: Likewise.
84682         * conform/data/utime.h-data: Likewise.
84683         * conform/data/utmpx.h-data: Likewise.
84684         * conform/data/varargs.h-data: Likewise.
84685         * conform/data/wchar.h-data: Likewise.
84686         * conform/data/wctype.h-data: Likewise.
84687         * conform/data/wordexp.h-data: Likewise.
84689         * include/stropts.h: New file.
84690         * include/uchar.h: New file.
84691         * include/aio.h: Changes to allow conformtest.pl to use the headers.
84692         * include/assert.h: Likewise.
84693         * include/ctype.h: Likewise.
84694         * include/dirent.h: Likewise.
84695         * include/dlfcn.h: Likewise.
84696         * include/fcntl.h: Likewise.
84697         * include/fnmatch.h: Likewise.
84698         * include/glob.h: Likewise.
84699         * include/grp.h: Likewise.
84700         * include/libio.h: Likewise.
84701         * include/locale.h: Likewise.
84702         * include/math.h: Likewise.
84703         * include/net/if.h: Likewise.
84704         * include/netdb.h: Likewise.
84705         * include/netinet/in.h: Likewise.
84706         * include/pthread.h: Likewise.
84707         * include/pwd.h: Likewise.
84708         * include/regex.h: Likewise.
84709         * include/sched.h: Likewise.
84710         * include/search.h: Likewise.
84711         * include/setjmp.h: Likewise.
84712         * include/signal.h: Likewise.
84713         * include/stdio.h: Likewise.
84714         * include/stdlib.h: Likewise.
84715         * include/string.h: Likewise.
84716         * include/sys/cdefs.h: Likewise.
84717         * include/sys/mman.h: Likewise.
84718         * include/sys/msg.h: Likewise.
84719         * include/sys/resource.h: Likewise.
84720         * include/sys/select.h: Likewise.
84721         * include/sys/socket.h: Likewise.
84722         * include/sys/stat.h: Likewise.
84723         * include/sys/statvfs.h: Likewise.
84724         * include/sys/time.h: Likewise.
84725         * include/sys/times.h: Likewise.
84726         * include/sys/uio.h: Likewise.
84727         * include/sys/utsname.h: Likewise.
84728         * include/sys/wait.h: Likewise.
84729         * include/termios.h: Likewise.
84730         * include/time.h: Likewise.
84731         * include/ulimit.h: Likewise.
84732         * include/unistd.h: Likewise.
84733         * include/utime.h: Likewise.
84734         * include/wchar.h: Likewise.
84735         * include/wctype.h: Likewise.
84736         * include/wordexp.h: Likewise.
84738         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
84740         * time/time.h: TIME_UTC must be a macro.
84741         Make timespec_get available for ISO C11 only as well.
84743 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
84745         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
84746         Reported by Peng Haitao <penght@cn.fujitsu.com>.
84748 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84750         * configure.in: Use -o not -a in test for unsupported multi-arch.
84752 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84754         * manual/texinfo.tex: Update to version 2012-01-19.16.
84756 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
84758         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
84760 2012-02-24  Roland McGrath  <roland@hack.frob.com>
84762         [BZ #13738]
84763         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
84764         * manual/fdl-1.3.texi: New file.
84765         * manual/fdl-1.1.texi: File removed.
84767         [BZ #13738]
84768         * manual/libc.texinfo (FDL_VERSION): New @set.
84769         Use it for mention of FDL in cover text.
84770         (Documentation License): Use it in @include file name.
84772 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84773             Roland McGrath  <roland@hack.frob.com>
84775         [BZ #5461]
84776         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
84777         (not LONG_LONG_MAX and LONG_LONG_MIN.
84778         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
84779         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
84780         name.
84781         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
84783 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84785         [BZ #2547]
84786         [BZ #11365]
84787         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
84788         manipulate bits before adding and subtracting TWO23[sx].
84789         * math/libm-test.inc (nearbyint_test): Add more tests.
84791 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84793         [BZ #2548]
84794         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
84795         bits before adding and subtracting TWO23[sx].
84796         * math/libm-test.inc (rint_test): Add more tests.
84797         (rint_test_tonearest): Likewise.
84798         (rint_test_towardzero): Likewise.
84799         (rint_test_downward): Likewise.
84800         (rint_test_upward: Likewise.
84802 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84804         [BZ #10110]
84805         * include/stdc-predef.h: New file.  Extracted from features.h.
84806         * include/features.h: Include stdc-predef.h.
84807         * Makefile (headers): Add stdc-predef.h.
84808         * CONFORMANCE (Compiler limitations): Update.
84810 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
84812         * manual/libc.texinfo (VERSION, UPDATED): Revert.
84814 2012-02-21  David S. Miller  <davem@davemloft.net>
84816         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
84817         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84819 2012-02-20  David S. Miller  <davem@davemloft.net>
84821         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
84822         using a normal save/restore sequence, rather than allocating a
84823         dummy stack frame just to store a frame pointer and restore.
84824         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84826 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84828         * manual/install.texi: Fix stray word in line-wrapped comment.
84830 2012-02-20  David S. Miller  <davem@davemloft.net>
84832         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
84833         both binutils and gcc support GOTDATA.
84835         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
84836         "rd %pc" in the PIC register setup sequences.
84838         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
84839         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
84840         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84841         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
84842         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84843         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
84844         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84845         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84846         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
84847         (SYSCALL_ERROR_HANDLER): Likewise.
84848         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84849         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84850         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
84851         (SYSCALL_ERROR_HANDLER): Likewise.
84853         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
84854         (HAVE_GCC_GOTDATA): New.
84855         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
84856         relocation support in both binutils and gcc.
84857         * sysdeps/sparc/elf/configure: Regenerate.
84859         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
84860         * sysdeps/sparc/sparc32/elf/configure: Delete.
84861         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
84862         * sysdeps/sparc/sparc64/elf/configure: Delete.
84863         * sysdeps/sparc/elf/configure.in: New file.
84864         * sysdeps/sparc/elf/configure: Generate.
84866         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
84867         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
84868         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84869         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
84870         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
84872 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84874         * manual/install.texi: Do not mention specific glibc version
84875         numbers.
84876         * manual/libc.texinfo (VERSION, UPDATED): Update.
84877         (@copying): Use @copyright{} and range of years.
84879 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
84881         [BZ #13695]
84882         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
84883         [crti.S not in sysdirs] (generated): Do not append.
84884         [crti.S not in sysdirs] (omit-deps): Likewise.
84885         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
84886         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
84887         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
84888         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
84889         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
84890         Likewise.
84891         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
84892         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
84893         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
84894         * csu/defs.awk: Remove file.
84895         * sysdeps/generic/initfini.c: Likewise.
84896         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
84897         variable.
84898         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
84899         Likewise.
84901 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84903         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
84904         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
84905         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
84906         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
84907         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84908         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
84909         <bits/epoll.h>.
84910         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
84911         (__EPOLL_PACKED): Define to empty if not defined by
84912         <bits/epoll.h>.
84913         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
84914         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84915         bits/epoll.h.
84917 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84919         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
84920         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
84921         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
84922         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
84923         <bits/timerfd.h>.
84924         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
84925         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84926         bits/timerfd.h.
84928 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
84930         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
84931         in C locale.
84932         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84933         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
84934         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
84935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84937 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
84939         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84940         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
84942 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
84944         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
84945         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
84946         defined.
84947         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
84948         Likewise.
84949         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
84950         entry for 2.16.
84952 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
84954         * math/w_acos.c: Use non-signaling floating-point comparisons.
84955         * math/w_acosf.c: Likewise.
84956         * math/w_acosh.c: Likewise.
84957         * math/w_acoshf.c: Likewise.
84958         * math/w_acoshl.c: Likewise.
84959         * math/w_acosl.c: Likewise.
84960         * math/w_asin.c: Likewise.
84961         * math/w_asinf.c: Likewise.
84962         * math/w_asinl.c: Likewise.
84963         * math/w_atanh.c: Likewise.
84964         * math/w_atanhf.c: Likewise.
84965         * math/w_atanhl.c: Likewise.
84966         * math/w_exp2.c: Likewise.
84967         * math/w_exp2f.c: Likewise.
84968         * math/w_exp2l.c: Likewise.
84969         * math/w_j0.c: Likewise.
84970         * math/w_j0f.c: Likewise.
84971         * math/w_j0l.c: Likewise.
84972         * math/w_j1.c: Likewise.
84973         * math/w_j1f.c: Likewise.
84974         * math/w_j1l.c: Likewise.
84975         * math/w_jn.c: Likewise.
84976         * math/w_jnf.c: Likewise.
84977         * math/w_log.c: Likewise.
84978         * math/w_log10.c: Likewise.
84979         * math/w_log10f.c: Likewise.
84980         * math/w_log10l.c: Likewise.
84981         * math/w_log2.c: Likewise.
84982         * math/w_log2f.c: Likewise.
84983         * math/w_log2l.c: Likewise.
84984         * math/w_logf.c: Likewise.
84985         * math/w_logl.c: Likewise.
84986         * math/w_sqrt.c: Likewise.
84987         * math/w_sqrtf.c: Likewise.
84988         * math/w_sqrtl.c: Likewise.
84989         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84990         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
84991         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84992         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84993         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84995 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
84997         [BZ #9739]
84998         * manual/string.texi (strnlen): Use correct parameter name in
84999         equivalent expression.
85001 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85003         [BZ #11174]
85004         * manual/users.texi (seteuid): Consistently use neweuid for
85005         argument name.
85007 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85009         [BZ #13704]
85010         * manual/nss.texi (Services in the NSS configuration): Correct
85011         list of services in example configuration file.
85013 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
85015         [BZ #11322]
85016         * manual/arith.texi: Remove statements about negative zero
85017         behaving identically to zero.
85019 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
85021         [BZ #5993]
85022         * manual/install.texi: Do not document upgrading from libc5.
85024 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
85026         [BZ #4596]
85027         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
85029 2012-02-18  David S. Miller  <davem@davemloft.net>
85031         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
85032         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
85033         %o7 across the call.
85034         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
85035         instead.
85036         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
85037         SETUP_PIC_REG_LEAF.
85038         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85039         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
85040         * sysdeps/sparc/crtn.S: Likewise.
85042 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
85044         * aout/Makefile: Remove.
85046 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
85048         [BZ #13058]
85049         * manual/examples/argp-ex1.c (main): Format definition in GNU
85050         style.
85051         * manual/examples/argp-ex2.c (main): Likewise.
85052         * manual/examples/argp-ex3.c (main): Likewise.
85053         * manual/examples/argp-ex4.c (main): Likewise.
85054         * manual/examples/longopt.c (main): Use new-style prototype
85055         definition.
85056         * manual/examples/strncat.c (main): Specify return type and use
85057         (void) for arguments.
85058         * manual/examples/subopt.c (main): Use char **argv argument.
85060 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85062         [BZ #5077]
85063         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
85064         rounding modes.
85066 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
85068         [BZ #6907]
85069         * manual/string.texi (strchr): Change when strchrnul is
85070         recommended.
85072 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
85074         [BZ #174]
85075         * manual/locale.texi (setlocale): Document LOCPATH.
85077 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85079         [BZ #10210]
85080         * manual/process.texi (execle): Move @dots{} before last argument.
85082 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
85084         [BZ #12047]
85085         * manual/charset.texi (Generic Charset Conversion): Fix typo
85086         (LC_TYPE -> LC_CTYPE).
85088 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
85090         [BZ #5805]
85091         * manual/arith.texi (scalbn): Use @var{} on parameter names.
85092         (scalbnf): Likewise.
85093         (scalbnl): Likewise.
85094         (scalbln): Likewise.
85095         (scalblnf): Likewise.
85096         (scalblnl): Likewise.
85097         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
85098         (vwarnx): Likewise.
85099         (verr): Likewise.
85100         (verrx): Likewise.
85101         * manual/filesys.texi (telldir): Use braces around return type.
85102         * manual/llio.texi (mmap): Add space after comma.
85103         (mmap64): Likewise.
85104         * manual/math.texi (jn): Use @var{} on parameter names.
85105         (jnf): Likewise.
85106         (jnl): Likewise.
85107         (yn): Likewise.
85108         (ynf): Likewise.
85109         (ynl): Likewise.
85110         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
85111         line.
85112         * manual/resource.texi (ulimit): Use @dots{} instead of literal
85113         "...".
85114         (sched_get_priority_min): Remove semicolon on @deftypefun line.
85115         (sched_get_priority_max): Likewise.
85116         * manual/signal.texi (sigvec): Add space after comma.
85117         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
85118         names.
85119         (if_indextoname): Likewise.
85120         (if_freenameindex): Likewise.
85121         (sendto): Use ',' instead of '.' in prototype.
85122         * manual/startup.texi (syscall): Use @dots{} instead of literal
85123         "...".
85124         * manual/stdio.texi (__fpending): Separate initial words of
85125         paragraph from @deftypefun line.
85126         * manual/syslog.texi (syslog): Use @dots{} instead of literal
85127         "...".
85128         (vsyslog): Use @var{} on parameter names.
85129         * manual/terminal.texi (stty): Use @var{} on parameter names.
85130         * manual/users.texi (getutmp): Use @var{} on parameter names.
85131         (getutmpx): Likewise.
85133 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85135         [BZ #6884]
85136         * manual/stdio.texi (fopen): Fix typos in description of
85137         ",ccs=STRING".
85139 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
85141         [BZ #4026]
85142         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
85143         get clock_id definition.
85145 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
85147         [BZ #4822]
85148         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
85149         (madvise): Cast every argument to void on its own.
85151 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85153         [BZ #9902]
85154         * manual/startup.texi (Exit Status): Fix typo.
85156 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85158         [BZ #10140]
85159         * manual/examples/argp-ex1.c: Include <stdlib.h>.
85160         * manual/examples/argp-ex2.c: Likewise.
85161         * manual/examples/argp-ex3.c: Likewise.
85163 2012-02-16  Richard Henderson  <rth@redhat.com>
85165         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
85166         * sysdeps/s390/s390-32/initfini.c: Remove.
85167         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
85168         * sysdeps/s390/s390-64/initfini.c: Remove.
85170 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
85172         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
85173         compiler output for sysdeps/generic/initfini.c.
85174         * sysdeps/sh/elf/initfini.c: Remove file.
85176 2012-02-16  David S. Miller  <davem@davemloft.net>
85178         [BZ #11494]
85179         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
85181         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
85182         * sysdeps/sparc/crti.S: New file.
85183         * sysdeps/sparc/crtn.S: New file.
85184         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
85185         * sysdeps/sparc/sparc64/Makefile: Likewise.
85187 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
85189         [BZ #3335]
85190         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
85192 2012-02-15  Roland McGrath  <roland@hack.frob.com>
85194         [BZ #4822]
85195         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
85197         * mach/devstream.c (cookie_io_functions_t): Macro removed.
85198         (write, read, close): Likewise.
85199         Patch by Aurelien Jarno <aurelien@aurel32.net>.
85201 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
85203         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
85204         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
85205         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
85206         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
85207         <bits/signalfd.h>.
85208         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
85209         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85210         bits/signalfd.h.
85212 2012-02-14  Marek Polacek  <polacek@redhat.com>
85214         * sysdeps/x86_64/crti.S: New file.
85215         * sysdeps/x86_64/crtn.S: New file.
85216         * sysdeps/x86_64/elf/initfini.c: Remove file.
85218 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
85220         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
85221         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
85222         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
85223         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
85224         <bits/inotify.h>.
85225         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
85226         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85227         bits/inotify.h.
85229 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
85231         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
85232         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
85233         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
85234         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
85235         <bits/eventfd.h>.
85236         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
85237         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85238         bits/eventfd.h.
85240 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
85242         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
85243         __feraiseexcept instead of feraiseexcept.
85245         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
85246         nanosleep invocations.
85247         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
85248         strings, and add error checking for a nanosleep invocations.
85250 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
85252         Replace FSF snail mail address with URLs, as per GNU coding standards.
85253         Most of the snail mail addresses were wrong anyway, and omitting
85254         them makes the source code easier to maintain.  Almost all of the
85255         changes are to license notices and to locale LC_IDENTIFICATION
85256         addresses, except for this one:
85257         * manual/libc.texinfo: In "Published by", give the FSF's URL,
85258         not its snail mail address.
85260 2012-02-09  Richard Henderson  <rth@twiddle.net>
85262         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
85263         of kernel-features.h.
85265         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
85267 2012-02-08  Marek Polacek  <polacek@redhat.com>
85269         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
85270         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
85271         * sysdeps/gnu/_G_config.h: Likewise.
85272         * sysdeps/generic/_G_config.h: Likewise.
85274 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
85276         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
85277         tests.
85278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85280         * sysdeps/powerpc/powerpc32/crti.S: New file.
85281         * sysdeps/powerpc/powerpc32/crtn.S: New file.
85282         * sysdeps/powerpc/powerpc64/crti.S: New file.
85283         * sysdeps/powerpc/powerpc64/crtn.S: New file.
85285         * Makeconfig (have-initfini): Don't set.
85286         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
85287         * configure.in (nopic_initfini): Don't substitute.
85288         * config.h.in (HAVE_INITFINI): Don't #undef.
85289         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
85290         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
85292 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
85294         Support crti.S and crtn.S provided directly by architectures.
85295         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
85296         [crti.S in sysdirs] (omit-deps): Likewise.
85297         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
85298         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
85299         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
85300         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
85301         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
85302         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
85303         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
85304         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
85305         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
85306         compiler output for sysdeps/generic/initfini.c.
85307         * sysdeps/i386/elf/Makefile: Remove file.
85308         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
85310 2012-02-07  Marek Polacek  <polacek@redhat.com>
85312         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
85313         * sysdeps/gnu/_G_config.h: Likewise.
85314         * sysdeps/mach/hurd/_G_config.h: Likewise.
85316 2012-02-07  Marek Polacek  <polacek@redhat.com>
85318         * math/Makefile (tests): Add tst-CMPLX2.
85319         * math/tst-CMPLX2.c: New file.
85321 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
85323         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85325         * math/libm-test.inc (jn_test): Add missing L suffix.
85327 2012-02-06  Marek Polacek  <polacek@redhat.com>
85329         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
85330         * sysdeps/i386/fpu/e_powf.S: Likewise.
85331         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85332         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85333         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85334         * sysdeps/i386/fpu/e_pow.S: Likewise.
85335         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
85336         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85337         * sysdeps/i386/fpu/s_expm1.S: Likewise.
85338         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
85339         * sysdeps/i386/fpu/e_log2.S: Likewise.
85340         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85341         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85342         * sysdeps/i386/fpu/e_powl.S: Likewise.
85343         * sysdeps/i386/fpu/s_log1p.S: Likewise.
85344         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85345         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
85346         * sysdeps/i386/fpu/e_logl.S: Likewise.
85347         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
85348         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
85349         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
85350         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
85351         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85352         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85353         * sysdeps/i386/fpu/e_log.S: Likewise.
85354         * sysdeps/i386/fpu/s_cexp.S: Likewise.
85355         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85356         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
85357         * sysdeps/i386/fpu/e_logf.S: Likewise.
85358         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85359         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85360         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
85361         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
85362         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85363         * sysdeps/i386/fpu/e_log10.S: Likewise.
85364         * sysdeps/i386/fpu/s_frexp.S: Likewise.
85365         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85366         * sysdeps/i386/fpu/s_asinh.S: Likewise.
85367         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
85368         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85369         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
85370         * sysdeps/i386/asm-syntax.h: Likewise.
85371         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85372         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85373         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85374         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
85375         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
85376         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85377         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
85378         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
85379         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85380         * sysdeps/powerpc/sysdep.h: Likewise.
85381         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
85382         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
85384 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85386         [BZ #411]
85387         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
85389 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85391         * sysdeps/i386/sysdep.h: Include <features.h>.
85392         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
85393         version.
85395 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
85397         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
85398         Define.
85399         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
85400         LOAD_PIC_REG_STR.
85402 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85404         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
85405         (SETUP_PIC_REG): Use GET_PC_THUNK.
85406         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
85407         macro.
85409 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85411         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
85412         for non-PIC compilation.
85413         (SETUP_PIC_REG): Add .p2align directive.
85414         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
85415         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
85416         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
85417         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
85418         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
85419         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
85420         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
85421         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85422         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
85423         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
85424         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
85425         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
85426         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
85427         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
85428         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
85429         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
85430         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
85431         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
85432         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
85433         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
85434         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
85435         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
85436         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
85437         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
85438         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
85439         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
85440         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85441         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
85442         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
85443         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
85444         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
85445         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85446         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
85447         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
85448         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
85449         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
85450         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
85451         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
85452         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
85453         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
85454         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
85456 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85458         * math/tst-CMPLX.c: Include <stdio.h>.
85460 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
85462         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
85463         float.
85464         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85465         * sysdeps/sparc/bits/mathdef.h: Likewise.
85467 2012-01-31  Marek Polacek  <polacek@redhat.com>
85469         * libio/libio.h: Don't define _PARAMS.
85470         * locale/programs/config.h: Don't define PARAMS.
85471         * stdlib/strtol_l.c: Likewise.
85472         (__strtol_l): Remove PARAMS from the prototype.
85474 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
85476         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
85477         names.  Just use the correct names.  Remove unnecessary wrapper
85478         functions.
85479         * malloc/arena.c: Likewise.
85480         * malloc/hooks.c: Likewise.
85482         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
85483         ARENA_TEST says not to.  Simplify test for creation of a new arena.
85484         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
85486 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
85488         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
85489         into tail calls.
85490         (update_get_addr): New function.
85491         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
85492         GET_ADDR_MODULE parameter.
85494 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85496         * crypt/cert.c: Remove __STDC__ conditionals.
85497         * crypt/crypt-entry.c: Likewise.
85498         * crypt/crypt_util.c: Likewise.
85499         * libio/filedoalloc.c: Likewise.
85500         * libio/fileops.c: Likewise.
85501         * libio/genops.c: Likewise.
85502         * libio/iofclose.c: Likewise.
85503         * libio/iofdopen.c: Likewise.
85504         * libio/iofopen.c: Likewise.
85505         * libio/iofopen64.c: Likewise.
85506         * libio/iogetdelim.c: Likewise.
85507         * libio/iopopen.c: Likewise.
85508         * libio/obprintf.c: Likewise.
85509         * libio/oldfileops.c: Likewise.
85510         * libio/oldiofclose.c: Likewise.
85511         * libio/oldiofdopen.c: Likewise.
85512         * libio/oldiofopen.c: Likewise.
85513         * libio/oldiopopen.c: Likewise.
85514         * libio/wfiledoalloc.c: Likewise.
85515         * libio/wgenops.c: Likewise.
85516         * locale/programs/xmalloc.c: Likewise.
85517         * misc/syslog.c: Likewise.
85518         * stdio-common/xbug.c: Likewise.
85519         * string/memchr.c: Likewise.
85520         * string/memcmp.c: Likewise.
85521         * string/memrchr.c: Likewise.
85522         * string/rawmemchr.c: Likewise.
85523         * sysdeps/posix/getcwd.c: Likewise.
85524         * time/strftime_l.c: Likewise.
85526 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85528         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
85529         * config.make.in (config-cflags-sse2avx): Define.
85530         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
85531         Fix typo.
85533 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
85535         * scripts/config.guess: Update from upstream config git repository.
85536         * scripts/config.sub: Likewise.
85538 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
85540         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
85541         (EM_NUM): Update.
85542         (R_TILEPRO_*, R_TILEGX_*): New macros.
85544         * scripts/firstversions.awk: Fix bug in version range handling.
85546         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
85548         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
85550         * include/sys/epoll.h: New file.
85551         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
85552         libc_hidden_def.
85554 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
85556         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
85557         Avoid unnecessary __WORDSIZE == 64 test.
85558         (fmaxf): Use VEX format if possible.
85559         (fmax): Likewise.
85560         (fminf): Likewise.
85561         (fmin): Likewise.
85563         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
85564         * math/math_private.h: Remove libc_fegetround* and
85565         libc_fesetround*.
85566         * sysdeps/i386/configure.in: Check for -msse2avx.
85567         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
85568         also if SSE2AVX is defined.
85569         Remove libc_fegetround* and libc_fesetround*.
85570         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
85571         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
85572         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
85573         of HAS_YMM_USABLE.
85574         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85575         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85576         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85577         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85578         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85580         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
85582 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85584         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
85585         size is not set.
85586         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
85588 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
85590         [BZ #13618]
85591         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
85592         relocation.
85593         * Makeconfig (libm): Define.
85594         * elf/Makefile: Add rules to build and run tst-relsort1.
85595         * elf/tst-relsort1.c: New file.
85596         * elf/tst-relsort1mod1.c: New file.
85597         * elf/tst-relsort1mod2.c: New file.
85599 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
85601         * math/s_ldexp.c: Remove __STDC__ conditionals.
85602         * math/s_ldexpf.c: Likewise.
85603         * math/s_ldexpl.c: Likewise.
85604         * math/s_nextafter.c: Likewise.
85605         * math/s_nexttowardf.c: Likewise.
85606         * math/s_significand.c: Likewise.
85607         * math/s_significandf.c: Likewise.
85608         * math/s_significandl.c: Likewise.
85609         * math/w_jnl.c: Likewise.
85610         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85611         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85612         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85613         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85614         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85615         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85616         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
85617         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85618         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85619         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85620         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85621         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85622         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85623         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85624         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85625         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85626         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85627         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85628         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85629         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85630         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85631         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85632         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85633         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85634         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85635         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85636         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85637         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85638         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85639         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85640         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85641         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85642         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85643         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85644         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85645         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85646         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85647         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85648         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85649         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85650         * sysdeps/ieee754/k_standard.c: Likewise.
85651         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85652         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85653         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85654         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85655         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85656         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85657         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85658         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85659         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85660         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85661         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85662         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85663         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85664         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85665         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85666         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85667         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85668         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85669         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85670         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85671         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85672         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85673         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85674         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85675         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85676         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85677         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85678         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85679         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85680         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85681         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85682         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
85683         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85684         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85685         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85686         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85687         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
85688         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85689         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85690         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
85691         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
85692         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85693         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
85694         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
85695         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85696         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
85697         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
85698         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85699         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85700         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
85701         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
85702         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
85703         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
85704         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
85705         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
85706         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
85707         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
85708         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85709         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85710         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85711         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
85712         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
85713         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
85714         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
85715         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
85716         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
85717         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
85718         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
85719         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
85720         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
85721         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85722         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
85723         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
85724         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
85725         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
85726         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
85727         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
85728         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
85729         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
85730         * sysdeps/ieee754/s_matherr.c: Likewise.
85731         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
85732         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
85733         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
85734         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
85736 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
85738         * crypt/md5.h: Remove __STDC__ conditionals.
85739         * libio/libioP.h: Likewise.
85740         * locale/programs/config.h: Likewise.
85741         * sysdeps/generic/sysdep.h: Likewise.
85742         * sysdeps/i386/asm-syntax.h: Likewise.
85743         * sysdeps/s390/asm-syntax.h: Likewise.
85744         * sysdeps/unix/sysdep.h: Likewise.
85745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
85746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
85748 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
85750         * libio/libio.h: Remove __STDC__ conditionals.
85751         * malloc/obstack.h: Likewise.
85752         * math/complex.h: Likewise.
85753         * math/math.h: Likewise.
85754         * sysdeps/generic/_G_config.h: Likewise.
85755         * sysdeps/gnu/_G_config.h: Likewise.
85756         * sysdeps/mach/hurd/_G_config.h: Likewise.
85757         * sysdeps/powerpc/bits/mathdef.h: Likewise.
85758         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85759         * sysdeps/sparc/bits/mathdef.h: Likewise.
85761 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
85763         [BZ #13583]
85764         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
85765         Clean up HAS_* macros.
85766         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
85767         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
85768         possible.
85769         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
85770         HAS_AVX.
85771         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85772         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85773         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85774         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85775         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85777 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
85779         * elf/tst-unique3.cc (gets): Remove declaration.
85780         * elf/tst-unique3lib.cc (gets): Likewise.
85781         * elf/tst-unique3lib2.cc (gets): Likewise.
85782         * elf/tst-unique4.cc (gets): Likewise.
85784 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
85786         * include/stdio.h: Add C++ protection.  Add gets declarations and
85787         definitions.
85788         * debug/tst-chk1.c: Don't declare gets here.
85789         * stdio-common/tst-gets.c: Likewise.
85791 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
85793         * posix/glob: Remove directory.
85795 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
85797         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
85799 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
85801         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
85802         of the non-standard EPFNOSUPPORT.
85804 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85806         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
85807         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
85808         ANYWHERE set to 1 only on KERN_NO_SPACE error.
85810 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
85812         * wcsmbs/uchar.h: Test __STDC_VERSION__.
85814 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
85816         * nscd/aicache.c (addhstaiX): Do not cache negative results of
85817         transient errors.
85818         * nscd/grpcache.c (cache_addgr): Likewise.
85819         * nscd/hstcache.c (cache_addhst): Likewise.
85820         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85821         * nscd/pwdcache.c (cache_addpw): Likewise.
85822         * nscd/servicescache.c (cache_addserv): Likewise.
85824 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
85826         * malloc/malloc.c: Various cleanups.
85827         * malloc/hooks.c: Likewise.
85829         * stdlib/Makefile (tests): Add bug-fmtmsg1.
85830         * stdlib/bug-fmtmsg1.c: New file.
85832         * stdlib/fmtmsg.c (init): Add missing unlock.
85833         Patch by Peng Haitao <penght@cn.fujitsu.com>.
85835 2012-01-12  Marek Polacek  <polacek@redhat.com>
85837         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
85838         and _GNU_SOURCE.
85840 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
85842         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
85843         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
85844         macro to ensure uniqueness of label name.
85845         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
85846         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
85848 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
85850         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
85852         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
85853         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85854         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85855         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
85857 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
85859         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
85861         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
85862         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85863         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85865         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
85867         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
85868         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85869         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85870         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
85872         * math/bits/math-finite.h: Add ldexp support.
85874 2012-01-10  Marek Polacek  <polacek@redhat.com>
85876         * locale/programs/localedef.h (show_archive_content): Add noreturn
85877         attribute.
85879 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
85881         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
85883 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85885         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
85887         * io/Makefile (headers): Add bits/poll2.h.
85889 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
85891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
85892         typo #include statement.
85894 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85896         * include/sys/cdefs.h: Define __attribute_alloc_size.
85897         * catgets/gencat.c: Add alloc_size attribute and apply consistently
85898         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
85899         * elf/pldd.c: Likewise.
85900         * iconv/iconv_charmap.c: Likewise.
85901         * iconv/iconvconfig.c: Likewise.
85902         * iconv/strtab.c: Likewise.
85903         * locale/programs/locale.c: Likewise.
85904         * locale/programs/localedef.h: Likewise.
85905         * locale/programs/simple-hash.c: Likewise.
85906         * nscd/nscd.h: Likewise.
85907         * nss/makedb.c: Likewise.
85908         * sysdeps/generic/ldconfig.h: Likewise.
85909         * locale/programs/localedef.c: Remove xmalloc prototype.
85910         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
85912 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
85914         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
85915         appropriate.
85917 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
85919         * math/Makefile (tests): Add tst-CMPLX.
85920         * math/tst-CMPLX.c: New file.
85922         * math/complex.h (CMPLXL): Fix typo.
85924         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
85925         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
85926         GLIBC_2.16.
85927         * debug/tst-chk1.c: Add poll and ppoll tests.
85928         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
85929         * include/sys/poll.h: Add hidden proto for ppoll.
85930         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
85931         * sysdeps/mach/hurd/ppoll.c: Likewise.
85932         * io/ppoll.c: Likewise.
85933         * debug/poll_chk.c: New file.
85934         * debug/ppoll_chk.c: New file.
85935         * include/bits/poll2.h: New file.
85936         * io/bits/poll2.h: New file.
85938         [BZ #1350]
85939         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
85941         * configure.in: static is always set to yes.  Remove.
85942         * config.make.in: Don't set build-static.
85943         * Makeconfig: Remove use of build-static.
85944         * dlfcn/Makefile: Likewise.
85945         * elf/Makefile: Likewise.
85946         * math/Makefile: Likewise.
85947         * misc/Makefile: Likewise.
85948         * nptl/Makefile: Likewise.
85949         * sysdeps/mach/hurd/Makefile: Likewise.
85951         * configure.in: PWD_P is not used anymore.
85952         * config.make.in: Remove PWD_P entry.
85954         * configure.in: Remove last remnants of RANLIB.
85955         No need to check for signed size_t anymore.
85956         Don't set libc_commonpagesize and libc_relro_required here for Alpha
85957         and IA-64.
85958         Remove __builtin_expect test because we require at least gcc 3.4.
85959         * aclocal.m4: Likewise.
85961         * wcsmbs/mbrtoc16.c: Implement using towc function.
85962         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
85963         * wcsmbs/wcsmbsload.c: Likewise.
85964         * iconv/gconv_simple.c: Likewise.
85965         * iconv/gconv_int.h: Likewise.
85966         * iconv/gconv_builtin.h: Likewise.
85967         * iconv/iconv_prog.c: Remove CHAR16 handling.
85969         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
85971         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
85973         * configure.in: Remove --with-elf and --enable-bounded options.
85974         Dont set base_machine for ia64.  More non-ELF conditions removed.
85975         Remove testing and setting of leading underscore information.
85976         * config.make.in (build-bounded): Set to no.
85977         * config.h.in: Remove NO_UNDERSCORES entry.
85978         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
85979         them.
85980         * csu/start.c: Remove !NO_UNDERSCORE code.
85981         * locale/localeinfo.h: Likewise.
85982         * sysdeps/generic/machine-gmon.h: Likewise.
85983         * sysdeps/generic/sysdep.h: Likewise.
85984         * sysdeps/i386/sysdep.h: Likewise.
85985         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
85986         * sysdeps/mach/sysdep.h: Likewise.
85987         * sysdeps/s390/s390-32/sysdep.h: Likewise.
85988         * sysdeps/s390/s390-64/sysdep.h: Likewise.
85989         * sysdeps/sh/sysdep.h: Likewise.
85990         * sysdeps/sparc/sparc32/alloca.S: Likewise.
85991         * sysdeps/unix/i386/sysdep.S: Likewise.
85992         * sysdeps/unix/sparc/start.c: Likewise.
85993         * sysdeps/unix/sparc/sysdep.S: Likewise.
85994         * sysdeps/unix/sparc/sysdep.h: Likewise.
85995         * sysdeps/unix/start.c: Likewise.
85996         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85997         * sysdeps/x86_64/sysdep.h: Likewise.
85999 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
86001         [BZ #13553]
86002         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
86003         for non-gcc.
86004         * argp/argp-fmtstream.h: Use const instead __const.
86005         * argp/argp.h: Likewise.
86006         * assert/assert.h: Likewise.
86007         * bits/fenv.h: Likewise.
86008         * bits/sched.h: Likewise.
86009         * bits/sigset.h: Likewise.
86010         * bits/sigthread.h: Likewise.
86011         * catgets/nl_types.h: Likewise.
86012         * conform/data/pthread.h-data: Likewise.
86013         * crypt/crypt-private.h: Likewise.
86014         * crypt/crypt.h: Likewise.
86015         * crypt/crypt_util.c: Likewise.
86016         * ctype/ctype.h: Likewise.
86017         * debug/execinfo.h: Likewise.
86018         * debug/mbsnrtowcs_chk.c: Likewise.
86019         * debug/mbsrtowcs_chk.c: Likewise.
86020         * debug/wcsnrtombs_chk.c: Likewise.
86021         * debug/wcsrtombs_chk.c: Likewise.
86022         * debug/wcstombs_chk.c: Likewise.
86023         * dirent/dirent.h: Likewise.
86024         * dlfcn/dlfcn.h: Likewise.
86025         * elf/neededtest4.c: Likewise.
86026         * grp/grp.h: Likewise.
86027         * gshadow/gshadow.h: Likewise.
86028         * iconv/gconv.h: Likewise.
86029         * iconv/gconv_int.h: Likewise.
86030         * iconv/gconv_simple.c: Likewise.
86031         * iconv/iconv.h: Likewise.
86032         * iconv/loop.c: Likewise.
86033         * iconv/skeleton.c: Likewise.
86034         * include/aio.h: Likewise.
86035         * include/aliases.h: Likewise.
86036         * include/argz.h: Likewise.
86037         * include/arpa/inet.h: Likewise.
86038         * include/assert.h: Likewise.
86039         * include/dirent.h: Likewise.
86040         * include/dlfcn.h: Likewise.
86041         * include/execinfo.h: Likewise.
86042         * include/fcntl.h: Likewise.
86043         * include/fenv.h: Likewise.
86044         * include/glob.h: Likewise.
86045         * include/grp.h: Likewise.
86046         * include/libintl.h: Likewise.
86047         * include/mntent.h: Likewise.
86048         * include/netdb.h: Likewise.
86049         * include/pwd.h: Likewise.
86050         * include/rpc/netdb.h: Likewise.
86051         * include/sched.h: Likewise.
86052         * include/search.h: Likewise.
86053         * include/shadow.h: Likewise.
86054         * include/signal.h: Likewise.
86055         * include/stdio.h: Likewise.
86056         * include/stdlib.h: Likewise.
86057         * include/string.h: Likewise.
86058         * include/sys/socket.h: Likewise.
86059         * include/sys/stat.h: Likewise.
86060         * include/sys/statfs.h: Likewise.
86061         * include/sys/statvfs.h: Likewise.
86062         * include/sys/syslog.h: Likewise.
86063         * include/sys/time.h: Likewise.
86064         * include/sys/uio.h: Likewise.
86065         * include/time.h: Likewise.
86066         * include/unistd.h: Likewise.
86067         * include/utmp.h: Likewise.
86068         * include/wchar.h: Likewise.
86069         * include/wctype.h: Likewise.
86070         * inet/aliases.h: Likewise.
86071         * inet/arpa/inet.h: Likewise.
86072         * inet/netinet/ether.h: Likewise.
86073         * inet/netinet/in.h: Likewise.
86074         * intl/libintl.h: Likewise.
86075         * io/bits/fcntl2.h: Likewise.
86076         * io/fcntl.h: Likewise.
86077         * io/ftw.h: Likewise.
86078         * io/sys/poll.h: Likewise.
86079         * io/sys/stat.h: Likewise.
86080         * io/sys/statfs.h: Likewise.
86081         * io/sys/statvfs.h: Likewise.
86082         * io/utime.h: Likewise.
86083         * libio/bits/stdio.h: Likewise.
86084         * libio/bits/stdio2.h: Likewise.
86085         * libio/libio.h: Likewise.
86086         * libio/libioP.h: Likewise.
86087         * libio/stdio.h: Likewise.
86088         * locale/lc-ctype.c: Likewise.
86089         * locale/locale.h: Likewise.
86090         * login/utmp.h: Likewise.
86091         * malloc/arena.c: Likewise.
86092         * malloc/malloc.c: Likewise.
86093         * malloc/malloc.h: Likewise.
86094         * malloc/mcheck.c: Likewise.
86095         * malloc/mtrace.c: Likewise.
86096         * math/bits/mathcalls.h: Likewise.
86097         * math/fenv.h: Likewise.
86098         * math/math_private.h: Likewise.
86099         * misc/bits/error.h: Likewise.
86100         * misc/bits/syslog.h: Likewise.
86101         * misc/err.h: Likewise.
86102         * misc/error.h: Likewise.
86103         * misc/fstab.h: Likewise.
86104         * misc/mntent.h: Likewise.
86105         * misc/regexp.h: Likewise.
86106         * misc/search.h: Likewise.
86107         * misc/sgtty.h: Likewise.
86108         * misc/sys/mman.h: Likewise.
86109         * misc/sys/syslog.h: Likewise.
86110         * misc/sys/uio.h: Likewise.
86111         * misc/sys/xattr.h: Likewise.
86112         * misc/ttyent.h: Likewise.
86113         * nis/rpcsvc/ypclnt.h: Likewise.
86114         * nss/nss.h: Likewise.
86115         * posix/bits/unistd.h: Likewise.
86116         * posix/fnmatch.h: Likewise.
86117         * posix/glob.h: Likewise.
86118         * posix/sched.h: Likewise.
86119         * posix/spawn.h: Likewise.
86120         * posix/sys/wait.h: Likewise.
86121         * posix/unistd.h: Likewise.
86122         * posix/wordexp.h: Likewise.
86123         * pwd/pwd.h: Likewise.
86124         * resolv/netdb.h: Likewise.
86125         * resource/sys/resource.h: Likewise.
86126         * rt/aio.h: Likewise.
86127         * rt/bits/mqueue2.h: Likewise.
86128         * rt/mqueue.h: Likewise.
86129         * shadow/shadow.h: Likewise.
86130         * signal/signal.h: Likewise.
86131         * socket/send.c: Likewise.
86132         * socket/sendto.c: Likewise.
86133         * socket/sys/socket.h: Likewise.
86134         * stdio-common/printf.h: Likewise.
86135         * stdlib/bits/stdlib.h: Likewise.
86136         * stdlib/fmtmsg.h: Likewise.
86137         * stdlib/monetary.h: Likewise.
86138         * stdlib/stdlib.h: Likewise.
86139         * stdlib/ucontext.h: Likewise.
86140         * streams/stropts.h: Likewise.
86141         * string/argz.h: Likewise.
86142         * string/bits/string2.h: Likewise.
86143         * string/string.h: Likewise.
86144         * string/strings.h: Likewise.
86145         * sunrpc/rpc/auth.h: Likewise.
86146         * sunrpc/rpc/auth_des.h: Likewise.
86147         * sunrpc/rpc/clnt.h: Likewise.
86148         * sunrpc/rpc/netdb.h: Likewise.
86149         * sunrpc/rpc/pmap_clnt.h: Likewise.
86150         * sunrpc/rpc/xdr.h: Likewise.
86151         * sysdeps/generic/inttypes.h: Likewise.
86152         * sysdeps/generic/net/if.h: Likewise.
86153         * sysdeps/generic/sys/swap.h: Likewise.
86154         * sysdeps/gnu/net/if.h: Likewise.
86155         * sysdeps/gnu/utmpx.h: Likewise.
86156         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
86157         * sysdeps/i386/i486/bits/string.h: Likewise.
86158         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
86159         * sysdeps/s390/bits/string.h: Likewise.
86160         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
86161         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
86162         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
86163         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
86164         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
86165         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
86166         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
86167         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
86168         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
86169         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
86170         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
86171         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
86172         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
86173         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
86174         * sysdeps/unix/sysv/linux/readv.c: Likewise.
86175         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
86176         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
86177         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86178         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
86179         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
86180         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86181         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
86182         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
86183         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
86184         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
86185         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
86186         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
86187         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86188         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
86189         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
86190         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
86191         * sysvipc/sys/ipc.h: Likewise.
86192         * sysvipc/sys/msg.h: Likewise.
86193         * sysvipc/sys/sem.h: Likewise.
86194         * sysvipc/sys/shm.h: Likewise.
86195         * termios/termios.h: Likewise.
86196         * time/sys/time.h: Likewise.
86197         * time/time.h: Likewise.
86198         * wcsmbs/bits/wchar2.h: Likewise.
86199         * wcsmbs/uchar.h: Likewise.
86200         * wcsmbs/wchar.h: Likewise.
86201         * wctype/wctype.h: Likewise.
86203         [BZ #13551]
86204         * Makeconfig: Remove all but ELF support including AIX support.
86205         * Makerules: Likewise.
86206         * config.h.in: Likewise.
86207         * config.make.in: Likewise.
86208         * configure: Likewise.
86209         * configure.in: Likewise.
86210         * csu/Makefile: Likewise.
86211         * csu/version.c: Likewise.
86212         * debug/Makefile: Likewise.
86213         * dlfcn/Makefile: Likewise.
86214         * elf/Makefile: Likewise.
86215         * extra-lib.mk: Likewise.
86216         * iconv/Makefile: Likewise.
86217         * include/libc-symbols.h: Likewise.
86218         * include/shlib-compat.h: Likewise.
86219         * resolv/Makefile: Likewise.
86220         * resolv/res_libc.c: Likewise.
86221         * rt/Makefile: Likewise.
86222         * sysdeps/i386/asm-syntax.h: Likewise.
86223         * sysdeps/i386/sysdep.h: Likewise.
86224         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
86225         * sysdeps/mach/sysdep.h: Likewise.
86226         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
86227         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
86228         * sysdeps/s390/asm-syntax.h: Likewise.
86229         * sysdeps/s390/s390-32/sysdep.h: Likewise.
86230         * sysdeps/s390/s390-64/sysdep.h: Likewise.
86231         * sysdeps/sh/sysdep.h: Likewise.
86232         * sysdeps/unix/sparc/sysdep.h: Likewise.
86233         * sysdeps/wordsize-32/divdi3.c: Likewise.
86234         * sysdeps/x86_64/sysdep.h: Likewise.
86236         * argp/Versions: Remove _argp_unlock_xxx.
86238         [BZ #13559]
86239         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
86240         * abilist/libBrokenLocale.abilist: Likewise.
86241         * abilist/libanl.abilist: Likewise.
86242         * abilist/libc.abilist: Likewise.
86243         * abilist/libcrypt.abilist: Likewise.
86244         * abilist/libdl.abilist: Likewise.
86245         * abilist/libm.abilist: Likewise.
86246         * abilist/libnsl.abilist: Likewise.
86247         * abilist/libpthread.abilist: Likewise.
86248         * abilist/libresolv.abilist: Likewise.
86249         * abilist/librt.abilist: Likewise.
86250         * abilist/libthread_db.abilist: Likewise.
86251         * abilist/libutil.abilist: Likewise.
86252         * abilist/libnss_db.abilist: New file.
86254         * scripts/abilist.awk: Add support for indirect functions.
86256         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
86258         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
86260         * shlib-versions: Remove entries for ports architectures.
86262         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
86263         files in ports.
86264         * elf/stackguard-macros.h: Remove support for IA-64.
86265         * elf/tst-auditmod1.c: Likewise.
86266         * sysdeps/generic/ldsodefs.h: Likewise.
86268         * sysdeps/unix/sysv/linux/configure.in: Ports should define
86269         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
86270         configure files.
86272         [BZ #13552]
86273         * configure.in: Remove --enable-omitfp support.
86274         * FAQ.in: Adjust.
86275         * config.make.in: Likewise.
86276         * Makeconfig: Likewise.
86277         * manual/install.texi: Likewise.
86279         In case anyone cares, the IA-64 architecture could move to ports.
86280         * sysdeps/ia64/*: Removed.
86281         * sysdeps/unix/sysv/linux/ia64/*: Removed.
86282         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
86284         [BZ #13555]
86285         * configure.in: Remove entries for unsupported architectures.
86287         [BZ #13533]
86288         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
86289         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
86290         routines.
86291         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
86292         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
86293         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
86294         fall back to using wcrtomb.
86295         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
86296         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
86297         renaming.
86298         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
86299         * wcsmbs/tst-c16c32-1.c: New file.
86301         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
86302         local variable.
86304         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
86306         * elf/tst-unique3.cc: Add explicit declaration of gets.
86307         * elf/tst-unique3lib.cc: Likewise.
86308         * elf/tst-unique3lib2.cc: Likewise.
86309         * elf/tst-unique4.cc: Likewise.
86311         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
86313 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
86315         [BZ #13566]
86316         * assert/assert.h (static_assert): Don't define for C++.
86317         * libio/stdio.h (gets): Do declare for C++ <= C++11.
86318         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
86320 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
86322         * iconv/loop.c (single loop): Fix assertion in storing of
86323         remaining bytes.
86325         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
86327 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
86329         * posix/getconf.c: Update copyright year.
86330         * nss/getent.c: Likewise.
86331         * nss/makedb.c: Likewise.
86332         * iconv/iconvconfig.c: Likewise.
86333         * iconv/iconv_prog.c: Likewise.
86334         * elf/ldconfig.c: Likewise.
86335         * elf/pldd.c: Likewise.
86336         * elf/sotruss.ksh: Likewise.
86337         * catgets/gencat.c: Likewise.
86338         * csu/version.c: Likewise.
86339         * elf/ldd.bash.in: Likewise.
86340         * elf/sprof.c (print_version): Likewise.
86341         * locale/programs/locale.c: Likewise.
86342         * locale/programs/localedef.c: Likewise.
86343         * login/programs/pt_chown.c: Likewise.
86344         * nscd/nscd.c (print_version): Likewise.
86345         * debug/xtrace.sh: Likewise.
86346         * malloc/memusage.sh: Likewise.
86347         * malloc/mtrace.pl: Likewise.
86348         * debug/catchsegv.sh: Likewise.
86350 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
86352         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
86353         pure attribute.
86355 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
86357         [BZ #13533]
86358         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
86359         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
86360         transformations.
86361         * iconv/gconv_int.h: Likewise.
86362         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
86363         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
86364         from libc for GLIBC_2.16.
86365         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
86366         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
86367         * wcsmbs/uchar.h: Really define mbstate_t.
86368         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
86369         * wcsmbs/c16rtomb.c: New file.
86370         * wcsmbs/mbrtoc16.c: New file.
86371         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
86372         for C/POSIX locale.
86373         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
86374         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
86376         * wcsmbs/wchar.h: Add missing __restrict.
86378 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86380         [BZ #13532]
86381         * time/Makefile (routines): Add timespec_get.
86382         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
86383         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
86384         timespec for ISO C11.
86385         * time/timespec_get.c: New file.
86386         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
86387         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
86389         [BZ #13531]
86390         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
86391         * stdlib/stdlib.h: Declare aligned_alloc.
86392         * Versions.def: Add GLIBC_2.16 for libc.
86393         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
86395         [BZ 13527]
86396         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
86397         ISO C11.
86399         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
86400         code.
86402         [BZ #13528]
86403         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
86405         [BZ #13529]
86406         * assert/assert.h (static_assert): Define.
86408         * version.h: Update for 2.16 development version.
86410         [BZ #13526]
86411         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
86412         _ISOC11_SOURCE.
86414         * version.h (RELEASE): Bump for 2.15 release.
86415         * include/features.h (__GLIBC_MINOR__): Bump to 15.
86417         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
86418         Patch by Marek Polacek <mpolacek@redhat.com>.
86420         * bits/byteswap.h: Protect long long constants with __extension__.
86421         * sysdeps/i386/bits/byteswap.h: Likewise.
86422         * sysdeps/ia64/bits/byteswap.h: Likewise.
86423         * sysdeps/s390/bits/byteswap.h: Likewise.
86424         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86426 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86428         [BZ #13540]
86429         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
86430         destination buffer.
86431         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
86433 2011-12-23  Marek Polacek  <polacek@redhat.com>
86435         * elf/dl-addr.c (determine_info): Add inline keyword.
86436         * elf/tst-auditmod4b.c (check_avx): Likewise.
86437         * elf/tst-auditmod6b.c (check_avx): Likewise.
86438         * elf/tst-auditmod6c.c (check_avx): Likewise.
86439         * elf/tst-auditmod7b.c (check_avx): Likewise.
86441 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86443         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
86444         !__SSE_MATH__.
86446 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86448         [BZ #13540]
86449         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
86450         processing for last bytes.
86452 2011-08-06  Bruno Haible  <bruno@clisp.org>
86454         [BZ #13061]
86455         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
86456         U+0385, not to U+1FEE.
86458         [BZ #13062]
86459         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
86460         entry for U+00A5 U+0301.
86462 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86464         [BZ #13166]
86465         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
86466         buffer for the output is too small.
86468         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
86469         optimization.
86471         [BZ #13185]
86472         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
86473         SSE flags if possible.
86475 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86477         [BZ #13540]
86478         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
86479         processing for last bytes.
86481 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
86483         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
86484         (syscall-list-default-options, syscall-list-default-condition)
86485         (syscall-list-includes): Define.
86486         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
86487         list of ABIs and options and #if conditions for each ABI.  Do not
86488         handle common syscalls between ABIs specially.
86489         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
86490         Remove.
86491         (syscall-list-variants, syscall-list-32bit-options)
86492         (syscall-list-32bit-condition, syscall-list-64bit-options)
86493         (syscall-list-64bit-condition): Define.
86494         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
86495         (syscall-list-variants, syscall-list-32bit-options)
86496         (syscall-list-32bit-condition, syscall-list-64bit-options)
86497         (syscall-list-64bit-condition): Define.
86498         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
86499         Remove.
86500         (syscall-list-variants, syscall-list-32bit-options)
86501         (syscall-list-32bit-condition, syscall-list-64bit-options)
86502         (syscall-list-64bit-condition): Define.
86503         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
86504         Remove.
86505         (syscall-list-variants, syscall-list-32bit-options)
86506         (syscall-list-32bit-condition, syscall-list-64bit-options)
86507         (syscall-list-64bit-condition): Define.
86509 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86511         * locale/iso-639.def: Add brx entry.
86513         [BZ #13328]
86514         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
86515         Proposed by Mariusz_Cukr <marcukr@op.pl>.
86517         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
86518         __feraiseexcept_renamed.
86520 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86522         [BZ #13538]
86523         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
86524         EPOLLET with unsigned values.
86525         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86526         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86528         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
86529         to large cancellation.
86530         * math/s_cacoshf.c: Likewise.
86531         * math/s_cacoshl.c: Likewise.
86533 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
86535         [BZ #13305]
86536         [BZ #12786]
86537         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
86538         * math/s_cacoshf.c: Likewise.
86539         * math/s_cacoshl.c: Likewise.
86541 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86543         [BZ #13439]
86544         * iconv/gconv.h: Define __GCONV_SWAP.
86545         * iconvdata/unicode.c: The swap bit must be stored in __flags.
86546         * iconvdata/utf-16.c: Likewise.
86547         * iconvdata/utf-32.c: Likewise.
86549 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
86551         [BZ #13524]
86552         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
86553         numerator after shifting it by one limb.
86555 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
86557         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
86558         under [__USE_EXTERN_INLINES].
86560 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86562         [BZ #13446]
86563         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
86565 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86567         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
86568         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
86569         optimized code.
86570         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
86571         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
86572         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
86573         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
86574         for strncasecmp/strncasecmp_l compilation.
86575         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
86576         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
86578 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
86580         [BZ #13484]
86581         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
86582         of __asm__.
86584 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86586         [BZ #13506]
86587         * time/tzfile.c (__tzfile_read): Check values from file header.
86589 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
86591         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
86592         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
86593         * powerpc/powerpc32/dl-start.S: Likewise.
86594         * powerpc/powerpc32/elf/start.S: Likewise.
86595         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
86596         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
86597         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
86598         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
86599         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
86600         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
86601         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
86602         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
86603         * powerpc/powerpc32/fpu/s_round.S: Likewise.
86604         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
86605         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
86606         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
86607         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
86608         * powerpc/powerpc32/memset.S: Likewise.
86609         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
86610         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
86611         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
86612         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
86613         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
86614         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
86615         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
86616         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
86617         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
86618         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
86619         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
86620         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86621         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86623 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86625         * math/libm-test.inc: Added more nearbyint tests.
86626         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
86627         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
86628         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
86629         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
86631 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
86633         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
86634         FD_CLOEXEC.
86636 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86638         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
86639         Add wcscpy-ssse3 wcscpy-c.
86640         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
86641         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
86642         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
86643         * sysdeps/x86_64/wcschr.S: New file.
86644         * sysdeps/x86_64/wcsrchr.S: New file.
86645         * string/test-strcmp.c: Remove checking of wcscmp function for
86646         wrong alignments.
86647         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
86648         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
86649         wcsrchr-sse2 wcsrchr-c.
86650         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
86651         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
86652         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
86653         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
86654         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
86655         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
86656         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
86657         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
86658         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
86659         * wcsmbc/wcschr.c (WCSCHR): New macro.
86661 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86663         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
86664         * wcsmbs/test-wcsrchr.c: New file.
86665         * string/test-strrchr.c: Add wcsrchr support.
86666         (WIDE): New macro.
86667         * wcsmbs/test-wcscpy.c: New file.
86668         * string/test-strcpy.c: Add wcscpy support.
86669         (WIDE): New macro.
86671 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
86673         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
86674         the inner loop.
86676 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
86678         [BZ #13472]
86679         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
86681 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
86683         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
86684         Minor optimizations.
86686         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
86687         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
86688         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
86690 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
86692         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
86693         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
86694         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
86695         for gcc to avoid warnings.
86696         * inet/Makefile (tests): Add tst-checks.
86697         * inet/tst-checks.c: New file.
86699         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
86700         warning.
86702         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
86703         __wmemcmp_sse2.
86705         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
86706         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
86708         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
86710 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
86712         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
86713         problem.
86715         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
86717 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
86719         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
86720         conditional on GCC version.
86721         (__arch_compare_and_exchange_val_8_acq)
86722         (__arch_compare_and_exchange_val_16_acq)
86723         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
86724         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
86725         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
86727 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
86729         * sysdeps/sh/backtrace.c: New file.
86731 2011-12-02  Andreas Schwab  <schwab@redhat.com>
86733         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
86734         parenthesis.
86736 2011-12-01  Andreas Schwab  <schwab@redhat.com>
86738         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
86739         falling back to utime.
86741 2011-11-30  Andreas Schwab  <schwab@redhat.com>
86743         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
86744         expectations for float.
86746 2011-11-29  Andreas Schwab  <schwab@redhat.com>
86748         * locale/weight.h (findidx): Add parameter len.
86749         * locale/weightwc.h (findidx): Likewise.
86750         * posix/fnmatch_loop.c (FCT): Adjust caller.
86751         * posix/regcomp.c (build_equiv_class): Likewise.
86752         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
86753         * posix/regexec.c (check_node_accept_bytes): Likewise.
86754         * string/strcoll_l.c (STRCOLL): Likewise.
86755         * string/strxfrm_l.c (STRXFRM): Likewise.
86757 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
86759         * Makefile.in: Remove CVSOPT handling.
86760         * configure.in: Remove use of AC_REVISION.
86761         * iconvdata/Makefile (distribute): No need to filter out CVS.
86762         * scripts/list-sources.sh: Remove CVS, subversion and monotone
86763         handling.
86765 2011-11-16  Andreas Schwab  <schwab@redhat.com>
86767         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
86768         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
86769         [USE_AS_STRNCASECMP_L]: Likewise.
86770         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
86771         NO_TLS_DIRECT_SEG_REFS.
86772         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
86773         Fix argument offsets for non-PIC.
86774         [USE_AS_STRNCASECMP_L]: Likewise.
86775         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
86776         NO_TLS_DIRECT_SEG_REFS.
86778 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
86780         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
86781         O_CLOEXEC.
86782         * locale/loadlocale.c (_nl_load_locale): Likewise.
86784 2011-11-15  Andreas Schwab  <schwab@redhat.com>
86786         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
86787         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
86788         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
86789         (SYSCALL_GETTIME): Set errno on error.
86791         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
86792         count references to noai6ai_cached.
86794 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
86796         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
86798         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
86799         FD_CLOEXEC for /proc/self/maps.
86801         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
86802         FD_CLOEXEC for /proc/meminfo.
86804         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
86805         gai.conf.
86807         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
86808         FD_CLOEXEC for given file.
86810         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
86812         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
86813         FD_CLOEXEC for /etc/hosts.
86814         (_gethtent): Likewise.
86816         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
86818         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
86819         cancellation and set FD_CLOEXEC for /etc/netgroup.
86821         * nss/nss_files/files-key.c (search): Don't allow cancellation when
86822         reading /etc/publickey.
86824         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
86825         allow cancellation when reading /etc/group.
86827         * nss/nss_files/files-alias.c (internal_setent): Don't allow
86828         cancellation.
86829         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
86831         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
86832         when using data file.
86834         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
86836         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
86837         (write_nis_obj): Use "c" and "e" in fopen.
86839         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
86841         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
86843         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
86845         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
86847         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
86848         locale.alias.
86850         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
86852         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
86854         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
86856         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
86857         file parsing and set FD_CLOEXEC.
86859 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
86861         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
86863 2011-11-14  Andreas Schwab  <schwab@redhat.com>
86865         * malloc/arena.c (arena_get2): Don't call reused_arena when
86866         _int_new_arena failed.
86868 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
86870         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
86871         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
86872         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
86873         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
86874         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
86875         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
86876         to compile strcasecmp and strncasecmp.
86877         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
86878         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
86880         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
86882 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
86884         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
86885         locale-defines.sym to gen-as-const-headers.
86886         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
86887         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
86888         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
86889         to compile strcasecmp and strncasecmp.
86890         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
86891         strcasecmp_l and strncasecmp_l.
86892         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
86893         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
86894         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
86895         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
86896         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
86897         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
86898         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
86899         * sysdeps/i386/i686/multiarch/strncase.S: New file.
86900         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
86901         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
86902         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
86904 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
86906         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
86907         result of SYSDEP_GETTIME_CPU to retval.
86908         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
86909         parameter list to macro.  Remove trailing semicolon.  Adjust users.
86911         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
86912         variable.
86914         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
86915         mantissa words.
86916         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
86918         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
86919         from unused variable.
86921         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
86922         DWARF definitions.
86923         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
86924         for assembling.
86926         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
86927         over namespaces.
86929         * sunrpc/rpc_prot.c (rejected): Fix case value.
86931         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
86932         unsigned long long int to avoid warnings in shift.
86934         * posix/regex_internal.c (re_string_reconstruct): Actually use result
86935         of use of trans.
86936         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
86937         variable tmp.
86939         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
86940         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
86941         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
86943         * nis/nis_table.c (nis_list): Use variable of correct type for
86944         result of __follow_path call.
86946 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86948         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
86949         of math functions ceil, trunc, floor, round, and sqrt, when
86950         avaliable on the platform.
86951         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
86952         name clash.
86953         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
86954         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
86955         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
86957 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
86959         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
86960         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
86962 2011-11-11  Roland McGrath  <roland@hack.frob.com>
86964         * include/unistd.h: Fix __readlink return type.
86965         Reported by Chris Metcalf <cmetcalf@tilera.com>.
86967 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
86969         * stdlib/ucontext.h: Undo last change for makecontext.
86971 2011-11-11  Andreas Schwab  <schwab@redhat.com>
86973         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
86975         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
86976         * setjmp/setjmp.h: Mark functions as non-leaf.
86977         * setjmp/bits/setjmp2.h: Likewise.
86978         * stdlib/ucontext.h: Likewise.
86980 2011-11-10  Andreas Schwab  <schwab@redhat.com>
86982         * malloc/arena.c (_int_new_arena): Don't increment narenas.
86983         (reused_arena): Don't check arena limit.
86984         (arena_get2): Atomically check arena limit.
86986 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
86988         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
86989         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
86991         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
86992         instructions.
86994 2011-11-07  Andreas Schwab  <schwab@redhat.com>
86996         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
86997         handler when locking.
86999         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
87000         Fix size of allocated buffer.
87002 2011-11-04  Andreas Schwab  <schwab@redhat.com>
87004         [BZ #10103]
87005         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
87006         declarations for long double functions.
87007         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
87009         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
87011 2011-11-03  Andreas Schwab  <schwab@redhat.com>
87013         * nscd/nscd.c (main): Don't start AVC thread until credentials are
87014         installed.
87016         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
87017         is disabled.
87019 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87021         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
87023 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
87025         * include/alloca.h (stackinfo_alloca_round): Define.
87026         (extend_alloca): Use it.
87027         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
87028         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
87029         here.
87031         * scripts/check-local-headers.sh: Ignore libaudit.h.
87033         * nscd/Makefile (extra-objs): Make recursively expanded.
87035 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
87037         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
87038         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
87040         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
87041         * posix/tst-rfc3484-2.c: Likewise.
87042         * posix/tst-rfc3484-3.c: Likewise.
87044         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87045         process_vm_writev.
87046         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
87047         process_vm_writev.
87048         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
87049         process_vm_writev from libc using GLIBC_2.15 version.
87051         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
87053 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
87055         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
87056         stack usage.
87058 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
87060         [BZ #13367]
87061         * nss/getent.c (initgroups_keys): Show error message in case no group
87062         names are given.
87064         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
87065         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
87066         __bump_nl_timestamp.
87067         * nscd/connections (nscd_init): When host database is served open
87068         netlink socket and request notification about configuration changes.
87069         (main_loop_poll): Track netlink file descriptor and bump timestamp
87070         in case data becomes available.
87071         (main_loop_epoll): Likewise.
87072         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
87073         (database_pers_head): Add extra_data fileds.
87074         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
87075         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
87076         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
87077         Adjust caller.
87078         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
87079         in6ai data, call __free_in6ai.
87080         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
87081         Add -DHAVE_NETLINK.
87082         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
87083         interface information.  Reuse previous data if netlink timestamp
87084         is not changed.
87085         (__bump_nl_timestamp): New function.
87086         (__free_in6ai): New function.
87088 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
87090         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
87091         close_not_cancel_no_status here.
87092         (__check_pf): Reorganize code a bit to not call close twice if OOM.
87094 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
87096         [BZ #13276]
87097         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
87098         return value.
87100         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
87101         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
87102         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
87104 2011-07-03  Andreas Jaeger  <aj@suse.de>
87106         [BZ #10709]
87107         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
87108         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
87109         * math/libm-test.inc (sin_test): Add test case.
87111 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
87113         [BZ #13337]
87114         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
87115         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
87117         * elf/chroot_canon.c (chroot_canon): Cleanups.
87119         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
87121         [BZ #13335]
87122         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
87123         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
87125         * string/test-strchr.c: Make usable for strchrnul testing.
87126         * string/test-strchrnul.c: New file.
87127         * string/Makefile (strop-tests): Add strchrnul.
87129         * po/it.po: Update from translation team.
87130         * po/es.po: Likewise.
87132 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
87134         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
87135         the three constants needed as parameters.  Drop the others.
87136         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
87137         __m128i_strloadu_tolower.
87138         Create and initialize variable zero and use it in all the places
87139         where _mm_setzero_si128 was used.
87141         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
87142         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
87143         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
87144         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
87145         anymore.
87146         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
87147         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
87148         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
87149         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
87150         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
87151         __mpranred, __mptan.
87152         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
87153         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
87154         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
87155         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
87156         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
87157         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
87158         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
87159         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
87160         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
87162 2011-10-28  Andreas Schwab  <schwab@redhat.com>
87164         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
87165         redefine if SHARED.
87166         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
87168         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
87169         wide char related routines to wcsmbs subdir.
87171 2011-10-27  Andreas Schwab  <schwab@redhat.com>
87173         [BZ #13344]
87174         * misc/sys/cdefs.h (__THROWNL): Define.
87175         * posix/unistd.h: Use __THREADNL instead of __THREAD
87176         for memory synchronization functions.
87178 2011-10-26  Roland McGrath  <roland@hack.frob.com>
87180         [BZ #13349]
87181         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
87182         doesn't exist.
87183         * manual/stdio.texi (Obstack Streams): Node removed.
87185 2011-10-26  Andreas Schwab  <schwab@redhat.com>
87187         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
87188         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87189         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87191         * math/math_private.h (math_force_eval): Allow non-addressable
87192         arguments.
87193         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
87195 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87197         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
87198         file is not needed.
87200         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
87201         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
87202         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87203         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87204         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87205         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87206         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87207         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
87208         Add AVX variants.
87209         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
87210         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
87211         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
87212         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
87213         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
87214         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
87215         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
87216         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
87217         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
87218         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
87219         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
87220         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
87221         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
87222         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
87223         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
87224         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
87225         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
87226         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
87227         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
87229         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
87230         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
87232         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
87233         place.  Use VEX encoding when compiling for AVX.
87235 2011-10-25  Andreas Schwab  <schwab@redhat.com>
87237         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
87238         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
87240         * string/test-strchr.c (do_test): Don't generate NUL bytes.
87242 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87244         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
87245         useless if() expression.
87246         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87247         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
87248         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
87249         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87250         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
87251         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87252         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87253         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87254         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
87255         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87256         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87257         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87258         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
87259         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87260         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
87261         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87262         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87263         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87264         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87266         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
87268 2011-10-25  Andreas Schwab  <schwab@redhat.com>
87270         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
87271         condition.
87272         * elf/dl-fini.c (_dl_sort_fini): Likewise.
87274 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87276         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
87277         .text section.  Avoid duplicate constants.
87278         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
87279         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87280         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87281         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87282         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87283         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87284         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87285         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87286         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
87287         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
87288         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
87289         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
87290         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
87291         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
87292         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
87293         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
87294         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
87295         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
87296         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
87297         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87298         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
87299         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
87300         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
87301         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
87302         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
87303         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
87304         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
87305         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
87306         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
87307         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
87308         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
87309         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
87310         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
87311         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
87312         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
87313         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
87314         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
87315         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
87316         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
87317         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
87318         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
87319         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
87320         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
87321         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
87322         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
87324 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
87326         * sysdeps/x86_64/dla.h: Move to ...
87327         * sysdeps/x86_64/fpu/dla.h: ...here.
87328         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
87329         situations.  Use __builtin_fma only for gcc 4.6 and up.
87331         * config.make.in: Add have-mfma4 entry.
87332         * configure.in: Substitute libc_cv_cc_fma4.
87333         * math/Makefile (dbl-only-routines): Add sincostab.
87334         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
87335         Use __sincostab not sincos.
87336         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
87337         name is a macro.
87338         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87339         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87340         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87341         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
87342         using __copysign.
87343         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
87344         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
87345         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
87346         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
87347         and __inv.
87348         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
87349         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
87350         __copysign.
87351         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
87352         define aliases when function name is a macro.
87353         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
87354         sysdeps/ieee754/dbl-64/sincos.tbl.
87355         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
87356         fma4-enabled routines.
87357         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
87358         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
87359         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
87360         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
87361         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
87362         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
87363         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
87364         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
87365         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
87366         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
87367         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
87368         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
87369         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
87370         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
87371         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
87372         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
87373         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
87374         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
87375         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
87376         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
87377         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
87378         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
87379         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
87380         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
87381         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
87382         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
87383         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
87384         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
87385         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
87386         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
87388         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
87389         rename.
87390         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87391         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87392         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87393         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87394         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87395         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87396         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87397         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87399 2011-10-24  Andreas Schwab  <schwab@redhat.com>
87401         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
87403 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87405         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
87407         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
87408         prediction.
87409         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
87411         * string/strnlen.c: Don't define STRNLEN, reverse logic.
87412         Remove unused variable magic_bits.
87413         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
87415         * string/strnlen.c: Define and use STRNLEN macro.
87416         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
87417         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
87418         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
87419         * wcsmbs/wcslen.c: Define and use WCSLEN.
87420         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
87421         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
87422         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
87423         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
87424         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
87425         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
87426         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87428 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87430         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87431         strnlen-sse2-no-bsf.
87432         Rename strlen-no-bsf to strlen-sse2-no-bsf.
87433         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
87434         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
87435         Add strnlen support.
87436         (USE_AS_STRNLEN): New macro.
87437         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
87438         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
87439         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
87440         * sysdeps/x86_64/wcslen.S: New file.
87442 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
87444         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
87445         XMM-moves are used for copying on small sizes.
87447 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87449         * wcsmbs/Makefile (strop-tests): Add wcschr.
87450         * wcsmbs/test-wcschr.c: New file.
87451         * string/test-strchr.c: Update.
87452         Add wcschr support.
87453         (WIDE): New macro.
87455 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87457         * wcsmbs/Makefile (strop-tests): Add wcslen.
87458         * wcsmbs/test-wcslen.c: New file.
87459         * string/test-strlen.c: Update.
87460         Add wcslen support.
87461         (WIDE): New macro.
87463 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87465         * po/it.po: Update from translation team.
87467 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87469         * sysdeps/x86_64/wcscmp.S: Update.
87470         Fix wrong comparison semantics.
87471         wcscmp shall use signed comparison not unsigned.
87472         Don't use substraction to avoid overflow bug.
87473         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
87474         * wcsmbc/wcscmp.c: Likewise.
87475         * string/test-strcmp.c: Likewise.
87476         Add new tests to check cases with negative values.
87478 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87480         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
87481         * sysdeps/x86_64/dla.h: ...here.  New file.
87482         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
87483         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87484         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87485         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87486         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87487         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87488         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87489         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87490         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87492 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
87494         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
87495         __ynl_finite aliases.
87497 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87499         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
87501         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
87502         define DLA_FMA.
87503         [DLA_FMA] (EMULV): Use DLA_FMA.
87504         [DLA_FMA] (MUL12): Use EMULV.
87505         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
87506         that are not needed.
87507         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87508         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87509         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87510         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87511         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87512         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87513         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87515 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
87517         * math/s_nan.c: Undef __nan.
87518         * math/s_nanf.c: Undef __nanf.
87519         * math/s_nanl.c: Undef __nanl.
87520         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
87521         "math_private.h".
87523 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87525         * math/s_catan.c: Add branch predictions.
87526         * math/s_catanf.c: Likewise.
87527         * math/s_catanh.c: Likewise.
87528         * math/s_catanhf.c: Likewise.
87529         * math/s_catanhl.c: Likewise.
87530         * math/s_catanl.c: Likewise.
87531         * math/s_cexp.c: Likewise.
87532         * math/s_cexpf.c: Likewise.
87533         * math/s_cexpl.c: Likewise.
87534         * math/s_clog.c: Likewise.
87535         * math/s_clog10.c: Likewise.
87536         * math/s_clog10f.c: Likewise.
87537         * math/s_clog10l.c: Likewise.
87538         * math/s_clogf.c: Likewise.
87539         * math/s_clogl.c: Likewise.
87540         * math/s_csqrt.c: Likewise.
87541         * math/s_csqrtf.c: Likewise.
87542         * math/s_csqrtl.c: Likewise.
87543         * math/s_ctanf.c: Likewise.
87544         * math/s_ctanh.c: Likewise.
87545         * math/s_ctanhf.c: Likewise.
87546         * math/s_ctanhl.c: Likewise.
87547         * math/s_ctanl.c: Likewise.
87549         * math/math_private.h: Define __nan, __nanf, __nanl.
87550         * math/s_cacosh.c: Include <math_private.h>.
87551         * math/s_cacoshl.c: Likewise.
87552         * math/s_casinh.c: Likewise.
87553         * math/s_casinhf.c: Likewise.
87554         * math/s_casinhl.c: Likewise.
87555         * math/s_ccos.c: Rely entire on ccosh.
87556         * math/s_ccosf.c: Rely entire on ccoshf.
87557         * math/s_ccosl.c: Rely entirely on ccoshl.
87558         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
87559         Remove tests for FE_INVALID.
87560         * math/s_ccoshf.c: Likewise.
87561         * math/s_ccoshl.c: Likewise.
87562         * math/s_csin.c: Likewise.
87563         * math/s_csinf.c: Likewise.
87564         * math/s_csinh.c Likewise.
87565         * math/s_csinhf.c: Likewise.
87566         * math/s_csinhl.c: Likewise.
87567         * math/s_csinl.c: Likewise.
87568         * math/s_ctan.c: Likewise.
87569         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
87570         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
87571         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
87573 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
87575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
87576         compilation problems.
87578         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
87579         __builtin_expect.
87581 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
87583         * sysdeps/i386/configure.in: Test for -mfma4 option.
87584         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
87585         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
87586         COMMON_CPUID_INDEX_80000001.
87587         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
87588         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
87589         use it if FMA3 is not supported.
87590         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
87592         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
87593         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
87595 2011-10-20  Andreas Schwab  <schwab@redhat.com>
87597         [BZ #12892]
87598         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
87599         it would create a cycle with a link time dependency.
87601 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
87603         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
87604         instruction.
87605         * string/Makefile (strop-tests): Add rawmemchr.
87606         * string/test-rawmemchr.c: New file.
87608         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
87609         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
87610         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
87611         when compiling str{,n}casecmp and when AVX is available.  Hook up
87612         new optimized code in initializers.
87614 2011-10-19  Andreas Schwab  <schwab@redhat.com>
87616         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
87617         __feraiseexcept instead of feraiseexcept.
87619 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
87621         * math/math_private.h: Define defaults for libc_fetestexcept and
87622         libc_feupdateenv.
87623         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
87624         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
87625         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87626         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
87627         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
87628         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87629         libc_fetestexcept and libc_feupdateenv.
87631         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
87632         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
87633         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
87634         * sysdeps/x86_64/fpu/math_private.h: Define special version of
87635         libc_feholdexcept_setround.
87637         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
87638         Add s_nearbyint-c and s_nearbyintf-c.
87639         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
87640         nearbyintf inlines.
87641         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
87642         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
87643         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
87644         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
87646         * math/math_private.h: Define defaults for libc_fegetround,
87647         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
87648         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
87649         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
87650         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
87651         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
87652         standard functions.
87653         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87654         Remove comments and hacks for old compiler versions.
87655         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87656         libc_fegetround, libc_fesetround, libc_feholdexcept, and
87657         libc_feholdexceptl.
87659 2011-10-18  Andreas Schwab  <schwab@redhat.com>
87661         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
87662         (__feraiseexcept_renamed): Add __NTH.
87663         (feraiseexcept): Add __NTH.  Rename local variables to fix
87664         namespace violations.
87666 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
87668         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
87670         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
87672         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
87673         recently added interfaces.
87674         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
87676         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
87677         about macro parameter expansion.
87679         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
87680         __NO_MATH_INLINES is defined.  Cleanups.
87682         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
87683         and __floorf is target has SSE4.1.
87684         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
87685         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
87686         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
87687         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
87689         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
87690         name.
87691         (floorf): Likewise.
87693         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
87695 2011-10-17  Andreas Schwab  <schwab@redhat.com>
87697         * misc/sys/cdefs.h: Fix last change.
87699         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
87700         database lookup.
87702 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
87704         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
87706         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
87707         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87708         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
87709         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87710         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87711         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
87712         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87713         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87714         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
87715         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
87716         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
87717         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
87718         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
87719         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
87720         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
87721         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
87722         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
87723         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
87724         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
87725         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
87726         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
87727         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
87729         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
87730         ceil, ceilf, floor, floorf.
87732         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
87733         Perform IRELATIVE relocations last.
87735         * elf/do-rel.h: Add another parameter nrelative, replacing the
87736         local variable with the same name.  Change name of the function
87737         to end in Rel or Rela (uppercase).
87738         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
87739         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
87740         elf_dynamic_do_##reloc function.
87742 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
87744         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
87745         is sufficient, at least on modern CPUs.
87747         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
87749         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
87750         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
87752         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
87753         __expl_finite.
87754         * math/bits/math-finite.h: Add entries for exp.
87755         * math/e_expl.c: Add __*_finite alias.
87756         * sysdeps/i386/fpu/e_exp.S: Likewise.
87757         * sysdeps/i386/fpu/e_expf.S: Likewise.
87758         * sysdeps/i386/fpu/e_expl.c: Likewise.
87759         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87760         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
87761         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
87762         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
87763         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
87764         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
87765         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
87767         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
87768         is sufficient, at least on modern CPUs.
87770         * ctype/ctype-info.c (__ctype_init): Define.
87771         * include/ctype.h (__ctype_init): Declare.
87772         (__ctype_b_loc): The variable is always initialized.
87773         (__ctype_toupper_loc): Likewise.
87774         (__ctype_tolower_loc): Likewise.
87775         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
87776         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
87778 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
87780         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
87782         * configure.in: Also look in $cxxmachine/include for C++ system
87783         headers.
87785 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87787         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
87788         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
87789         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
87790         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
87791         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
87792         (USE_AS_WMEMCMP): New macro.
87793         Fixing indents.
87794         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
87795         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
87796         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
87797         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
87798         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87799         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
87800         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
87801         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
87802         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
87803         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
87804         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
87805         (USE_AS_WMEMCMP): New macro.
87806         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
87807         * sysdeps/string/test-memcmp.c: Update.
87808         Fix simple_wmemcmp.
87809         Add new tests.
87810         * wcsmbs/wmemcmp.c: Update.
87811         (WMEMCMP): New macro.
87812         Fix overflow bug.
87814 2011-10-12  Andreas Jaeger  <aj@suse.de>
87816         [BZ #13268]
87817         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
87819 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
87821         * libio/iofwide.c (do_length): Avoid warning.
87823         * ctype/ctype.h (__isctype_f): Add missing __THROW.
87825 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
87827         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
87829         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
87830         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
87831         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
87832         * sysdeps/i386/i686/fpu/e_log.S: New file.
87833         * sysdeps/i386/i686/fpu/e_logf.S: New file.
87834         * sysdeps/i386/i686/fpu/e_logl.S: New file.
87836         * ctype/ctype.h: Add support for inlined isXXX functions when
87837         compiling C++ code.
87839 2011-10-14  Andreas Schwab  <schwab@redhat.com>
87841         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87843         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
87845 2011-10-13  Roland McGrath  <roland@hack.frob.com>
87847         [BZ #13291]
87848         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
87850 2011-10-13  Andreas Schwab  <schwab@redhat.com>
87852         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
87853         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
87854         feraiseexcept.
87856         * sysdeps/x86_64/memrchr.S: Check for zero size.
87858         * string/stratcliff.c: Add memrchr tests.
87860 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87862         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87863         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
87864         rawmemchr-sse2 rawmemchr-sse2-bsf.
87865         * sysdeps/i386/i686/multiarch/memchr.S: New file.
87866         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
87867         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
87868         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
87869         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
87870         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
87871         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
87872         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
87873         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
87874         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
87875         * string/memrchr.c (MEMRCHR): New macro.
87877 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
87879         Add integration with gcc's -ffinite-math-only and optimize wrapper
87880         functions in libm.
87881         * Versions.def: Define GLIBC_2.15 version for libm.
87882         * math/Makefile (headers): Add bits/math-finite.h.
87883         * math/bits/math-finite.h: New file.
87884         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
87885         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
87886         * math/e_acoshl.c: Add __*_finite alias.
87887         * math/e_acosl.c: Likewise.
87888         * math/e_asinl.c: Likewise.
87889         * math/e_atan2l.c: Likewise.
87890         * math/e_atanhl.c: Likewise.
87891         * math/e_coshl.c: Likewise.
87892         * math/e_exp10.c: Likewise.
87893         * math/e_exp10f.c: Likewise.
87894         * math/e_exp10l.c: Likewise.
87895         * math/e_exp2l.c: Likewise.
87896         * math/e_fmodl.c: Likewise.
87897         * math/e_gammal_r.c: Likewise.
87898         * math/e_hypotl.c: Likewise.
87899         * math/e_j0l.c: Likewise.
87900         * math/e_j1l.c: Likewise.
87901         * math/e_jnl.c: Likewise.
87902         * math/e_lgammal_r.c: Likewise.
87903         * math/e_log10l.c: Likewise.
87904         * math/e_log2l.c: Likewise.
87905         * math/e_logl.c: Likewise.
87906         * math/e_powl.c: Likewise.
87907         * math/e_sinhl.c: Likewise.
87908         * math/e_sqrtl.c: Likewise.
87909         * math/e_scalb.c: Completely rewritten and optimized.
87910         * math/e_scalbf.c: Likewise.
87911         * math/e_scalbl.c: Likewise.
87912         * math/w_acos.c: Likewise.
87913         * math/w_acosf.c: Likewise.
87914         * math/w_acosl.c: Likewise.
87915         * math/w_acosh.c: Likewise.
87916         * math/w_acoshf.c: Likewise.
87917         * math/w_acoshl.c: Likewise.
87918         * math/w_asin.c: Likewise.
87919         * math/w_asinf.c: Likewise.
87920         * math/w_asinl.c: Likewise.
87921         * math/w_atan2.c: Likewise.
87922         * math/w_atan2f.c: Likewise.
87923         * math/w_atan2l.c: Likewise.
87924         * math/w_atanh.c: Likewise.
87925         * math/w_atanhf.c: Likewise.
87926         * math/w_atanhl.c: Likewise.
87927         * math/w_exp10.c: Likewise.
87928         * math/w_exp10f.c: Likewise.
87929         * math/w_exp10l.c: Likewise.
87930         * math/w_fmod.c: Likewise.
87931         * math/w_fmodf.c: Likewise.
87932         * math/w_fmodl.c: Likewise.
87933         * math/w_j0.c: Likewise.
87934         * math/w_j0f.c: Likewise.
87935         * math/w_j0l.c: Likewise.
87936         * math/w_j1.c: Likewise.
87937         * math/w_j1f.c: Likewise.
87938         * math/w_j1l.c: Likewise.
87939         * math/w_jn.c: Likewise.
87940         * math/w_jnf.c: Likewise.
87941         * math/w_log.c: Likewise.
87942         * math/w_logf.c: Likewise.
87943         * math/w_logl.c: Likewise.
87944         * math/w_log10.c: Likewise.
87945         * math/w_log10f.c: Likewise.
87946         * math/w_log10l.c: Likewise.
87947         * math/w_log2.c: Likewise.
87948         * math/w_log2f.c: Likewise.
87949         * math/w_log2l.c: Likewise.
87950         * math/w_pow.c: Likewise.
87951         * math/w_powf.c: Likewise.
87952         * math/w_powl.c: Likewise.
87953         * math/w_remainder.c: Likewise.
87954         * math/w_remainderf.c: Likewise.
87955         * math/w_remainderl.c: Likewise.
87956         * math/w_scalb.c: Likewise.
87957         * math/w_scalbf.c: Likewise.
87958         * math/w_scalbl.c: Likewise.
87959         * math/w_sqrt.c: Likewise.
87960         * math/w_sqrtf.c: Likewise.
87961         * math/w_sqrtl.c: Likewise.
87962         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
87963         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
87964         used.
87965         * math/math_private.h: Declare __kernel_standard_f.
87966         * math/w_cosh.c: Remove cruft and optimize a bit.
87967         * math/w_coshf.c: Likewise.
87968         * math/w_coshl.c: Likewise.
87969         * math/w_exp2.c: Likewise.
87970         * math/w_exp2f.c: Likewise.
87971         * math/w_exp2l.c: Likewise.
87972         * math/w_hypot.c: Likewise.
87973         * math/w_hypotf.c: Likewise.
87974         * math/w_hypotl.c: Likewise.
87975         * math/w_lgamma.c: Likewise.
87976         * math/w_lgamma_r.c: Likewise.
87977         * math/w_lgammaf.c: Likewise.
87978         * math/w_lgammaf_r.c: Likewise.
87979         * math/w_lgammal.c: Likewise.
87980         * math/w_lgammal_r.c: Likewise.
87981         * math/w_sinh.c: Likewise.
87982         * math/w_sinhf.c: Likewise.
87983         * math/w_sinhl.c: Likewise.
87984         * math/w_tgamma.c: Likewise.
87985         * math/w_tgammaf.c: Likewise.
87986         * math/w_tgammal.c: Likewise.
87987         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87988         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87989         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
87990         Minor optimizations.  Pretty printing.  Remove cruft.
87991         * sysdeps/i386/fpu/e_acosf.S: Likewise.
87992         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87993         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87994         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87995         * sysdeps/i386/fpu/e_acosl.c: Likewise.
87996         * sysdeps/i386/fpu/e_asin.S: Likewise.
87997         * sysdeps/i386/fpu/e_asinf.S: Likewise.
87998         * sysdeps/i386/fpu/e_atan2.S: Likewise.
87999         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
88000         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
88001         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88002         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88003         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88004         * sysdeps/i386/fpu/e_exp10.S: Likewise.
88005         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
88006         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
88007         * sysdeps/i386/fpu/e_exp2.S: Likewise.
88008         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
88009         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
88010         * sysdeps/i386/fpu/e_fmod.S: Likewise.
88011         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
88012         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
88013         * sysdeps/i386/fpu/e_hypot.S: Likewise.
88014         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
88015         * sysdeps/i386/fpu/e_log.S: Likewise.
88016         * sysdeps/i386/fpu/e_log10.S: Likewise.
88017         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88018         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88019         * sysdeps/i386/fpu/e_log2.S: Likewise.
88020         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88021         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88022         * sysdeps/i386/fpu/e_logf.S: Likewise.
88023         * sysdeps/i386/fpu/e_logl.S: Likewise.
88024         * sysdeps/i386/fpu/e_pow.S: Likewise.
88025         * sysdeps/i386/fpu/e_powf.S: Likewise.
88026         * sysdeps/i386/fpu/e_powl.S: Likewise.
88027         * sysdeps/i386/fpu/e_remainder.S: Likewise.
88028         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
88029         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
88030         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88031         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88032         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88033         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
88034         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
88035         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
88036         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
88037         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
88038         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88039         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
88040         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
88041         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
88042         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
88043         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
88044         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
88045         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
88046         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
88047         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
88048         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88049         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
88050         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
88051         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88052         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
88053         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
88054         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
88055         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88056         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
88057         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
88058         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88059         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88060         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
88061         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
88062         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
88063         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
88064         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
88065         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
88066         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
88067         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
88068         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
88069         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
88070         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
88071         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
88072         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
88073         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
88074         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
88075         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
88076         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
88077         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
88078         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
88079         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
88080         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88081         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
88082         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
88083         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
88084         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
88085         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
88086         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
88087         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
88088         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
88089         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
88090         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
88091         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
88092         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
88093         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
88094         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
88095         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
88096         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
88097         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
88098         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88099         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88100         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
88101         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
88102         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
88103         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
88104         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
88105         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
88106         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
88107         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
88108         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
88109         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
88110         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
88111         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
88112         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
88113         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
88114         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88115         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
88116         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
88117         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
88118         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
88119         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88120         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
88121         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
88122         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
88123         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
88124         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
88125         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
88126         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88127         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
88128         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
88129         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
88130         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88131         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88132         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88133         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
88134         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
88135         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
88136         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
88137         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
88138         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
88139         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
88140         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88141         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88142         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88143         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88144         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
88145         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88146         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
88147         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
88148         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
88149         (__isnanf): Likewise.
88150         (__isinf_ns): Likewise.
88151         (__isinf_nsf): Likewise.
88152         (__finite): Likewise.
88153         (__finitef): Likewise.
88154         (__ieee754_sqrt): Define as macro.
88155         (__ieee754_sqrtf): Define as macro.
88156         (__ieee754_sqrtl): Define as macro.
88157         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
88158         inlined copy.
88159         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
88160         __FINITE_MATH_ONLY__ consistent.
88161         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
88163 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
88165         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
88166         of rawmemchr.
88168         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
88170 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
88172         * po/ja.po: Update from translation team.
88174 2011-10-08  Roland McGrath  <roland@hack.frob.com>
88176         * locale/programs/locarchive.c (prepare_address_space): New function.
88177         (create_archive, enlarge_archive, open_archive): Use it.
88179         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
88180         inside [SHARED], where it is used.
88182         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
88184         * nss/getent.c (netgroup_keys): Remove unused variable.
88185         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
88187 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
88189         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
88190         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
88191         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
88192         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
88193         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
88194         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
88195         * math/Makefile (libm-calls): Add s_isinf_ns.
88196         * math/divtc3.c: Use __isinf_nsl instead of isinf.
88197         * math/multc3.c: Likewise.
88198         * math/s_casin.c: Likewise.
88199         * math/s_casinf.c: Likewise.
88200         * math/s_casinl.c: Likewise.
88201         * math/s_ccos.c: Likewise.
88202         * math/s_ccosf.c: Likewise.
88203         * math/s_ccosl.c: Likewise.
88204         * math/s_ctan.c: Likewise.
88205         * math/s_ctanf.c: Likewise.
88206         * math/s_ctanh.c: Likewise.
88207         * math/s_ctanhf.c: Likewise.
88208         * math/s_ctanhl.c: Likewise.
88209         * math/s_ctanl.c: Likewise.
88210         * math/w_fmod.c: Likewise.
88211         * math/w_fmodf.c: Likewise.
88212         * math/w_fmodl.c: Likewise.
88213         * math/w_remainder.c: Likewise.
88214         * math/w_remainderf.c: Likewise.
88215         * math/w_remainderl.c: Likewise.
88216         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
88217         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
88218         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
88219         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
88220         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
88221         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
88222         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
88223         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
88225         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
88226         of the number.
88227         * stdio-common/printf_fphex.c: Likewise.
88228         * stdio-common/printf_size.c: Likewise.
88230         * math/e_exp10.c: Include math_private.h using <...> not "...".
88231         * math/e_exp10f.c: Likewise.
88232         * math/e_exp10l.c: Likewise.
88233         * math/e_exp2l.c: Likewise.
88234         * math/e_j0l.c: Likewise.
88235         * math/e_j1l.c: Likewise.
88236         * math/e_jnl.c: Likewise.
88237         * math/e_lgammal_r.c: Likewise.
88238         * math/e_rem_pio2l.c: Likewise.
88239         * math/e_scalb.c: Likewise.
88240         * math/e_scalbf.c: Likewise.
88241         * math/e_scalbl.c: Likewise.
88242         * math/k_cosl.c: Likewise.
88243         * math/k_sinl.c: Likewise.
88244         * math/k_tanl.c: Likewise.
88245         * math/s_cacoshf.c: Likewise.
88246         * math/s_catan.c: Likewise.
88247         * math/s_catanf.c: Likewise.
88248         * math/s_catanh.c: Likewise.
88249         * math/s_catanhf.c: Likewise.
88250         * math/s_catanhl.c: Likewise.
88251         * math/s_catanl.c: Likewise.
88252         * math/s_ccosh.c: Likewise.
88253         * math/s_ccoshf.c: Likewise.
88254         * math/s_ccoshl.c: Likewise.
88255         * math/s_cexp.c: Likewise.
88256         * math/s_cexpf.c: Likewise.
88257         * math/s_cexpl.c: Likewise.
88258         * math/s_clog.c: Likewise.
88259         * math/s_clog10.c: Likewise.
88260         * math/s_clog10f.c: Likewise.
88261         * math/s_clog10l.c: Likewise.
88262         * math/s_clogf.c: Likewise.
88263         * math/s_clogl.c: Likewise.
88264         * math/s_csin.c: Likewise.
88265         * math/s_csinf.c: Likewise.
88266         * math/s_csinh.c: Likewise.
88267         * math/s_csinhf.c: Likewise.
88268         * math/s_csinhl.c: Likewise.
88269         * math/s_csinl.c: Likewise.
88270         * math/s_csqrt.c: Likewise.
88271         * math/s_csqrtf.c: Likewise.
88272         * math/s_csqrtl.c: Likewise.
88273         * math/s_ctan.c: Likewise.
88274         * math/s_ctanf.c: Likewise.
88275         * math/s_ctanh.c: Likewise.
88276         * math/s_ctanhf.c: Likewise.
88277         * math/s_ctanhl.c: Likewise.
88278         * math/s_ctanl.c: Likewise.
88279         * math/s_ldexp.c: Likewise.
88280         * math/s_ldexpf.c: Likewise.
88281         * math/s_ldexpl.c: Likewise.
88282         * math/s_significand.c: Likewise.
88283         * math/s_significandf.c: Likewise.
88284         * math/s_significandl.c: Likewise.
88285         * math/w_acos.c: Likewise.
88286         * math/w_acosf.c: Likewise.
88287         * math/w_acosh.c: Likewise.
88288         * math/w_acoshf.c: Likewise.
88289         * math/w_acoshl.c: Likewise.
88290         * math/w_acosl.c: Likewise.
88291         * math/w_asin.c: Likewise.
88292         * math/w_asinf.c: Likewise.
88293         * math/w_asinl.c: Likewise.
88294         * math/w_atan2.c: Likewise.
88295         * math/w_atan2f.c: Likewise.
88296         * math/w_atan2l.c: Likewise.
88297         * math/w_atanh.c: Likewise.
88298         * math/w_atanhf.c: Likewise.
88299         * math/w_atanhl.c: Likewise.
88300         * math/w_cosh.c: Likewise.
88301         * math/w_coshf.c: Likewise.
88302         * math/w_coshl.c: Likewise.
88303         * math/w_dremf.c: Likewise.
88304         * math/w_exp10.c: Likewise.
88305         * math/w_exp10f.c: Likewise.
88306         * math/w_exp10l.c: Likewise.
88307         * math/w_exp2.c: Likewise.
88308         * math/w_exp2f.c: Likewise.
88309         * math/w_fmod.c: Likewise.
88310         * math/w_fmodf.c: Likewise.
88311         * math/w_fmodl.c: Likewise.
88312         * math/w_hypot.c: Likewise.
88313         * math/w_hypotf.c: Likewise.
88314         * math/w_hypotl.c: Likewise.
88315         * math/w_j0.c: Likewise.
88316         * math/w_j0f.c: Likewise.
88317         * math/w_j0l.c: Likewise.
88318         * math/w_j1.c: Likewise.
88319         * math/w_j1f.c: Likewise.
88320         * math/w_j1l.c: Likewise.
88321         * math/w_jn.c: Likewise.
88322         * math/w_jnf.c: Likewise.
88323         * math/w_jnl.c: Likewise.
88324         * math/w_lgamma.c: Likewise.
88325         * math/w_lgamma_r.c: Likewise.
88326         * math/w_lgammaf.c: Likewise.
88327         * math/w_lgammaf_r.c: Likewise.
88328         * math/w_lgammal.c: Likewise.
88329         * math/w_lgammal_r.c: Likewise.
88330         * math/w_log.c: Likewise.
88331         * math/w_log10.c: Likewise.
88332         * math/w_log10f.c: Likewise.
88333         * math/w_log10l.c: Likewise.
88334         * math/w_log2.c: Likewise.
88335         * math/w_log2f.c: Likewise.
88336         * math/w_log2l.c: Likewise.
88337         * math/w_logf.c: Likewise.
88338         * math/w_logl.c: Likewise.
88339         * math/w_pow.c: Likewise.
88340         * math/w_powf.c: Likewise.
88341         * math/w_powl.c: Likewise.
88342         * math/w_remainder.c: Likewise.
88343         * math/w_remainderf.c: Likewise.
88344         * math/w_remainderl.c: Likewise.
88345         * math/w_scalb.c: Likewise.
88346         * math/w_scalbf.c: Likewise.
88347         * math/w_scalbl.c: Likewise.
88348         * math/w_sinh.c: Likewise.
88349         * math/w_sinhf.c: Likewise.
88350         * math/w_sinhl.c: Likewise.
88351         * math/w_sqrt.c: Likewise.
88352         * math/w_sqrtf.c: Likewise.
88353         * math/w_sqrtl.c: Likewise.
88354         * math/w_tgamma.c: Likewise.
88355         * math/w_tgammaf.c: Likewise.
88356         * math/w_tgammal.c: Likewise.
88358         * po/ja.po: Update from translation team.
88360 2011-09-29  Andreas Jaeger  <aj@suse.de>
88362         [BZ #13179]
88363         * sunrpc/netname.c (netname2host): Fix logic.
88365         [BZ #6779]
88366         [BZ #6783]
88367         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
88368         correctly.
88369         * math/w_remainder.c (__remainder): Likewise.
88370         * math/w_remainderf.c (__remainderf): Likewise.
88371         * math/libm-test.inc (remainder_test): Add test cases.
88373 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88375         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
88376         sdiv_qrnnd.
88378 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88380         * string/test-memcmp.c: Avoid unncessary #defines.
88381         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88383 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88385         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
88386         Use new sse2 version for core i3 - i7 as it's faster
88387         than sse42 version.
88388         (bit_Prefer_PMINUB_for_stringop): New.
88389         * sysdeps/x86_64/rawmemchr.S: Update.
88390         Replace with faster SSE2 version.
88391         * sysdeps/x86_64/memrchr.S: New file.
88392         * sysdeps/x86_64/memchr.S: Update.
88393         Replace with faster SSE2 version.
88395 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
88397         * elf/dl-load.c (lose): Add cast to avoid warning.
88399 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88401         * po/ca.po: Update from translation team.
88403         * inet/getnetgrent_r.c: Hook up nscd.
88404         * nscd/Makefile (routines): Add nscd_netgroup.
88405         (nscd-modules): Add netgroupcache.
88406         (CFLAGS-netgroupcache.c): Define.
88407         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
88408         (cache_search): Add const to second parameter.
88409         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
88410         INNETGR.
88411         (dbs): Add netgrdb entry.
88412         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
88413         (verify_persistent_db): Handle netgrdb.
88414         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
88415         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
88416         GETFDNETGR.
88417         (netgroup_response_header): Define.
88418         (innetgroup_response_header): Define.
88419         (datahead): Add netgroup_response_header and innetgroup_response_header
88420         elements.
88421         * nscd/nscd.conf: Add entries for netgroup cache.
88422         * nscd/nscd.h (dbtype): Add netgrdb.
88423         (_PATH_NSCD_NETGROUP_DB): Define.
88424         (netgroup_iov_disabled): Declare.
88425         (xmalloc, xcalloc, xrealloc): Move declarations here.
88426         (cache_search): Adjust prototype.
88427         Add netgroup-related prototypes.
88428         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
88429         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
88430         (__nscd_innetgr): Declare.
88431         * nscd/selinux.c (perms): Use access_vector_t as element type and
88432         add netgroup-related initializers.
88433         * nscd/netgroupcache.c: New file.
88434         * nscd/nscd_netgroup.c: New file.
88435         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
88436         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
88437         For four parameters use innetgr.
88438         * nss/nss_files/files-init.c: Add definition and callback for netgr.
88439         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
88440         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
88441         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
88443         * nscd/connections.c (register_traced_file): Don't register file
88444         for disabled databases.
88446 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
88448         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
88450         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
88451         from tree and freeing node.
88453 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
88455         * nss/nsswitch.c (__nss_database_lookup): Handle
88456         nss_parse_service_list out of memory case.
88458 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
88460         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
88461         out of memory case.
88463 2011-10-04  Andreas Schwab  <schwab@redhat.com>
88465         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
88466         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
88467         pass it down.
88468         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
88469         elf_machine_rela, elf_machine_lazy_rel.
88470         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
88471         (ELF_DYNAMIC_DO_REL): Likewise.
88472         (ELF_DYNAMIC_DO_RELA): Likewise.
88473         (ELF_DYNAMIC_RELOCATE): Likewise.
88474         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
88475         to ELF_DYNAMIC_DO_REL.
88476         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
88477         (dl_main): In trace mode always set __RTLD_NOIFUNC.
88478         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
88479         elf_machine_rela.
88480         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
88481         skip_ifunc, don't call ifunc function if non-zero.
88482         (elf_machine_rela): Likewise.
88483         (elf_machine_lazy_rel): Likewise.
88484         (elf_machine_lazy_rela): Likewise.
88485         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
88486         (elf_machine_lazy_rel): Likewise.
88487         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
88488         Likewise.
88489         (elf_machine_lazy_rel): Likewise.
88490         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88491         Likewise.
88492         (elf_machine_lazy_rel): Likewise.
88493         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
88494         (elf_machine_lazy_rel): Likewise.
88495         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
88496         (elf_machine_lazy_rel): Likewise.
88497         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
88498         (elf_machine_lazy_rel): Likewise.
88499         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
88500         (elf_machine_lazy_rel): Likewise.
88501         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
88502         (elf_machine_lazy_rel): Likewise.
88503         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
88504         (elf_machine_lazy_rel): Likewise.
88506 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
88508         * nss/nss_files/files-init.c (_nss_files_init): Use static
88509         initialization for all the *_traced_file variables.
88511 2011-09-28  Andreas Schwab  <schwab@redhat.com>
88513         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88515 2011-09-27  Roland McGrath  <roland@hack.frob.com>
88517         [BZ #13226]
88518         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
88520 2011-09-27  Andreas Schwab  <schwab@redhat.com>
88522         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88523         Reread the line before reparsing it.
88525 2011-09-26  Andreas Schwab  <schwab@redhat.com>
88527         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
88529 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
88530             Maxim Kuvyrkov  <maxim@codesourcery.com>
88531             Joseph Myers  <joseph@codesourcery.com>
88533         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
88534         if needed for __stack_chk_guard.
88536 2011-09-19  Roland McGrath  <roland@hack.frob.com>
88538         * sysdeps/posix/spawni.c (script_execute): Always define it.
88539         It will be optimized away if unused.
88540         (maybe_script_execute): New function.
88541         (__spawni): Call it.
88543         * Makerules: Don't include tls.make.
88544         (config-tls): Always set to thread.
88545         * tls.make.c: File removed.
88547 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
88549         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
88550         * config.make.in (CPPFLAGS-config): New substituted variable.
88552 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88554         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
88556         [BZ #13192]
88557         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
88558         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
88560 2011-09-15  Roland McGrath  <roland@hack.frob.com>
88562         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
88563         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
88564         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88565         (CALL_FAIL): Likewise.
88566         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
88567         (CALL_FAIL): Macro removed.
88568         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
88570 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88572         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
88573         for __FINITE_MATH_ONLY__ == 1.
88575 2011-09-15  Andreas Schwab  <schwab@redhat.com>
88577         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
88578         __ieee754_sqrt instead of sqrt.
88579         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
88580         __ieee754_sqrtf instead of sqrtf.
88581         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
88582         __floorf instead of floorf.
88583         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
88584         __floorf, __truncf instead of floorf, truncf.
88586 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
88588         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
88590         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
88591         __extern_always_inline.
88592         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
88593         32-bit.
88595 2011-09-14  Andreas Schwab  <schwab@redhat.com>
88597         * elf/rtld.c (dl_main): Also relocate in dependency order when
88598         doing symbol dependency testing.
88600 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
88602         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88603         Always define `refsym'.
88605 2011-09-13  Andreas Schwab  <schwab@redhat.com>
88607         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
88608         (__FD_ELT): Renamed from __FDELT.
88609         * misc/bits/select2.h (__FD_ELT): Likewise.
88610         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
88611         __FD_MASK instead of __FDELT, __FDMASK.
88612         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88613         Likewise.
88614         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88615         Likewise.
88617         * elf/Makefile (gen-ldd): Fix pattern.
88619         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
88620         (init_tls): Likewise.
88622 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
88624         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
88626 2011-09-12  Andreas Schwab  <schwab@redhat.com>
88628         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
88629         `struct cmsghdr *' instead of `void *'.
88630         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
88631         Likewise.
88633 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
88635         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
88636         if non-absolute.
88637         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
88638         ldd_rewrite_script.
88640 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
88642         * configure.in: Remove --with-tls option.
88643         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
88644         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
88645         out in case it is missing.
88646         * sysdeps/ia64/elf/configure.in: Likewise.
88647         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
88648         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
88649         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
88650         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
88651         * sysdeps/sh/elf/configure.in: Likewise.
88652         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
88653         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88654         * sysdeps/x86_64/elf/configure.in: Likewise.
88655         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
88656         * sysdeps/mach/hurd/tls.h: Likewise.
88658         [BZ #13067]
88659         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
88661         [BZ #13090]
88662         * configure.in: Fix use of AC_INIT.
88664         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
88666 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
88668         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
88669         __set_errno.
88670         * malloc/hooks.c: Likewise.
88672         [BZ #11929]
88673         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
88674         variables statically.
88675         (narenas): Initialize.
88676         (list_lock): Initialize.
88677         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
88678         initializtion of main_arena and list_lock.  Small cleanups.
88679         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
88680         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
88681         Add initializers to main_arena and mp_.
88682         (malloc_state): Remove pagesize member.  Change all users to use
88683         GLRO(dl_pagesize).
88685         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
88686         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
88687         is always initialized.
88689         * malloc/malloc.c: Removed unused configurations and dead code.
88690         * malloc/arena.c: Likewise.
88691         * malloc/hooks.c: Likewise.
88692         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
88694         * include/tls.h: Removed.  USE___THREAD must always be defined.
88695         * bits/libc-tsd.h: Don't handle !USE___THREAD.
88696         * elf/dl-libc.c: Likewise.
88697         * elf/dl-tsd.c: Likewise.
88698         * include/errno.h: Likewise.
88699         * include/netdb.h: Likewise.
88700         * include/resolv.h: Likewise.
88701         * inet/herrno-loc.c: Likewise.
88702         * inet/herrno.c: Likewise.
88703         * malloc/arena.c: Likewise.
88704         * malloc/hooks.c: Likewise.
88705         * malloc/malloc.c: Likewise.
88706         * resolv/res-state.c: Likewise.
88707         * resolv/res_libc.c: Likewise.
88708         * sysdeps/i386/dl-machine.h: Likewise.
88709         * sysdeps/ia64/dl-machine.h: Likewise.
88710         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
88711         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
88712         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
88713         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
88714         * sysdeps/sh/dl-machine.h: Likewise.
88715         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
88716         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
88717         * sysdeps/unix/i386/sysdep.S: Likewise.
88718         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
88719         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
88720         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
88721         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
88722         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
88723         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
88724         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
88725         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
88726         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88727         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
88728         * sysdeps/unix/x86_64/sysdep.S: Likewise.
88729         * sysdeps/x86_64/dl-machine.h: Likewise.
88730         * tls.make.c: Likewise.
88732         * configure.in: Remove --with-__thread option.  Make tests for
88733         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
88734         tls_model attribute fail if no support is available.  Remove
88735         USE_IN_LIBIO.
88736         * Makeconfig: Adjust for dropped configure option.  All features are
88737         now mandatory.
88738         * Makerules: Likewise.
88739         * Versions.def: Likewise.
88740         * argp/argp-fmtstream.c: Likewise.
88741         * argp/argp-fmtstream.h: Likewise.
88742         * argp/argp-help.c: Likewise.
88743         * assert/assert.c: Likewise.
88744         * config.h.in: Likewise.
88745         * config.make.in: Likewise.
88746         * configure: Likewise.
88747         * configure.in: Likewise.
88748         * csu/Versions: Likewise.
88749         * csu/init.c: Likewise.
88750         * elf/tst-audit2.c: Likewise.
88751         * elf/tst-tls10.c: Likewise.
88752         * elf/tst-tls10.h: Likewise.
88753         * elf/tst-tls11.c: Likewise.
88754         * elf/tst-tls12.c: Likewise.
88755         * elf/tst-tls14.c: Likewise.
88756         * elf/tst-tlsmod11.c: Likewise.
88757         * elf/tst-tlsmod12.c: Likewise.
88758         * elf/tst-tlsmod13.c: Likewise.
88759         * elf/tst-tlsmod13a.c: Likewise.
88760         * elf/tst-tlsmod14a.c: Likewise.
88761         * elf/tst-tlsmod15b.c: Likewise.
88762         * elf/tst-tlsmod16a.c: Likewise.
88763         * elf/tst-tlsmod16b.c: Likewise.
88764         * elf/tst-tlsmod7.c: Likewise.
88765         * elf/tst-tlsmod8.c: Likewise.
88766         * elf/tst-tlsmod9.c: Likewise.
88767         * gmon/gmon.c: Likewise.
88768         * grp/fgetgrent_r.c: Likewise.
88769         * grp/putgrent.c: Likewise.
88770         * hurd/fopenport.c: Likewise.
88771         * include/libc-symbols.h: Likewise.
88772         * include/tls.h: Likewise.
88773         * intl/gettextP.h: Likewise.
88774         * intl/loadinfo.h: Likewise.
88775         * locale/global-locale.c: Likewise.
88776         * locale/localeinfo.h: Likewise.
88777         * mach/devstream.c: Likewise.
88778         * malloc/arena.c: Likewise.
88779         * malloc/set-freeres.c: Likewise.
88780         * misc/err.c: Likewise.
88781         * misc/getttyent.c: Likewise.
88782         * misc/mntent_r.c: Likewise.
88783         * posix/getopt.c: Likewise.
88784         * posix/wordexp.c: Likewise.
88785         * pwd/fgetpwent_r.c: Likewise.
88786         * resolv/Versions: Likewise.
88787         * resolv/res_hconf.c: Likewise.
88788         * shadow/fgetspent_r.c: Likewise.
88789         * shadow/putspent.c: Likewise.
88790         * stdio-common/printf_fphex.c: Likewise.
88791         * stdio-common/tmpfile.c: Likewise.
88792         * stdlib/abort.c: Likewise.
88793         * stdlib/fmtmsg.c: Likewise.
88794         * sunrpc/auth_unix.c: Likewise.
88795         * sunrpc/clnt_perr.c: Likewise.
88796         * sunrpc/clnt_tcp.c: Likewise.
88797         * sunrpc/clnt_udp.c: Likewise.
88798         * sunrpc/clnt_unix.c: Likewise.
88799         * sunrpc/openchild.c: Likewise.
88800         * sunrpc/svc_simple.c: Likewise.
88801         * sunrpc/svc_tcp.c: Likewise.
88802         * sunrpc/svc_udp.c: Likewise.
88803         * sunrpc/svc_unix.c: Likewise.
88804         * sunrpc/xdr.c: Likewise.
88805         * sunrpc/xdr_array.c: Likewise.
88806         * sunrpc/xdr_rec.c: Likewise.
88807         * sunrpc/xdr_ref.c: Likewise.
88808         * sunrpc/xdr_stdio.c: Likewise.
88810 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88812         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88814 2011-07-03  Andreas Jaeger  <aj@suse.de>
88816         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
88817         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
88818         regenerate with gen-libm-tests.pl.
88820 2010-05-12  Petr Baudis  <pasky@suse.cz>
88822         [BZ #11589]
88823         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
88824         around j0() zero points by switching to j1().
88825         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
88826         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
88827         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88828         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
88830 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88832         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
88833         instead of 0.
88834         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
88835         instead of 0.
88836         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88837         Patch in part by Pavel Roskin <proski@gnu.org>.
88839         [BZ #13138]
88840         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
88841         realloc.
88842         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
88843         Free memory block if necessary.
88845         [BZ #12847]
88846         * libio/genops.c (INTDEF): For string streams the _lock pointer can
88847         be NULL.  Don't lock in this case.
88849 2011-09-09  Roland McGrath  <roland@hack.frob.com>
88851         * elf/elf.h (ELFOSABI_GNU): New macro.
88852         (ELFOSABI_LINUX): Define to that.
88854 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
88856         * string/strncat.c (strncat): Undef the symbol in case it has been
88857         defined in bits/string.h.
88859 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
88861         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
88863         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
88864         link map.
88866 2011-08-17  Andreas Jaeger  <aj@suse.de>
88868         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
88870 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
88871             Ian Lance Taylor  <iant@google.com>
88873         * math/libm-test.inc (lround_test): New testcase.
88874         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
88876 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
88878         * Makefile: Remove support for automatic cvs check-ins.
88879         * Makerules: Likewise.
88880         * config.make.in: Likewise.
88881         * configure.in: Likewise.
88882         * intl/Makefile: Likewise.
88883         * locale/Makefile: Likewise.
88884         * po/Makefile: Likewise.
88885         * posix/Makefile: Likewise.
88886         * sysdeps/gnu/Makefile: Likewise.
88887         * sysdeps/mach/hurd/Makefile: Likewise.
88888         * sysdeps/sparc/sparc32/Makefile: Likewise.
88890         [BZ #13118]
88891         * posix/Makefile (bug-regex32-ENV): Define.
88892         Patch by John Stanley <jpsinthemix@verizon.net>.
88894         * misc/Makefile (headers): Add bits/select2.h.
88895         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
88896         * misc/bits/select2.h: New file.
88897         * include/bits/select2.h: New file.
88898         * debug/Makefile (routines): Add fdelt_chk.
88899         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
88900         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
88901         FD_ISSET.
88902         * debug/fdelt_chk.c: New file.
88904         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
88905         * wcsmbs/test-wmemcmp.c: Likewise.
88906         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
88907         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
88909 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88911         * string/Makefile (strop-tests): Add memcmp.
88912         * string/test-wmemcmp.c: New file.
88913         * string/test-memcmp.c: Add wmemcmp support.
88915 2011-09-08  Roland McGrath  <roland@hack.frob.com>
88917         [BZ #13153]
88918         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
88919         2011-07-19 change.
88921         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
88922         garbage value in a __mach_port_mod_refs call in the cases of the
88923         task-self and thread-self ports.
88925 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88927         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
88929 2011-09-08  Andreas Schwab  <schwab@redhat.com>
88931         * elf/dl-load.c (lose): Check for non-null L.
88933 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
88935         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
88937         * elf/dl-libc.c (dlerror_run): Pass back error code from
88938         dl_catch_error.
88940         [BZ #13123]
88941         * elf/dl-load.c (lose): Free l_origin if it is valid.
88943         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
88944         names.
88945         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
88946         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
88947         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
88948         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
88949         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
88950         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
88952 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88954         * sysdeps/powerpc/fpu/e_hypot.c: New file.
88955         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
88956         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
88957         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
88958         * sysdeps/powerpc/fpu/k_cosf.c: New file.
88959         * sysdeps/powerpc/fpu/k_sinf.c: New file.
88960         * sysdeps/powerpc/fpu/s_cosf.c: New file.
88961         * sysdeps/powerpc/fpu/s_sinf.c: New file.
88962         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
88963         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
88965 2011-08-15  Alan Modra  <amodra@gmail.com>
88967         [BZ #13092]
88968         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
88969         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
88970         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
88971         ppc_mcount to static-only-routines.
88972         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
88973         __mcount_internal.
88974         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
88975         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
88977 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
88979         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
88980         for finite and infinity parameters.
88982 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
88984         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
88985         and add nop instructions for throughput optimization.
88986         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88988 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
88990         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
88991         aligned copy for power7 with vector-scalar instructions.
88992         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
88994 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
88996         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
88997         AVX check.
88999 2011-09-07  Andreas Schwab  <schwab@redhat.com>
89001         [BZ #13144]
89002         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
89003         last change.
89005 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
89007         * sysdeps/unix/sysv/linux/x86_64/init-first.c
89008         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
89009         syscall wrapper around clock_gettime in __vdso_clock_gettime.
89010         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
89011         clock_gettime.
89013 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
89015         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
89016         Forgot to demangle the pointer.
89018         * sysdeps/i386/sysdep.h: Define atom_text_section.
89019         * sysdeps/x86_64/sysdep.h: Likewise.
89020         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
89021         section with atom_text_section.
89022         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
89023         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
89024         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
89025         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89026         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
89028         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
89029         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
89030         already be defined.  Change to take two parameters and don't assign
89031         result to variable.  Adjust all users.
89032         Define INTERNAL_GETTIME if not already defined.
89033         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
89034         call.
89035         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
89036         HAVE_CLOCK_GETTIME_VSYSCALL.
89037         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
89039         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
89040         gettimeofday vsyscall, just use time.
89042 2011-09-06  Andreas Schwab  <schwab@redhat.com>
89044         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
89045         <errno.h>.
89047 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
89049         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
89050         syscall on x86-64.
89051         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
89052         syscall.
89053         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
89054         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
89055         syscall if possible.
89057 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89059         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
89060         e_ident.  Don't pass to find_mapsXX.
89061         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
89063 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89065         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89066         strchr-sse2-no-bsf strrchr-sse2-no-bsf
89067         * sysdeps/x86_64/multiarch/strchr.S: Update.
89068         Check bit_slow_BSF bit.
89069         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
89070         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
89071         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
89073 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89075         [BZ #13134]
89076         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
89077         before glibc 2.15.
89078         (tryshell): Define.
89079         (__spawni): Change last parameter to be flag.  Test
89080         SPAWN_XFLAGS_USE_PATH flag to use path or not.
89081         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
89082         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
89083         * posix/spawni.c: Likewise.
89084         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
89085         * posix/spawnp.c: Likewise.  Change normal version to use
89086         SPAWN_XFLAGS_USE_PATH.
89087         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
89088         SPAWN_XFLAGS_TRY_SHELL.
89090         [BZ #13150]
89091         * posix/glob.h: Remove gcc 1.x support.
89093         [BZ #13068]
89094         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
89096 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89098         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89099         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
89100         strrchr-sse2-bsf
89101         * sysdeps/i386/i686/multiarch/strchr.S: New file.
89102         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
89103         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
89104         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
89105         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
89106         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
89108 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89110         * sysdeps/x86_64/wcscmp.S: New file.
89112         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
89113         wcscmp-c wcscmp-sse2
89114         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
89115         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
89116         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
89117         * wcsmbs/wcscmp.c: Allow renaming.
89119 2011-09-05  David S. Miller  <davem@davemloft.net>
89121         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
89122         stack slot, rather than the struct return pointer slot.
89123         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
89124         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
89125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
89126         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
89128 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89130         * po/ja.po: Update from translation team.
89132         [BZ #13144]
89133         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
89134         kernel in 64-bit binaries.
89136 2011-09-01  David S. Miller  <davem@davemloft.net>
89138         * elf/elf.h (HWCAP_SPARC_*): Move to..
89139         * sysdeps/sparc/sysdep.h: this new file and add new values.
89140         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
89141         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
89142         _DL_HWCAP_COUNT to 24.
89143         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
89144         entries.
89145         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
89146         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
89147         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
89148         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
89149         instead of magic constants.
89150         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
89152 2011-08-31  David S. Miller  <davem@davemloft.net>
89154         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
89155         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
89156         Reimplement to do errno handling inline.
89157         (SYSCALL_ERROR_HANDLER): New macro.
89158         (__SYSCALL_STRING): Do not do errno handling in asm.
89159         (__CLONE_SYSCALL_STRING): Delete.
89160         (__INTERNAL_SYSCALL_STRING): Delete.
89161         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
89162         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
89163         (PSEUDO): Reimplement to do errno handling inline.
89164         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
89165         (SYSCALL_ERROR_HANDLER): New macro.
89166         (__SYSCALL_STRING): Do not do errno handling in asm.
89167         (__CLONE_SYSCALL_STRING): Delete.
89168         (__INTERNAL_SYSCALL_STRING): Delete.
89169         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
89170         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
89171         i386.
89172         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
89173         (inline_syscall*): Add 'err' argument.
89174         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
89175         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
89176         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
89177         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
89179         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
89180         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
89182 2011-08-30  Andreas Schwab  <schwab@redhat.com>
89184         * elf/rtld.c (dl_main): Relocate objects in dependency order.
89186 2011-08-29  Jiri Olsa <jolsa@redhat.com>
89188         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
89189         directive.
89191 2011-08-24  David S. Miller  <davem@davemloft.net>
89193         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
89195 2011-08-24  Andreas Schwab  <schwab@redhat.com>
89197         * elf/Makefile: Add rules to build and run unload8 test.
89198         * elf/unload8.c: New file.
89199         * elf/unload8mod1.c: New file.
89200         * elf/unload8mod1x.c: New file.
89201         * elf/unload8mod2.c: New file.
89202         * elf/unload8mod3.c: New file.
89204         * elf/dl-close.c (_dl_close_worker): Reset private search list if
89205         it wasn't used.
89207 2011-08-23  David S. Miller  <davem@davemloft.net>
89209         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
89210         subtract stack bias.
89211         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
89212         %sp not %fp in calculations.
89213         (_JMPBUF_UNWINDS_ADJ): Likewise.
89215         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
89216         (aio_suspend): Call it to force an exception region around the
89217         AIO_MISC_WAIT() invocation.
89219 2011-08-23  Andreas Schwab  <schwab@redhat.com>
89221         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
89222         backslash.
89224 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
89226         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
89227         protection macro.
89228         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
89229         and <dl-machine.h>.
89230         (Elf64_FuncDesc): Remove.
89232 2011-08-22  David S. Miller  <davem@davemloft.net>
89234         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
89235         sigaltstack check, add missing cfi directives.
89236         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
89237         missing cfi directives, and sigaltstack handling.
89239 2011-08-16  Andreas Schwab  <schwab@redhat.com>
89241         [BZ #11724]
89242         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
89243         object is seen twice.
89244         * elf/dl-fini.c (_dl_sort_fini): Likewise.
89246         * elf/Makefile (distribute): Add tst-initorder2.c.
89247         (tests): Add tst-initorder2.
89248         (modules-names): Add tst-initorder2a tst-initorder2b
89249         tst-initorder2c tst-initorder2d.  Add rules to build them.
89250         ($(objpfx)tst-initorder2.out): New rule.
89251         * elf/tst-initorder2.c: New file.
89252         * elf/tst-initorder2.exp: New file.
89254 2011-08-22  Andreas Schwab  <schwab@redhat.com>
89256         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
89258         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
89259         dependencies back to end of function.
89261         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
89262         $(elfobjdir)/ld.so.
89264 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
89266         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
89267         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
89268         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
89269         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
89270         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
89271         of __vdso_gettimeofday.
89272         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
89273         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
89274         attribute_hidden.
89275         (_libc_vdso_platform_setup): Remove initialization of
89276         __vdso_gettimeofday and __vdso_time.
89278 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
89280         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
89281         and fgetc_unlocked.
89282         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
89283         getc_unlocked.
89285         * elf/dl-open.c (add_to_global): Report additions to the global scope
89286         for LD_DEBUG=scopes.
89287         (dl_open_worker): Also print scope of newly loaded dependencies.
89288         (_dl_show_scope): Indicate if there is no scope.
89290         [BZ #13114]
89291         * stdio-common/Makefile (tests): Add bug24.
89292         * stdio-common/bug24.c: New file.
89294 2011-08-19  Andreas Jaeger  <aj@suse.de>
89296         [BZ #13114]
89297         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
89298         non-existant file when using close-on-exec mode.
89300 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
89302         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
89303         the very first instruction.
89305         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
89306         the CFI state in the end.
89307         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
89308         inclusion of dl-trampoline.h.
89309         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
89311 2011-08-19  Andreas Schwab  <schwab@redhat.com>
89313         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
89314         expectations for long double.
89316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
89317         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
89319 2011-08-14  David S. Miller  <davem@davemloft.net>
89321         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
89322         artificual limit depends upon the system page size.
89324 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89326         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
89327         * resolv/Makefile: Define CFLAGS-libresolv.
89329 2011-08-17  Andreas Schwab  <schwab@redhat.com>
89331         * nss/makedb.c (compute_tables): Make variables used in nested
89332         function static.
89334 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89336         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
89337         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
89338         if buffer was too small.
89340         * elf/pldd.c (main): Attach to all threads in the process.
89341         Rewrite /proc handling to use *at functions.
89343 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
89345         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
89346         specifies first scope to show.
89347         (dl_open_worker): Update callers.  Move printing scope of new
89348         object to before the relocation.
89349         * elf/rtld.c (dl_main): Update _dl_show_scope call.
89350         * sysdeps/generic/ldsodefs.h: Update declaration.
89352         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
89353         string for the scope number.
89355 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
89357         * nscd/servicescache.c (cache_addserv): Make sure written is always
89358         initialized.
89360 2011-08-14  Roland McGrath  <roland@hack.frob.com>
89362         * sysdeps/i386/i486/bits/atomic.h
89363         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
89364         statement expression, so as to suppress "set but not used" warning.
89365         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
89367         * string/strncat.c (STRNCAT): Use prototype definition.
89369         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
89370         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
89371         -Iprograms here.
89372         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
89373         (localedef-modules): Add localedef.
89374         (locale-modules): Add locale.
89376         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
89377         * elf/rtld.c (dl_main): Invert order of assignment in last change,
89378         to avoid a warning.
89380 2011-08-14  David S. Miller  <davem@davemloft.net>
89382         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
89383         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
89385 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
89387         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
89388         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
89389         * elf/rtld.c (dl_main): Set l_name of vDSO.
89390         Call _dl_show_scope when DL_DEBUG_SCOPES.
89391         (process_dl_debug): Recognize scopes flag and also set it for all.
89392         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
89393         Declare _dl_show_scope.
89395         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
89396         (do_dlopen): Pass caller_dlopen to dl_open.
89397         (__libc_dlopen_mode): Initialize caller_dlopen.
89399         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
89400         of libc.  Make tolower call locale-independent.  Optimize a bit by
89401         using isdigit instead of isalnum.
89402         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
89404 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
89406         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
89407         was a dependency or dynamically loaded.
89409 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
89411         * intl/l10nflist.c: Allow architecture-specific pop function.
89412         * sysdeps/x86_64/l10nflist.c: New file.
89414         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
89415         classification.
89417 2011-08-10  Andreas Schwab  <schwab@redhat.com>
89419         * include/dirent.h: Add libc_hidden_proto for scandirat and
89420         scandirat64.  Don't declare __scandirat64.
89421         * dirent/scandirat.c: Add libc_hidden_def.
89422         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
89423         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
89425 2011-08-10  David S. Miller  <davem@davemloft.net>
89427         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
89428         enum.
89429         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89430         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89431         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89433 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
89435         * Versions.def [libc]: Add GLIBC_2.15.
89436         * dirent/Makefile (routines): Add scandirat and scandirat64.
89437         * dirent/Versions [libc]: Export scandirat and scandirat64 for
89438         GLIBC_2.15.
89439         * dirent/dirent.h: Declare scandirat and scandirat64.
89440         * dirent/scandirat.c: New file.
89441         * dirent/scandirat64.c: New file.
89442         * sysdeps/wordsize-64/scandirat.c: New file.
89443         * sysdeps/wordsize-64/scandirat64.c: New file.
89444         * dirent/opendir.c: Define opendirat.
89445         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
89446         using scandirat.
89447         * dirent/scandir64.c: Adjust for scandir.c change.
89448         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
89449         __scandirat64, and __scandir_cancel_handler.
89450         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
89451         additional parameter and use openat instead of open (outside of ld.so).
89452         Add new __opendir as wrapper around __opendirat.
89453         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
89454         here without requiring old scandirat implementation.
89456 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
89458         * dirent/scandir.c (cancel_handler): Renamed to
89459         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
89460         defined.  Adjust users.
89461         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
89462         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
89464 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
89466         * string/test-string.h (IMPL): Use __STRING to expand name and then
89467         stringify it.
89469         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
89470         of cleanups.
89472 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89474         * string/Makefile: Update.
89475         (strop-tests): Append strncat.
89476         * string/test-wcscmp.c: New file.
89477         New comprehensive test for wcscmp.
89478         * string/test-strcmp.c: Update.
89479         (WIDE): New define.
89481 2011-07-22  Andreas Schwab  <schwab@redhat.com>
89483         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
89484         line.
89486 2011-07-26  Andreas Schwab  <schwab@redhat.com>
89488         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89489         encoding to ACE if AI_IDN.
89491 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
89493         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
89494         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
89496 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89498         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
89499         Fix overflow bug in strncat.
89500         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
89502         * string/test-strncat.c: Update.
89503         Add new tests for checking overflow bugs.
89505 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89507         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89508         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
89509         * sysdeps/i386/i686/multiarch/strcat.S: New file.
89510         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
89511         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
89512         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
89513         * sysdeps/i386/i686/multiarch/strncat.S: New file.
89514         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
89515         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
89517         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
89518         (USE_AS_STRCAT): Define.
89519         Add strcat and strncat support.
89520         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
89522 2011-07-25  Andreas Schwab  <schwab@redhat.com>
89524         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
89525         __n bigger than INT_MAX+1.
89526         (__strncmp_g): Likewise.
89528 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
89530         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
89531         * libio/stido.h: Likewise.
89533         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
89534         (AF_NFC): Define.
89535         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
89536         (AF_NFC): Define.
89538         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
89539         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89540         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89541         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
89542         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89544         [BZ #13021]
89545         * scripts/test-installation.pl: Don't expect libnss_test1 to be
89546         installed.
89548         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
89549         typo.
89550         (_dl_x86_64_save_sse): Likewise.
89552 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
89554         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
89555         OSXSAVE.
89556         (_dl_x86_64_save_sse): Likewise.
89558         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
89560         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
89562 2011-07-21  Andreas Schwab  <schwab@redhat.com>
89564         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
89565         change.
89566         (_dl_x86_64_save_sse): Use correct AVX check.
89568 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89570         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
89571         bug in strncpy/strncat.
89572         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
89574 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
89576         * string/tester.c (test_strcat): Add tests for different alignments
89577         of source and destination.
89578         (test_strncat): Likewise.
89580 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89582         [BZ #12852]
89583         * posix/glob.c (glob): Check passed in values before using them in
89584         expressions to avoid some overflows.
89585         (glob_in_dir): Likewise.
89587         [BZ #13007]
89588         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
89589         check for AVX enablement so that we don't crash with old kernels and
89590         new hardware.
89591         * elf/tst-audit4.c: Add same checks here.
89592         * elf/tst-audit6.c: Likewise.
89594         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
89596 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
89598         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
89600 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89602         * po/cs.po: Update from translation team.
89603         * po/bg.po: Likewise.
89605 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
89607         * misc/sys/cdefs.h: Add support for const attribute.
89608         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
89609         to gnu_dev_{major,minor,makedev} functions.
89611 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
89613         * intl/dcigettext.c (get_output_charset): Add missing bracket.
89615 2011-07-20  Andreas Schwab  <schwab@redhat.com>
89617         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
89618         strlen results.
89620 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89622         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
89623         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
89624         register in order to avoid conflicts with the soft frame pointer
89625         being held in r11 when necessary.
89626         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
89627         (INTERNAL_VSYSCALL_NCS): Likewise.
89629 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
89631         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
89632         * elf/dl-fini.c (_dl_fini): Adjust caller.
89633         * elf/dl-close.c (_dl_close_worker): Likewise.
89634         * sysdeps/generic/ldsodefs.h: Adjust declaration.
89636 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
89638         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
89639         "aux_cache->nlibs < 0".
89641         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
89642         in the reload-count case.
89644 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89646         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89647         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
89648         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
89649         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
89650         * sysdeps/x86_64/multiarch/strcat.S: New file.
89651         * sysdeps/x86_64/multiarch/strncat.S: New file.
89652         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
89653         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
89654         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
89655         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
89656         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
89657         (USE_AS_STRCAT): Define.
89658         Add strcat and strncat support.
89659         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89660         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
89661         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
89662         * string/strncat.c: Update.
89663         (USE_AS_STRNCAT): Define.
89664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89665         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
89666         and i7.
89667         * sysdeps/x86_64/multiarch/init-arch.h
89668         (bit_Prefer_PMINUB_for_stringop): New.
89669         (index_Prefer_PMINUB_for_stringop): Likewise.
89670         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
89671         bit_Prefer_PMINUB_for_stringop.
89673 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
89675         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
89676         buffer64.
89677         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
89678         of casting of buffer.
89679         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
89680         buffer32 and buffer64.
89681         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
89682         writes instead of casting of buffer.
89683         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
89684         buffer32.
89685         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
89686         casting of buffer.
89688 2011-07-19  Andreas Schwab  <schwab@redhat.com>
89690         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
89692 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
89694         * nscd/nscd.c (termination_handler): Don't do anything for a database
89695         if it has not yet been initialized.
89697 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
89699         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
89701 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
89703         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
89705 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
89707         * po/nl.po: Update from translation team.
89708         * po/sv.po: Likewise.
89710 2011-07-16  Roland McGrath  <roland@hack.frob.com>
89712         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
89713         now disallowed by GCC.
89715         * configure.in (use-default-link): Default to yes if a test -shared
89716         link meets our qualifications.
89717         * configure: Regenerated.
89719         * config.make.in (output-format): New variable.
89720         * configure.in: Check for ld --print-output-format support.
89721         * configure: Regenerated.
89722         * Makerules ($(common-objpfx)format.lds)
89723         [$(output-format) != unknown]: Just use $(output-format),
89724         instead of the linker-script munging.
89726 2011-07-14  Roland McGrath  <roland@hack.frob.com>
89728         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
89729         of $(common-objpfx)shlib.lds.
89730         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
89732         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
89733         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
89735         * configure.in (-z relro check): Adjust test code to add a large
89736         writable data section after it.
89737         * configure: Regenerated.
89739 2011-07-11  Roland McGrath  <roland@hack.frob.com>
89741         * configure.in (-z relro check): Fix test code to make the variable
89742         truly const.
89743         * configure: Regenerated.
89745 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
89747         * nscd/nscd.h (struct traced_file): Define.
89748         (struct database_dyn): Remove inotify_descr, reset_res, and filename
89749         elements.  Add traced_files.
89750         (inotify_fd): Declare.
89751         (register_traced_file): Declare.
89752         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
89753         (inotify_fd): Export.
89754         (resolv_conf_descr): Remove.
89755         (nscd_init): Move inotify descriptor creation to main.
89756         Don't register files for notification here.
89757         (register_traced_file): New function.
89758         (invalidate_cache): Don't use reset_res to determine whether to call
89759         res_init, go through the list of registered files.
89760         (main_loop_poll): The inotify descriptors are now stored in the
89761         structures for the traced files.
89762         (main_loop_epoll): Likewise.
89763         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
89764         to __nss_disable_nscd.
89765         * nscd/cache.c (prune_cache): There is no single inotify descriptor
89766         for a database anymore.  Check the records for all the registered
89767         files instead.
89768         * nss/Makefile (libnss_files-routines): Add files-init.
89769         (libnss_db-routines): Add db-init.
89770         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
89771         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
89772         * nss/nss_db/db-init.c: New file.
89773         * nss/nss_files/files-init.c: New file.
89774         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
89775         __nss_lookup_function.
89776         (__nss_lookup_function): Call nss_load_library.
89777         (nss_load_all_libraries): New function.
89778         (__nss_disable_nscd): Take parameter with callback function for files
89779         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
89780         used for the cached services.
89781         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
89782         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
89783         options for features to all the files in nscd.
89785         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
89787 2011-07-10  Roland McGrath  <roland@hack.frob.com>
89789         * csu/elf-init.c (__libc_csu_init): Comment typo.
89791 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
89793         * po/pl.po: Update from translation team.
89794         * po/ja.po: Likewise.
89795         * po/ru.po: Likewise.
89796         * po/ko.po: Likewise.
89797         * po/fr.po: Likewise.
89799 2011-07-09  Roland McGrath  <roland@hack.frob.com>
89801         * configure.in (.ctors/.dtors header and trailer check):
89802         Use an empirical test on a built program.
89803         * configure: Regenerated.
89805         * configure.in (-z relro check): Use an empirical test on a built DSO.
89806         Detect, but do not require, on ia64.
89807         * configure: Regenerated.
89809         * configure.in (READELF): Find it with AC_CHECK_TOOL.
89810         Update tests that use readelf to use $READELF instead.
89811         * configure: Regenerated.
89813 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
89815         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
89816         if the result is not used.
89818 2011-07-05  Andreas Jaeger  <aj@suse.de>
89820         [BZ #9696]
89821         * stdlib/tst-strtod.c: Add testcase.
89823 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
89825         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
89826         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
89827         The latter has a higher limit.  Take additional parameter to pass to
89828         the new function.
89829         (__pathconf): Pass file to __statfs_link_max.
89830         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
89831         __statfs_link_max.
89832         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
89833         __statfs_link_max.
89835         [BZ #12868]
89836         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
89837         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89838         Handle Lustre.
89839         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
89840         (__statfs_filesize_max): Likewise.
89841         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
89843 2011-07-05  Andreas Jaeger  <aj@suse.de>
89845         * resolv/res_comp.c (dn_skipname): Remove unused variable.
89847 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
89849         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
89850         `status' variable.
89851         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
89852         Likewise.
89854 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
89856         * Makefile (strop-tests): Add strncat.
89857         * string/test-strncat.c: New file.
89859 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
89861         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
89863 2011-06-21  Andreas Jaeger  <aj@suse.de>
89865         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
89866         Copy rule from iconvdata/Makefile.
89868 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
89870         [BZ #12922]
89871         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
89872         but no long options are defined, just return 'W'.
89874 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
89876         [BZ #9696]
89877         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
89879 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
89881         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
89882         netgroups to read.
89883         (innetgr): Likewise.
89885 2011-07-05  Roland McGrath  <roland@hack.frob.com>
89887         * config.make.in (install_root): Default to $(DESTDIR).
89889 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
89891         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
89893 2011-07-02  Roland McGrath  <roland@hack.frob.com>
89895         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
89897         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
89898         containing directory rather than embedding absolute directory names.
89900         * scripts/check-local-headers.sh: Rewritten using awk.
89901         Match by word, not by line.  Print error messages for matches.
89902         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
89904         * Makerules [shlib-lds-flags empty]:
89905         ($(common-objpfx)libc_pic.opts): New target.
89906         ($(common-objpfx)libc_pic.os.clean): New target.
89907         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
89909         * config.make.in (OBJCOPY): New variable.
89910         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
89911         * configure: Regenerated.
89913         * config.make.in (use-default-link): New variable.
89914         * configure.in (use_default_link): Grok --with-default-link to set it.
89915         * configure: Regenerated.
89916         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
89917         (shlib-lds, shlib-lds-flags): Define to empty.
89919         * Makerules (shlib-lds): New variable.
89920         (shlib-lds-flags): New variable.
89921         (build-shlib, build-moduile, build-module-asneeded): Use it.
89922         ($(common-objpfx)libc.so): Use $(shlib-lds).
89923         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
89924         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
89926         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
89927         DT_FLAGS/DT_FLAGS_1 with zero flags.
89929         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
89930         linker script munging.
89932 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
89934         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
89935         as 128-bit value.
89936         * crypt/sha512.c (sha512_process_block): Perform total addition using
89937         128-bit if possible.
89938         (__sha512_finish_ctx): Likewise.
89939         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
89940         as 64-bit value.
89941         * crypt/sha256.c (SWAP64): Define.
89942         (sha256_process_block): Perform total addition using 64-bit if
89943         possible.
89944         (__sha256_finish_ctx): Likewise.
89946 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
89948         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
89949         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89950         * nscd/hstcache.c (cache_addhst): Likewise.
89951         * nscd/grpcache.c (cache_addgr): Likewise.
89952         * nscd/aicache.c (addhstaiX): Likewise.
89953         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
89955 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
89957         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
89958         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89959         * nscd/hstcache.c (cache_addhst): Likewise.
89960         * nscd/grpcache.c (cache_addgr): Likewise.
89961         * nscd/aicache.c (addhstaiX): Likewise.
89963 2011-07-01  Andreas Schwab  <schwab@redhat.com>
89965         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
89966         domain only when needed.
89968 2011-06-30  Andreas Schwab  <schwab@redhat.com>
89970         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
89971         is always restored.
89973 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
89975         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
89976         are re-adding the entry.
89977         * nscd/servicescache.c (cache_addserv): Likewise.
89979 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
89981         * sysdeps/generic/dl-irel.h: fix protection against multiple
89982         inclusions.
89983         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
89985 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
89987         [BZ #12935]
89988         * malloc/memusage.sh: Fix quoting in message.
89989         * debug/xtrace.sh: Likewise.
89991         * configure.in: Remove support for --experimental-malloc option, make
89992         it the default.
89993         * config.make.in: Likewise.
89994         * malloc/Makefile: Likewise.
89996 2011-06-27  Andreas Schwab  <schwab@redhat.com>
89998         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
89999         two-byte characters.
90001 2011-06-27  Roland McGrath  <roland@hack.frob.com>
90003         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
90004         AC_CACHE_CHECK invocation.
90005         * configure: Regenerated.
90007         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
90009 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
90011         [BZ #12350]
90012         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
90013         bit from old_res_options.
90015         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
90017         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
90018         value type for setfct.
90020 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
90022         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
90023         __gettimeofday instead of gettimeofday.
90025 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
90027         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
90029 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
90031         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
90033         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
90034         info.
90036 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
90038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90039         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
90040         strcpy-sse2-unaligned strncpy-sse2-unaligned
90041         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
90042         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
90043         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
90044         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
90045         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
90046         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
90047         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
90048         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
90049         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
90050         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
90051         (STRCPY): Support SSE2 and SSSE3 versions.
90053 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
90055         [BZ #12874]
90056         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
90057         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
90058         kernels which artificially limit size of requests.
90060 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
90062         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90063         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
90064         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
90065         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
90066         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
90067         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
90068         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
90069         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
90070         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
90071         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
90072         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
90073         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
90074         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
90075         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
90076         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
90077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90078         Enable unaligned load optimization for Intel Core i3, i5 and i7
90079         processors.
90080         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
90081         Define.
90082         (index_Fast_Unaligned_Load): Define.
90083         (HAS_FAST_UNALIGNED_LOAD): Define.
90085 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
90087         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
90089 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
90091         [BZ #12907]
90092         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
90093         until it is clear that the information is realy needed.
90094         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
90096 2011-06-22  Andreas Schwab  <schwab@redhat.com>
90098         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
90100 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
90102         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
90103         /sys/devices/system/cpu/online if it is usable.
90105         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
90106         reading the information from the /proc filesystem to once a second.
90108 2011-06-21  Andreas Jaeger  <aj@suse.de>
90110         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
90111         NULL after inclusion of kernel headers.
90113 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
90115         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
90116         calls to internal_setent.
90118         [BZ #12885]
90119         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
90120         addresses using gethostbyname4_r ignore IPv4 addresses.
90122         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
90123         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
90125         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
90127 2011-06-20  David S. Miller  <davem@davemloft.net>
90129         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
90130         inclusions.
90131         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
90133         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
90134         (elf_irel): Use it.
90135         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
90136         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
90137         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
90138         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
90139         * sysdeps/x86_64/dl-irel.h: Likewise.
90141         * elf/dl-runtime.c: Use elf_ifunc_invoke.
90142         * elf/dl-sym.c: Likewise.
90144 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
90146         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
90147         need to dereference resplen2.
90149 2011-06-14  Andreas Schwab  <schwab@redhat.com>
90151         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
90153 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
90155         * Makeconfig: Define vardbdir and inst_vardbdir.
90156         * nss/Makefile: Add rules to install db-Makefile.
90158         * nss/nss_db/db-XXX.c: Cleanup.
90160         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
90161         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
90162         GLIBC_PRIVATE.
90163         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
90164         * nss/makedb.c: Implement -g option to specify that value strings
90165         are generated and should not be added to table iterated over for
90166         get*ent calls.
90167         * nss/nss_db/db-initgroups.c: New file.
90169         * nss/getent.c: Add support for initgroups lookups through getgrouplist
90170         interface.
90172         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
90173         (internal_getgrouplist): Adjust to name change.
90174         Update use_initgroups_entry if this is not the first call.
90175         * nss/databases.def: Add initgroups entry.
90177         * nss/makedb.c (compute_tables): Check result of multiple hash table
90178         sizes to minimize maximum chain length.
90180 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
90182         * Versions.def: Add entry for libnss_db.
90183         * shlib-versions: Likewise.
90184         * nss/Makefile: Add rules to build libnss_db.
90185         * nss/Versions: Add libnss_db information.  Organize libnss_files
90186         entries better.
90187         * nss/db-Makefile: Add gshadow support.  Change rules for the new
90188         makedb progra.  Some minor improvements to generate smaller files.
90189         * nss/nss_db/nss_db.h: Move NSS database header data structures to
90190         here from...
90191         * nss/makedb.c: ...here.
90192         Improve database format to be smaller and require less memory at
90193         runtime.
90194         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
90195         db anymore.
90196         * nss/nss_db/db-netgrp.c: Likewise.
90197         * nss/nss_db/db-open.c: Likewise.
90198         * nss/nss_files/flies-XXX.x: Adjust comments.
90199         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
90200         * nss/nss_files/files-grp.c: Likewise.
90201         * nss/nss_files/files-hosts.c: Likewise.
90202         * nss/nss_files/files-network.c: Likewise.
90203         * nss/nss_files/files-proto.c: Likewise.
90204         * nss/nss_files/files-pwd.c: Likewise.
90205         * nss/nss_files/files-rpc.c: Likewise.
90206         * nss/nss_files/files-service.c: Likewise.
90207         * nss/nss_files/files-sgrp.c: Likewise.
90208         * nss/nss_files/files-spwd.c: Likewise.
90209         * nss/nss_db/db-alias.c: Removed.
90210         * nss/nss_db/dummy-db.h: Removed.
90212 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
90214         * nss/makedb.c: Rewritten to not use database library.
90215         * nss/Makefile: Update to build new makedb program.
90217 2011-06-14  Andreas Jaeger  <aj@suse.de>
90219         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
90220         memset declaration.
90222 2011-06-10  Andreas Schwab  <schwab@redhat.com>
90224         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
90225         tmpbuf.
90227 2011-06-10  Roland McGrath  <roland@hack.frob.com>
90229         * Makerules (shlib.lds): Fail if the linker script comes out empty.
90230         * elf/Makefile ($(objpfx)ld.so): Likewise.
90232         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
90233         Don't list ld.so twice in dependencies.
90235         * posix/bug-regex31.c: Include <stdlib.h>.
90237         * nscd/hstcache.c (cache_addhst): Remove unused variable.
90239         * nis/nss_compat/compat-spwd.c
90240         (getspent_next_nss_netgr): Remove unused variable.
90241         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
90243         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
90244         nonmembers" output to use the right array.
90246         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
90248         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
90250         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
90251         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
90252         * catgets/gencat.c (read_input_file): Likewise.
90253         * locale/programs/locarchive.c (enlarge_archive): Likewise.
90255         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
90256         variable definition inside #if's controlling its use.
90258         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
90260         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
90262         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
90264         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
90265         unreachable code.
90267         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
90269         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
90270         * configure: Regenerated.
90272         * Makerules: Revert last change.
90273         * elf/Makefile: Likewise.
90275 2011-06-09  Roland McGrath  <roland@hack.frob.com>
90277         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
90278         * elf/Makefile ($(objpfx)librtld.os): Likewise.
90279         (reloc-link): Likewise.
90281 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
90283         * elf/Makefile: Add rules to build pldd.
90284         * elf/pldd.c: New file.
90285         * elf/pldd-xx.c: New file.
90287 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
90289         * version.h: Update for 2.15 development version.
90291 2011-06-07  David S. Miller  <davem@davemloft.net>
90293         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
90294         ifuncs.
90295         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
90296         elf_machine_lazy_rel): Likewise.
90297         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
90298         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
90299         elf_machine_lazy_rel): Likewise.
90300         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
90301         dl_hwcap via passed in argument.
90302         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
90303         Likewise.
90305 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90307         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
90309 2011-06-06  Roland McGrath  <roland@hack.frob.com>
90311         [BZ #12849]
90312         * manual/fdl-1.1.texi: New file, verbatim from:
90313         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
90314         * manual/lgpl-2.1.texi: New file, verbatim from:
90315         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
90316         * manual/Makefile (licenses): New variable, list those new file names.
90317         (texis): Use it.
90318         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
90320         * manual/fdl.texi: File removed.
90321         * manual/lesser.texi: File removed.
90322         * manual/libc.texinfo (Copying, Documentation License):
90323         Use new @include file names, put @appendix directive before @include.
90325 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
90327         [BZ #12841]
90328         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
90329         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
90330         (mq_open): Add __NTH.
90332 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
90334         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90335         Assume Intel Core i3/i5/i7 processor if AVX is available.
90337 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90339         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
90340         typo.
90342 2011-05-31  Andreas Schwab  <schwab@redhat.com>
90344         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
90345         memory.  Use alloca_account.  Fix memory leak when retrying.
90347 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90349         * version.h (RELEASE): Bump for 2.14 release.
90350         * include/features.h (__GLIBC_MINOR__): Bump to 14.
90352         * config.make.in (RANLIB): Remove entry.
90354 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
90356         * po/Makefile (po-sed-cmd): Add ksh to extensions.
90357         (libc.pot): Work around missing support for .ksh extension in xgettext.
90359         [BZ #12684]
90360         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
90361         if both request failed.
90362         (send_dg): In case of server errors clear resplen or *resplen2.
90364         [BZ #12454]
90365         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
90366         when there are multiple maps.
90367         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
90368         (_dl_fini): Remove test here.
90370         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
90372 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
90374         [BZ #12350]
90375         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
90376         bit from old_res_options.
90377         (gaih_inet): Likewise.
90379         [BZ #11099]
90380         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
90381         as signed.
90383         * resolv/res_init.c (res_setoptions): Make the code more compact.
90385         [BZ #11558]
90386         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
90387         set RES_USEVC.
90389         [BZ #11634]
90390         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
90392         * malloc/malloc.h: Mark malloc hook variables as deprecated.
90394         [BZ #11781]
90395         * malloc/malloc.h: Declare malloc hook variables as volatile.
90397         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
90398         in last patch.
90400         [BZ #11799]
90401         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
90402         raise in the comment.
90403         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
90404         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
90405         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
90407 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
90409         [BZ #12811]
90410         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
90411         grow the buffers more if it already has to be sufficient.
90412         (build_wcs_upper_buffer): Likewise.
90413         * posix/regexec.c (check_matching): Likewise.
90414         (clean_state_log_if_needed): Likewise.
90415         (extend_buffers): Don't enlarge buffers beyond size of the input
90416         buffer.
90417         Patches mostly by Emil Wojak <emil@wojak.eu>.
90418         * posix/bug-regex32.c: New file.
90419         * posix/Makefile (tests): Add bug-regex32.
90421         * locale/findlocale.c (_nl_find_locale): Return right away if
90422         _nl_explode_name failed.
90423         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
90425         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
90427         * debug/xtrace.sh: Unify messages.
90428         * malloc/memusage.sh: Likewise.
90430         [BZ #12813]
90431         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
90432         time symbol from vDSO.  Substitute with vsyscall if not available.
90433         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
90434         __vdso_time.
90436         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
90437         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
90438         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
90439         Add sendmmsg and internal_sendmmsg.
90440         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
90441         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
90442         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
90444         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
90445         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
90446         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
90448 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
90450         [BZ #12813]
90451         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
90452         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
90453         available.
90454         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
90455         __vdso_getcpu.
90457         [BZ #12814]
90458         * iconvdata/Makefile (tests): Add bug-iconv9.
90459         * iconvdata/bug-iconv9.c: New file.
90461 2011-05-27  Andreas Schwab  <schwab@redhat.com>
90463         [BZ #12814]
90464         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
90466 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
90468         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90469         (struct user_regs_struct): Change intcs field back to cs.
90471 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
90473         * po/ja.po: Update from translation team.
90475 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
90477         [BZ #12795]
90478         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
90479         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
90481 2011-05-20  Andreas Schwab  <schwab@redhat.com>
90483         * stdlib/longlong.h: Update from GCC.
90485 2011-05-23  Andreas Schwab  <schwab@redhat.com>
90487         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
90488         parameter name.
90489         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
90490         Add parameter name.
90491         (__sysconf): Pass it down.
90493 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
90495         [BZ #12671]
90496         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
90497         some situations.
90498         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
90499         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
90500         add in in __libc_use_alloca calls.  Adjust callers.
90501         (glob): Use malloc in some situations.
90503         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
90504         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
90505         pltexit.
90507 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
90509         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
90510         and CLOCK_BOOTTIME_ALARM.
90512         [BZ #12782]
90513         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
90514         is returned.
90516         * string/_strerror.c (__strerror_r): Print negative errors as signed
90517         numbers.
90519         [BZ #12777]
90520         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
90521         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
90522         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
90524         * configure.in: Fix typo in redirection and correct removal of test
90525         files in two cases.
90527         [BZ #12788]
90528         * locale/setlocale.c (new_composite_name): Fix test to check for
90529         identical name of all categories.
90531         [BZ #12792]
90532         * libio/filedoalloc.c (local_isatty): New function.
90533         (_IO_file_doallocate): Use local_isatty.
90534         * stdio-common/perror.c (perror): In case a new stream is used
90535         forward the stream error.
90536         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
90537         error flag.
90539 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
90541         [BZ #11884]
90542         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
90543         alloca.
90544         * include/alloca.h (extend_alloca_account): Define.
90546         [BZ #11857]
90547         * posix/regex.h: Fix comments with documentation of user-accessible
90548         fields after compilation and describe correct free'ing of pattern
90549         after re_compile_pattern.
90550         Patch by Reuben Thomas <rrt@sc3d.org>.
90552 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
90554         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
90555         and -mno-altivec to prevent the compiler from using Altivec and/or
90556         VSX instructions when the corresponding registers are not available.
90558 2011-05-19  Andreas Schwab  <schwab@redhat.com>
90560         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
90562 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
90564         * libio/freopen.c (freopen): Use __dup2, not dup2.
90565         * libio/freopen64.c (freopen64): Likewise.
90567 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
90569         [BZ #12775]
90570         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
90571         * math/Makefile (tests): Add test-powl.
90572         (CFLAGS-test-powl.c): Define.
90573         * math/test-powl.c: New file.
90575 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
90577         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
90579 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
90581         [BZ #11837]
90582         * iconvdata/gb18030.c: Update to GB18020-2005.
90584 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
90586         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
90587         RE_SYNTAX_POSIX_AWK): Update to match recent development.
90588         Patch by Aharon Robbins <arnold@skeeve.com>.
90590         [BZ #11892]
90591         * stdlib/putenv.c (putenv): Don't always create copy of the variable
90592         on the stack.
90594         [BZ #11895]
90595         * misc/pselect.c (__pselect): Handle timeout value errors hidden
90596         through underflows.
90598         [BZ #12766]
90599         * misc/error.c (error_at_line): Ensure file_name and old_file_name
90600         point to strings before performing equality test for error_one_per_line
90601         mode.
90603         [BZ #11697]
90604         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
90606         [BZ #11820]
90607         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90608         (struct user_fpregs_struct): Avoid __uint*_t types.
90610         [BZ #6420]
90611         * malloc/mtrace.c (tr_where): Add additional parameter to point to
90612         symbol info.  Use it instead of calling _dl_addr locally.
90613         (lock_and_info): New function.
90614         (tr_freehook): Call lock_and_info and pass symbol info as additional
90615         parameter to tr_where.
90616         (tr_mallochook): Likewise.
90617         (tr_reallochook): Likewise.
90618         (tr_memalignhook): Likewise.
90620         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
90621         used and couldn't be at all thread-safe.
90623 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
90625         * libio/freopen.c (freopen): Don't close old file descriptor
90626         before the new one is opened.  Instead dup the new file descriptor
90627         to the old one after the new stream is created.
90628         * libio/freopen64.c (freopen64): Likewise.
90629         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
90630         * libio/fileops.c (_IO_new_file_close_it): Handle new
90631         _IO_FLAGS2_NOCLOSE flag.
90632         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
90633         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
90634         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
90635         _IO_FLAGS2_NOCLOSE flag.
90636         * include/unistd.h: Add hidden_proto for dup3.
90637         Define __have_dup3.
90638         * io/dup3.c: Define hidden symbol.
90639         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
90641         [BZ #7101]
90642         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
90643         when an incomplete long option is used.
90644         * posix/tst-getopt_long1.c: New file.
90645         * posix/Makefile (tests): Add tst-getopt_long1.
90647         [BZ #10138]
90648         * scripts/config.guess: Update from autoconf-2.68.
90649         * scripts/config.sub: Likewise.
90651         [BZ #10157]
90652         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
90653         tests into ...
90654         (has_cpuclock): ...this.  New function.
90655         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
90656         macro here based on has_cpuclock code.
90658         [BZ #10149]
90659         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90660         First byte (not low byte) is now always NUL.
90661         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
90663         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90664         Use non-cancelable interfaces.
90666         [BZ #9809]
90667         * locale/iso-639.def: Add entry for Sorani.
90669         [BZ #11901]
90670         * include/stdlib.h: Move include protection to the right place.
90671         Define abort_msg_s.  Declare __abort_msg with it.
90672         * stdlib/abort.c (__abort_msg): Adjust type.
90673         * assert/assert.c (__assert_fail_base): New function.  Majority
90674         of code from __assert_fail.  Allocate memory for __abort_msg with
90675         mmap.
90676         (__assert_fail): Now call __assert_fail_base.
90677         * assert/assert-perr.c: Remove bulk of implementation.  Use
90678         __assert_fail_base.
90679         * include/assert.hL Declare __assert_fail_base.
90680         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
90681         mmap.
90682         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
90684 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
90686         [BZ #11952]
90687         [BZ #12453]
90688         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
90689         until all modules are registered in the DTV.
90690         * elf/Makefile: Add rules to build and run tst-tls19.
90691         * elf/tst-tls19.c: New file.
90692         * elf/tst-tls19mod1.c: New file.
90693         * elf/tst-tls19mod2.c: New file.
90694         * elf/tst-tls19mod3.c: New file.
90695         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
90697         [BZ #12083]
90698         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
90699         correctly.
90701         [BZ #12601]
90702         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
90703         two-byte sequence errors.
90704         * iconvdata/Makefile (tests): Add bug-iconv8.
90705         * iconvdata/bug-iconv8.c: New file.
90707         [BZ #12626]
90708         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
90709         buf2 definition.
90711         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
90713         [BZ #12432]
90714         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
90715         (dummy_getcfa): New function.
90716         (init): Get _Unwind_GetCFA address, use dummy if not found.
90717         (backtrace_helper): In recursion check, also check whether CFA changes.
90718         (__backtrace): Completely initialize arg.
90720         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
90721         storing incomplete byte sequence in state object.  Avoid testing for
90722         guaranteed too small input if we know there is enough data available.
90724 2011-05-11  Andreas Schwab  <schwab@redhat.com>
90726         * Makeconfig (+link-pie): Indent.
90727         * Rules (binaries-pie): Define if $(have-fpie) and
90728         $(build-shared).
90729         (binaries-shared): Also filter out $(binaries-pie).
90730         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
90731         * nscd/Makefile (others-pie): Add nscd.
90732         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
90733         ($(objpfx)nscd): Remove command override.
90734         * login/Makefile (others-pie): Add pt_chown.
90735         ($(objpfx)pt_chown): Remove command override.
90736         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
90737         remove command overrides.
90739 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
90741         * libio/tst_putwc.c: Fix error messages.
90743         [BZ #12724]
90744         * libio/fileops.c (_IO_new_file_close_it): Always flush when
90745         currently writing and seek to current position when not.
90746         * libio/Makefile (tests): Add bug-fclose1.
90747         * libio/bug-fclose1.c: New file.
90749 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
90751         [BZ #12511]
90752         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
90753         don't set DF_1_NODELETE here.
90754         (do_lookup_x): When entering new entry test for copy relocation
90755         and if necessary set DF_1_NODELETE flag.
90756         * elf/tst-unique4.cc: New file.
90757         * elf/tst-unique4.h: New file.
90758         * elf/tst-unique4lib.cc: New file.
90759         * elf/Makefile: Add rules to build and run tst-unique4.
90760         Patch by Piotr Bury <pbury@goahead.com>.
90762 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
90764         [BZ #12052]
90765         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
90767         [BZ #12625]
90768         * misc/mntent_r.c (addmntent): Flush the stream after the output
90770         [BZ #12393]
90771         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
90772         (is_trusted_path_normalize): Skip initial colon.  Append slash
90773         to empty buffer.  Duplicate is_trusted_path code but allow
90774         constructed patch to be prefix.
90775         (is_dst): Allow $ORIGIN followed by /.
90776         (_dl_dst_substitute): Correct clearing of check_for_trusted.
90777         Correct testing of result of is_trusted_path_normalize
90778         (decompose_rpath): Fix warning.
90780 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
90782         [BZ #11257]
90783         * grp/initgroups.c (internal_getgrouplist): When we found the service
90784         list through the initgroups entry in nsswitch.conf do not always
90785         continue on a successful lookup.  Don't always use the
90786         __nss_group_database value if it is set.
90787         * nss/nsswitch.conf (initgroups): Change action for successful db
90788         lookup to continue for compatibility.
90790 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
90792         [BZ #11532]
90793         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
90794         and CP774 modules.
90795         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
90796         and CP774 modules.
90797         * iconvdata/tst-tables.sh: Likewise.
90798         * iconvdata/cp770.c: New file.
90799         * iconvdata/cp771.c: New file.
90800         * iconvdata/cp772.c: New file.
90801         * iconvdata/cp773.c: New file.
90802         * iconvdata/cp774.c: New file.
90803         * iconvdata/testdata/CP770: New file.
90804         * iconvdata/testdata/CP770..UTF8: New file.
90805         * iconvdata/testdata/CP771: New file.
90806         * iconvdata/testdata/CP771..UTF8: New file.
90807         * iconvdata/testdata/CP772: New file.
90808         * iconvdata/testdata/CP772..UTF8: New file.
90809         * iconvdata/testdata/CP773: New file.
90810         * iconvdata/testdata/CP773..UTF8: New file.
90811         * iconvdata/testdata/CP774: New file.
90812         * iconvdata/testdata/CP774..UTF8: New file.
90814         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
90815         END CHARMAP line.
90816         * iconvdata/gen-8bit-gap.sh: Likewise.
90817         * iconvdata/gen-8bit.sh: Likewise.
90819         * locale/iso-639.def: Add ary entry.
90821         [BZ #11258]
90822         * locale/C-translit.h.in: Add U20A1 transliteration.
90824         [BZ #12178]
90825         * locale/iso-639.def: Add wae entry.
90826         Patch by Kevin Bortis <bortis@translate-wae.ch>.
90828         [BZ #12545]
90829         * locale/programs/localedef.c (construct_output_path): Use ssize_t
90830         for n.
90832         [BZ #12711]
90833         * locale/C-translit.h.in: Add entry for U20B9.
90834         Patch by pravin.d.s@gmail.com.
90836 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
90838         [BZ #12713]
90839         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
90840         ENAMETOOLONG use generic getcwd.
90841         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
90842         in rtld.  Use *stat64.
90843         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
90844         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
90845         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
90846         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
90847         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
90848         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
90849         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
90850         __fstatat64 macros.
90851         * include/dirent.h: Add libc_hidden_proto for rewinddir.
90852         * dirent/rewinddir.c: Add libc_hidden_def.
90853         * sysdeps/mach/hurd/rewinddir.c: Likewise.
90854         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
90856         * include/dirent.h (__alloc_dir): Add flags parameter.
90857         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
90858         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
90859         __alloc_dir.
90860         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
90861         from fdopendir if O_CLOEXEC is already set.
90863 2011-03-15  Alan Modra  <amodra@gmail.com>
90865         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
90866         l_tls_firstbyte_offset non-zero.  Save padding offset in
90867         l_tls_firstbyte_offset for later use.
90868         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
90869         freeing static tls block.
90871 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
90873         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
90874         where #ifdef was intended.  The intent is to prevent ARG_MAX from
90875         being defined by the kernel headers.
90877 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
90879         [BZ #12734]
90880         * resolv/resolv.h: Define RES_NOTLDQUERY.
90881         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
90882         no-tld-query and set RES_NOTLDQUERY.
90883         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
90884         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
90885         modern BIND to search name as TLD unless forbidden.
90887 2011-05-07  Petr Baudis  <pasky@suse.cz>
90888             Ulrich Drepper  <drepper@gmail.com>
90890         [BZ #12393]
90891         * elf/dl-load.c (fillin_rpath): Move trusted path check...
90892         (is_trusted_path): ...to here.
90893         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
90894         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
90895         using is_trusted_path_normalize() in setuid scripts.
90897 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
90899         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
90900         __BEGIN/__END_DECLS.
90902 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
90904         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
90905         NSS_STATUS_NOTFOUND if no record was found.
90907 2011-05-05  Andreas Schwab  <schwab@redhat.com>
90909         * sunrpc/Makefile (headers): Add rpc/netdb.h.
90910         (headers-not-in-tirpc): Remove rpc/netdb.h
90911         * resolv/netdb.h: Revert last change.
90913 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
90915         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
90916         circular dependency between libgcc.a and libc.a.
90918 2011-05-05  Andreas Schwab  <schwab@redhat.com>
90920         * resolv/netdb.h: Don't include <rpc/netdb.h>.
90921         * nis/Makefile: Don't install rpcsvc/*.
90922         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
90923         instead of <rpc/types.h>.
90924         (MAXHOSTNAMELEN): Define.
90926 2011-05-03  Andreas Schwab  <schwab@redhat.com>
90928         * elf/ldconfig.c (add_dir): Don't crash on empty path.
90930 2011-04-28  Maciej Babinski  <mbabinski@google.com>
90932         [BZ #12714]
90933         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
90934         gethostbyname4_r when IPv6 results are possible.
90936 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
90938         [BZ #12723]
90939         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
90940         _PC_PIPE_BUF handling.
90942 2011-04-30  Bruno Haible  <bruno@clisp.org>
90944         [BZ #12717]
90945         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
90946         * resolv/netdb.h (getnameinfo): Change type of flags parameter
90947         to 'int'.
90948         * inet/getnameinfo.c (getnameinfo): Likewise.
90950 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
90952         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
90953         to groups setting in database lookup.
90954         * nss/nsswitch.conf: Add initgroups entry.
90956 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
90958         [BZ #12685]
90959         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
90960         mode string.
90961         Patch by Eric Blake <eblake@redhat.com>.
90963 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
90965         * sunrpc/Makefile (need-export-routines): Add svc_run.
90966         (routines): Remove svc_run.
90967         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
90968         * sunrpc/clnt_perr.c (clnt_perrno): Export.
90969         * sunrpc/svc_run.c (svc_run): Likewise.
90970         * sunrpc/svc_udp.c (svcudp_create): Likewise.
90972 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
90974         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
90975         problem in reallocation in last patch.
90977 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
90979         * sunrpc/Makefile: Move inclusion of Rules.
90981 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90983         * nss/nss_files/files-initgroups.c: New file.
90984         * nss/Makefile (libnss_files-routines): Add files-initgroups.
90985         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
90986         _nss_files_initgroups_dyn.
90988 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
90990         * elf/elf.h (R_ARM_IRELATIVE): Define.
90992 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
90994         * po/ru.po: Update from translation team.
90996 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
90998         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
90999         dependencies.
91001 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
91003         [BZ #12653]
91004         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
91005         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
91006         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
91007         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
91008         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
91010 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
91012         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
91013         differing bytes.
91014         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
91015         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
91016         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
91018 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
91020         [BZ #12420]
91021         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
91022         storing it.
91023         * stdlib/bug-getcontext.c: New file.
91024         * stdlib/Makefile: Add rules to build and run bug-getcontext.
91026 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91028         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
91029         instructions into .machine "z9-109".
91030         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
91031         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
91033 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91035         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
91036         between environment variables and auxiliary vector.
91038 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
91040         * Makefile: Add rules to build linkobj/libc.so.
91041         * include/libc-symbols.h: Define libc_hidden_nolink.
91042         * include/rpc/auth.h: Mark functions which are to be hidden.
91043         * include/rpc/auth_des.h: Likewise.
91044         * include/rpc/auth_unix.h: Likewise.
91045         * include/rpc/clnt.h: Likewise.
91046         * include/rpc/des_crypt.h: Likewise.
91047         * include/rpc/key_prot.h: Likewise.
91048         * include/rpc/pmap_clnt.h: Likewise.
91049         * include/rpc/pmap_prot.h: Likewise.
91050         * include/rpc/pmap_rmt.h: Likewise.
91051         * include/rpc/rpc_msg.h: Likewise.
91052         * include/rpc/svc.h: Likewise.
91053         * include/rpc/svc_auth.h: Likewise.
91054         * include/rpc/xdr.h: Likewise.
91055         * nis/Makefile: Link all DSOs against linkobj/libc.so.
91056         * nss/Makefile: Likewise.
91057         * sunrpc/Makefile: Don't install headers.  Build library with normal
91058         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
91059         * sunrpc/auth_des.c: Hide exported symbols by default, export some
91060         for the compat linking library.  Remove use of INTDEF/INTUSE.
91061         * sunrpc/auth_none.c: Likewise.
91062         * sunrpc/auth_unix.c: Likewise.
91063         * sunrpc/authdes_prot.c: Likewise.
91064         * sunrpc/authuxprot.c: Likewise.
91065         * sunrpc/clnt_gen.c: Likewise.
91066         * sunrpc/clnt_perr.c: Likewise.
91067         * sunrpc/clnt_raw.c: Likewise.
91068         * sunrpc/clnt_simp.c: Likewise.
91069         * sunrpc/clnt_tcp.c: Likewise.
91070         * sunrpc/clnt_udp.c: Likewise.
91071         * sunrpc/clnt_unix.c: Likewise.
91072         * sunrpc/des_crypt.c: Likewise.
91073         * sunrpc/des_soft.c: Likewise.
91074         * sunrpc/get_myaddr.c: Likewise.
91075         * sunrpc/key_call.c: Likewise.
91076         * sunrpc/key_prot.c: Likewise.
91077         * sunrpc/netname.c: Likewise.
91078         * sunrpc/pm_getmaps.c: Likewise.
91079         * sunrpc/pm_getport.c: Likewise.
91080         * sunrpc/pmap_clnt.c: Likewise.
91081         * sunrpc/pmap_prot.c: Likewise.
91082         * sunrpc/pmap_prot2.c: Likewise.
91083         * sunrpc/pmap_rmt.c: Likewise.
91084         * sunrpc/publickey.c: Likewise.
91085         * sunrpc/rpc_cmsg.c: Likewise.
91086         * sunrpc/rpc_common.c: Likewise.
91087         * sunrpc/rpc_dtable.c: Likewise.
91088         * sunrpc/rpc_prot.c: Likewise.
91089         * sunrpc/rpc_thread.c: Likewise.
91090         * sunrpc/rtime.c: Likewise.
91091         * sunrpc/svc.c: Likewise.
91092         * sunrpc/svc_auth.c: Likewise.
91093         * sunrpc/svc_authux.c: Likewise.
91094         * sunrpc/svc_raw.c: Likewise.
91095         * sunrpc/svc_run.c: Likewise.
91096         * sunrpc/svc_simple.c: Likewise.
91097         * sunrpc/svc_tcp.c: Likewise.
91098         * sunrpc/svc_udp.c: Likewise.
91099         * sunrpc/svc_unix.c: Likewise.
91100         * sunrpc/svcauth_des.c: Likewise.
91101         * sunrpc/xcrypt.c: Likewise.
91102         * sunrpc/xdr.c: Likewise.
91103         * sunrpc/xdr_array.c: Likewise.
91104         * sunrpc/xdr_float.c: Likewise.
91105         * sunrpc/xdr_intXX_t.c: Likewise.
91106         * sunrpc/xdr_mem.c: Likewise.
91107         * sunrpc/xdr_rec.c: Likewise.
91108         * sunrpc/xdr_ref.c: Likewise.
91109         * sunrpc/xdr_sizeof.c: Likewise.
91110         * sunrpc/xdr_stdio.c: Likewise.
91112 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
91114         [BZ #12650]
91115         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
91116         * sysdeps/ia64/dl-tls.h: Likewise.
91117         * sysdeps/powerpc/dl-tls.h: Likewise.
91118         * sysdeps/s390/dl-tls.h: Likewise.
91119         * sysdeps/sh/dl-tls.h: Likewise.
91120         * sysdeps/sparc/dl-tls.h: Likewise.
91121         * sysdeps/x86_64/dl-tls.h: Likewise.
91122         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
91124 2011-03-14  Andreas Schwab  <schwab@redhat.com>
91126         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
91127         rpath element also skip the following colon.
91128         (expand_dynamic_string_token): Add is_path parameter and pass
91129         down to DL_DST_REQUIRED and _dl_dst_substitute.
91130         (decompose_rpath): Call expand_dynamic_string_token with
91131         non-zero is_path.  Ignore empty rpaths.
91132         (_dl_map_object_from_fd): Call expand_dynamic_string_token
91133         with zero is_path.
91135 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
91137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
91138         Make cancelable.
91140 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
91142         [BZ #12655]
91143         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
91144         Patch by Filipe David Manana <fdmanana@apache.org>.
91146 2011-04-07  Andreas Schwab  <schwab@redhat.com>
91148         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
91149         Maintain aligned stack.
91150         (CHECK_RSP): Remove unused macro.
91152 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
91154         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
91155         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
91157 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
91159         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
91161         * include/features.h: Mention __USE_XOPEN2K8 in comment.
91163 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
91165         [BZ #12518]
91166         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
91167         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
91168         * sysdeps/x86_64/memmove.c: New file.
91169         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
91170         (memcpy): Renamed to ...
91171         (__new_memcpy): This.
91172         (memcpy): Provide GLIBC_2_14 memcpy.
91173         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
91174         (memcpy): Provide GLIBC_2_2_5 memcpy.
91176 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91178         [BZ #12631]
91179         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
91181 2011-03-30  Andreas Schwab  <schwab@redhat.com>
91183         * misc/syncfs.c: New file.
91184         * misc/Makefile (routines): Add syncfs.
91185         * posix/unistd.h: Declare syncfs.
91186         * sysdeps/unix/syscalls.list: Add syncfs.
91188 2011-04-01  Andreas Schwab  <schwab@redhat.com>
91190         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
91191         open_by_handle_at.
91192         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
91193         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91194         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91195         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91196         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91197         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
91198         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91200 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91202         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
91203         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91204         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
91205         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91206         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91207         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91208         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91210         * io/Makefile: Compile fallocate.c, fallocate64.c, and
91211         sync_file_range.c with -fexceptions.
91212         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
91213         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
91214         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
91215         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
91216         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
91217         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
91218         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
91219         sync_file_range as cancellation point
91220         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
91221         now a wrapper around __call_sync_file_range with cancellation handling.
91222         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
91223         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
91224         function name to __call_sync_file_range.
91225         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
91226         Add call_sync_file_range.
91228 2011-04-01  Andreas Schwab  <schwab@redhat.com>
91230         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
91231         bits/timex.h.
91233 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91235         * iconv/iconv.h: Fix typo in comment.
91236         * io/fcntl.h: Likewise.
91237         * libio/stdio.h: Likewise.
91238         * posix/spawn.h: Likewise.
91239         * posix/unistd.h: Likewise.
91240         * stdlib/stdlib.h: Likewise.
91241         * time/time.h: Likewise.
91242         * wcsmbs/wchar.h: Likewise.
91244         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
91245         open_by_handle): Add.
91246         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
91247         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
91248         Augment a few comments.
91249         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91250         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91251         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91252         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91253         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91254         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
91255         open_by_handle.
91257         * io/fcntl.h (AT_EMPTY_PATH): Define.
91259 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
91261         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
91262         * sysdeps/unix/sysv/linux/bits/time.h: New file.
91263         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
91264         to...
91265         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
91266         * Versions.def: Add GLIBC_2.14.
91267         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
91268         Export.
91270 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
91272         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
91273         round counter.
91274         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91276 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
91278         [BZ #12597]
91279         * string/test-strncmp.c (do_page_test): New function.
91280         (check2): Likewise.
91281         (test_main): Call check2.
91282         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
91284 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
91286         [BZ #12587]
91287         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
91288         Handle cache information in CPU leaf 4.
91289         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91291 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
91293         [BZ #12583]
91294         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
91295         character representation.
91296         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
91298 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
91300         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
91301         END(__isnan) to END(__isnanf) to match function entry point/label
91302         EALIGN(__isnanf,...).
91304 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
91306         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
91308 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
91310         [BZ #12510]
91311         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
91312         copy from the symbol referenced in the relocation to initialize the
91313         used variable.
91314         Patch by Piotr Bury <pbury@goahead.com>.
91315         * elf/Makefile: Add rules to build and tst-unique3.
91316         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
91317         * elf/tst-unique3.cc: New file.
91318         * elf/tst-unique3.h: New file.
91319         * elf/tst-unique3lib.cc: New file.
91320         * elf/tst-unique3lib2.cc: New file.
91322         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
91324 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
91326         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
91327         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
91328         to _start.
91330 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
91332         * elf/dl-load.c (_dl_map_object): If we are looking for the first
91333         to-be-loaded object along a path to loader is ld.so.
91335 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91336             Ulrich Drepper  <drepper@gmail.com>
91338         * sysdeps/x86_64/memset.S: After aligning destination, code
91339         branches to different locations depending on the value of
91340         misalignment, when multiarch is enabled. Fix this.
91342 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91344         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
91345         Set _x86_64_preferred_memory_instruction for AMD processsors.
91346         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91347         Set bit_Prefer_SSE_for_memop for AMD processors.
91349 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
91351         * libio/fmemopen.c (fmemopen): Optimize a bit.
91353 2011-03-03  Andreas Schwab  <schwab@redhat.com>
91355         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
91357 2011-03-03  Roland McGrath  <roland@redhat.com>
91359         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
91361 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
91363         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
91364         __bzero_ultra1 instead of __memset_ultra1.
91366 2011-02-23  Andreas Schwab  <schwab@redhat.com>
91367             Ulrich Drepper  <drepper@gmail.com>
91369         [BZ #12509]
91370         * include/link.h (struct link_map): Add l_orig_initfini.
91371         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
91372         returning unsuccessfully.
91373         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
91374         close of a file loaded at startup, restore the original l_initfini
91375         list.
91376         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
91377         list, store the pointer.
91378         * elf/Makefile ($(objpfx)noload-mem): New rule.
91379         (noload-ENV): Define.
91380         (tests): Add $(objpfx)noload-mem.
91381         * elf/noload.c: Include <memcheck.h>.
91382         (main): Call mtrace.  Close all opened handles.
91384 2011-02-17  Andreas Schwab  <schwab@redhat.com>
91386         [BZ #12454]
91387         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
91388         dependencies are missing.
91390 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91392         Fix __if_freereq crash: Unlike the generic version which uses free,
91393         Hurd needs munmap.
91394         * sysdeps/mach/hurd/ifreq.h: New file.
91396 2011-01-27  Petr Baudis  <pasky@suse.cz>
91397             Ulrich Drepper  <drepper@gmail.com>
91399         [BZ 12445]#
91400         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
91401         to extend_alloca().
91402         * stdio-common/bug23.c: New file.
91403         * stdio-common/Makefile (tests): Add bug23.
91405 2010-09-28  Andreas Schwab  <schwab@redhat.com>
91406             Ulrich Drepper  <drepper@gmail.com>
91408         [BZ #12489]
91409         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
91410         before performing relro protection.  At old place add assertion
91411         to make sure nothing changed.
91413 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
91414             Glauber de Oliveira Costa  <glommer@gmail.com>
91416         * elf/elf.h: Add new ARM TLS relocs.
91418 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
91420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
91421         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
91422         cast from r3.
91423         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
91424         'tests' variable.
91425         * sysdeps/wordsize-64/tst-writev.c: New file.
91427 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
91429         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
91430         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
91431         insns in _dl_start to prevent a TOC reference before relocs are
91432         resolved.
91434 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
91436         [BZ #12469]
91437         * Makeconfig: Remove RANLIB definition.
91438         * Makerules: Don't use RANLIB.
91439         * aclocal.m4: Remove ranlib test.
91440         * configure.in: No need to check for ranlib.
91441         * elf/rtld-Rules: Don't use RANLIB.
91443 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91445         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
91446         protection macro.
91447         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
91448         inclusion protection macro.
91450         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
91451         SIGRTMIN and SIGRTMAX and print information in that case only when
91452         SIGRTMIN is defined.
91454 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
91456         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
91457         arginfo fn returning -1.
91459         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
91460         and thousands string is zero terminated.
91462 2011-02-03  Andreas Schwab  <schwab@redhat.com>
91464         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
91465         sysdeps/unix/sysv/linux/bits/socket.h.
91467 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91469         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
91470         (__CPU_COUNT): Remove old macros.
91471         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
91472         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
91473         (__CPU_ALLOC, __CPU_FREE): Add macros.
91474         (__sched_cpualloc, __sched_cpufree): Add declarations.
91476 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
91478         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
91479         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
91480         * nscd/aicache.c (addhstaiX): Return timeout of added value.
91481         (readdhstai): Return value of addhstaiX call.
91482         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
91483         (addgrbyX): Return value returned by cache_addgr.
91484         (readdgrbyname): Return value returned by addgrbyX.
91485         (readdgrbygid): Likewise.
91486         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
91487         (addpwbyX): Return value returned by cache_addpw.
91488         (readdpwbyname): Return value returned by addhstbyX.
91489         (readdpwbyuid): Likewise.
91490         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
91491         (addservbyX): Return value returned by cache_addserv.
91492         (readdservbyname): Return value returned by addservbyX:
91493         (readdservbyport): Likewise.
91494         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
91495         (addhstbyX): Return value returned by cache_addhst.
91496         (readdhstbyname): Return value returned by addhstbyX.
91497         (readdhstbyaddr): Likewise.
91498         (readdhstbynamev6): Likewise.
91499         (readdhstbyaddrv6): Likewise.
91500         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
91501         (readdinitgroups): Return value returned by addinitgroupsX.
91502         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
91503         (prune_cache): Keep track of timeout value of re-added entries.
91504         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
91505         * nscd/nscd.h: Adjust prototypes of readd* functions.
91507 2011-02-04  Roland McGrath  <roland@redhat.com>
91509         * nis/nis_server.c (nis_servstate): Use the right name for 0.
91510         (nis_stats): Likewise.
91511         * nis/nis_modify.c (nis_modify): Likewise.
91512         * nis/nis_remove.c (nis_remove): Likewise.
91513         * nis/nis_add.c (nis_add): Likewise.
91515         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
91517         * posix/fnmatch_loop.c: Add some consts.
91519         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
91521 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
91523         [BZ #12460]
91524         * config.make.in (config-cflags-novzeroupper): Define.
91525         * configure.in: Substitute libc_cv_cc_novzeroupper.
91526         * elf/Makefile (AVX-CFLAGS): Define.
91527         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
91528         (CFLAGS-tst-auditmod4a.c): Likewise.
91529         (CFLAGS-tst-auditmod4b.c): Likewise.
91530         (CFLAGS-tst-auditmod6b.c): Likewise.
91531         (CFLAGS-tst-auditmod6c.c): Likewise.
91532         (CFLAGS-tst-auditmod7b.c): Likewise.
91533         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
91535 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
91537         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
91538         function to the callback.
91539         Patch partly by Jiri Olsa <jolsa@redhat.com>.
91541 2011-02-02  Andreas Schwab  <schwab@redhat.com>
91543         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
91544         of errno.
91546 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
91548         [BZ #11724]
91549         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
91550         of constructors.
91551         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
91552         of destructors.
91553         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
91555         [BZ #11724]
91556         * elf/Makefile: Add rules to build and run new test.
91557         * elf/tst-initorder.c: New file.
91558         * elf/tst-initorder.exp: New file.
91559         * elf/tst-initordera1.c: New file.
91560         * elf/tst-initordera2.c: New file.
91561         * elf/tst-initordera3.c: New file.
91562         * elf/tst-initordera4.c: New file.
91563         * elf/tst-initorderb1.c: New file.
91564         * elf/tst-initorderb2.c: New file.
91565         * elf/tst-order-a1.c: New file.
91566         * elf/tst-order-a2.c: New file.
91567         * elf/tst-order-a3.c: New file.
91568         * elf/tst-order-a4.c: New file.
91569         * elf/tst-order-b1.c: New file.
91570         * elf/tst-order-b2.c: New file.
91571         * elf/tst-order-main.c: New file.
91572         New test case by George Gensure <werkt0@gmail.com>.
91574 2010-10-01  Andreas Schwab  <schwab@redhat.com>
91576         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91577         decoding ACE if AI_CANONIDN.
91579 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
91581         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
91583 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
91585         * version.h (RELEASE): Bump for 2.13 release.
91586         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
91588         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
91590         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
91591         MADV_NOHUGEPAGE.
91592         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
91593         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
91594         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
91595         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
91596         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
91597         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91599         * posix/getconf.c: Update copyright year.
91600         * catgets/gencat.c: Likewise.
91601         * csu/version.c: Likewise.
91602         * debug/catchsegv.sh: Likewise.
91603         * debug/xtrace.sh: Likewise.
91604         * elf/ldconfig.c: Likewise.
91605         * elf/ldd.bash.in: Likewise.
91606         * elf/sprof.c (print_version): Likewise.
91607         * iconv/iconv_prog.c: Likewise.
91608         * iconv/iconvconfig.c: Likewise.
91609         * locale/programs/locale.c: Likewise.
91610         * locale/programs/localedef.c: Likewise.
91611         * malloc/memusage.sh: Likewise.
91612         * malloc/mtrace.pl: Likewise.
91613         * nscd/nscd.c (print_version): Likewise.
91614         * nss/getent.c: Likewise.
91616         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
91617         PF_CAIF, and PF_ALG.
91618         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91620 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
91622         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
91623         (modules-names): Use them.
91624         (ifunc-test-modules, ifunc-pie-tests): Define.
91625         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
91626         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
91627         (test-extras): Likewise.
91628         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
91629         $(compile-command.c).
91630         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
91631         (all-built-dso): Define.
91632         (check-textrel.out, check-execstack.out): Depend on it.
91634         * configure.in: Don't override --enable-multi-arch.
91636 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
91638         [BZ #6812]
91639         * nscd/hstcache.c (tryagain): Define.
91640         (cache_addhst): Return tryagain not notfound for temporary errors.
91641         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
91642         failed.
91644 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
91646         [BZ #10563]
91647         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
91648         to make the syscall.
91649         * sysdeps/unix/sysv/linux/setgroups.c: New file.
91651         [BZ #12378]
91652         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
91653         and fall back to matching as normal character if the string ends before
91654         the matching ']' is found.  This is what POSIX requires.
91655         * posix/testfnm.c: Adjust test result.
91656         * posix/globtest.sh: Adjust test result.  Add new test.
91657         * posix/tst-fnmatch.input: Likewise.
91658         * posix/tst-fnmatch2.c: Add new test.
91660 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
91662         * elf/Makefile (check-execstack): Revert last change.  Depend on
91663         check-execstack.h.
91664         (check-execstack.h): New target.
91665         (generated): Add check-execstack.h.
91666         * elf/check-execstack.c: Include "check-execstack.h".
91667         (main): Revert last change.
91668         (handle_file): Return zero if GNU_STACK is absent and
91669         DEFAULT_STACK_PERMS doesn't include PF_X.
91671 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
91673         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
91674         in child fails because the descriptor is already closed.
91675         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
91676         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
91677         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
91679         [BZ #12397]
91680         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
91681         syscall.
91683         [BZ #10484]
91684         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
91685         temporary buffer used to handle multi lookups locally.
91686         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
91688 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
91690         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
91691         loader is ld.so.
91693 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
91695         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
91696         alignment for SSE2.
91698 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
91700         [BZ #12394]
91701         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
91702         characters.  When rounding increased number of integer digits recompute
91703         number of groups.
91704         * stdio-common/tst-grouping.c: New file.
91705         * stdio-common/Makefile: Add rules to build and run tst-grouping.
91707 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
91709         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
91710         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
91712         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
91713         void.
91714         * bits/select.h: Likewise.
91716 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
91718         * po/ja.po: Update from translation team.
91720 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
91722         [BZ #11155]
91723         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
91724         implementation just like for lxstat, fxstatat, et al.
91726 2010-12-27  Jim Meyering  <meyering@redhat.com>
91728         [BZ #12348]
91729         * posix/regexec.c (build_trtable): Return failure indication upon
91730         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
91732 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
91734         [BZ #12201]
91735         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
91736         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
91737         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
91738         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
91740         [BZ #12207]
91741         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
91743         [BZ #12204]
91744         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
91745         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
91747 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
91749         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
91750         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
91751         script has SORT_BY_INIT_PRIORITY.
91752         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
91753         NO_CTORS_DTORS_SECTIONS is defined.
91754         * elf/soinit.c: Likewise.
91755         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
91756         NO_CTORS_DTORS_SECTIONS is defined.
91757         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
91758         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
91759         * sysdeps/sh/init-first.c: Likewise.
91760         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
91762 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
91764         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
91765         always use the slow path.
91767 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
91769         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
91770         similar rule which adds the sysdep directories to the header search in
91771         order to pick up the correct platform stackinfo.h.
91772         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
91773         perform test if it is, otherwise return successfully without testing.
91774         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
91775         DEFAULT_STACK_PERMS define in stackinfo.h.
91776         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
91777         defined in stackinfo.h.
91778         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
91779         DEFAULT_STACK_PERMS defined in stackinfo.h.
91780         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
91781         * sysdeps/ia64/stackinfo.h: Likewise.
91782         * sysdeps/s390/stackinfo.h: Likewise.
91783         * sysdeps/sh/stackinfo.h: Likewise.
91784         * sysdeps/sparc/stackinfo.h: Likewise.
91785         * sysdeps/x86_64/stackinfo.h: Likewise.
91786         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
91787         PF_X for powerpc64.  Retain PF_X for powerpc32.
91789 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
91791         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
91792         accurately.
91793         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
91794         GETDENTS_64BIT_ALIGNED.
91796 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
91798         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
91800 2010-12-10  Andreas Schwab  <schwab@redhat.com>
91802         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
91803         _GNU_SOURCE.
91805         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
91806         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
91807         Remove __restrict.
91808         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
91809         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
91811 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
91813         [BZ #11655]
91814         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
91815         are initialized.
91817 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
91819         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
91821 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
91823         * po/it.po: Update from translation team.
91825 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
91827         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
91828         unused codes.
91830 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
91832         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
91834 2010-11-24  Andreas Schwab  <schwab@redhat.com>
91836         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
91837         specially.
91838         (gaih_getanswer_slice): Likewise.
91840 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
91842         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
91844 2010-05-31  Petr Baudis  <pasky@suse.cz>
91846         [BZ #11149]
91847         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
91848         silently even in the chroot mode.
91850 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
91852         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
91853         last patch a bit.  Pretty printing
91855 2010-05-31  Petr Baudis <pasky@suse.cz>
91857         [BZ #10085]
91858         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
91859         initialization of skip_initgroups_dyn.
91861 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
91863         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
91864         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91866 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
91868         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
91870 2010-11-11  Andreas Schwab  <schwab@redhat.com>
91872         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
91873         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
91874         (tst-fnmatch-ENV): Set MALLOC_TRACE.
91875         ($(objpfx)tst-fnmatch-mem): New rule.
91876         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
91877         * posix/tst-fnmatch.c (main): Call mtrace.
91879 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
91881         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91882         Support Intel processor model 6 and model 0x2c.
91884 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
91886         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
91887           signed comparison.
91889 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
91891         [BZ #12205]
91892         * string/test-strncasecmp.c (check_result): New function.
91893         (do_one_test): Use it.
91894         (check1): New function.
91895         (test_main): Use it.
91896         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
91897         Support strcasecmp and strncasecmp.
91899 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
91901         [BZ #12194]
91902         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
91903         * sysdeps/x86_64/bits/byteswap.h: Likewise.
91905 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
91907         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
91908         IFUNC support.
91909         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91910         memset-x86-64.
91911         * sysdeps/x86_64/multiarch/bzero.S: New file.
91912         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
91913         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
91914         * sysdeps/x86_64/multiarch/memset.S: New file.
91915         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
91916         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91917         Set bit_Prefer_SSE_for_memop for Intel processors.
91918         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
91919         Define.
91920         (index_Prefer_SSE_for_memop): Define.
91921         (HAS_PREFER_SSE_FOR_MEMOP): Define.
91923 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
91925         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
91926         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
91928 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
91930         [BZ #12191]
91931         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91932         (__x86_64_raw_data_cache_size_half): Likewise.
91933         (__x86_64_raw_shared_cache_size): Likewise.
91934         (__x86_64_raw_shared_cache_size_half): Likewise.
91936         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
91937         (__x86_64_raw_data_cache_size_half): Likewise.
91938         (__x86_64_raw_shared_cache_size): Likewise.
91939         (__x86_64_raw_shared_cache_size_half): Likewise.
91940         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
91941         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
91942         and __x86_64_raw_shared_cache_size_half.  Round
91943         __x86_64_data_cache_size_half, __x86_64_data_cache_size
91944         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
91945         to multiple of 256 bytes.
91947 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
91949         [BZ #12167]
91950         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
91951         of inacessible symlinks.  Verify result of symlink before returning it.
91952         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
91953         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
91955 2010-10-28  Erich Ritz  <erichritz@gmail.com>
91957         * math/math.h (isinf): Fix typo in comment.
91959 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
91961         * po/da.po: Update from translation team.
91963 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
91965         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
91966         is added to the list.
91968 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91969             Ulrich Drepper  <drepper@gmail.com>
91971         * elf/dl-object.c (_dl_new_object): Don't append the new object to
91972         the global list here.  Move code to...
91973         (_dl_add_to_namespace_list): ...here.  New function.
91974         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
91975         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
91976         * elf/dl-load.c (lose): Don't remove the element from the list.
91977         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
91978         (_dl_map_object): Likewise.
91980 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
91982         [BZ #12159]
91983         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
91984         into all bytes of SSE register.
91985         Patch by Richard Li <richardpku@gmail.com>.
91987 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
91989         [BZ #12140]
91990         * malloc/malloc.c (_int_free): Fill correct number of bytes when
91991         perturbing.
91993 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
91995         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
91996         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
91997         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
91998         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
91999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
92000         submachine.
92001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
92003 2010-10-22  Andreas Schwab  <schwab@redhat.com>
92005         * include/dlfcn.h (__RTLD_SECURE): Define.
92006         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
92007         mode & __RTLD_SECURE instead.
92008         (open_path): Rename preloaded parameter to secure.
92009         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
92010         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
92011         * elf/dl-deps.c (openaux): Likewise.
92012         * elf/rtld.c (struct map_args): Remove is_preloaded.
92013         (map_doit): Don't use it.
92014         (dl_main): Likewise.
92015         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
92016         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
92018 2010-09-09  Andreas Schwab  <schwab@redhat.com>
92020         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
92021         (sysd-rules-targets): Remove duplicates.
92022         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
92023         rtld-%.$o dependency.
92025 2010-10-18  Andreas Schwab  <schwab@redhat.com>
92027         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
92028         _dl_map_object do it.
92030 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
92032         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
92033         fast fma builtins, define the macros in the C99 standard.
92034         (FP_FAST_FMAF): Likewise.
92035         (FP_FAST_FMAL): Likewise.
92036         * sysdeps/x86_64/bits/mathdef.h: Likewise.
92038         * bits/mathdef.h: Update copyright year.
92039         * sysdeps/powerpc/bits/mathdef.h: Likewise.
92041 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
92043         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
92044         builtins, define the macros in the C99 standard.
92045         (FP_FAST_FMAF): Likewise.
92046         (FP_FAST_FMAL): Likewise.
92047         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
92048         multiply/add.
92049         (FP_FAST_FMAF): Likewise.
92051 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
92053         [BZ #3268]
92054         * math/libm-test.inc (fma_test): Some new testcases.
92055         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
92056         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
92057         y and infinite z.  Do multiplication by C already in long double.
92058         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
92059         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
92060         y and infinite z.  Do bitwise or of inexact bit into u.d.
92061         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
92062         * sysdeps/i386/fpu/s_fmaf.S: Removed.
92063         * sysdeps/i386/fpu/s_fma.S: Removed.
92064         * sysdeps/i386/fpu/s_fmal.S: Removed.
92066 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
92068         [BZ #3268]
92069         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
92070         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
92071         computation is not scheduled after fetestexcept.  Fix value
92072         of minimum denormal long double.
92074 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
92076         [BZ #3268]
92077         * math/libm-test.inc (fma_test): Add some more tests.
92078         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
92079         correctly.
92081 2010-10-15  Andreas Schwab  <schwab@redhat.com>
92083         * scripts/data/localplt-s390-linux-gnu.data: New file.
92084         * scripts/data/localplt-s390x-linux-gnu.data: New file.
92086 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
92088         [BZ #3268]
92089         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
92090         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
92091         instead of dbl-64.
92092         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
92093         inlines.
92094         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
92095         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
92096         if one of x and y is very large and the other is subnormal.
92097         * sysdeps/s390/fpu/s_fmaf.c: New file.
92098         * sysdeps/s390/fpu/s_fma.c: New file.
92099         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
92100         * sysdeps/powerpc/fpu/s_fma.S: New file.
92101         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
92102         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
92103         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
92105 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
92107         [BZ #3268]
92108         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
92109         fma tests.
92110         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
92111         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
92112         * sysdeps/i386/i686/multiarch/s_fma.c: Include
92113         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
92114         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
92115         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
92116         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
92118 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
92120         [BZ #12078]
92121         * posix/regcomp.c (parse_branch): One more memory leak plugged.
92122         * posix/bug-regex31.input: Add test case.
92124 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
92126         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
92127         * posix/bug-regex31.input: New file.
92129         [BZ #12078]
92130         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
92131         (parse_sub_exp): Fix last change, use postorder.
92133         * posix/bug-regex31.c: New file.
92134         * posix/Makefile: Add rules to build and run bug-regex31.
92136         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
92138         [BZ #12078]
92139         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
92141         [BZ #12108]
92142         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
92143         to have entries in sys_siglist.
92145         [BZ #12093]
92146         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
92147         be NULL.
92149 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
92151         [BZ #3268]
92152         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
92153         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
92154         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
92155         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
92156         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
92157         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
92158         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
92159         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
92160         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
92161         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
92162         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
92163         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
92164         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
92165         * math/ftestexcept.c (fetestexcept): Likewise.
92166         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
92167         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
92168         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
92169         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
92170         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
92171         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
92172         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
92174 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
92176         [BZ #12107]
92177         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
92178         newline.
92180 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
92182         * string/bug-strstr1.c: New file.
92183         * string/Makefile: Add rules to build and run bug-strstr1.
92185 2010-10-05  Eric Blake  <eblake@redhat.com>
92187         [BZ #12092]
92188         * string/str-two-way.h (two_way_long_needle): Always clear memory
92189         when skipping input due to the shift table.
92191 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
92193         [BZ #12005]
92194         * malloc/mcheck.c: Handle large requests.
92196         [BZ #12077]
92197         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
92198         for strncmp and strncasecmp.
92199         * string/stratcliff.c: Add tests for strcmp and strncmp.
92200         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
92202 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
92204         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
92205         __set_fpscr.
92207 2010-09-30  Andreas Jaeger  <aj@suse.de>
92209         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
92210         (CGROUP_SUPER_MAGIC): Define.
92211         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92212         Handle btrfs and cgroup file systems.
92213         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
92214         Likewise.
92216 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
92218         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
92219         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
92221 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92223         [BZ #12067]
92224         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
92225         trying to locate the ELF header.
92227 2010-09-27  Andreas Schwab  <schwab@redhat.com>
92229         [BZ #11611]
92230         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
92231         Mask out sign-bit copies when constructing f_fsid.
92233 2010-09-24  Petr Baudis <pasky@suse.cz>
92235         * debug/stack_chk_fail_local.c: Add missing licence exception.
92236         * debug/warning-nop.c: Likewise.
92238 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
92240         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
92241         implementing getdents64 using getdents syscall, set d_type if
92242         __ASSUME_GETDENTS32_D_TYPE.
92244 2010-09-16  Andreas Schwab  <schwab@redhat.com>
92246         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
92247         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
92249 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
92251         [BZ #12037]
92252         * posix/unistd.h: Undo change of feature selection for ftruncate from
92253         2010-01-11.
92255 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
92257         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
92258         detection.
92260 2010-09-20  Andreas Schwab  <schwab@redhat.com>
92262         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
92263         fanotify_mark.
92264         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92266 2010-09-14  Andreas Schwab  <schwab@redhat.com>
92268         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
92269         variables after CHECK_SP call.
92270         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
92272 2010-09-13  Andreas Schwab  <schwab@redhat.com>
92273             Ulrich Drepper  <drepper@redhat.com>
92275         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
92276         re-relocationg ld.so.
92277         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
92278         _dl_init_paths call.
92279         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
92280         here anymore.
92282 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
92284         * resolv/res_init.c (__res_vinit): Count the default server we added.
92286 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
92287             Ulrich Drepper  <drepper@redhat.com>
92289         [BZ #11968]
92290         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
92291         (____longjmp_chk): Use %ebx for saving value across system call.
92292         Add unwind info.
92294 2010-09-06  Andreas Schwab  <schwab@redhat.com>
92296         * manual/Makefile: Don't mix pattern rules with normal rules.
92298 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
92300         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
92301         operation.
92302         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
92303         * libio/iofopncook.c (_IO_cookie_init): Likewise.
92304         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
92305         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
92306         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92307         Likewise.
92309 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
92311         [BZ #11979]
92312         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
92313         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
92315 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
92317         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
92318         * sysdeps/x86_64/addmul_1.S: Likewise.
92319         * sysdeps/x86_64/lshift.S: Likewise.
92320         * sysdeps/x86_64/mul_1.S: Likewise.
92321         * sysdeps/x86_64/rshift.S: Likewise.
92322         * sysdeps/x86_64/sub_n.S: Likewise.
92323         * sysdeps/x86_64/submul_1.S: Likewise.
92325 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92327         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
92328         Define __sched_param instead of SCHED_* and sched_param when
92329         <bits/sched.h> is included with __need_schedparam defined.
92330         * bits/sched.h [__need_schedparam]
92331         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
92332         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
92333         (__defined_schedparam): Define to 1.
92334         (__sched_param): New structure, identical to sched_param.
92335         (__need_schedparam): Undefine.
92337 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
92339         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
92340         (epoll_create1): Declare.
92342         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
92344 2010-08-31  Andreas Schwab  <schwab@redhat.com>
92346         [BZ #7066]
92347         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
92348         shifting retval into place.
92350 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
92352         * nis/rpcsvc/nis.h: Update copyright notice.
92353         * nis/rpcsvc/nis.x: Likewise.
92354         * nis/rpcsvc/nis_callback.h: Likewise.
92355         * nis/rpcsvc/nis_callback.x: Likewise.
92356         * nis/rpcsvc/nis_object.x: Likewise.
92357         * nis/rpcsvc/nis_tags.h: Likewise.
92358         * nis/rpcsvc/yp.h: Likewise.
92359         * nis/rpcsvc/yp.x: Likewise.
92360         * nis/rpcsvc/ypupd.h: Likewise.
92361         * nis/yp_xdr.c: Likewise.
92362         * nis/ypupdate_xdr.c: Likewise.
92364         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
92365         mainly the body of pmap_getport.  Add parameters to specify timeouts.
92366         (pmap_getport): Use __libc_rpc_getport.
92367         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
92368         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
92369         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
92371 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
92373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
92374         fanotify_mark.
92376 2010-08-27  Roland McGrath  <roland@redhat.com>
92378         * sysdeps/i386/i686/multiarch/Makefile
92379         (CFLAGS-varshift.c): New variable.
92381 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
92383         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
92384         * sysdeps/i386/i686/multiarch/varshift.c: New file.
92386         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
92388         * sysdeps/x86_64/strlen.S: Minimal code improvement.
92390 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
92392         * sysdeps/x86_64/strlen.S: Unroll the loop.
92393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92394         strlen-sse2 strlen-sse2-bsf.
92395         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
92396         __strlen_no_bsf if bit_Slow_BSF is set.
92397         (__strlen_sse42): Removed.
92398         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
92399         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
92401 2010-08-25  Roland McGrath  <roland@redhat.com>
92403         * sysdeps/x86_64/multiarch/varshift.S: File removed.
92404         * sysdeps/x86_64/multiarch/varshift.c: New file.
92405         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
92406         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
92407         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
92408         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
92410 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
92412         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92413         strlen-sse2 strlen-sse2-bsf.
92414         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
92415         __strlen_sse2_bsf if bit_Slow_BSF is unset.
92416         (__strlen_sse2): Removed.
92417         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
92418         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
92419         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
92420         bit_Slow_BSF for Atom.
92421         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
92422         (index_Slow_BSF): Define.
92423         (HAS_SLOW_BSF): Define.
92425 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
92427         [BZ #10851]
92428         * resolv/res_init.c (__res_vinit): When no server address at all
92429         is given default to loopback.
92431 2010-08-24  Roland McGrath  <roland@redhat.com>
92433         * configure.in: Remove config-name.h generation.
92434         * configure: Regenerated.
92435         * config-name.in: File removed.
92436         * scripts/config-uname.sh: New file.
92437         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
92438         ($(objdir)config-name.h): New target.
92440         * sunrpc/rpc_parse.h: Avoid nested comment.
92442 2010-08-24  Richard Henderson  <rth@redhat.com>
92443             Ulrich Drepper  <drepper@redhat.com>
92444             H.J. Lu  <hongjiu.lu@intel.com>
92446         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
92447         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
92448         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
92449         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
92450         _mm_alignr_epi8 with _mm_loadu_si128.
92451         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
92452         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
92453         (__m128i_shift_right): Removed.
92454         * sysdeps/i386/i686/multiarch/varshift.h: New file.
92455         * sysdeps/i386/i686/multiarch/varshift.S: New file.
92456         * sysdeps/x86_64/multiarch/varshift.h: New file.
92457         * sysdeps/x86_64/multiarch/varshift.S: New file.
92459 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
92461         * configure.in: Move assembler checks to before sysdep dir checking.
92463 2010-08-20  Petr Baudis  <pasky@suse.cz>
92465         * LICENSES: Sync the sunrpc license.
92467 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
92469         * sunrpc/auth_des.c: Update copyright notice once again.
92470         * sunrpc/auth_none.c: Likewise.
92471         * sunrpc/auth_unix.c: Likewise.
92472         * sunrpc/authdes_prot.c: Likewise.
92473         * sunrpc/authuxprot.c: Likewise.
92474         * sunrpc/bindrsvprt.c: Likewise.
92475         * sunrpc/clnt_gen.c: Likewise.
92476         * sunrpc/clnt_perr.c: Likewise.
92477         * sunrpc/clnt_raw.c: Likewise.
92478         * sunrpc/clnt_simp.c: Likewise.
92479         * sunrpc/clnt_tcp.c: Likewise.
92480         * sunrpc/clnt_udp.c: Likewise.
92481         * sunrpc/clnt_unix.c: Likewise.
92482         * sunrpc/des_crypt.c: Likewise.
92483         * sunrpc/des_soft.c: Likewise.
92484         * sunrpc/get_myaddr.c: Likewise.
92485         * sunrpc/getrpcport.c: Likewise.
92486         * sunrpc/key_call.c: Likewise.
92487         * sunrpc/key_prot.c: Likewise.
92488         * sunrpc/openchild.c: Likewise.
92489         * sunrpc/pm_getmaps.c: Likewise.
92490         * sunrpc/pm_getport.c: Likewise.
92491         * sunrpc/pmap_clnt.c: Likewise.
92492         * sunrpc/pmap_prot.c: Likewise.
92493         * sunrpc/pmap_prot2.c: Likewise.
92494         * sunrpc/pmap_rmt.c: Likewise.
92495         * sunrpc/rpc/auth.h: Likewise.
92496         * sunrpc/rpc/auth_unix.h: Likewise.
92497         * sunrpc/rpc/clnt.h: Likewise.
92498         * sunrpc/rpc/des_crypt.h: Likewise.
92499         * sunrpc/rpc/key_prot.h: Likewise.
92500         * sunrpc/rpc/netdb.h: Likewise.
92501         * sunrpc/rpc/pmap_clnt.h: Likewise.
92502         * sunrpc/rpc/pmap_prot.h: Likewise.
92503         * sunrpc/rpc/pmap_rmt.h: Likewise.
92504         * sunrpc/rpc/rpc.h: Likewise.
92505         * sunrpc/rpc/rpc_des.h: Likewise.
92506         * sunrpc/rpc/rpc_msg.h: Likewise.
92507         * sunrpc/rpc/svc.h: Likewise.
92508         * sunrpc/rpc/svc_auth.h: Likewise.
92509         * sunrpc/rpc/types.h: Likewise.
92510         * sunrpc/rpc/xdr.h: Likewise.
92511         * sunrpc/rpc_clntout.c: Likewise.
92512         * sunrpc/rpc_cmsg.c: Likewise.
92513         * sunrpc/rpc_common.c: Likewise.
92514         * sunrpc/rpc_cout.c: Likewise.
92515         * sunrpc/rpc_dtable.c: Likewise.
92516         * sunrpc/rpc_hout.c: Likewise.
92517         * sunrpc/rpc_main.c: Likewise.
92518         * sunrpc/rpc_parse.c: Likewise.
92519         * sunrpc/rpc_parse.h: Likewise.
92520         * sunrpc/rpc_prot.c: Likewise.
92521         * sunrpc/rpc_sample.c: Likewise.
92522         * sunrpc/rpc_scan.c: Likewise.
92523         * sunrpc/rpc_scan.h: Likewise.
92524         * sunrpc/rpc_svcout.c: Likewise.
92525         * sunrpc/rpc_tblout.c: Likewise.
92526         * sunrpc/rpc_util.c: Likewise.
92527         * sunrpc/rpc_util.h: Likewise.
92528         * sunrpc/rpcinfo.c: Likewise.
92529         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
92530         * sunrpc/rpcsvc/key_prot.x: Likewise.
92531         * sunrpc/rpcsvc/klm_prot.x: Likewise.
92532         * sunrpc/rpcsvc/mount.x: Likewise.
92533         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
92534         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
92535         * sunrpc/rpcsvc/rex.x: Likewise.
92536         * sunrpc/rpcsvc/rstat.x: Likewise.
92537         * sunrpc/rpcsvc/rusers.x: Likewise.
92538         * sunrpc/rpcsvc/sm_inter.x: Likewise.
92539         * sunrpc/rpcsvc/spray.x: Likewise.
92540         * sunrpc/rpcsvc/yppasswd.x: Likewise.
92541         * sunrpc/rtime.c: Likewise.
92542         * sunrpc/svc.c: Likewise.
92543         * sunrpc/svc_auth.c: Likewise.
92544         * sunrpc/svc_authux.c: Likewise.
92545         * sunrpc/svc_raw.c: Likewise.
92546         * sunrpc/svc_run.c: Likewise.
92547         * sunrpc/svc_simple.c: Likewise.
92548         * sunrpc/svc_tcp.c: Likewise.
92549         * sunrpc/svc_udp.c: Likewise.
92550         * sunrpc/svc_unix.c: Likewise.
92551         * sunrpc/svcauth_des.c: Likewise.
92552         * sunrpc/xcrypt.c: Likewise.
92553         * sunrpc/xdr.c: Likewise.
92554         * sunrpc/xdr_array.c: Likewise.
92555         * sunrpc/xdr_float.c: Likewise.
92556         * sunrpc/xdr_mem.c: Likewise.
92557         * sunrpc/xdr_rec.c: Likewise.
92558         * sunrpc/xdr_ref.c: Likewise.
92559         * sunrpc/xdr_sizeof.c: Likewise.
92560         * sunrpc/xdr_stdio.c: Likewise.
92562         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
92563         handling.
92565 2010-08-19  Andreas Schwab  <schwab@redhat.com>
92567         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
92569 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
92571         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
92572         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
92573         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
92574         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
92575         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
92576         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
92577         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
92578         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
92579         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
92580         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
92581         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
92582         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
92583         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
92584         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
92586 2010-07-26  Anton Blanchard  <anton@samba.org>
92588         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
92589         * malloc/arena.c (heap_trim): Likewise.
92591 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
92593         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
92594         here.  Not...
92595         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
92596         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
92598 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
92600         * sysdeps/i386/elf/Makefile: New file.
92602 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92604         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
92605         from fanotify_init.
92606         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
92607         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92609 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
92611         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
92612         of strncasecmp_l.
92613         * sysdeps/multiarch/strcmp.S: Likewise.
92615 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
92617         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92618         strncase_l-nonascii.
92619         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92620         Add strncase_l-ssse3.
92621         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
92622         * sysdeps/x86_64/strcmp.S: Likewise.
92623         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
92624         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
92625         * sysdeps/x86_64/strncase.S: New file.
92626         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
92627         * sysdeps/x86_64/strncase_l.S: New file.
92628         * string/Makefile (strop-tests): Add strncasecmp.
92629         * string/test-strncasecmp.c: New file.
92631         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
92632         warning.
92634         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
92635         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
92637 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92639         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
92641 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
92643         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
92644         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
92645         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
92647 2010-05-01  Alan Modra  <amodra@gmail.com>
92649         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
92650         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
92651         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
92652         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
92653         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
92654         tidying.  Don't tail-call __sigjmp_save for static lib.
92655         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
92656         save location.
92657         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
92658         (CALL_MCOUNT): Add eh info, and nop after bl.
92659         (TAIL_CALL_SYSCALL_ERROR): New macro.
92660         (PSEUDO_RET): Use it.
92661         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
92662         Correct save location of integer regs and cr.
92663         (_dl_profile_resolve): Correct cr save location.  Delete nops
92664         after bl when SHARED.  Reduce cfi size a little by better
92665         placement of cfi directives.
92666         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
92667         make a stack frame.  Instead use parm save area as a temp.
92668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
92669         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
92670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
92671         Don't make a stack frame for parent, use parm save area.
92672         Increase child stack frame to 112 bytes.  Don't save unused reg,
92673         and adjust reg usage.  Set up cfi on error recovery and
92674         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
92675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
92676         (__makecontext): Add dummy nop after jump to exit.
92677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
92678         Use correct parm save area and cr save, reduce stack frame.
92679         Correct cfi for possible PSEUDO_RET frame setup.
92680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
92681         Branch to local label emitted by PSEUDO_RET rather than
92682         __syscall_error.
92684 2010-08-12  Andreas Schwab  <schwab@redhat.com>
92686         [BZ #11904]
92687         * locale/programs/locale.c (print_assignment): New function.
92688         (show_locale_vars): Use it.
92690 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
92692         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
92693         field.
92694         (struct statfs64): Likewise.
92695         (_STATFS_F_FLAGS): Define.
92696         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
92697         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92698         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
92699         (ST_VALID): Define locally.
92700         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
92701         __statvfs_getflags, use the provided value.
92702         * sysdeps/unix/sysv/linux/kernel-features.h: Define
92703         __ASSUME_STATFS_F_FLAGS.
92705         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
92707         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
92708         Add sys/fanotify.h.
92709         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
92710         fanotify_mask for GLIBC_2.13.
92711         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
92712         fanotify_init and fanotify_mark.
92713         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92714         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
92716         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
92717         Add prlimit.
92718         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
92719         prlimit64 for GLIBC_2.13.
92720         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
92721         prlimit64.
92722         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
92723         syscall.
92724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
92725         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92726         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
92727         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
92728         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
92729         add prlimit alias.
92730         * sysdeps/unix/sysv/linux/prlimit.c: New file.
92732         [BZ #11903]
92733         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
92734         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
92736         * nss/Makefile: Add rules to build and run tst-nss-test1.
92737         * shlib-versions: Add entry for libnss_test1.
92738         * nss/nss_test1.c: New file.
92739         * nss/tst-nss-test1.c: New file.
92741         * nss/nsswitch.c (__nss_database_custom): Define new variable.
92742         (__nss_configure_lookup): Set appropriate entry in
92743         __nss_configure_lookup to true.
92744         * nss/nsswitch.h: Define enum with indeces of databases in
92745         databases and __nss_database_custom arrays.  Declare
92746         __nss_database_custom.
92747         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
92748         to avoid using nscd when custom rules are installed.
92749         * nss/getXXbyYY_r.c: Likewise.
92750         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
92752         * nss/nss_files/files-parse.c: Whitespace fixes.
92754 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
92756         [BZ #11883]
92757         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
92758         * posix/fnmatch_loop.c: Likewise.
92760 2010-07-17  Andi Kleen  <ak@linux.intel.com>
92762         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
92763         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
92764         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
92765         * Versions.def [GLIBC_2.13]: Add.
92767 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
92769         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
92770         Also fail if tpwd after pwuid call is NULL.
92772 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92774         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
92775         when converting to ms.
92777 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92779         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
92780         EOPNOTSUPP errors with ENOTTY.
92781         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
92782         EOPNOTSUPP errors with ENOTTY.
92784 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
92786         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92787         Add strcasecmp_l-ssse3.
92788         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
92789         strcasecmp.
92790         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
92791         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
92792         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
92794 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
92796         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
92798         * string/Makefile (strop-tests): Add strcasecmp.
92799         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92800         strcasecmp_l-nonascii.
92801         (gen-as-const-headers): Add locale-defines.sym.
92802         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
92803         * sysdeps/x86_64/strcasecmp.S: New file.
92804         * sysdeps/x86_64/strcasecmp_l.S: New file.
92805         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
92806         * sysdeps/x86_64/locale-defines.sym: New file.
92807         * string/test-strcasecmp.c: New file.
92809         * string/test-strcasestr.c: Test both ends of the range of characters.
92810         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
92812 2010-07-29  Roland McGrath  <roland@redhat.com>
92814         [BZ #11856]
92815         * manual/locale.texi (Yes-or-No Questions): Fix example code.
92817 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
92819         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
92820         for ld.so.
92822 2010-07-27  Andreas Schwab  <schwab@redhat.com>
92824         * manual/memory.texi (Malloc Tunable Parameters): Document
92825         M_PERTURB.
92827 2010-07-26  Roland McGrath  <roland@redhat.com>
92829         [BZ #11840]
92830         * configure.in (-fgnu89-inline check): Set and substitute
92831         gnu89_inline, not libc_cv_gnu89_inline.
92832         * configure: Regenerated.
92833         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
92835 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
92837         * string/test-strnlen.c: New file.
92838         * string/Makefile (strop-tests): Add strnlen.
92839         * string/tester.c (test_strnlen): Add a few more test cases.
92840         * string/tst-strlen.c: Better error reporting.
92842         * sysdeps/x86_64/strnlen.S: New file.
92844 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
92846         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
92847         lower-latency instructions.
92849 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
92851         * string/test-strcasestr.c: New file.
92852         * string/test-strstr.c: New file.
92853         * string/Makefile (strop-tests): Add strstr and strcasestr.
92854         * string/str-two-way.h: Don't undefine MAX.
92855         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
92857 2010-07-21  Andreas Schwab  <schwab@redhat.com>
92859         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92860         strcasestr-nonascii.
92861         (CFLAGS-strcasestr-nonascii.c): Define.
92862         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
92863         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
92864         Remove unused attribute.
92866 2010-07-20  Roland McGrath  <roland@redhat.com>
92868         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
92869         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
92870         ld.so.cache was broken.  With it, there is no way to disable dsocaps
92871         like LD_HWCAP_MASK can disable hwcaps.
92873 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
92875         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
92877 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
92879         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
92880         call in strcasestr.
92881         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
92882         __strcasestr_sse42_nonascii.
92883         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
92884         strcasestr-nonascii.c.
92885         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
92887 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
92889         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
92890         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
92891         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
92892         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
92894 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
92896         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
92897         fcntl.
92899 2010-07-06  Andreas Schwab  <schwab@redhat.com>
92901         [BZ #11577]
92902         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
92903         dl_signal_cerror.
92905 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
92907         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
92908         _PC_PIPE_BUF using F_GETPIPE_SZ.
92910 2010-07-05  Roland McGrath  <roland@redhat.com>
92912         * manual/arith.texi (Rounding Functions): Fix rint description
92913         implicit in round description.
92915 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
92917         * elf/Makefile: Fix linking for a few tests to make recent linker
92918         happy.
92920 2010-06-30  Andreas Schwab  <schwab@redhat.com>
92922         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92923         $(common-objpfx)libc_nonshared.a.
92925 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
92927         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
92928         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
92929         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92930         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92931         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
92932         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
92933         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92934         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
92936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
92937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
92938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
92939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
92940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
92941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
92942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
92943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
92944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
92945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
92946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
92947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
92948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
92949         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
92950         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
92951         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
92952         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
92953         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
92954         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
92955         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
92956         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
92957         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
92958         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
92959         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
92960         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
92961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
92962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
92963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
92964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
92965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
92966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
92967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
92968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
92969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
92970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
92971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
92972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
92973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
92974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
92976 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
92978         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
92979         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
92980         * string/memmove.c (memmove): Renamed to ...
92981         (MEMMOVE): ...this.  Default to memmove.
92982         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
92983         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
92984         (END_CHK): Define.
92985         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92986         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
92987         mempcpy-ssse3-back memmove-ssse3-back.
92988         * sysdeps/x86_64/multiarch/bcopy.S: New file .
92989         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
92990         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
92991         * sysdeps/x86_64/multiarch/memcpy.S: New file.
92992         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
92993         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
92994         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
92995         * sysdeps/x86_64/multiarch/memmove.c: New file.
92996         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
92997         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
92998         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
92999         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
93000         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
93001         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
93002         Define.
93003         (index_Fast_Copy_Backward): Define.
93004         (HAS_ARCH_FEATURE): Define.
93005         (HAS_FAST_REP_STRING): Define.
93006         (HAS_FAST_COPY_BACKWARD): Define.
93008 2010-06-21  Andreas Schwab  <schwab@redhat.com>
93010         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93011         Restore proper fallback handling.
93013 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
93015         [BZ #11701]
93016         * posix/group_member.c (__group_member): Correct checking loop.
93018         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
93019         OOM in getpwuid_r correctly.  Return error number when the caller
93020         should return, otherwise -1.
93021         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
93022         call returning > 0 value.
93023         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
93025 2010-06-07  Andreas Schwab  <schwab@redhat.com>
93027         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
93028         libc_nonshared.a from targets in modules-names.
93030 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
93032         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
93033         requires it.
93035 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
93037         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
93038         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
93039         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
93040         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
93042 2010-06-02  Andreas Schwab  <schwab@redhat.com>
93044         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
93046 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
93048         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
93049         and F_GETPIPE_SZ.
93050         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
93051         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93052         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93053         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93054         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93055         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93057 2010-06-14  Roland McGrath  <roland@redhat.com>
93059         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
93061 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
93063         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
93064         __REDIRECT followed by __THROW.
93065         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
93066         * posix/getopt.h (getopt): Likewise.
93068 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
93070         * hurd/lookup-at.c (__file_name_lookup_at): Accept
93071         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
93072         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
93073         in AT_FLAGS.
93074         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
93075         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
93077 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
93079         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
93081 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
93083         [BZ #11640]
93084         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93085         Properly check family and model.
93087 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
93089         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
93091 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
93093         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
93095 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
93097         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
93098         symbol reference.
93100 2010-05-19  Andreas Schwab  <schwab@redhat.com>
93102         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
93103         symbol reference.
93105 2010-05-21  Andreas Schwab  <schwab@redhat.com>
93107         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
93108         and internal_recvmmsg.
93109         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
93110         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
93111         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
93112         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
93114         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
93115         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
93116         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
93118 2010-05-20  Andreas Schwab  <schwab@redhat.com>
93120         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
93122 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
93124         POWER7 optimizations.
93125         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
93126         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
93128 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
93130         * version.h: Update for 2.13 development version.
93132 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
93134         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
93135         exceptions.  Return 0.
93137 2010-05-07  Roland McGrath  <roland@redhat.com>
93139         * elf/ldconfig.c (main): Add a const.
93141 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
93143         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
93144         (args_options): Add no-idn option.
93145         (ahosts_keys_int): Add idn_flags to ai_flags.
93146         (parse_option): Handle 'i' option to clear idn_flags.
93148         * malloc/malloc.c (_int_free): Possible race in the most recently
93149         added check.  Only act on the data if no current modification
93150         happened.
93152 See ChangeLog.17 for earlier changes.